Home
last modified time | relevance | path

Searched refs:componentInfo (Results 1 – 25 of 39) 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(), android.hardware.biometri… 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/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java80 final ComponentInfo componentInfo = getComponentInfo(); in loadLabel() local
81 if (componentInfo != null) { in loadLabel()
82 return componentInfo.loadLabel(mPm); in loadLabel()
108 final ComponentInfo componentInfo = getComponentInfo(); in loadIcon() local
111 if (componentInfo != null) { in loadIcon()
112 return factory.getBadgedIcon(componentInfo, appInfo, userId); in loadIcon()
146 ComponentInfo componentInfo = AppGlobals.getPackageManager().getActivityInfo( in getComponentInfo() local
148 if (componentInfo == null) { in getComponentInfo()
149 componentInfo = AppGlobals.getPackageManager().getServiceInfo( in getComponentInfo()
152 return componentInfo; in getComponentInfo()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapterTest.java53 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in testUdfpsBottomSpacerHeightForPortrait() local
54 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in testUdfpsBottomSpacerHeightForPortrait()
57 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in testUdfpsBottomSpacerHeightForPortrait()
63 componentInfo, in testUdfpsBottomSpacerHeightForPortrait()
119 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in testUdfpsHorizontalSpacerWidthForLandscape() local
120 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in testUdfpsHorizontalSpacerWidthForLandscape()
123 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in testUdfpsHorizontalSpacerWidthForLandscape()
129 componentInfo, in testUdfpsHorizontalSpacerWidthForLandscape()
DBiometricTestExtensions.kt37 val componentInfo = in <lambda>() constant
59 componentInfo, in <lambda>()
71 val componentInfo = in faceSensorPropertiesInternal() constant
93 componentInfo, in faceSensorPropertiesInternal()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateUtils.java39 ComponentInfo componentInfo, long flags) { in isMatch() argument
40 return isMatch(state, componentInfo.applicationInfo.isSystemApp(), in isMatch()
41 componentInfo.applicationInfo.enabled, componentInfo.enabled, in isMatch()
42 componentInfo.directBootAware, componentInfo.name, flags); in isMatch()
128 public static boolean isEnabled(@NonNull PackageUserState state, ComponentInfo componentInfo, in isEnabled() argument
130 return isEnabled(state, componentInfo.applicationInfo.enabled, componentInfo.enabled, in isEnabled()
131 componentInfo.name, flags); in isEnabled()
DPackageStateUtils.java57 ComponentInfo componentInfo, long flags, int userId) { in isEnabledAndMatches() argument
61 return PackageUserStateUtils.isMatch(userState, componentInfo, flags); in isEnabledAndMatches()
/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()
DHidlFaceSensorConfig.java68 commonProps.componentInfo = null; in mapHidlToAidlFaceSensorConfigurations()
/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.java48 @NonNull List<ComponentInfoInternal> componentInfo, in FingerprintSensorPropertiesInternal() argument
57 super(sensorId, strength, maxEnrollmentsPerUser, componentInfo, in FingerprintSensorPropertiesInternal()
69 @NonNull List<ComponentInfoInternal> componentInfo, in FingerprintSensorPropertiesInternal() argument
73 this(sensorId, strength, maxEnrollmentsPerUser, componentInfo, sensorType, in FingerprintSensorPropertiesInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DPackageManagerExt.kt32 fun PackageManager.isComponentActuallyEnabled(componentInfo: ComponentInfo): Boolean { in PackageManager()
34 return when (getComponentEnabledSetting(componentInfo.componentName)) { in PackageManager()
37 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> componentInfo.isEnabled in PackageManager()
/frameworks/base/services/core/java/com/android/server/media/
DMediaButtonReceiverHolder.java348 ComponentInfo componentInfo = getComponentInfo(resolveInfo); in getComponentName() local
349 if (componentInfo != null && TextUtils.equals(componentInfo.packageName, in getComponentName()
351 && componentInfo.packageName != null && componentInfo.name != null) { in getComponentName()
352 return new ComponentName(componentInfo.packageName, componentInfo.name); in getComponentName()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java274 final ComponentInfo componentInfo = getComponentInfo(); in resolveLabelResId() local
275 if (componentInfo.labelRes != 0) { in resolveLabelResId()
276 return componentInfo.labelRes; in resolveLabelResId()
278 return componentInfo.applicationInfo.labelRes; in resolveLabelResId()
291 final ComponentInfo componentInfo = getComponentInfo(); in resolveIconResId() local
292 if (componentInfo.icon != 0) { in resolveIconResId()
293 return componentInfo.icon; in resolveIconResId()
295 return componentInfo.applicationInfo.icon; in resolveIconResId()
DRegisteredServicesCache.java321 public final ComponentInfo componentInfo; field in RegisteredServicesCache.ServiceInfo
328 public ServiceInfo(V type, ComponentInfo componentInfo, ComponentName componentName) { in ServiceInfo() argument
330 this.componentInfo = componentInfo; in ServiceInfo()
332 this.uid = (componentInfo != null) ? componentInfo.applicationInfo.uid : -1; in ServiceInfo()
388 long versionCode = service.componentInfo.applicationInfo.versionCode; in updateServices()
389 String pkg = service.componentInfo.packageName; in updateServices()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java354 ComponentInfo componentInfo) { in loadTile() argument
358 && Tile.isPrimaryProfileOnly(componentInfo.metaData)) { in loadTile()
359 Log.w(LOG_TAG, "Found " + componentInfo.name + " for intent " in loadTile()
369 Log.w(LOG_TAG, "Found " + componentInfo.name + " for intent " in loadTile()
377 final boolean isProvider = componentInfo instanceof ProviderInfo; in loadTile()
379 ? new Pair<>(((ProviderInfo) componentInfo).authority, in loadTile()
381 : new Pair<>(componentInfo.packageName, componentInfo.name); in loadTile()
385 ? new ProviderTile((ProviderInfo) componentInfo, categoryKey, metaData) in loadTile()
386 : new ActivityTile((ActivityInfo) componentInfo, categoryKey); in loadTile()
DActivityTile.java83 protected int getComponentIcon(ComponentInfo componentInfo) { in getComponentIcon() argument
84 return componentInfo.icon; in getComponentIcon()
DTile.java293 final ComponentInfo componentInfo = getComponentInfo(context); in getIcon() local
294 if (componentInfo == null) { in getIcon()
302 final Icon icon = Icon.createWithResource(componentInfo.packageName, iconResId); in getIcon()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DSensor.java197 final List<ComponentInfoInternal> componentInfo = new ArrayList<>();
198 if (prop.commonProps.componentInfo != null) {
199 for (ComponentInfo info : prop.commonProps.componentInfo) {
200 componentInfo.add(new ComponentInfoInternal(info.componentId,
207 prop.commonProps.maxEnrollmentsPerUser, componentInfo, prop.sensorType,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DPackageManagerExtComponentEnabledTest.kt51 val componentInfo = in testComponentActuallyEnabled() constant
57 assertThat(packageManager.isComponentActuallyEnabled(componentInfo)) in testComponentActuallyEnabled()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DSensor.java211 final List<ComponentInfoInternal> componentInfo = new ArrayList<>();
212 if (prop.commonProps.componentInfo != null) {
213 for (ComponentInfo info : prop.commonProps.componentInfo) {
214 componentInfo.add(new ComponentInfoInternal(info.componentId,
222 componentInfo,
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java998 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in getHidlFingerprintSensorProps() local
1002 componentInfo, sensorType, true /* halControlsIllumination */, in getHidlFingerprintSensorProps()
1009 componentInfo, sensorType, resetLockoutRequiresHardwareAuthToken); in getHidlFingerprintSensorProps()
1019 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in getHidlFaceSensorProps() local
1024 componentInfo, FaceSensorProperties.TYPE_UNKNOWN, supportsFaceDetect, in getHidlFaceSensorProps()
1031 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in getHidlIrisSensorProps() local
1036 componentInfo, resetLockoutRequiresHardwareAuthToken, in getHidlIrisSensorProps()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMockModem.java88 String[] componentInfo = serviceName.split("/", 2); in MockModem() local
89 mPackageName = componentInfo[0]; in MockModem()
90 mServiceName = componentInfo[1]; in MockModem()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java1207 ComponentInfo componentInfo = TelephonyUtils.getComponentInfo(resolveInfo); in isValidEuiccComponent() local
1208 String packageName = new ComponentName(componentInfo.packageName, componentInfo.name) in isValidEuiccComponent()
1222 if (componentInfo instanceof ServiceInfo) { in isValidEuiccComponent()
1223 permission = ((ServiceInfo) componentInfo).permission; in isValidEuiccComponent()
1224 } else if (componentInfo instanceof ActivityInfo) { in isValidEuiccComponent()
1225 permission = ((ActivityInfo) componentInfo).permission; in isValidEuiccComponent()

12