Home
last modified time | relevance | path

Searched refs:isSignedWithPlatformKey (Results 1 – 23 of 23) sorted by relevance

/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DNotificationUtils.java97 public static boolean isSignedWithPlatformKey(Context context, in isSignedWithPlatformKey() method in NotificationUtils
102 return packageInfo.applicationInfo.isSignedWithPlatformKey(); in isSignedWithPlatformKey()
168 return (packageInfo.applicationInfo.isSignedWithPlatformKey() || in isSystemPrivilegedOrPlatformKeyInner()
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
H A DCarToastUITest.java224 boolean isSignedWithPlatformKey) in setupPackageInfo() argument
229 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(isSignedWithPlatformKey); in setupPackageInfo()
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/
H A DCarNotificationBaseViewHolder.java246 boolean isSignedWithPlatformKey = NotificationUtils.isSignedWithPlatformKey(mContext, in canChangeCardBackgroundColor()
250 return isSystemApp || isNavigationCategory || isSignedWithPlatformKey; in canChangeCardBackgroundColor()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DNotificationUtilsTest.java174 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isSignedWithPlatformKey_returnsTrue()
185 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isNotSignedWithPlatformKey_returnsFalse()
H A DCarHeadsUpNotificationManagerTest.java444 boolean isSignedWithPlatformKey) throws PackageManager.NameNotFoundException { in setPackageInfo() argument
450 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(isSignedWithPlatformKey); in setPackageInfo()
H A DPreprocessingManagerTest.java178 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(true); in setup()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
H A DPkgAppInfo.java411 boolean isSignedWithPlatformKey(); in isSignedWithPlatformKey() method
H A DAndroidPackageUtils.java214 if (pkg.isSignedWithPlatformKey()) { in getHiddenApiEnforcementPolicy()
H A DPackageImpl.java686 public boolean isSignedWithPlatformKey() { in isSignedWithPlatformKey() method in PackageImpl
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/toast/
H A DCarToastUI.java94 return (applicationInfo.isSignedWithPlatformKey() || ( in isSystemPrivilegedOrPlatformKey()
/aosp12/frameworks/base/services/core/java/com/android/server/om/
H A DIdmapManager.java170 return !(overlayPackage.isSystem() || overlayPackage.isSignedWithPlatformKey()); in enforceOverlayable()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DApplicationInfo.java2224 if (isSignedWithPlatformKey()) { in isAllowedToUseHiddenApis()
2366 public boolean isSignedWithPlatformKey() { in isSignedWithPlatformKey() method in ApplicationInfo
/aosp12/frameworks/base/services/core/java/com/android/server/pm/parsing/
H A DPackageInfoUtils.java497 … | flag(pkg.isSignedWithPlatformKey(), ApplicationInfo.PRIVATE_FLAG_SIGNED_WITH_PLATFORM_KEY); in appInfoPrivateFlags()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityClientController.java624 if (callingPkg.isSignedWithPlatformKey()) { in canGetLaunchedFrom()
/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsState.java1533 if (aInfo.isSignedWithPlatformKey()) { in isSystemPackage()
H A DSettingsProvider.java2100 if (ai.isSystemApp() || ai.isSignedWithPlatformKey()) {
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java738 || isSignedWithPlatformKey(uid); in isPrivileged()
742 private boolean isSignedWithPlatformKey(int uid) { in isSignedWithPlatformKey() method in WifiServiceImpl
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java4405 if (ai != null && ai.isSignedWithPlatformKey()) { in getMountModeInternal()
/aosp12/frameworks/base/core/java/android/provider/
H A DSettings.java3121 || applicationInfo.isSignedWithPlatformKey(); in isCallerExemptFromReadableRestriction()
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt4447 HSPLandroid/content/pm/ApplicationInfo;->isSignedWithPlatformKey()Z
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt4445 HSPLandroid/content/pm/ApplicationInfo;->isSignedWithPlatformKey()Z
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt13864 Landroid/content/pm/ApplicationInfo;->isSignedWithPlatformKey()Z
/aosp12/frameworks/base/services/
H A Dart-profile34007 HSPLcom/android/server/pm/parsing/pkg/PackageImpl;->isSignedWithPlatformKey()Z