Home
last modified time | relevance | path

Searched refs:componentStrings (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java126 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings() local
128 assertComponentStringsMatchExpected(components, componentStrings); in testPowerComponentsToStrings()
135 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings_empty() local
138 .that(componentStrings).containsAtLeastElementsIn(new ArrayList<>()); in testPowerComponentsToStrings_empty()
145 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings_unknownComponent() local
147 assertComponentStringsMatchExpected(components, componentStrings); in testPowerComponentsToStrings_unknownComponent()
155 List<String> componentStrings = powerComponentsToStrings(components); in testPowerComponentsToStrings_customComponent() local
157 assertComponentStringsMatchExpected(components, componentStrings); in testPowerComponentsToStrings_customComponent()
161 List<String> componentStrings) { in assertComponentStringsMatchExpected() argument
162 for (int i = 0; i < componentStrings.size(); i++) { in assertComponentStringsMatchExpected()
[all …]
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/dock/
DBackgroundExcludedItemsProvider.java103 private static ArraySet<ComponentName> convertToComponentNames(String[] componentStrings) { in convertToComponentNames() argument
104 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()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DTaskCategoryManager.java121 private static ArraySet<ComponentName> convertToComponentNames(String[] componentStrings) { in convertToComponentNames() argument
122 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()
/packages/apps/TV/src/com/android/tv/util/
DSetupUtils.java382 String[] componentStrings = context.getResources() in createSetupIntent() local
385 if (componentStrings != null) { in createSetupIntent()
386 for (String component : componentStrings) { in createSetupIntent()