Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java161 mAssistants.getAllowedComponents(userId)); in testWriteXml_userTurnedOffNAS()
349 mAssistants.getAllowedComponents(0)); in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault()
366 assertEquals(1, mAssistants.getAllowedComponents(0).size()); in testReadXml_multiApproved()
368 mAssistants.getAllowedComponents(0)); in testReadXml_multiApproved()
DManagedServicesTest.java524 assertEquals(3, service.getAllowedComponents(0).size()); in resetPackage_onlyDefaultsOnly()
528 List<ComponentName> components = service.getAllowedComponents(0); in resetPackage_onlyDefaultsOnly()
550 List<ComponentName> components = service.getAllowedComponents(1); in resetPackage_affectCurrentUserOnly()
571 List<ComponentName> components = service.getAllowedComponents(0); in resetPackage_samePackageMultipleClasses()
1313 List<ComponentName> actual = service.getAllowedComponents(10); in testGetAllowedComponentsByUser()
1334 assertEquals(0, service.getAllowedComponents(10).size()); in testGetAllowedComponents_approvalByPackage()
1406 service.getAllowedComponents(mUserProfiles.getCurrentProfileIds()); in testGetAllowedComponents()
DNotificationManagerServiceTest.java4966 verify(mAssistants, times(1)).getAllowedComponents(user.getIdentifier()); in testGetAssistantAllowedForUser()
4978 verify(mAssistants, times(1)).getAllowedComponents(mContext.getUserId()); in testGetAssistantAllowed()
5115 when(mAssistants.getAllowedComponents(anyInt())).thenReturn(componentList); in testSetAssistantAccess_nullWithAllowedAssistant()
5142 when(mAssistants.getAllowedComponents(anyInt())).thenReturn(componentList); in testSetAssistantAccessForUser_nullWithAllowedAssistant()
5171 when(mAssistants.getAllowedComponents(anyInt())).thenReturn(componentList); in testSetAssistantAccessForUser_workProfile_nullWithAllowedAssistant()
9165 when(mAssistants.getAllowedComponents(anyInt())) in testNASSettingUpgrade_userSetNull()
9184 when(mAssistants.getAllowedComponents(anyInt())) in testNASSettingUpgrade_userSet()
9212 when(mAssistants.getAllowedComponents(userId1)) in testNASSettingUpgrade_multiUser()
9215 when(mAssistants.getAllowedComponents(userId2)) in testNASSettingUpgrade_multiUser()
9247 when(mAssistants.getAllowedComponents(userId1)) in testNASSettingUpgrade_multiProfile()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java279 ArraySet<ComponentName> enabledComponents = new ArraySet<>(getAllowedComponents(userId)); in resetComponents()
747 List<ComponentName> approvedComponents = getAllowedComponents(USER_SYSTEM); in upgradeDefaultsXmlVersion()
896 protected List<ComponentName> getAllowedComponents(int userId) { in getAllowedComponents() method in ManagedServices
1341 protected SparseArray<ArraySet<ComponentName>> getAllowedComponents(IntArray userIds) { in getAllowedComponents() method in ManagedServices
1450 getAllowedComponents(userIds); in rebindServices()
DNotificationManagerService.java937 List<ComponentName> allowedComponents = mAssistants.getAllowedComponents(userId); in migrateDefaultNAS()
6114 return mListeners.getAllowedComponents(userId);
6120 List<ComponentName> allowedComponents = mAssistants.getAllowedComponents(userId);
6567 mAssistants.getAllowedComponents(userId));
11302 List<ComponentName> allowedComponents = getAllowedComponents(userId);
12442 List<ComponentName> allowedComponents = getAllowedComponents(userId);
12814 List<ComponentName> allowedComponents = mAssistants.getAllowedComponents(userId);
/frameworks/base/services/
Dart-wear-profile15670 PLcom/android/server/notification/ManagedServices;->getAllowedComponents(I)Ljava/util/List;
15671 HPLcom/android/server/notification/ManagedServices;->getAllowedComponents(Landroid/util/IntArray;)L…