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.java74 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isPlatformKey_returnsTrue()
84 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemPrivileged_returnsTrue()
94 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isSystemNotPrivileged_returnsFalse()
104 assertThat(NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, mAlertEntry)) in onIsSystemPrivilegedOrPlatformKey_isNeither_returnsFalse()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/toast/
DCarToastUI.java69 if (!isAllowListed(packageName) && !isSystemPrivilegedOrPlatformKey(packageName)) { in showToast()
90 private boolean isSystemPrivilegedOrPlatformKey(String packageName) { in isSystemPrivilegedOrPlatformKey() method in CarToastUI
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java64 public static boolean isSystemPrivilegedOrPlatformKey(Context context, AlertEntry alertEntry) { in isSystemPrivilegedOrPlatformKey() method in NotificationUtils
DPreprocessingManager.java240 && NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry); in isLessImportantForegroundNotification()
DCarHeadsUpNotificationManager.java579 if (NotificationUtils.isSystemPrivilegedOrPlatformKey(mContext, alertEntry)) { in shouldShowHeadsUp()