Home
last modified time | relevance | path

Searched refs:userPackageId (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java238 String userPackageId = entriesById.keyAt(i); in getUserPackageSettings() local
240 UserPackage userPackage = new UserPackage(userPackageId, entry.userId, in getUserPackageSettings()
243 mUserPackagesById.put(userPackage.userPackageId, userPackage); in getUserPackageSettings()
271 String userPackageId = ioUsagesById.keyAt(i); in getTodayIoUsageStats() local
272 UserPackage userPackage = mUserPackagesById.get(userPackageId); in getTodayIoUsageStats()
276 userPackageId); in getTodayIoUsageStats()
296 mUserPackagesById.remove(userPackage.userPackageId); in deleteUserPackage()
317 getDatabase(/* isWritable= */ false), userPackage.userPackageId, in getHistoricalIoOveruseStats()
442 userPackageIds.add(userPackage.userPackageId); in forgiveHistoricalOveruses()
460 mUserPackagesById.remove(userPackage.userPackageId); in syncUsers()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DNotificationHelperTest.java281 String userPackageId = userId + ":" + applicationInfo.packageName; in injectApplicationInfos() local
283 userPackageId).that(mApplicationInfosByUserPackage.containsKey(userPackageId)) in injectApplicationInfos()
285 mApplicationInfosByUserPackage.put(userPackageId, applicationInfo); in injectApplicationInfos()
293 String userPackageId = userId + ":" + args.getArgument(0); in mockPackageManager()
295 mApplicationInfosByUserPackage.get(userPackageId); in mockPackageManager()
298 "User package id '" + userPackageId + "' not found"); in mockPackageManager()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java1280 String userPackageId = userId + USER_PACKAGE_SEPARATOR + args.getArgument(0); in mockPackageManager()
1282 mPmPackageInfoByUserPackage.get(userPackageId); in mockPackageManager()
1285 "User package id '" + userPackageId + "' not found"); in mockPackageManager()
1291 String userPackageId = args.getArgument(2) + USER_PACKAGE_SEPARATOR in mockPackageManager()
1294 mPmPackageInfoByUserPackage.get(userPackageId); in mockPackageManager()
1297 "User package id '" + userPackageId + "' not found"); in mockPackageManager()
1315 String userPackageId = args.getArgument(1) + USER_PACKAGE_SEPARATOR in mockPackageManager()
1318 mPmPackageInfoByUserPackage.get(userPackageId); in mockPackageManager()
1321 "User package id '" + userPackageId + "' not found"); in mockPackageManager()
1365 String userPackageId = userId + USER_PACKAGE_SEPARATOR + packageInfo.packageName; in injectPackageInfos() local
[all …]
DWatchdogPerfHandlerUnitTest.java4498 String userPackageId = userId + USER_PACKAGE_SEPARATOR + packageInfo.packageName;
4500 userPackageId).that(mPmPackageInfoByUserPackage.containsKey(userPackageId))
4505 mPmPackageInfoByUserPackage.put(userPackageId, packageInfo);
4598 String userPackageId = userId + USER_PACKAGE_SEPARATOR + args.getArgument(0);
4600 mPmPackageInfoByUserPackage.get(userPackageId);
4603 "User package id '" + userPackageId + "' not found");
4609 String userPackageId = args.getArgument(2) + USER_PACKAGE_SEPARATOR
4612 mPmPackageInfoByUserPackage.get(userPackageId);
4615 "User package id '" + userPackageId + "' not found");
4633 String userPackageId = args.getArgument(1) + USER_PACKAGE_SEPARATOR
[all …]
DWatchdogStorageUnitTest.java1107 private void insertIoUsageStats(SQLiteDatabase db, int userPackageId, int overuses, in insertIoUsageStats() argument
1111 ioUsageStatsContentValues.put(COLUMN_USER_PACKAGE_ID, userPackageId); in insertIoUsageStats()