Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAssistantPickerTest.java75 when(mNotificationBackend.getAllowedNotificationAssistant()).thenReturn(TEST_COMPONENT); in getCurrentAssistant()
82 when(mNotificationBackend.getAllowedNotificationAssistant()).thenReturn(null); in getCurrentAssistant_None()
DNotificationAssistantPreferenceControllerTest.java91 when(mBackend.getAllowedNotificationAssistant()).thenReturn(mNASComponent); in testIsChecked()
94 when(mBackend.getAllowedNotificationAssistant()).thenReturn(null); in testIsChecked()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java555 public ComponentName getAllowedNotificationAssistant() { in getAllowedNotificationAssistant() method in NotificationBackend
557 return sINM.getAllowedNotificationAssistant(); in getAllowedNotificationAssistant()
585 return sINM.getAllowedNotificationAssistant() == null; in setNotificationAssistantGranted()
587 return cn.equals(sINM.getAllowedNotificationAssistant()); in setNotificationAssistantGranted()
DNotificationAssistantPreferenceController.java55 ComponentName acn = mNotificationBackend.getAllowedNotificationAssistant(); in isChecked()
DNotificationAssistantPicker.java87 ComponentName cn = mNotificationBackend.getAllowedNotificationAssistant(); in getDefaultKey()