/frameworks/base/tests/net/java/android/net/ip/ |
D | IpServerTest.java | 99 @Mock private INetworkStatsService mStatsService; field in IpServerTest 136 mNMService, mStatsService, mCallback, usingLegacyDhcp, mDependencies); in initStateMachine() 141 reset(mNMService, mStatsService, mCallback); in initStateMachine() 159 reset(mNMService, mStatsService, mCallback); in initTetheredStateMachine() 171 TETHERING_BLUETOOTH, mSharedLog, mNMService, mStatsService, mCallback, in startsOutAvailable() 178 verifyNoMoreInteractions(mCallback, mNMService, mStatsService); in startsOutAvailable() 197 verifyNoMoreInteractions(mNMService, mStatsService, mCallback); in shouldDoNothingUntilRequested() 209 verifyNoMoreInteractions(mNMService, mStatsService, mCallback); in handlesImmediateInterfaceDown() 223 verifyNoMoreInteractions(mNMService, mStatsService, mCallback); in canBeTethered() 231 InOrder inOrder = inOrder(mNMService, mNetd, mStatsService, mCallback); 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/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 63 private final INetworkStatsService mStatsService; field in DataUsageController 75 mStatsService = INetworkStatsService.Stub.asInterface( in DataUsageController()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 242 private NetworkStatsManagerInternal mStatsService; field in NetworkPolicyManagerServiceTest 309 mStatsService = addLocalServiceMock(NetworkStatsManagerInternal.class); in registerLocalServices() 1009 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, CYCLE_START, CYCLE_END)) 1026 when(mStatsService.getNetworkTotalBytes(any(), anyLong(), anyLong())) 1035 when(mStatsService.getNetworkUidBytes(any(), anyLong(), anyLong())) 1150 when(mStatsService.getNetworkTotalBytes(any(), anyLong(), anyLong())) 1159 when(mStatsService.getNetworkUidBytes(any(), anyLong(), anyLong())) 1266 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15, 1544 when(mStatsService.getNetworkTotalBytes(any(), anyLong(), anyLong())) 1550 when(mStatsService.getNetworkUidBytes(any(), anyLong(), anyLong())) [all …]
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpServer.java | 184 private final INetworkStatsService mStatsService; field in IpServer 221 mStatsService = statsService; in IpServer() 870 mStatsService.forceUpdate(); in cleanupUpstreamInterface()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 282 @Mock INetworkStatsService mStatsService; field in ConnectivityServiceTest 1304 mStatsService, in setUp() 4936 verify(mStatsService, atLeastOnce()) in testStatsIfacesChanged() 4942 reset(mStatsService); in testStatsIfacesChanged() 4949 verify(mStatsService, atLeastOnce()) in testStatsIfacesChanged() 4955 reset(mStatsService); in testStatsIfacesChanged() 4960 verify(mStatsService, atLeastOnce()) in testStatsIfacesChanged() 4966 reset(mStatsService); in testStatsIfacesChanged() 4971 verify(mStatsService, atLeastOnce()) in testStatsIfacesChanged() 4977 reset(mStatsService); in testStatsIfacesChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 175 private final INetworkStatsService mStatsService; field in Tethering 209 mStatsService = statsService; in Tethering() 1892 new IpServer(iface, mLooper, interfaceType, mLog, mNMService, mStatsService,
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | TetheringTest.java | 145 @Mock private INetworkStatsService mStatsService; field in TetheringTest 378 return new Tethering(mServiceContext, mNMService, mStatsService, mPolicyManager, in makeTethering()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 317 private INetworkStatsService mStatsService; field in ConnectivityService 878 mStatsService = checkNotNull(statsService, "missing INetworkStatsService"); in ConnectivityService() 1054 return new Tethering(mContext, mNMS, mStatsService, mPolicyManager, in makeTethering() 6805 mStatsService.forceUpdateIfaces( in notifyIfacesChangedForNetworkStats()
|