/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkStatsSummaryLoader.java | 20 import android.app.usage.NetworkStatsManager; 34 private final NetworkStatsManager mNetworkStatsManager; 44 mNetworkStatsManager = (NetworkStatsManager) in NetworkStatsSummaryLoader()
|
D | NetworkCycleDataLoader.java | 23 import android.app.usage.NetworkStatsManager; 51 protected final NetworkStatsManager mNetworkStatsManager; 62 mNetworkStatsManager = (NetworkStatsManager) in NetworkCycleDataLoader()
|
D | DataUsageController.java | 28 import android.app.usage.NetworkStatsManager; 65 private final NetworkStatsManager mNetworkStatsManager; 78 mNetworkStatsManager = context.getSystemService(NetworkStatsManager.class); in DataUsageController()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 19 import static android.app.usage.NetworkStatsManager.MIN_THRESHOLD_BYTES; 23 import android.app.usage.NetworkStatsManager; 183 requestInfo.callCallback(NetworkStatsManager.CALLBACK_RELEASED); in handleUnregister() 258 callCallback(NetworkStatsManager.CALLBACK_RELEASED); in binderDied() 287 callCallback(NetworkStatsManager.CALLBACK_LIMIT_REACHED); in updateStats() 320 case NetworkStatsManager.CALLBACK_LIMIT_REACHED: in callbackTypeToName() 322 case NetworkStatsManager.CALLBACK_RELEASED: in callbackTypeToName()
|
D | NetworkStatsService.java | 82 import android.app.usage.NetworkStatsManager; 622 return openSessionInternal(NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN, null); in openSession() 650 ? flags & (~NetworkStatsManager.FLAG_POLL_ON_OPEN) in openSessionInternal() 652 if ((usedFlags & (NetworkStatsManager.FLAG_POLL_ON_OPEN in openSessionInternal() 653 | NetworkStatsManager.FLAG_POLL_FORCE)) != 0) { in openSessionInternal() 786 if ((flags & NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN) != 0 in resolveSubscriptionPlan() 844 NetworkStatsManager.FLAG_AUGMENT_WITH_SUBSCRIPTION_PLAN, start, end, in getNetworkTotalBytes()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringDependencies.java | 19 import android.app.usage.NetworkStatsManager; 66 final NetworkStatsManager statsManager = in getOffloadController() 67 (NetworkStatsManager) getContext().getSystemService(Context.NETWORK_STATS_SERVICE); in getOffloadController()
|
D | OffloadController.java | 33 import android.app.usage.NetworkStatsManager; 144 ContentResolver contentResolver, NetworkStatsManager nsm, SharedLog log, in OffloadController()
|
D | BpfCoordinator.java | 30 import android.app.usage.NetworkStatsManager; 164 @NonNull public abstract NetworkStatsManager getNetworkStatsManager(); in getNetworkStatsManager()
|
D | Tethering.java | 67 import android.app.usage.NetworkStatsManager; 343 public NetworkStatsManager getNetworkStatsManager() { in Tethering() 344 return mContext.getSystemService(NetworkStatsManager.class); in Tethering()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleChartDataLoaderTest.java | 22 import android.app.usage.NetworkStatsManager; 41 private NetworkStatsManager mNetworkStatsManager;
|
D | DataUsageControllerTest.java | 32 import android.app.usage.NetworkStatsManager; 63 private NetworkStatsManager mNetworkStatsManager; 81 when(mContext.getSystemService(NetworkStatsManager.class)).thenReturn(mNetworkStatsManager); in setUp()
|
D | NetworkCycleDataForUidLoaderTest.java | 29 import android.app.usage.NetworkStatsManager; 48 private NetworkStatsManager mNetworkStatsManager;
|
D | NetworkCycleDataLoaderTest.java | 27 import android.app.usage.NetworkStatsManager; 57 private NetworkStatsManager mNetworkStatsManager;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 35 import android.app.usage.NetworkStatsManager; 36 import android.app.usage.NetworkStatsManager.UsageCallback; 110 private NetworkStatsManager mStatsManager; 148 mStatsManager = mContext.getSystemService(NetworkStatsManager.class); in start() 361 if (budget > NetworkStatsManager.MIN_THRESHOLD_BYTES) { in updateMultipathBudget()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 99 public class NetworkStatsManager { class 133 public NetworkStatsManager(Context context) throws ServiceNotFoundException { in NetworkStatsManager() method in NetworkStatsManager 140 public NetworkStatsManager(Context context, INetworkStatsService service) { in NetworkStatsManager() method in NetworkStatsManager
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 36 import android.app.usage.NetworkStatsManager; 309 assertEquals(NetworkStatsManager.CALLBACK_LIMIT_REACHED, mHandler.lastMessageType); in testUpdateStats_deviceAccess_notifies() 342 assertEquals(NetworkStatsManager.CALLBACK_LIMIT_REACHED, mHandler.lastMessageType); in testUpdateStats_defaultAccess_notifiesSameUid() 407 assertEquals(NetworkStatsManager.CALLBACK_LIMIT_REACHED, mHandler.lastMessageType); in testUpdateStats_userAccess_usageSameUser_notifies()
|
D | NetworkStatsServiceTest.java | 71 import android.app.usage.NetworkStatsManager; 1083 assertEquals(NetworkStatsManager.CALLBACK_LIMIT_REACHED, latchedHandler.lastMessageType); 1094 assertEquals(NetworkStatsManager.CALLBACK_RELEASED, latchedHandler.lastMessageType);
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 41 import android.app.usage.NetworkStatsManager; 100 @Mock private NetworkStatsManager mStatsManager; 145 mockService(Context.NETWORK_STATS_SERVICE, NetworkStatsManager.class, mStatsManager); in setUp()
|
/frameworks/base/tests/net/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 59 private NetworkStatsManager mManager; 67 mManager = new NetworkStatsManager(InstrumentationRegistry.getContext(), mService); in setUp()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 48 import android.app.usage.NetworkStatsManager; 93 @Mock private NetworkStatsManager mStatsManager; 117 public NetworkStatsManager getNetworkStatsManager() {
|
D | OffloadControllerTest.java | 56 import android.app.usage.NetworkStatsManager; 111 @Mock private NetworkStatsManager mStatsManager;
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 43 import android.app.usage.NetworkStatsManager; 964 registerService(Context.NETWORK_STATS_SERVICE, NetworkStatsManager.class, in registerService() 965 new CachedServiceFetcher<NetworkStatsManager>() { in registerService() 967 … public NetworkStatsManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 968 return new NetworkStatsManager(ctx.getOuterContext()); in registerService()
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 25 import android.app.usage.NetworkStatsManager;
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 65 import android.app.usage.NetworkStatsManager; 147 @Mock private NetworkStatsManager mStatsManager; 247 public NetworkStatsManager getNetworkStatsManager() { in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 34 import android.app.usage.NetworkStatsManager; 288 protected NetworkStatsManager mStatsManager;
|