Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java196 verify(mPreferencesHelper, times(1)).updateDefaultApps(0, null, dialer0Pair); in testInit()
197 verify(mPreferencesHelper, times(1)).updateDefaultApps(0, null, emer0Pair); in testInit()
226 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault()
265 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault_multipleOverlappingApps()
303 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault_newUser()
DPreferencesHelperTest.java1667 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, pkgPair); in testClearData()
2487 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_add_multiUser()
2507 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_add_onlyGivenPkg()
2525 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_remove()
2534 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, null); in testUpdateDefaultApps_remove()
2551 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_addAndRemove()
2564 mHelper.updateDefaultApps(USER.getIdentifier(), toRemove, toAdd); in testUpdateDefaultApps_addAndRemove()
2578 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, toAdd); in testUpdateDefaultApps_appDoesNotExist_noCrash()
2589 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_channelDoesNotExistYet()
2605 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateNotificationChannel_defaultAppLockedImportance()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java935 public void updateDefaultApps(int userId, ArraySet<String> toRemove, in updateDefaultApps() method in PreferencesHelper
DNotificationManagerService.java8545 mPreferencesHelper.updateDefaultApps(userId, null, approvedAppUids);
8607 mPreferencesHelper.updateDefaultApps(user.getIdentifier(), toRemove, toAdd);