Searched refs:isDelegateAllowed (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 2218 assertFalse(mHelper.isDelegateAllowed("does not exist", -1, "whatever", 0)); in testIsDelegateAllowed_noSource() 2225 assertFalse(mHelper.isDelegateAllowed(PKG_O, UID_O, "whatever", 0)); in testIsDelegateAllowed_noDelegate() 2233 assertFalse(mHelper.isDelegateAllowed(PKG_O, UID_O, "other", 53)); in testIsDelegateAllowed_delegateDisabledByApp() 2241 assertFalse(mHelper.isDelegateAllowed(PKG_O, UID_O, "banana", 27)); in testIsDelegateAllowed_wrongDelegate() 2249 assertFalse(mHelper.isDelegateAllowed(PKG_O, UID_O, "other", 53)); in testIsDelegateAllowed_delegateDisabledByUser() 2256 assertTrue(mHelper.isDelegateAllowed(PKG_O, UID_O, "other", 53)); in testIsDelegateAllowed()
|
D | NotificationManagerServiceTest.java | 3959 when(mPreferencesHelper.isDelegateAllowed(anyString(), anyInt(), anyString(), anyInt())) in testResolveNotificationUid_delegateAllowed()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 1397 public boolean isDelegateAllowed(String sourcePkg, int sourceUid, in isDelegateAllowed() method in PreferencesHelper
|
D | NotificationManagerService.java | 2694 return mPreferencesHelper.isDelegateAllowed( 5173 || mPreferencesHelper.isDelegateAllowed(
|