Searched refs:mUidCounterSetMap (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 289 private TestBpfMap<S32, U8> mUidCounterSetMap = spy(new TestBpfMap<>(S32.class, U8.class)); field in NetworkStatsServiceTest 577 return mUidCounterSetMap; in getUidCounterSetMap() 816 verify(mUidCounterSetMap, never()).deleteEntry(any()); in testStatsRebootPersist() 819 verify(mUidCounterSetMap).updateEntry( in testStatsRebootPersist() 1575 verify(mUidCounterSetMap).updateEntry( in testForegroundBackground() 2193 verify(mUidCounterSetMap, never()).deleteEntry(any()); in testDataMigration() 2196 verify(mUidCounterSetMap).updateEntry( in testDataMigration() 2951 mUidCounterSetMap.insertEntry(new S32(uid), new U8((short) 1)); in initBpfMapsWithTagData() 2957 assertTrue(mUidCounterSetMap.containsKey(new S32(uid))); in initBpfMapsWithTagData() 2974 assertFalse(mUidCounterSetMap.containsKey(new S32(UID_BLUE))); in testRemovingUidRemovesTagDataForUid() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 457 private final IBpfMap<S32, U8> mUidCounterSetMap; field in NetworkStatsService 689 mUidCounterSetMap = mDeps.getUidCounterSetMap(); in NetworkStatsService() 2042 if (mUidCounterSetMap == null) { 2049 mUidCounterSetMap.deleteEntry(new S32(uid)); 2057 mUidCounterSetMap.updateEntry(new S32(uid), new U8((short) set)); 2899 mUidCounterSetMap.deleteEntry(new S32(uid)); 3304 BpfDump.dumpMapStatus(mUidCounterSetMap, pw, "mUidCounterSetMap", UID_COUNTERSET_MAP_PATH); 3325 if (mUidCounterSetMap == null) { 3328 BpfDump.dumpMap(mUidCounterSetMap, pw, "mUidCounterSetMap",
|