Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java373 ArraySet<ComponentName> defaults = service2.getDefaultComponents(); in testWriteReadXml_writeReadDefaults()
1195 assertEquals(mService.getDefaultComponents().size(), 0); in loadDefaults_noVersionNoDefaults()
1203 assertEquals(1, mService.getDefaultComponents().size()); in loadDefaults_noVersionNoDefaultsOneActive()
1204 assertTrue(mService.getDefaultComponents() in loadDefaults_noVersionNoDefaultsOneActive()
1213 assertEquals(mService.getDefaultComponents(), mDefaults); in loadDefaults_noVersionWithDefaults()
1223 assertEquals(mService.getDefaultComponents(), in loadDefaults_versionOneWithDefaultsWithActive()
1235 assertEquals(1, mService.getDefaultComponents().size()); in loadDefaults_versionTwoWithDefaultsWithActive()
1237 assertTrue(mService.getDefaultComponents().contains(pkg)); in loadDefaults_versionTwoWithDefaultsWithActive()
1249 assertEquals(mService.getDefaultComponents(), in loadDefaults_versionOneWithXMLDefaultsWithActive()
1261 assertEquals(mService.getDefaultComponents(), in loadDefaults_versionTwoWithXMLDefaultsWithActive()
DNotificationManagerServiceTest.java448 when(mListeners.getDefaultComponents()).thenReturn(components); in setUp()
451 when(mAssistants.getDefaultComponents()).thenReturn(components); in setUp()
819 when(mAssistants.getDefaultComponents()).thenReturn(validAssistants); in testDefaultAssistant_overrideDefault()
5144 when(mAssistants.getDefaultComponents()) in setDefaultAssistantForUser_fromConfigXml()
5167 when(mAssistants.getDefaultComponents()) in setDefaultAssistantForUser_fromDeviceConfig()
5190 when(mAssistants.getDefaultComponents()) in setDefaultAssistantForUser_deviceConfigInvalid()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java221 ArraySet<ComponentName> getDefaultComponents() { in getDefaultComponents() method in ManagedServices
DNotificationManagerService.java614 ArraySet<ComponentName> defaultListeners = mListeners.getDefaultComponents(); in allowDefaultApprovedServices()
641 ArraySet<ComponentName> defaults = mAssistants.getDefaultComponents(); in setDefaultAssistantForUser()
/frameworks/base/services/
Dart-profile21088 HSPLcom/android/server/notification/ManagedServices;->getDefaultComponents()Landroid/util/ArraySet;