Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java6167 final String permittedListener = "some.package"; in testIsNotificationListenerServicePermitted_onlySystemCanCall() local
6169 permittedListener, in testIsNotificationListenerServicePermitted_onlySystemCanCall()
6174 admin1, Collections.singletonList(permittedListener))).isTrue(); in testIsNotificationListenerServicePermitted_onlySystemCanCall()
6179 permittedListener, MANAGED_PROFILE_USER_ID)); in testIsNotificationListenerServicePermitted_onlySystemCanCall()
6183 permittedListener, MANAGED_PROFILE_USER_ID)).isTrue(); in testIsNotificationListenerServicePermitted_onlySystemCanCall()
6195 final String permittedListener = "permitted.package"; in testSetPermittedCrossProfileNotificationListeners_managedProfile() local
6198 permittedListener, in testSetPermittedCrossProfileNotificationListeners_managedProfile()
6219 permittedListener, MANAGED_PROFILE_USER_ID)).isTrue(); in testSetPermittedCrossProfileNotificationListeners_managedProfile()
6228 admin1, Collections.singletonList(permittedListener))).isTrue(); in testSetPermittedCrossProfileNotificationListeners_managedProfile()
6232 assertThat(permittedListeners.get(0)).isEqualTo(permittedListener); in testSetPermittedCrossProfileNotificationListeners_managedProfile()
[all …]