Searched refs:componentsToUnbind (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 1417 SparseArray<Set<ComponentName>> componentsToUnbind) { in populateComponentsToUnbind() argument 1423 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind() 1425 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind() 1446 final SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in rebindServices() local 1460 forceRebind, removableBoundServices, componentsToBind, componentsToUnbind); in rebindServices() 1463 unbindFromServices(componentsToUnbind); in rebindServices() 1486 final SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in unbindServicesImpl() local 1493 componentsToUnbind.get(info.userid, new ArraySet<>()); in unbindServicesImpl() 1495 componentsToUnbind.put(info.userid, toUnbind); in unbindServicesImpl() 1499 unbindFromServices(componentsToUnbind); in unbindServicesImpl() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ManagedServicesTest.java | 1437 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind_forceRebind() local 1440 componentsToUnbind); in testPopulateComponentsToUnbind_forceRebind() 1442 assertEquals(2, componentsToUnbind.size()); in testPopulateComponentsToUnbind_forceRebind() 1443 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("a/a"))); in testPopulateComponentsToUnbind_forceRebind() 1444 assertTrue(componentsToUnbind.get(10).contains(ComponentName.unflattenFromString("b/b"))); in testPopulateComponentsToUnbind_forceRebind() 1477 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind() local 1480 componentsToUnbind); in testPopulateComponentsToUnbind() 1482 assertEquals(1, componentsToUnbind.size()); in testPopulateComponentsToUnbind() 1483 assertEquals(1, componentsToUnbind.get(0).size()); in testPopulateComponentsToUnbind() 1484 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("c/c"))); in testPopulateComponentsToUnbind()
|