Home
last modified time | relevance | path

Searched refs:componentInfo (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/hardware/biometrics/
DSensorPropertiesInternal.java37 @NonNull public final List<ComponentInfoInternal> componentInfo; field in SensorPropertiesInternal
43 prop.maxEnrollmentsPerUser, prop.componentInfo, in from()
48 int maxEnrollmentsPerUser, @NonNull List<ComponentInfoInternal> componentInfo, in SensorPropertiesInternal() argument
53 this.componentInfo = componentInfo; in SensorPropertiesInternal()
62 componentInfo = new ArrayList<>(); in SensorPropertiesInternal()
63 in.readList(componentInfo, ComponentInfoInternal.class.getClassLoader()); in SensorPropertiesInternal()
91 dest.writeList(componentInfo); in writeToParcel()
100 for (ComponentInfoInternal info : componentInfo) { in toString()
DSensorProperties.java145 List<ComponentInfo> componentInfo) { in SensorProperties() argument
148 mComponentInfo = componentInfo; in SensorProperties()
179 final List<ComponentInfo> componentInfo = new ArrayList<>(); in from() local
180 for (ComponentInfoInternal internalComp : internalProp.componentInfo) { in from()
181 componentInfo.add(ComponentInfo.from(internalComp)); in from()
184 componentInfo); in from()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapterTest.java52 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in testUdfpsBottomSpacerHeightForPortrait() local
53 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in testUdfpsBottomSpacerHeightForPortrait()
56 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in testUdfpsBottomSpacerHeightForPortrait()
62 componentInfo, in testUdfpsBottomSpacerHeightForPortrait()
116 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in testUdfpsHorizontalSpacerWidthForLandscape() local
117 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in testUdfpsHorizontalSpacerWidthForLandscape()
120 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in testUdfpsHorizontalSpacerWidthForLandscape()
126 componentInfo, in testUdfpsHorizontalSpacerWidthForLandscape()
DAuthContainerViewTest.java252 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in initializeContainer() local
253 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in initializeContainer()
256 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in initializeContainer()
263 componentInfo, in initializeContainer()
DAuthBiometricFaceToFingerprintViewTest.java246 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in createFingerprintSensorProps() local
247 componentInfo.add(new ComponentInfoInternal("componentId", "hardwareVersion", in createFingerprintSensorProps()
254 componentInfo, in createFingerprintSensorProps()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java78 final ComponentInfo componentInfo = getComponentInfo(); in loadLabel() local
79 if (componentInfo != null) { in loadLabel()
80 return componentInfo.loadLabel(mPm); in loadLabel()
102 final ComponentInfo componentInfo = getComponentInfo(); in loadIcon() local
105 if (componentInfo != null) { in loadIcon()
106 return factory.getBadgedIcon(componentInfo, appInfo, userId); in loadIcon()
140 ComponentInfo componentInfo = AppGlobals.getPackageManager().getActivityInfo( in getComponentInfo() local
142 if (componentInfo == null) { in getComponentInfo()
143 componentInfo = AppGlobals.getPackageManager().getServiceInfo( in getComponentInfo()
146 return componentInfo; in getComponentInfo()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintSensorProperties.java84 final List<ComponentInfo> componentInfo = new ArrayList<>(); in from() local
85 for (ComponentInfoInternal internalComp : internalProp.componentInfo) { in from()
86 componentInfo.add(ComponentInfo.from(internalComp)); in from()
90 componentInfo, in from()
98 @NonNull List<ComponentInfo> componentInfo, @SensorType int sensorType) { in FingerprintSensorProperties() argument
99 super(sensorId, sensorStrength, componentInfo); in FingerprintSensorProperties()
DFingerprintSensorPropertiesInternal.java65 @NonNull List<ComponentInfoInternal> componentInfo, in FingerprintSensorPropertiesInternal() argument
73 super(sensorId, strength, maxEnrollmentsPerUser, componentInfo, in FingerprintSensorPropertiesInternal()
86 @NonNull List<ComponentInfoInternal> componentInfo, in FingerprintSensorPropertiesInternal() argument
90 this(sensorId, strength, maxEnrollmentsPerUser, componentInfo, sensorType, in FingerprintSensorPropertiesInternal()
/frameworks/base/core/java/android/hardware/face/
DFaceSensorProperties.java65 final List<ComponentInfo> componentInfo = new ArrayList<>(); in from() local
66 for (ComponentInfoInternal internalComp : internalProp.componentInfo) { in from()
67 componentInfo.add(ComponentInfo.from(internalComp)); in from()
71 componentInfo, in from()
78 @NonNull List<ComponentInfo> componentInfo, in FaceSensorProperties() argument
80 super(sensorId, sensorStrength, componentInfo); in FaceSensorProperties()
DFaceSensorPropertiesInternal.java52 int maxEnrollmentsPerUser, @NonNull List<ComponentInfoInternal> componentInfo, in FaceSensorPropertiesInternal() argument
57 super(sensorId, strength, maxEnrollmentsPerUser, componentInfo, in FaceSensorPropertiesInternal()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java254 final ComponentInfo componentInfo = getComponentInfo(); in resolveLabelResId() local
255 if (componentInfo.labelRes != 0) { in resolveLabelResId()
256 return componentInfo.labelRes; in resolveLabelResId()
258 return componentInfo.applicationInfo.labelRes; in resolveLabelResId()
271 final ComponentInfo componentInfo = getComponentInfo(); in resolveIconResId() local
272 if (componentInfo.icon != 0) { in resolveIconResId()
273 return componentInfo.icon; in resolveIconResId()
275 return componentInfo.applicationInfo.icon; in resolveIconResId()
DPackageUserState.java261 public boolean isMatch(ComponentInfo componentInfo, int flags) { in isMatch() argument
262 return isMatch(componentInfo.applicationInfo.isSystemApp(), in isMatch()
263 componentInfo.applicationInfo.enabled, componentInfo.enabled, in isMatch()
264 componentInfo.directBootAware, componentInfo.name, flags); in isMatch()
330 public boolean isEnabled(ComponentInfo componentInfo, int flags) { in isEnabled() argument
331 return isEnabled(componentInfo.applicationInfo.enabled, componentInfo.enabled, in isEnabled()
332 componentInfo.name, flags); in isEnabled()
DRegisteredServicesCache.java310 public final ComponentInfo componentInfo; field in RegisteredServicesCache.ServiceInfo
317 public ServiceInfo(V type, ComponentInfo componentInfo, ComponentName componentName) { in ServiceInfo() argument
319 this.componentInfo = componentInfo; in ServiceInfo()
321 this.uid = (componentInfo != null) ? componentInfo.applicationInfo.uid : -1; in ServiceInfo()
377 long versionCode = service.componentInfo.applicationInfo.versionCode; in updateServices()
378 String pkg = service.componentInfo.packageName; in updateServices()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java341 ComponentInfo componentInfo) { in loadTile() argument
345 && Tile.isPrimaryProfileOnly(componentInfo.metaData)) { in loadTile()
346 Log.w(LOG_TAG, "Found " + componentInfo.name + " for intent " in loadTile()
356 Log.w(LOG_TAG, "Found " + componentInfo.name + " for intent " in loadTile()
364 final boolean isProvider = componentInfo instanceof ProviderInfo; in loadTile()
366 ? new Pair<>(((ProviderInfo) componentInfo).authority, in loadTile()
368 : new Pair<>(componentInfo.packageName, componentInfo.name); in loadTile()
372 ? new ProviderTile((ProviderInfo) componentInfo, categoryKey, metaData) in loadTile()
373 : new ActivityTile((ActivityInfo) componentInfo, categoryKey); in loadTile()
DActivityTile.java84 protected int getComponentIcon(ComponentInfo componentInfo) { in getComponentIcon() argument
85 return componentInfo.icon; in getComponentIcon()
DTile.java296 final ComponentInfo componentInfo = getComponentInfo(context); in getIcon() local
297 if (componentInfo == null) { in getIcon()
305 final Icon icon = Icon.createWithResource(componentInfo.packageName, iconResId); in getIcon()
/frameworks/base/services/core/java/com/android/server/media/
DMediaButtonReceiverHolder.java343 ComponentInfo componentInfo; in createComponentName() local
346 componentInfo = resolveInfo.activityInfo; in createComponentName()
348 componentInfo = resolveInfo.serviceInfo; in createComponentName()
355 return new ComponentName(componentInfo.packageName, componentInfo.name); in createComponentName()
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java765 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in getHidlFingerprintSensorProps() local
769 componentInfo, sensorType, resetLockoutRequiresHardwareAuthToken, udfpsProps[0], in getHidlFingerprintSensorProps()
774 componentInfo, sensorType, resetLockoutRequiresHardwareAuthToken); in getHidlFingerprintSensorProps()
784 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in getHidlFaceSensorProps() local
789 componentInfo, FaceSensorProperties.TYPE_UNKNOWN, supportsFaceDetect, in getHidlFaceSensorProps()
796 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in getHidlIrisSensorProps() local
801 componentInfo, resetLockoutRequiresHardwareAuthToken, in getHidlIrisSensorProps()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprint21Test.java91 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in setUp() local
96 componentInfo, FingerprintSensorProperties.TYPE_UNKNOWN, in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthSessionTest.java343 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in setupFingerprint() local
344 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in setupFingerprint()
347 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in setupFingerprint()
354 componentInfo, in setupFingerprint()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java439 private static void assignSharedFieldsForComponentInfo(@NonNull ComponentInfo componentInfo, in assignSharedFieldsForComponentInfo() argument
442 assignStateFieldsForPackageItemInfo(componentInfo, mainComponent, pkgSetting, userId); in assignSharedFieldsForComponentInfo()
443 componentInfo.descriptionRes = mainComponent.getDescriptionRes(); in assignSharedFieldsForComponentInfo()
444 componentInfo.directBootAware = mainComponent.isDirectBootAware(); in assignSharedFieldsForComponentInfo()
445 componentInfo.enabled = mainComponent.isEnabled(); in assignSharedFieldsForComponentInfo()
446 componentInfo.splitName = mainComponent.getSplitName(); in assignSharedFieldsForComponentInfo()
447 componentInfo.attributionTags = mainComponent.getAttributionTags(); in assignSharedFieldsForComponentInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
DFace10Test.java90 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in setUp() local
95 SensorProperties.STRENGTH_STRONG, maxEnrollmentsPerUser, componentInfo, in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java244 ComponentInfo componentInfo = TelephonyUtils.getComponentInfo(carrierResolveInfo); in rebind() local
245 candidateServiceClass = new ComponentName(componentInfo.packageName, in rebind()
246 componentInfo.name).getClassName(); in rebind()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java1119 ComponentInfo componentInfo = TelephonyUtils.getComponentInfo(resolveInfo); in isValidEuiccComponent() local
1120 String packageName = new ComponentName(componentInfo.packageName, componentInfo.name) in isValidEuiccComponent()
1134 if (componentInfo instanceof ServiceInfo) { in isValidEuiccComponent()
1135 permission = ((ServiceInfo) componentInfo).permission; in isValidEuiccComponent()
1136 } else if (componentInfo instanceof ActivityInfo) { in isValidEuiccComponent()
1137 permission = ((ActivityInfo) componentInfo).permission; in isValidEuiccComponent()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceProvider.java137 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in FaceProvider() local
138 if (prop.commonProps.componentInfo != null) { in FaceProvider()
139 for (ComponentInfo info : prop.commonProps.componentInfo) { in FaceProvider()
140 componentInfo.add(new ComponentInfoInternal(info.componentId, in FaceProvider()
148 prop.commonProps.maxEnrollmentsPerUser, componentInfo, prop.sensorType, in FaceProvider()

12