Searched refs:isSignedWithPlatformKey (Results 1 – 4 of 4) sorted by relevance
97 public static boolean isSignedWithPlatformKey(Context context, in isSignedWithPlatformKey() method in NotificationUtils102 return packageInfo.applicationInfo.isSignedWithPlatformKey(); in isSignedWithPlatformKey()168 return (packageInfo.applicationInfo.isSignedWithPlatformKey() || in isSystemPrivilegedOrPlatformKeyInner()
209 boolean isSignedWithPlatformKey = NotificationUtils.isSignedWithPlatformKey(mContext, in canChangeCardBackgroundColor()213 return isSystemApp || isNavigationCategory || isSignedWithPlatformKey; in canChangeCardBackgroundColor()
157 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isSignedWithPlatformKey_returnsTrue()167 assertThat(NotificationUtils.isSignedWithPlatformKey(mContext, in onIsSignedWithPlatformKey_isNotSignedWithPlatformKey_returnsFalse()
181 when(mApplicationInfo.isSignedWithPlatformKey()).thenReturn(true); in setup()