Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
DAppLocaleUtil.java58 boolean isSignedWithPlatformKey = app.isSignedWithPlatformKey(); in canDisplayLocaleUi()
60 && !isSignedWithPlatformKey in canDisplayLocaleUi()
66 + " / isSignedWithPlatformKey : " + isSignedWithPlatformKey in canDisplayLocaleUi()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java100 public static boolean isSignedWithPlatformKey(Context context, in isSignedWithPlatformKey() method in NotificationUtils
105 return packageInfo.applicationInfo.isSignedWithPlatformKey(); in isSignedWithPlatformKey()
185 return (packageInfo.applicationInfo.isSignedWithPlatformKey() || in isSystemPrivilegedOrPlatformKeyInner()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
DCarToastUITest.java228 boolean isSignedWithPlatformKey) in setupPackageInfo() argument
233 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(isSignedWithPlatformKey); in setupPackageInfo()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java294 boolean isSignedWithPlatformKey = NotificationUtils.isSignedWithPlatformKey(mContext, in canChangeCardBackgroundColor()
302 return isSystemApp || isNavigationCategory || isSignedWithPlatformKey || isWarningCategory in canChangeCardBackgroundColor()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationUtilsTest.java198 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isSignedWithPlatformKey_returnsTrue()
209 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isNotSignedWithPlatformKey_returnsFalse()
DCarHeadsUpNotificationManagerTest.java506 boolean isSignedWithPlatformKey) throws PackageManager.NameNotFoundException { in setPackageInfo() argument
512 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(isSignedWithPlatformKey); in setPackageInfo()
DPreprocessingManagerTest.java181 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(true); in setup()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/toast/
DCarToastUI.java98 return (applicationInfo.isSignedWithPlatformKey() || ( in isSystemPrivilegedOrPlatformKey()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppDisableButton.kt67 isSignedWithPlatformKey -> false in canBeDisabled()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java1989 assertTrue(codeUnderTest.isSignedWithPlatformKey(TEST_CALLING_UID));
1992 assertFalse(codeUnderTest.isSignedWithPlatformKey(TEST_CALLING_UID));
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java1355 public boolean isSignedWithPlatformKey(int uid) { in isSignedWithPlatformKey() method in WifiPermissionsUtil
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1789 || mWifiPermissionsUtil.isSignedWithPlatformKey(uid); in isDeviceOwnerProfileOwnerOrSystem()
DWifiServiceImpl.java1085 || mWifiPermissionsUtil.isSignedWithPlatformKey(uid); in isPrivileged()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java7884 when(mWifiPermissionsUtil.isSignedWithPlatformKey(anyInt())).thenReturn(false); in testFilterNonAppAddedNetworks()