Home
last modified time | relevance | path

Searched refs:LISTENER_COMPONENT (Results 1 – 2 of 2) sorted by relevance

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/notifications/
DNotificationsTest.java20 import static com.android.bedstead.nene.notifications.Notifications.LISTENER_COMPONENT;
57 LISTENER_COMPONENT, true, USER); in setNotificationListenerAccessGranted_true_notificationListenerAccessIsGranted()
60 LISTENER_COMPONENT.componentName())).isTrue(); in setNotificationListenerAccessGranted_true_notificationListenerAccessIsGranted()
66 LISTENER_COMPONENT, false, USER); in setNotificationListenerAccessGranted_false_notificationListenerAccessIsNotGranted()
69 LISTENER_COMPONENT.componentName())).isFalse(); in setNotificationListenerAccessGranted_false_notificationListenerAccessIsNotGranted()
83 LISTENER_COMPONENT, /* granted= */ true, /* user= */ null)); in setNotificationListenerAccessGranted_nullUser_throwsException()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotifications.java50 static final ComponentReference LISTENER_COMPONENT = TestApis.packages().component( field in Notifications
96 LISTENER_COMPONENT, /* granted= */ true, TestApis.users().instrumented()); in initListenerIfRequired()
110 LISTENER_COMPONENT, /* granted= */ false, TestApis.users().instrumented()); in teardownListenerIfRequired()