Searched refs:isDelegateAllowed (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 3996 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()
|
D | NotificationManagerServiceTest.java | 7893 when(mPreferencesHelper.isDelegateAllowed(anyString(), anyInt(), anyString(), anyInt())) in testResolveNotificationUid_delegateAllowed()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 2005 public boolean isDelegateAllowed(String sourcePkg, int sourceUid, in isDelegateAllowed() method in PreferencesHelper
|
D | NotificationManagerService.java | 4081 return mPreferencesHelper.isDelegateAllowed( 7963 || mPreferencesHelper.isDelegateAllowed(
|