Searched refs:mStatsService (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DTetherInterfaceStateMachineTest.java73 @Mock private INetworkStatsService mStatsService; field in class:TetherInterfaceStateMachineTest
87 mNMService, mStatsService, mTetherHelper, mTetheringDependencies);
92 reset(mNMService, mStatsService, mTetherHelper);
102 reset(mNMService, mStatsService, mTetherHelper);
114 TETHERING_BLUETOOTH, mSharedLog, mNMService, mStatsService, mTetherHelper,
121 verifyNoMoreInteractions(mTetherHelper, mNMService, mStatsService);
140 verifyNoMoreInteractions(mNMService, mStatsService, mTetherHelper);
152 verifyNoMoreInteractions(mNMService, mStatsService, mTetherHelper);
166 verifyNoMoreInteractions(mNMService, mStatsService, mTetherHelper);
174 InOrder inOrder = inOrder(mNMService, mStatsService, mTetherHelpe
[all...]
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
H A DDataIdleTest.java39 private INetworkStatsService mStatsService; field in class:DataIdleTest
47 mStatsService = INetworkStatsService.Stub.asInterface(
77 mStatsService.forceUpdate();
78 session = mStatsService.openSession();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DDataUsageController.java61 private final INetworkStatsService mStatsService; field in class:DataUsageController
72 mStatsService = INetworkStatsService.Stub.asInterface(
92 mSession = mStatsService.openSession();
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DTetherInterfaceStateMachine.java115 private final INetworkStatsService mStatsService; field in class:TetherInterfaceStateMachine
148 mStatsService = statsService;
656 mStatsService.forceUpdate();
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java241 private NetworkStatsManagerInternal mStatsService; field in class:NetworkPolicyManagerServiceTest
307 mStatsService = addLocalServiceMock(NetworkStatsManagerInternal.class);
992 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, CYCLE_START, CYCLE_END))
1009 when(mStatsService.getNetworkTotalBytes(any(), anyLong(), anyLong()))
1018 when(mStatsService.getNetworkUidBytes(any(), anyLong(), anyLong()))
1114 when(mStatsService.getNetworkTotalBytes(any(), anyLong(), anyLong()))
1123 when(mStatsService.getNetworkUidBytes(any(), anyLong(), anyLong()))
1230 when(mStatsService.getNetworkTotalBytes(sTemplateWifi, TIME_FEB_15,
1508 when(mStatsService.getNetworkTotalBytes(any(), anyLong(), anyLong()))
1514 when(mStatsService
[all...]
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java208 @Mock INetworkStatsService mStatsService; field in class:ConnectivityServiceTest
1040 mStatsService,
3817 verify(mStatsService, atLeastOnce()).forceUpdateIfaces(onlyCell);
3818 reset(mStatsService);
3823 verify(mStatsService, atLeastOnce()).forceUpdateIfaces(onlyWifi);
3824 reset(mStatsService);
3829 verify(mStatsService, atLeastOnce()).forceUpdateIfaces(onlyCell);
3830 reset(mStatsService);
3835 verify(mStatsService, atLeastOnce()).forceUpdateIfaces(onlyCell);
3836 reset(mStatsService);
[all...]
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DTetheringTest.java134 @Mock private INetworkStatsService mStatsService; field in class:TetheringTest
329 mTethering = new Tethering(mServiceContext, mNMService, mStatsService, mPolicyManager,
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java193 private final INetworkStatsService mStatsService; field in class:Tethering
224 mStatsService = statsService;
1995 iface, mLooper, interfaceType, mLog, mNMService, mStatsService,
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java262 private INetworkStatsService mStatsService; field in class:ConnectivityService
777 mStatsService = checkNotNull(statsService, "missing INetworkStatsService");
929 return new Tethering(mContext, mNetd, mStatsService, mPolicyManager,
5778 mStatsService.forceUpdateIfaces(getDefaultNetworks());

Completed in 1083 milliseconds