/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | TetherInterfaceStateMachineTest.java | 63 @Mock private INetworkStatsService mStatsService; field in TetherInterfaceStateMachineTest 75 mNMService, mStatsService, mTetherHelper, mIPv6TetheringInterfaceServices); in initStateMachine() 80 reset(mNMService, mStatsService, mTetherHelper); in initStateMachine() 90 reset(mNMService, mStatsService, mTetherHelper); in initTetheredStateMachine() 102 TETHERING_BLUETOOTH, mSharedLog, mNMService, mStatsService, mTetherHelper, in startsOutAvailable() 108 verifyNoMoreInteractions(mTetherHelper, mNMService, mStatsService); in startsOutAvailable() 127 verifyNoMoreInteractions(mNMService, mStatsService, mTetherHelper); in shouldDoNothingUntilRequested() 138 verifyNoMoreInteractions(mNMService, mStatsService, mTetherHelper); in handlesImmediateInterfaceDown() 150 verifyNoMoreInteractions(mNMService, mStatsService, mTetherHelper); in canBeTethered() 158 InOrder inOrder = inOrder(mNMService, mStatsService, mTetherHelper); in canUnrequestTethering() [all …]
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
D | DataIdleTest.java | 39 private INetworkStatsService mStatsService; field in DataIdleTest 47 mStatsService = INetworkStatsService.Stub.asInterface( in setUp() 77 mStatsService.forceUpdate(); in fetchStats() 78 session = mStatsService.openSession(); in fetchStats()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | TetherInterfaceStateMachine.java | 88 private final INetworkStatsService mStatsService; field in TetherInterfaceStateMachine 105 mStatsService = statsService; in TetherInterfaceStateMachine() 376 mStatsService.forceUpdate(); in cleanupUpstreamInterface()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 60 private final INetworkStatsService mStatsService; field in DataUsageController 71 mStatsService = INetworkStatsService.Stub.asInterface( in DataUsageController() 91 mSession = mStatsService.openSession(); in getSession()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 211 private @Mock INetworkStatsService mStatsService; field in NetworkPolicyManagerServiceTest 331 mService = new NetworkPolicyManagerService(mServiceContext, mActivityManager, mStatsService, in callSystemReady() 974 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, TIME_MAR_10)) in testNetworkPolicyAppliedCycleLastMonth() 1008 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, in testOverWarningLimitNotification() 1027 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, in testOverWarningLimitNotification() 1046 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, in testOverWarningLimitNotification() 1064 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, in testOverWarningLimitNotification() 1080 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, in testOverWarningLimitNotification() 1116 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, in testMeteredNetworkWithoutLimit() 1526 verify(mStatsService).advisePersistThreshold(anyLong()); in verifyAdvisePersistThreshold()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | TetheringTest.java | 84 @Mock private INetworkStatsService mStatsService; field in TetheringTest 147 mTethering = new Tethering(mServiceContext, mNMService, mStatsService, mPolicyManager, in setUp()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 165 private final INetworkStatsService mStatsService; field in Tethering 191 mStatsService = statsService; in Tethering() 1893 iface, mLooper, interfaceType, mLog, mNMService, mStatsService, this, in maybeTrackNewInterfaceLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 234 private INetworkStatsService mStatsService; field in ConnectivityService 706 mStatsService = checkNotNull(statsService, "missing INetworkStatsService"); in ConnectivityService() 5332 mStatsService.forceUpdateIfaces(); in notifyIfacesChangedForNetworkStats()
|