Home
last modified time | relevance | path

Searched refs:isSystemPrivilegedOrPlatformKey (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationUtilsTest.java98 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()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/toast/
DCarToastUI.java73 if (!isAllowListed(packageName) && !isSystemPrivilegedOrPlatformKey(packageName)) { in showToast()
94 private boolean isSystemPrivilegedOrPlatformKey(String packageName) { in isSystemPrivilegedOrPlatformKey() method in CarToastUI
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java67 public static boolean isSystemPrivilegedOrPlatformKey(Context context, AlertEntry alertEntry) { in isSystemPrivilegedOrPlatformKey() method in NotificationUtils
DPreprocessingManager.java274 if (NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry)) { in isLessImportantForegroundNotification()
284 && NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry); in isLessImportantForegroundNotification()
DCarHeadsUpNotificationManager.java758 if (NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry)) { in shouldShowHeadsUp()