Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java1353 SparseArray<Set<ComponentName>> componentsToUnbind) { in populateComponentsToUnbind() argument
1359 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind()
1361 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind()
1382 final SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in rebindServices() local
1399 unbindFromServices(componentsToUnbind); in rebindServices()
1410 final SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in unbindOtherUserServices() local
1417 componentsToUnbind.get(info.userid, new ArraySet<>()); in unbindOtherUserServices()
1419 componentsToUnbind.put(info.userid, toUnbind); in unbindOtherUserServices()
1423 unbindFromServices(componentsToUnbind); in unbindOtherUserServices()
1428 for (int i = 0; i < componentsToUnbind.size(); i++) { in unbindFromServices()
[all …]
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DManagedServicesTest.java1356 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind_forceRebind() local
1359 componentsToUnbind); in testPopulateComponentsToUnbind_forceRebind()
1361 assertEquals(2, componentsToUnbind.size()); in testPopulateComponentsToUnbind_forceRebind()
1362 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("a/a"))); in testPopulateComponentsToUnbind_forceRebind()
1363 assertTrue(componentsToUnbind.get(10).contains(ComponentName.unflattenFromString("b/b"))); in testPopulateComponentsToUnbind_forceRebind()
1396 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind() local
1399 componentsToUnbind); in testPopulateComponentsToUnbind()
1401 assertEquals(1, componentsToUnbind.size()); in testPopulateComponentsToUnbind()
1402 assertEquals(1, componentsToUnbind.get(0).size()); in testPopulateComponentsToUnbind()
1403 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("c/c"))); in testPopulateComponentsToUnbind()