Home
last modified time | relevance | path

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

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DDefaultAppInfo.java76 final ComponentInfo componentInfo = getComponentInfo(); in loadLabel() local
77 if (componentInfo != null) { in loadLabel()
78 return componentInfo.loadLabel(mPm); in loadLabel()
113 ComponentInfo componentInfo = AppGlobals.getPackageManager().getActivityInfo( in getComponentInfo() local
115 if (componentInfo == null) { in getComponentInfo()
116 componentInfo = AppGlobals.getPackageManager().getServiceInfo( in getComponentInfo()
119 return componentInfo; in getComponentInfo()
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProviderImpl.java134 ComponentInfo componentInfo = null; in findPersistentPreferredActivities() local
136 componentInfo = resolveInfo.activityInfo; in findPersistentPreferredActivities()
138 componentInfo = resolveInfo.serviceInfo; in findPersistentPreferredActivities()
140 componentInfo = resolveInfo.providerInfo; in findPersistentPreferredActivities()
142 if (componentInfo != null) { in findPersistentPreferredActivities()
143 UserAppInfo info = new UserAppInfo(userInfo, componentInfo.applicationInfo); in findPersistentPreferredActivities()
316 final ComponentInfo componentInfo = getComponentInfo(resolveInfo); in isValidEuiccComponent() local
317 final String packageName = componentInfo.packageName; in isValidEuiccComponent()
330 if (componentInfo instanceof ServiceInfo) { in isValidEuiccComponent()
331 permission = ((ServiceInfo) componentInfo).permission; in isValidEuiccComponent()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settingslib/applications/
DApplicationFeatureProviderImpl.java125 ComponentInfo componentInfo = null; in findPersistentPreferredActivities() local
127 componentInfo = resolveInfo.activityInfo; in findPersistentPreferredActivities()
129 componentInfo = resolveInfo.serviceInfo; in findPersistentPreferredActivities()
131 componentInfo = resolveInfo.providerInfo; in findPersistentPreferredActivities()
133 if (componentInfo != null) { in findPersistentPreferredActivities()
134 UserAppInfo info = new UserAppInfo(userInfo, componentInfo.applicationInfo); in findPersistentPreferredActivities()
298 final ComponentInfo componentInfo = getComponentInfo(resolveInfo); in isValidEuiccComponent() local
299 final String packageName = componentInfo.packageName; in isValidEuiccComponent()
312 if (componentInfo instanceof ServiceInfo) { in isValidEuiccComponent()
313 permission = ((ServiceInfo) componentInfo).permission; in isValidEuiccComponent()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DConvertToEsimPreferenceController.java218 ComponentInfo componentInfo = TelephonyUtils.getComponentInfo(resolveInfo); in isValidEuiccComponent() local
219 String packageName = new ComponentName(componentInfo.packageName, componentInfo.name) in isValidEuiccComponent()
231 if (componentInfo instanceof ServiceInfo) { in isValidEuiccComponent()
232 permission = ((ServiceInfo) componentInfo).permission; in isValidEuiccComponent()
233 } else if (componentInfo instanceof ActivityInfo) { in isValidEuiccComponent()
234 permission = ((ActivityInfo) componentInfo).permission; in isValidEuiccComponent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/
DApplicationFeatureProviderImpl.java107 ComponentInfo componentInfo = null; in findPersistentPreferredActivities() local
109 componentInfo = resolveInfo.activityInfo; in findPersistentPreferredActivities()
111 componentInfo = resolveInfo.serviceInfo; in findPersistentPreferredActivities()
113 componentInfo = resolveInfo.providerInfo; in findPersistentPreferredActivities()
115 if (componentInfo != null) { in findPersistentPreferredActivities()
116 UserAppInfo info = new UserAppInfo(userInfo, componentInfo.applicationInfo); in findPersistentPreferredActivities()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/apps/
DApplicationFeatureProviderImpl.java107 ComponentInfo componentInfo = null; in findPersistentPreferredActivities() local
109 componentInfo = resolveInfo.activityInfo; in findPersistentPreferredActivities()
111 componentInfo = resolveInfo.serviceInfo; in findPersistentPreferredActivities()
113 componentInfo = resolveInfo.providerInfo; in findPersistentPreferredActivities()
115 if (componentInfo != null) { in findPersistentPreferredActivities()
116 UserAppInfo info = new UserAppInfo(userInfo, componentInfo.applicationInfo); in findPersistentPreferredActivities()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintSuggestionActivityTest.java76 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in setUp() local
77 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in setUp()
80 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in setUp()
88 componentInfo, in setUp()
DSetupFingerprintEnrollIntroductionTest.java96 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in setUp() local
97 componentInfo.add(new ComponentInfoInternal("faceSensor" /* componentId */, in setUp()
100 componentInfo.add(new ComponentInfoInternal("matchingAlgorithm" /* componentId */, in setUp()
108 componentInfo, in setUp()
DFingerprintEnrollIntroductionTest.java103 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in setUp() local
109 componentInfo, in setUp()
DFingerprintEnrollEnrollingTest.java600 final List<ComponentInfoInternal> componentInfo = new ArrayList<>(); in initializeActivityWithoutCreate() local
606 componentInfo, in initializeActivityWithoutCreate()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java188 ComponentInfo componentInfo = TelephonyUtils.getComponentInfo(info); in getRemotePackage() local
189 return new ComponentName(componentInfo.packageName, componentInfo.name); in getRemotePackage()
208 ComponentInfo componentInfo = TelephonyUtils.getComponentInfo(info.get(0)); in getBroadcastPackage() local
209 return new ComponentName(componentInfo.packageName, componentInfo.name); in getBroadcastPackage()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRequiredComponent.java217 ComponentInfo componentInfo = getComponentComponentInfo(resolveInfo); in getQualifyingComponentsAsUserInternal() local
219 Bundle componentMetaData = componentInfo.metaData; in getQualifyingComponentsAsUserInternal()
238 String componentPackageName = componentInfo.packageName; in getQualifyingComponentsAsUserInternal()
245 componentInfo.name); in getQualifyingComponentsAsUserInternal()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DEnabledAccessibilityServicesLiveData.kt25 import com.android.permissioncontroller.permission.utils.componentInfo in <lambda>()
50 info.resolveInfo.componentInfo.packageName in <lambda>()
/packages/apps/Settings/src/com/android/settings/utils/
DZenServiceListing.java77 for (ComponentInfo componentInfo : components) { in reloadApprovedServices()
78 final String pkg = componentInfo.getComponentName().getPackageName(); in reloadApprovedServices()
81 mApprovedComponents.add(componentInfo); in reloadApprovedServices()
/packages/modules/Wifi/service/java/com/android/server/wifi/mockwifi/
DMockWifiServiceUtil.java73 String[] componentInfo = serviceName.split("/", 2); in MockWifiServiceUtil() local
74 mPackageName = componentInfo[0]; in MockWifiServiceUtil()
75 mServiceName = componentInfo[1]; in MockWifiServiceUtil()
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusUtils.java111 private static boolean isSystemApp(ComponentInfo componentInfo) { in isSystemApp() argument
112 final ApplicationInfo applicationInfo = componentInfo.applicationInfo; in isSystemApp()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DAndroidUtils.kt72 val ResolveInfo.componentInfo: ComponentInfo constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java334 final ComponentInfo componentInfo = new ComponentInfo(); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage() local
335 componentInfo.packageName = testEuicc; in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage()
339 doReturn(componentInfo).when(spyProvider).findEuiccService(mPackageManager); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java2331 ComponentInfo componentInfo = EuiccConnector.findBestComponent(getPackageManager()); in setRemovableEsimAsDefaultEuicc() local
2332 if (componentInfo == null) { in setRemovableEsimAsDefaultEuicc()
2337 intent.setPackage(componentInfo.packageName); in setRemovableEsimAsDefaultEuicc()