Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java433 assertEquals(3, service.getAllowedComponents(0).size()); in resetPackage_onlyDefaultsOnly()
437 List<ComponentName> components = service.getAllowedComponents(0); in resetPackage_onlyDefaultsOnly()
459 List<ComponentName> components = service.getAllowedComponents(1); in resetPackage_affectCurrentUserOnly()
480 List<ComponentName> components = service.getAllowedComponents(0); in resetPackage_samePackageMultipleClasses()
895 List<ComponentName> actual = service.getAllowedComponents(10); in testGetAllowedComponentsByUser()
916 assertEquals(0, service.getAllowedComponents(10).size()); in testGetAllowedComponents_approvalByPackage()
1008 service.getAllowedComponents(mUserProfiles.getCurrentProfileIds()); in testGetAllowedComponents()
DNotificationManagerServiceTest.java2847 verify(mAssistants, times(1)).getAllowedComponents(user.getIdentifier()); in testGetAssistantAllowedForUser()
2859 verify(mAssistants, times(1)).getAllowedComponents(0); in testGetAssistantAllowed()
2941 when(mAssistants.getAllowedComponents(anyInt())).thenReturn(componentList); in testSetAssistantAccess_nullWithAllowedAssistant()
2968 when(mAssistants.getAllowedComponents(anyInt())).thenReturn(componentList); in testSetAssistantAccessForUser_nullWithAllowedAssistant()
2997 when(mAssistants.getAllowedComponents(anyInt())).thenReturn(componentList); in testSetAssistantAccessForUser_workProfile_nullWithAllowedAssistant()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java254 new ArraySet<>(getAllowedComponents(userId)); in resetComponents()
590 List<ComponentName> approvedComponents = getAllowedComponents(USER_SYSTEM); in upgradeDefaultsXmlVersion()
714 protected List<ComponentName> getAllowedComponents(int userId) { in getAllowedComponents() method in ManagedServices
1103 protected SparseArray<ArraySet<ComponentName>> getAllowedComponents(IntArray userIds) { in getAllowedComponents() method in ManagedServices
1205 getAllowedComponents(userIds); in rebindServices()
DNotificationManagerService.java4722 return mListeners.getAllowedComponents(userId);
4728 List<ComponentName> allowedComponents = mAssistants.getAllowedComponents(userId);
5067 mAssistants.getAllowedComponents(userId));
9095 List<ComponentName> allowedComponents = getAllowedComponents(userId);
9833 List<ComponentName> allowedComponents = mAssistants.getAllowedComponents(userId);
/frameworks/base/services/
Dart-profile21081 HSPLcom/android/server/notification/ManagedServices;->getAllowedComponents(I)Ljava/util/List;
21082 HSPLcom/android/server/notification/ManagedServices;->getAllowedComponents(Landroid/util/IntArray;)…