Searched refs:mStatsFactory (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 165 private @Mock NetworkStatsFactory mStatsFactory; field in NetworkStatsServiceTest 203 mClock, mSettings, mStatsFactory, new NetworkStatsObservers(), mStatsDir, in setUp() 214 verify(mStatsFactory).readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL); in setUp() 811 when(mStatsFactory.augmentWithStackedInterfaces(eq(ifaceFilter))) 813 when(mStatsFactory.readNetworkStatsDetail(eq(UID_ALL), any(), eq(TAG_ALL))) 829 verify(mStatsFactory, times(2)).readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL); 830 verify(mStatsFactory, times(1)).readNetworkStatsDetail( 1263 when(mStatsFactory.readNetworkStatsSummaryDev()).thenReturn(summary); 1267 when(mStatsFactory.readNetworkStatsSummaryXt()).thenReturn(summary); 1281 when(mStatsFactory.readNetworkStatsDetail(UID_ALL, INTERFACES_ALL, TAG_ALL))
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 203 private final NetworkStatsFactory mStatsFactory; field in NetworkStatsService 429 mStatsFactory = Objects.requireNonNull(factory, "missing factory"); in NetworkStatsService() 890 mStatsFactory.augmentWithStackedInterfaces(requiredIfaces); in getDetailedUidStats() 955 mStatsFactory.updateVpnInfos(vpnInfos); in forceUpdateIfaces() 1352 mStatsFactory.noteStackedIface(stackedIface, baseIface); in updateIfacesLocked() 1848 return mStatsFactory.readNetworkStatsSummaryDev(); in readNetworkStatsSummaryDev() 1856 return mStatsFactory.readNetworkStatsSummaryXt(); in readNetworkStatsSummaryXt() 1864 return mStatsFactory.readNetworkStatsDetail(uid, ifaces, tag); in readNetworkStatsUidDetail() 1885 mStatsFactory.apply464xlatAdjustments(uidSnapshot, tetherSnapshot); in getNetworkStatsUidDetail() 1891 mStatsFactory.apply464xlatAdjustments(uidSnapshot, providerStats); in getNetworkStatsUidDetail()
|