Searched refs:isSignedWithPlatformKey (Results 1 – 14 of 14) sorted by relevance
58 boolean isSignedWithPlatformKey = app.isSignedWithPlatformKey(); in canDisplayLocaleUi()60 && !isSignedWithPlatformKey in canDisplayLocaleUi()66 + " / isSignedWithPlatformKey : " + isSignedWithPlatformKey in canDisplayLocaleUi()
100 public static boolean isSignedWithPlatformKey(Context context, in isSignedWithPlatformKey() method in NotificationUtils105 return packageInfo.applicationInfo.isSignedWithPlatformKey(); in isSignedWithPlatformKey()185 return (packageInfo.applicationInfo.isSignedWithPlatformKey() || in isSystemPrivilegedOrPlatformKeyInner()
228 boolean isSignedWithPlatformKey) in setupPackageInfo() argument233 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(isSignedWithPlatformKey); in setupPackageInfo()
294 boolean isSignedWithPlatformKey = NotificationUtils.isSignedWithPlatformKey(mContext, in canChangeCardBackgroundColor()302 return isSystemApp || isNavigationCategory || isSignedWithPlatformKey || isWarningCategory in canChangeCardBackgroundColor()
198 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isSignedWithPlatformKey_returnsTrue()209 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isNotSignedWithPlatformKey_returnsFalse()
506 boolean isSignedWithPlatformKey) throws PackageManager.NameNotFoundException { in setPackageInfo() argument512 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(isSignedWithPlatformKey); in setPackageInfo()
181 when(applicationInfo.isSignedWithPlatformKey()).thenReturn(true); in setup()
98 return (applicationInfo.isSignedWithPlatformKey() || ( in isSystemPrivilegedOrPlatformKey()
67 isSignedWithPlatformKey -> false in canBeDisabled()
1989 assertTrue(codeUnderTest.isSignedWithPlatformKey(TEST_CALLING_UID));1992 assertFalse(codeUnderTest.isSignedWithPlatformKey(TEST_CALLING_UID));
1355 public boolean isSignedWithPlatformKey(int uid) { in isSignedWithPlatformKey() method in WifiPermissionsUtil
1789 || mWifiPermissionsUtil.isSignedWithPlatformKey(uid); in isDeviceOwnerProfileOwnerOrSystem()
1085 || mWifiPermissionsUtil.isSignedWithPlatformKey(uid); in isPrivileged()
7884 when(mWifiPermissionsUtil.isSignedWithPlatformKey(anyInt())).thenReturn(false); in testFilterNonAppAddedNetworks()