release-request-631994b2-37c0-4d03-8caa-bfd01530db29-for-git_pi-release-4269836 snap-temp-L23500000092503827
Change-Id: I75b55bd036d45351d752a269dbc5eb728b30e752
This commit is contained in:
@@ -110,12 +110,12 @@ public class TrafficStats {
|
||||
public static final int TAG_SYSTEM_RESTORE = 0xFFFFFF04;
|
||||
|
||||
/**
|
||||
* Default tag value for code or resources downloaded by an app store on
|
||||
* behalf of the app, such as app updates.
|
||||
* Default tag value for code (typically APKs) downloaded by an app store on
|
||||
* behalf of the app, such as updates.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static final int TAG_SYSTEM_CODE = 0xFFFFFF05;
|
||||
public static final int TAG_SYSTEM_APP = 0xFFFFFF05;
|
||||
|
||||
/** @hide */
|
||||
public static final int TAG_SYSTEM_DHCP = 0xFFFFFF40;
|
||||
@@ -213,14 +213,14 @@ public class TrafficStats {
|
||||
/**
|
||||
* Set active tag to use when accounting {@link Socket} traffic originating
|
||||
* from the current thread. The tag used internally is well-defined to
|
||||
* distinguish all code-related traffic, such as updates performed by an app
|
||||
* store.
|
||||
* distinguish all code (typically APKs) downloaded by an app store on
|
||||
* behalf of the app, such as updates.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public static void setThreadStatsTagCode() {
|
||||
setThreadStatsTag(TAG_SYSTEM_CODE);
|
||||
public static void setThreadStatsTagApp() {
|
||||
setThreadStatsTag(TAG_SYSTEM_APP);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user