Searched refs:sharedUserId (Results 1 – 9 of 9) sorted by relevance
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | UserGrantTimeState.java | 74 void setSharedUserGrantTime(@NonNull String sharedUserId, @Nullable Instant time) { in setSharedUserGrantTime() argument 75 mSharedUserPermissions.put(sharedUserId, time); in setSharedUserGrantTime() 82 boolean containsSharedUserGrantTime(@NonNull String sharedUserId) { in containsSharedUserGrantTime() argument 83 return mSharedUserPermissions.containsKey(sharedUserId); in containsSharedUserGrantTime()
|
D | PackageInfoUtils.java | 85 if (info.sharedUserId != null) { in collectSharedUserNameToUidsMappingForUser() 86 if (sharedUserNameToUids.get(info.sharedUserId) == null) { in collectSharedUserNameToUidsMappingForUser() 87 sharedUserNameToUids.put(info.sharedUserId, new ArraySet<>()); in collectSharedUserNameToUidsMappingForUser() 89 sharedUserNameToUids.get(info.sharedUserId).add(info.applicationInfo.uid); in collectSharedUserNameToUidsMappingForUser() 182 return info.sharedUserId; in getSharedUserNameFromUid()
|
D | FirstGrantTimeManager.java | 483 if (info.sharedUserId == null) { in validateAndCorrectRecordedStateForUser() 488 setSharedUserGrantTimeIfNotRecorded(recordedState, info.sharedUserId); in validateAndCorrectRecordedStateForUser() 489 validSharedUsersPerUser.add(info.sharedUserId); in validateAndCorrectRecordedStateForUser()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/packageinfo/ |
D | PackageInfoFragment.java | 117 Log.d(TAG, "sharedUid flagged: " + (packageInfo.sharedUserId == null in refreshPackages() 118 || !packageInfo.sharedUserId.equals(SYSTEM_UID))); in refreshPackages() 121 toDenyList &= (packageInfo.sharedUserId == null in refreshPackages() 122 || !packageInfo.sharedUserId.equals(SYSTEM_UID)); in refreshPackages()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | PackageInfoHandler.java | 151 if (packageInfo.sharedUserId != null) { in getNameForPackage() 153 SHARED_PACKAGE_PREFIX + packageInfo.sharedUserId); in getNameForPackage() 154 return SHARED_PACKAGE_PREFIX + packageInfo.sharedUserId; in getNameForPackage()
|
D | WatchdogPerfHandler.java | 815 if (packageInfo.sharedUserId == null) { in getPackageKillableStatesForUserId() 2394 if (packageInfo.sharedUserId == null in getPackageUidsForUser() 2395 || !resolveSharedUserIds.contains(packageInfo.sharedUserId)) { in getPackageUidsForUser() 2400 uidsByGenericPackageNames.put(SHARED_PACKAGE_PREFIX + packageInfo.sharedUserId, in getPackageUidsForUser() 2403 resolveSharedUserIds.remove(packageInfo.sharedUserId); in getPackageUidsForUser()
|
/packages/modules/Bluetooth/android/BluetoothLegacyMigration/ |
D | Android.bp | 11 // Must match Bluetooth.apk certificate because of sharedUserId
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 1355 if (packageInfo.sharedUserId != null) { in injectPackageInfos() 1357 PackageInfoHandler.SHARED_PACKAGE_PREFIX + packageInfo.sharedUserId; in injectPackageInfos() 1514 String packageName, int uid, String sharedUserId) { in constructPackageManagerPackageInfo() argument 1517 packageName, uid, sharedUserId, ApplicationInfo.FLAG_SYSTEM, 0); in constructPackageManagerPackageInfo() 1521 packageName, uid, sharedUserId, ApplicationInfo.FLAG_SYSTEM, in constructPackageManagerPackageInfo() 1524 return constructPackageManagerPackageInfo(packageName, uid, sharedUserId, 0, 0); in constructPackageManagerPackageInfo() 1528 String packageName, int uid, String sharedUserId, int flags, int privateFlags) { in constructPackageManagerPackageInfo() argument 1531 packageInfo.sharedUserId = sharedUserId; in constructPackageManagerPackageInfo()
|
D | WatchdogPerfHandlerUnitTest.java | 4457 String packageName, int uid, String sharedUserId) { 4460 packageName, uid, sharedUserId, ApplicationInfo.FLAG_SYSTEM, 0); 4464 packageName, uid, sharedUserId, ApplicationInfo.FLAG_SYSTEM, 4467 return constructPackageManagerPackageInfo(packageName, uid, sharedUserId, 0, 0); 4471 String packageName, int uid, String sharedUserId, int flags, int privateFlags) { 4474 packageInfo.sharedUserId = sharedUserId; 4488 if (packageInfo.sharedUserId != null) { 4490 PackageInfoHandler.SHARED_PACKAGE_PREFIX + packageInfo.sharedUserId;
|