Searched refs:componentsToUnbind (Results 1 – 2 of 2) sorted by relevance
1039 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind_forceRebind() local1042 componentsToUnbind); in testPopulateComponentsToUnbind_forceRebind()1044 assertEquals(2, componentsToUnbind.size()); in testPopulateComponentsToUnbind_forceRebind()1045 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("a/a"))); in testPopulateComponentsToUnbind_forceRebind()1046 assertTrue(componentsToUnbind.get(10).contains(ComponentName.unflattenFromString("b/b"))); in testPopulateComponentsToUnbind_forceRebind()1079 SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in testPopulateComponentsToUnbind() local1082 componentsToUnbind); in testPopulateComponentsToUnbind()1084 assertEquals(1, componentsToUnbind.size()); in testPopulateComponentsToUnbind()1085 assertEquals(1, componentsToUnbind.get(0).size()); in testPopulateComponentsToUnbind()1086 assertTrue(componentsToUnbind.get(0).contains(ComponentName.unflattenFromString("c/c"))); in testPopulateComponentsToUnbind()
1174 SparseArray<Set<ComponentName>> componentsToUnbind) { in populateComponentsToUnbind() argument1180 componentsToUnbind.get(info.userid, new ArraySet<>()); in populateComponentsToUnbind()1182 componentsToUnbind.put(info.userid, toUnbind); in populateComponentsToUnbind()1201 final SparseArray<Set<ComponentName>> componentsToUnbind = new SparseArray<>(); in rebindServices() local1215 forceRebind, removableBoundServices, componentsToBind, componentsToUnbind); in rebindServices()1218 unbindFromServices(componentsToUnbind); in rebindServices()1222 protected void unbindFromServices(SparseArray<Set<ComponentName>> componentsToUnbind) { in unbindFromServices() argument1223 for (int i = 0; i < componentsToUnbind.size(); i++) { in unbindFromServices()1224 final int userId = componentsToUnbind.keyAt(i); in unbindFromServices()1225 final Set<ComponentName> removableComponents = componentsToUnbind.get(userId); in unbindFromServices()