Home
last modified time | relevance | path

Searched refs:ComponentInfo (Results 1 – 25 of 85) sorted by relevance

1234

/aosp12/frameworks/base/core/java/android/hardware/biometrics/
H A DSensorProperties.java65 public static final class ComponentInfo { class in SensorProperties
75 public ComponentInfo(@NonNull String componentId, @NonNull String hardwareVersion, in ComponentInfo() method in SensorProperties.ComponentInfo
130 public static ComponentInfo from(ComponentInfoInternal internalComp) { in from()
131 return new ComponentInfo(internalComp.componentId, internalComp.hardwareVersion, in from()
139 private final List<ComponentInfo> mComponentInfo;
145 List<ComponentInfo> componentInfo) { in SensorProperties()
170 public List<ComponentInfo> getComponentInfo() { in getComponentInfo()
179 final List<ComponentInfo> componentInfo = new ArrayList<>(); in from()
181 componentInfo.add(ComponentInfo.from(internalComp)); in from()
/aosp12/packages/apps/Settings/src/com/android/settings/utils/
H A DZenServiceListing.java24 import android.content.pm.ComponentInfo;
39 private final Set<ComponentInfo> mApprovedComponents = new ArraySet<>();
49 public ComponentInfo findService(final ComponentName cn) { in findService()
53 for (ComponentInfo component : mApprovedComponents) { in findService()
74 List<ComponentInfo> components = new ArrayList<>(); in reloadApprovedServices()
77 for (ComponentInfo componentInfo : components) { in reloadApprovedServices()
92 private static void getServices(ManagedServiceSettings.Config c, List<ComponentInfo> list, in getServices()
118 private static void getActivities(ManagedServiceSettings.Config c, List<ComponentInfo> list, in getActivities()
137 void onComponentsReloaded(Set<ComponentInfo> components); in onComponentsReloaded()
/aosp12/packages/apps/Nfc/src/com/android/nfc/
H A DRegisteredComponentCache.java54 private ArrayList<ComponentInfo> mComponents;
87 public static class ComponentInfo { class in RegisteredComponentCache
91 ComponentInfo(ResolveInfo resolveInfo, String[] techs) { in ComponentInfo() method in RegisteredComponentCache.ComponentInfo
113 public ArrayList<ComponentInfo> getComponents() { in getComponents()
140 void dump(ArrayList<ComponentInfo> components) { in dump()
141 for (ComponentInfo component : components) { in dump()
156 ArrayList<ComponentInfo> components = new ArrayList<ComponentInfo>(); in generateComponentsList()
179 ArrayList<ComponentInfo> components) throws XmlPullParserException, IOException { in parseComponentInfo()
199 ResolveInfo resolveInfo, ArrayList<ComponentInfo> components) in parseTechLists()
219 components.add(new ComponentInfo(resolveInfo, techs)); in parseTechLists()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/
H A DApplicationFeatureProviderImpl.java25 import android.content.pm.ComponentInfo;
124 ComponentInfo componentInfo = null; in findPersistentPreferredActivities()
160 final ComponentInfo euicc = findEuiccService(mPm); in getKeepEnabledPackages()
256 ComponentInfo findEuiccService(PackageManager packageManager) { in findEuiccService()
260 final ComponentInfo bestComponent = findEuiccService(packageManager, resolveInfoList); in findEuiccService()
267 private ComponentInfo findEuiccService( in findEuiccService()
270 ComponentInfo bestComponent = null; in findEuiccService()
289 final ComponentInfo componentInfo = getComponentInfo(resolveInfo); in isValidEuiccComponent()
324 private ComponentInfo getComponentInfo(ResolveInfo resolveInfo) { in getComponentInfo()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
H A DAbstractZenModeAutomaticRulePreferenceControllerTest.java27 import android.content.pm.ComponentInfo;
109 ComponentInfo ci = new ComponentInfo(); in testGetSettingsActivity_cps()
132 ComponentInfo ci = new ComponentInfo(); in testGetSettingsActivity_cps_wrongPackage()
154 ComponentInfo ci = new ComponentInfo(); in testGetSettingsActivity_cps_unspecifiedPackage()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A DApplicationFeatureProviderImpl.java25 import android.content.pm.ComponentInfo;
121 ComponentInfo componentInfo = null; in findPersistentPreferredActivities()
157 final ComponentInfo euicc = findEuiccService(mPm); in getKeepEnabledPackages()
261 ComponentInfo findEuiccService(PackageManager packageManager) { in findEuiccService()
265 final ComponentInfo bestComponent = findEuiccService(packageManager, resolveInfoList); in findEuiccService()
272 private ComponentInfo findEuiccService( in findEuiccService()
275 ComponentInfo bestComponent = null; in findEuiccService()
294 final ComponentInfo componentInfo = getComponentInfo(resolveInfo); in isValidEuiccComponent()
329 private ComponentInfo getComponentInfo(ResolveInfo resolveInfo) { in getComponentInfo()
/aosp12/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
H A DActivityTile.java22 import android.content.pm.ComponentInfo;
57 protected ComponentInfo getComponentInfo(Context context) { in getComponentInfo()
77 final ComponentInfo info = getComponentInfo(context); in getComponentLabel()
84 protected int getComponentIcon(ComponentInfo componentInfo) { in getComponentIcon()
H A DProviderTile.java23 import android.content.pm.ComponentInfo;
69 protected ComponentInfo getComponentInfo(Context context) { in getComponentInfo()
101 protected int getComponentIcon(ComponentInfo info) { in getComponentIcon()
H A DTile.java34 import android.content.pm.ComponentInfo;
69 protected ComponentInfo mComponentInfo;
74 public Tile(ComponentInfo info, String category) { in Tile()
124 protected abstract ComponentInfo getComponentInfo(Context context); in getComponentInfo()
128 protected abstract int getComponentIcon(ComponentInfo info); in getComponentIcon()
297 final ComponentInfo componentInfo = getComponentInfo(context); in getIcon()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DDefaultAppInfo.java23 import android.content.pm.ComponentInfo;
78 final ComponentInfo componentInfo = getComponentInfo(); in loadLabel()
102 final ComponentInfo componentInfo = getComponentInfo(); in loadIcon()
138 private ComponentInfo getComponentInfo() { in getComponentInfo()
140 ComponentInfo componentInfo = AppGlobals.getPackageManager().getActivityInfo( in getComponentInfo()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DComponentInfo.java40 public class ComponentInfo extends PackageItemInfo { class
107 public ComponentInfo() { in ComponentInfo() method in ComponentInfo
110 public ComponentInfo(ComponentInfo orig) { in ComponentInfo() method in ComponentInfo
245 protected ComponentInfo(Parcel source) { in ComponentInfo() method in ComponentInfo
H A DResolveInfo.java200 public ComponentInfo getComponentInfo() { in getComponentInfo()
229 ComponentInfo ci = getComponentInfo(); in loadLabel()
254 final ComponentInfo componentInfo = getComponentInfo(); in resolveLabelResId()
271 final ComponentInfo componentInfo = getComponentInfo(); in resolveIconResId()
294 ComponentInfo ci = getComponentInfo(); in loadIcon()
315 final ComponentInfo ci = getComponentInfo(); in getIconResourceInternal()
424 final ComponentInfo ci = getComponentInfo(); in toString()
/aosp12/frameworks/base/core/java/android/hardware/face/
H A DFaceSensorProperties.java65 final List<ComponentInfo> componentInfo = new ArrayList<>(); in from()
67 componentInfo.add(ComponentInfo.from(internalComp)); in from()
78 @NonNull List<ComponentInfo> componentInfo, in FaceSensorProperties()
/aosp12/frameworks/base/core/java/android/hardware/fingerprint/
H A DFingerprintSensorProperties.java84 final List<ComponentInfo> componentInfo = new ArrayList<>(); in from()
86 componentInfo.add(ComponentInfo.from(internalComp)); in from()
98 @NonNull List<ComponentInfo> componentInfo, @SensorType int sensorType) { in FingerprintSensorProperties()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
H A DAndroidUtils.kt24 import android.content.pm.ComponentInfo
85 val ResolveInfo.componentInfo: ComponentInfo
87 return (activityInfo as ComponentInfo?)
/aosp12/frameworks/av/media/libmedia/omx/1.0/
H A DWOmx.cpp39 status_t LWOmx::listNodes(List<IOMX::ComponentInfo>* list) { in listNodes()
44 hidl_vec<IOmx::ComponentInfo> const& nodeList) { in listNodes()
49 list->end(), IOMX::ComponentInfo()); in listNodes()
/aosp12/hardware/interfaces/biometrics/common/aidl/android/hardware/biometrics/common/
H A DCommonProps.aidl19 import android.hardware.biometrics.common.ComponentInfo;
46 ComponentInfo[] componentInfo;
/aosp12/frameworks/av/media/libstagefright/omx/1.0/
H A DOmx.cpp55 std::list<::android::IOMX::ComponentInfo> list; in listNodes()
61 list.push_back(::android::IOMX::ComponentInfo()); in listNodes()
62 ::android::IOMX::ComponentInfo& info = list.back(); in listNodes()
74 hidl_vec<ComponentInfo> tList; in listNodes()
/aosp12/hardware/interfaces/media/omx/1.0/
H A DIOmx.hal36 struct ComponentInfo {
45 * @return nodeList The list of ComponentInfo.
50 vec<ComponentInfo> nodeList
/aosp12/hardware/interfaces/media/omx/1.0/vts/functional/store/
H A DVtsHalMediaOmxV1_0TargetStoreTest.cpp81 void displayComponentInfo(hidl_vec<IOmx::ComponentInfo>& nodeList) { in displayComponentInfo()
306 hidl_vec<IOmx::ComponentInfo> nodeList; in TEST_P()
309 hidl_vec<IOmx::ComponentInfo> const& _nl) { in TEST_P()
318 for (IOmx::ComponentInfo node : nodeList) { in TEST_P()
378 hidl_vec<IOmx::ComponentInfo> nodeList; in TEST_P()
383 hidl_vec<IOmx::ComponentInfo> const& _nl) { in TEST_P()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DVoiceSearch.java22 import android.content.pm.ComponentInfo;
94 ComponentInfo ci = ri.activityInfo != null ? ri.activityInfo : ri.serviceInfo; in getVersion()
/aosp12/hardware/interfaces/biometrics/face/aidl/default/
H A DFace.cpp35 common::ComponentInfo hw_component_info; in getSensorProps()
42 common::ComponentInfo sw_component_info; in getSensorProps()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DAbstractZenModeAutomaticRulePreferenceController.java26 import android.content.pm.ComponentInfo;
91 public static ZenRuleInfo getRuleInfo(PackageManager pm, ComponentInfo ci) { in getRuleInfo()
118 ComponentInfo ci) { in getSettingsActivity()
H A DZenRuleSelectionDialog.java25 import android.content.pm.ComponentInfo;
194 public void onComponentsReloaded(Set<ComponentInfo> componentInfos) {
198 for (ComponentInfo ci : componentInfos) {
/aosp12/frameworks/base/telephony/common/com/android/internal/telephony/util/
H A DTelephonyUtils.java23 import android.content.pm.ComponentInfo;
86 public static ComponentInfo getComponentInfo(@NonNull ResolveInfo resolveInfo) { in getComponentInfo()

1234