Home
last modified time | relevance | path

Searched refs:mGenericPackageNameByUid (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogProcessHandlerUnitTest.java87 private final SparseArray<String> mGenericPackageNameByUid = new SparseArray<>(); field in WatchdogProcessHandlerUnitTest
256 mGenericPackageNameByUid.put(uid, CANONICAL_PACKAGE_NAME); in testDumpProto()
318 names[i] = mGenericPackageNameByUid.get(uids[i], null); in mockPackageManager()
DWatchdogPerfHandlerUnitTest.java248 private final SparseArray<String> mGenericPackageNameByUid = new SparseArray<>(); field in WatchdogPerfHandlerUnitTest
626 mGenericPackageNameByUid, in testDeleteUser()
710 mGenericPackageNameByUid.put(Binder.getCallingUid(), CANONICAL_NAME); in testResourceOveruseListener()
721 mGenericPackageNameByUid, /* killablePackages= */ new ArraySet<>(), in testResourceOveruseListener()
733 mGenericPackageNameByUid, /* killablePackages= */ new ArraySet<>(), in testResourceOveruseListener()
742 mGenericPackageNameByUid.put(Binder.getCallingUid(), CANONICAL_NAME); in testDuplicateAddResourceOveruseListener()
766 mGenericPackageNameByUid.put(Binder.getCallingUid(), CANONICAL_NAME); in testAddMultipleResourceOveruseListeners()
782 mGenericPackageNameByUid, /* killablePackages= */ new ArraySet<>(), in testAddMultipleResourceOveruseListeners()
794 mGenericPackageNameByUid, /* killablePackages= */ new ArraySet<>(), in testAddMultipleResourceOveruseListeners()
806 mGenericPackageNameByUid, /* killablePackages= */ new ArraySet<>(), in testAddMultipleResourceOveruseListeners()
[all …]
DCarWatchdogServiceUnitTest.java220 private final SparseArray<String> mGenericPackageNameByUid = new SparseArray<>(); field in CarWatchdogServiceUnitTest
916 mGenericPackageNameByUid.put(10200056, "third_party_package.H"); in testGetPackageInfosForUidsWithMissingApplicationInfos()
917 mGenericPackageNameByUid.put(10200078, "shared:third_party_shared_package"); in testGetPackageInfosForUidsWithMissingApplicationInfos()
1144 for (int i = 0; i < mGenericPackageNameByUid.size(); ++i) { in mockWatchdogStorage()
1145 int uid = mGenericPackageNameByUid.keyAt(i); in mockWatchdogStorage()
1147 UserHandle.getUserId(uid), mGenericPackageNameByUid.valueAt(i), in mockWatchdogStorage()
1268 names[i] = mGenericPackageNameByUid.get(uids[i], null); in mockPackageManager()
1370 uid).that(mGenericPackageNameByUid.get(uid, genericPackageName)) in injectPackageInfos()
1373 mGenericPackageNameByUid.put(uid, genericPackageName); in injectPackageInfos()
/packages/services/Car/service/src/com/android/car/watchdog/
DPackageInfoHandler.java53 private final SparseArray<String> mGenericPackageNameByUid = new SparseArray<>(); field in PackageInfoHandler
79 String genericPackageName = mGenericPackageNameByUid.get(uid, null); in getNamesForUids()
99 mGenericPackageNameByUid.append(uid, genericPackageName); in getNamesForUids()