Searched refs:mUidCounterSetMap (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 276 private TestBpfMap<S32, U8> mUidCounterSetMap = spy(new TestBpfMap<>(S32.class, U8.class)); field in NetworkStatsServiceTest 566 return mUidCounterSetMap; in getUidCounterSetMap() 789 verify(mUidCounterSetMap, never()).deleteEntry(any()); in testStatsRebootPersist() 792 verify(mUidCounterSetMap).updateEntry( in testStatsRebootPersist() 1548 verify(mUidCounterSetMap).updateEntry( in testForegroundBackground() 2166 verify(mUidCounterSetMap, never()).deleteEntry(any()); in testDataMigration() 2169 verify(mUidCounterSetMap).updateEntry( in testDataMigration() 2864 mUidCounterSetMap.insertEntry(new S32(uid), new U8((short) 1)); in initBpfMapsWithTagData() 2870 assertTrue(mUidCounterSetMap.containsKey(new S32(uid))); in initBpfMapsWithTagData() 2887 assertFalse(mUidCounterSetMap.containsKey(new S32(UID_BLUE))); in testRemovingUidRemovesTagDataForUid() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 451 private final IBpfMap<S32, U8> mUidCounterSetMap; field in NetworkStatsService 656 mUidCounterSetMap = mDeps.getUidCounterSetMap(); in NetworkStatsService() 1956 if (mUidCounterSetMap == null) { 1963 mUidCounterSetMap.deleteEntry(new S32(uid)); 1971 mUidCounterSetMap.updateEntry(new S32(uid), new U8((short) set)); 2786 mUidCounterSetMap.deleteEntry(new S32(uid)); 3180 BpfDump.dumpMapStatus(mUidCounterSetMap, pw, "mUidCounterSetMap", UID_COUNTERSET_MAP_PATH); 3201 if (mUidCounterSetMap == null) { 3204 BpfDump.dumpMap(mUidCounterSetMap, pw, "mUidCounterSetMap",
|