Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java1323 SparseArray<Set<ComponentName>> componentsToUnbind) { in populateComponentsToUnbind() argument
1329 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind()
1331 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind()
1350 final SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in rebindServices() local
1367 unbindFromServices(componentsToUnbind); in rebindServices()
1378 final SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in unbindOtherUserServices() local
1385 componentsToUnbind.get(info.userid, new ArraySet<>()); in unbindOtherUserServices()
1387 componentsToUnbind.put(info.userid, toUnbind); in unbindOtherUserServices()
1391 unbindFromServices(componentsToUnbind); in unbindOtherUserServices()
1396 for (int i = 0; i < componentsToUnbind.size(); i++) { in unbindFromServices()
[all …]
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DManagedServicesTest.java1226 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind_forceRebind() local
1229 componentsToUnbind); in testPopulateComponentsToUnbind_forceRebind()
1231 assertEquals(2, componentsToUnbind.size()); in testPopulateComponentsToUnbind_forceRebind()
1232 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("a/a"))); in testPopulateComponentsToUnbind_forceRebind()
1233 assertTrue(componentsToUnbind.get(10).contains(ComponentName.unflattenFromString("b/b"))); in testPopulateComponentsToUnbind_forceRebind()
1266 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind() local
1269 componentsToUnbind); in testPopulateComponentsToUnbind()
1271 assertEquals(1, componentsToUnbind.size()); in testPopulateComponentsToUnbind()
1272 assertEquals(1, componentsToUnbind.get(0).size()); in testPopulateComponentsToUnbind()
1273 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("c/c"))); in testPopulateComponentsToUnbind()