Searched refs:componentStrings (Results 1 – 4 of 4) sorted by relevance
126 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings() local128 assertComponentStringsMatchExpected(components, componentStrings); in testPowerComponentsToStrings()135 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings_empty() local138 .that(componentStrings).containsAtLeastElementsIn(new ArrayList<>()); in testPowerComponentsToStrings_empty()145 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings_unknownComponent() local147 assertComponentStringsMatchExpected(components, componentStrings); in testPowerComponentsToStrings_unknownComponent()155 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings_customComponent() local157 assertComponentStringsMatchExpected(components, componentStrings); in testPowerComponentsToStrings_customComponent()161 List<String> componentStrings) { in assertComponentStringsMatchExpected() argument162 for (int i = 0; i < componentStrings.size(); i++) { in assertComponentStringsMatchExpected()[all …]
103 private static ArraySet<ComponentName> convertToComponentNames(String[] componentStrings) { in convertToComponentNames() argument104 ArraySet<ComponentName> componentNames = new ArraySet<>(componentStrings.length); in convertToComponentNames()105 for (int i = componentStrings.length - 1; i >= 0; i--) { in convertToComponentNames()106 componentNames.add(ComponentName.unflattenFromString(componentStrings[i])); in convertToComponentNames()
121 private static ArraySet<ComponentName> convertToComponentNames(String[] componentStrings) { in convertToComponentNames() argument122 ArraySet<ComponentName> componentNames = new ArraySet<>(componentStrings.length); in convertToComponentNames()123 for (int i = componentStrings.length - 1; i >= 0; i--) { in convertToComponentNames()124 componentNames.add(ComponentName.unflattenFromString(componentStrings[i])); in convertToComponentNames()
382 String[] componentStrings = context.getResources() in createSetupIntent() local385 if (componentStrings != null) { in createSetupIntent()386 for (String component : componentStrings) { in createSetupIntent()