Home
last modified time | relevance | path

Searched defs:components (Results 1 – 25 of 45) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java118 List<Integer> components = List.of(PowerComponent.AUDIO, PowerComponent.BLUETOOTH, in testPowerComponentsToStrings() local
133 List<Integer> components = new ArrayList<>(); in testPowerComponentsToStrings_empty() local
143 List<Integer> components = List.of(PowerComponent.AUDIO, PowerComponent.BLUETOOTH, 42); in testPowerComponentsToStrings_unknownComponent() local
152 List<Integer> components = List.of(PowerComponent.AUDIO, PowerComponent.BLUETOOTH, in testPowerComponentsToStrings_customComponent() local
160 private void assertComponentStringsMatchExpected(List<Integer> components, in assertComponentStringsMatchExpected()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java97 boolean filter(int[] components); in filter()
116 int[] components = filter.getComponents(); in hasComponents() local
244 public static List<String> powerComponentsToStrings(Iterable<Integer> components) { in powerComponentsToStrings()
259 public static String powerComponentsToString(Iterable<Integer> components) { in powerComponentsToString()
277 public static Iterable<Integer> toPowerComponents(Iterable<String> components, boolean prefix) { in toPowerComponents()
DCarPowerPolicyFilter.java59 /* package-private */ CarPowerPolicyFilter( in CarPowerPolicyFilter()
98 int[] components = in.createIntArray(); in CarPowerPolicyFilter() local
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java164 void dump(ArrayList<ComponentInfo> components) { in dump()
180 ArrayList<ComponentInfo> components = new ArrayList<ComponentInfo>(); in generateComponentsList() local
216 ArrayList<ComponentInfo> components) throws XmlPullParserException, IOException { in parseComponentInfo()
227 parser, info, components); in parseComponentInfo() local
236 ResolveInfo resolveInfo, ArrayList<ComponentInfo> components) in parseTechLists()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DTextStorageRepositoryTest.kt88 val components = in <lambda>() constant
102 val components = in <lambda>() constant
119 val components = in <lambda>() constant
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogEntryText.java146 List<CharSequence> components = new ArrayList<>(); in buildSecondaryTextListForEntries() local
205 List<CharSequence> components = new ArrayList<>(); in buildSecondaryTextForBottomSheet() local
286 private static CharSequence joinSecondaryTextComponents(List<CharSequence> components) { in joinSecondaryTextComponents()
DCallLogEntryDescriptions.java151 private static CharSequence joinSecondaryTextComponents(List<CharSequence> components) { in joinSecondaryTextComponents()
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java273 SparseBooleanArray components = new SparseBooleanArray(); in definePowerPolicy() local
633 ArrayMap<String, Boolean> components = new ArrayMap<>(); in parsePolicy() local
692 SparseBooleanArray components = new SparseBooleanArray(); in toCarPowerPolicy() local
861 private void removeComponent(List<Integer> components, int component) { in removeComponent()
868 private void addComponent(List<Integer> components, int component) { in addComponent()
908 void checkSystemPowerPolicyComponents(int[] components, Set<Integer> visited) throws in checkSystemPowerPolicyComponents()
930 int parseComponents(String[] componentArr, boolean enabled, SparseBooleanArray components) { in parseComponents()
1038 public final ArrayMap<String, Boolean> components; field in PolicyReader.IntermediateCarPowerPolicy
1041 IntermediateCarPowerPolicy(String policyId, ArrayMap<String, Boolean> components, in IntermediateCarPowerPolicy()
DPowerComponentHandler.java205 int[] components = filter.getComponents(); in isComponentChanged() local
383 public void registerCustomComponents(Integer[] components) { in registerCustomComponents()
/packages/services/Car/cpp/powerpolicy/client/src/
DPowerPolicyClientBase.cpp55 bool hasComponent(const std::vector<PowerComponent>& components, PowerComponent component) { in hasComponent()
138 const auto& components = getComponentsOfInterest(); in connectToDaemon() local
/packages/apps/Settings/src/com/android/settings/utils/
DZenServiceListing.java74 List<ComponentInfo> components = new ArrayList<>(); in reloadApprovedServices() local
137 void onComponentsReloaded(Set<ComponentInfo> components); in onComponentsReloaded()
/packages/services/Car/car-lib/native/CarPowerManager/
DCarPowerPolicyFilter.cpp29 CarPowerPolicyFilter::CarPowerPolicyFilter(const std::vector<int32_t>& components) : in CarPowerPolicyFilter()
/packages/services/Car/cpp/powerpolicy/server/src/
DPowerComponentHandler.cpp96 auto findComponent = [componentId](const std::vector<T> components) -> bool { in getComponentState()
136 auto printComponents = [fd](const auto& components, auto toStringFunc) { in dump()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DResolverListAdapterTest.kt508 val components = it.arguments[0] as MutableList<ResolvedComponentInfo> in test_resultsSorted_appearInSortedOrderInAdapter() constant
566 val components = it.arguments[0] as MutableList<ResolvedComponentInfo> in test_ineligibleActivityFilteredOut_filteredComponentNotPresentInAdapter() constant
621 val components = it.arguments[0] as MutableList<ResolvedComponentInfo> in test_baseResolveList_excludedFromIneligibleActivityFiltering() constant
676 val components = it.arguments[0] as MutableList<ResolvedComponentInfo> in test_lowPriorityComponentFilteredOut_filteredComponentNotPresentInAdapter() constant
/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInfoMatcher.java49 HashSet<ComponentName> components, UserHandle user) { in ofComponents()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DVisibilityPreferenceControllerTest.java173 List<ComponentName> components = new ArrayList<>(); in testUpdateState_disabledByAdmin_disableSecure() local
195 List<ComponentName> components = new ArrayList<>(); in testUpdateState_disabledByAdmin_disableUnredacted() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdServicesBackCompatInit.java208 void updateComponents(List<String> components, boolean shouldEnable) { in updateComponents()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_writer.cpp75 const int components = (static_cast<int>(format) & 0xff); in setup() local
Djpeg_reader.cpp71 const int components = (static_cast<int>(format) & 0xff); in setup() local
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DReverseGeocodeTask.java76 JSONArray components = topResult.optJSONArray(JSON_KEY_ADDRESS_COMPONENTS); in doInBackground() local
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DParameterParser.java106 String[] components = input.split(" "); in parseList() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DPreferredShortcuts.java120 @NonNull Context context, @NonNull Set<String> components) { in updatePreferredShortcutsFromSettings()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesBackCompatInitTest.java330 private void verifyCallToSetComponentEnabledSetting(List<String> components, int state) { in verifyCallToSetComponentEnabledSetting()
/packages/modules/Virtualization/service_vm/fake_chain/src/
Dclient_vm.rs154 let components = in fake_microdroid_payload_config_descriptor() localVariable
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java208 public boolean onPackageChanged(String packageName, int uid, String[] components) { in createPackageMonitor()

12