Home
last modified time | relevance | path

Searched refs:validAssistants (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1448 final ArraySet<ComponentName> validAssistants = new ArraySet<>(); in testDefaultAssistant_overrideDefault() local
1449 validAssistants.add(ComponentName.unflattenFromString(testComponent)); in testDefaultAssistant_overrideDefault()
1452 .thenReturn(validAssistants); in testDefaultAssistant_overrideDefault()
1453 when(mAssistants.getDefaultComponents()).thenReturn(validAssistants); in testDefaultAssistant_overrideDefault()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1049 Set<ComponentName> validAssistants = in allowAssistant() local
1053 if (candidate != null && validAssistants.contains(candidate)) { in allowAssistant()