Searched refs:mStatsFactory (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 169 private @Mock NetworkStatsFactory mStatsFactory; field in NetworkStatsServiceTest 209 mClock, mSettings, mStatsFactory, new NetworkStatsObservers(), mStatsDir, in setUp() 220 verify(mStatsFactory).readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL); in setUp() 831 when(mStatsFactory.augmentWithStackedInterfaces(eq(ifaceFilter))) 833 when(mStatsFactory.readNetworkStatsDetail(eq(UID_ALL), any(), eq(TAG_ALL))) 849 verify(mStatsFactory, times(2)).readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL); 850 verify(mStatsFactory, times(1)).readNetworkStatsDetail( 1376 when(mStatsFactory.readNetworkStatsSummaryDev()).thenReturn(summary); 1380 when(mStatsFactory.readNetworkStatsSummaryXt()).thenReturn(summary); 1394 when(mStatsFactory.readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL))
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 205 private final NetworkStatsFactory mStatsFactory; field in NetworkStatsService 434 mStatsFactory = Objects.requireNonNull(factory, "missing factory"); in NetworkStatsService() 922 mStatsFactory.augmentWithStackedInterfaces(requiredIfaces); 987 mStatsFactory.updateVpnInfos(vpnInfos); 1380 mStatsFactory.noteStackedIface(stackedIface, baseIface); 1876 return mStatsFactory.readNetworkStatsSummaryDev(); 1884 return mStatsFactory.readNetworkStatsSummaryXt(); 1892 return mStatsFactory.readNetworkStatsDetail(uid, ifaces, tag); 1913 mStatsFactory.apply464xlatAdjustments(uidSnapshot, tetherSnapshot); 1919 mStatsFactory.apply464xlatAdjustments(uidSnapshot, providerStats);
|