Home
last modified time | relevance | path

Searched refs:sharedUserId (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DUserGrantTimeState.java74 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()
DPackageInfoUtils.java85 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()
DFirstGrantTimeManager.java483 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/
DPackageInfoFragment.java117 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/
DPackageInfoHandler.java151 if (packageInfo.sharedUserId != null) { in getNameForPackage()
153 SHARED_PACKAGE_PREFIX + packageInfo.sharedUserId); in getNameForPackage()
154 return SHARED_PACKAGE_PREFIX + packageInfo.sharedUserId; in getNameForPackage()
DWatchdogPerfHandler.java815 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/
DAndroid.bp11 // Must match Bluetooth.apk certificate because of sharedUserId
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java1355 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()
DWatchdogPerfHandlerUnitTest.java4457 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;