Searched refs:isSystemPrivilegedOrPlatformKey (Results 1 – 5 of 5) sorted by relevance
98 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isPlatformKey_returnsTrue()108 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemPrivileged_returnsTrue()118 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemNotPrivileged_returnsFalse()128 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isNeither_returnsFalse()
73 if (!isAllowListed(packageName) && !isSystemPrivilegedOrPlatformKey(packageName)) { in showToast()94 private boolean isSystemPrivilegedOrPlatformKey(String packageName) { in isSystemPrivilegedOrPlatformKey() method in CarToastUI
67 public static boolean isSystemPrivilegedOrPlatformKey(Context context, AlertEntry alertEntry) { in isSystemPrivilegedOrPlatformKey() method in NotificationUtils
274 if (NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry)) { in isLessImportantForegroundNotification()284 && NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry); in isLessImportantForegroundNotification()
758 if (NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry)) { in shouldShowHeadsUp()