Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java3996 assertFalse(mHelper.isDelegateAllowed("does not exist", -1, "whatever", 0)); in testIsDelegateAllowed_noSource()
4003 assertFalse(mHelper.isDelegateAllowed(PKG_O, UID_O, "whatever", 0)); in testIsDelegateAllowed_noDelegate()
4011 assertFalse(mHelper.isDelegateAllowed(PKG_O, UID_O, "other", 53)); in testIsDelegateAllowed_delegateDisabledByApp()
4019 assertFalse(mHelper.isDelegateAllowed(PKG_O, UID_O, "banana", 27)); in testIsDelegateAllowed_wrongDelegate()
4026 assertTrue(mHelper.isDelegateAllowed(PKG_O, UID_O, "other", 53)); in testIsDelegateAllowed()
DNotificationManagerServiceTest.java7893 when(mPreferencesHelper.isDelegateAllowed(anyString(), anyInt(), anyString(), anyInt())) in testResolveNotificationUid_delegateAllowed()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java2005 public boolean isDelegateAllowed(String sourcePkg, int sourceUid, in isDelegateAllowed() method in PreferencesHelper
DNotificationManagerService.java4081 return mPreferencesHelper.isDelegateAllowed(
7963 || mPreferencesHelper.isDelegateAllowed(