Loading packages/ConnectivityT/framework-t/src/android/app/usage/NetworkStatsManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,7 @@ public class NetworkStatsManager { mContext = context; mService = service; setPollOnOpen(true); setAugmentWithSubscriptionPlan(true); } /** @hide */ Loading packages/ConnectivityT/service/src/com/android/server/net/NetworkStatsService.java +0 −4 Original line number Diff line number Diff line Loading @@ -655,8 +655,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub { @Override public INetworkStatsSession openSession() { // NOTE: if callers want to get non-augmented data, they should go // through the public API return openSessionInternal(NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN, null); } Loading Loading @@ -876,8 +874,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub { private long getNetworkTotalBytes(NetworkTemplate template, long start, long end) { assertSystemReady(); // NOTE: if callers want to get non-augmented data, they should go // through the public API return internalGetSummaryForNetwork(template, NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN, start, end, NetworkStatsAccess.Level.DEVICE, Binder.getCallingUid()).getTotalBytes(); Loading Loading
packages/ConnectivityT/framework-t/src/android/app/usage/NetworkStatsManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,7 @@ public class NetworkStatsManager { mContext = context; mService = service; setPollOnOpen(true); setAugmentWithSubscriptionPlan(true); } /** @hide */ Loading
packages/ConnectivityT/service/src/com/android/server/net/NetworkStatsService.java +0 −4 Original line number Diff line number Diff line Loading @@ -655,8 +655,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub { @Override public INetworkStatsSession openSession() { // NOTE: if callers want to get non-augmented data, they should go // through the public API return openSessionInternal(NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN, null); } Loading Loading @@ -876,8 +874,6 @@ public class NetworkStatsService extends INetworkStatsService.Stub { private long getNetworkTotalBytes(NetworkTemplate template, long start, long end) { assertSystemReady(); // NOTE: if callers want to get non-augmented data, they should go // through the public API return internalGetSummaryForNetwork(template, NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN, start, end, NetworkStatsAccess.Level.DEVICE, Binder.getCallingUid()).getTotalBytes(); Loading