Home
last modified time | relevance | path

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

/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/content/pm/
DPackageUserState.java139 public boolean isMatch(ComponentInfo componentInfo, int flags) { in isMatch() argument
140 final boolean isSystemApp = componentInfo.applicationInfo.isSystemApp(); in isMatch()
144 if (!isEnabled(componentInfo, flags)) return reportIfDebug(false, flags); in isMatch()
153 && !componentInfo.directBootAware; in isMatch()
155 && componentInfo.directBootAware; in isMatch()
171 public boolean isEnabled(ComponentInfo componentInfo, int flags) { in isEnabled() argument
187 if (!componentInfo.applicationInfo.enabled) { in isEnabled()
196 if (ArrayUtils.contains(this.enabledComponents, componentInfo.name)) { in isEnabled()
199 if (ArrayUtils.contains(this.disabledComponents, componentInfo.name)) { in isEnabled()
203 return componentInfo.enabled; in isEnabled()
DResolveInfo.java243 final ComponentInfo componentInfo = getComponentInfo(); in resolveLabelResId() local
244 if (componentInfo.labelRes != 0) { in resolveLabelResId()
245 return componentInfo.labelRes; in resolveLabelResId()
247 return componentInfo.applicationInfo.labelRes; in resolveLabelResId()
260 final ComponentInfo componentInfo = getComponentInfo(); in resolveIconResId() local
261 if (componentInfo.icon != 0) { in resolveIconResId()
262 return componentInfo.icon; in resolveIconResId()
264 return componentInfo.applicationInfo.icon; in resolveIconResId()
DRegisteredServicesCache.java308 public final ComponentInfo componentInfo; field in RegisteredServicesCache.ServiceInfo
315 public ServiceInfo(V type, ComponentInfo componentInfo, ComponentName componentName) { in ServiceInfo() argument
317 this.componentInfo = componentInfo; in ServiceInfo()
319 this.uid = (componentInfo != null) ? componentInfo.applicationInfo.uid : -1; in ServiceInfo()
375 long versionCode = service.componentInfo.applicationInfo.versionCode; in updateServices()
376 String pkg = service.componentInfo.packageName; in updateServices()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java1112 ComponentInfo componentInfo = TelephonyUtils.getComponentInfo(resolveInfo); in isValidEuiccComponent() local
1113 String packageName = new ComponentName(componentInfo.packageName, componentInfo.name) in isValidEuiccComponent()
1127 if (componentInfo instanceof ServiceInfo) { in isValidEuiccComponent()
1128 permission = ((ServiceInfo) componentInfo).permission; in isValidEuiccComponent()
1129 } else if (componentInfo instanceof ActivityInfo) { in isValidEuiccComponent()
1130 permission = ((ActivityInfo) componentInfo).permission; in isValidEuiccComponent()
/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/base/services/core/java/com/android/server/pm/
DSettings.java4227 boolean isEnabledAndMatchLPr(ComponentInfo componentInfo, int flags, int userId) { in isEnabledAndMatchLPr() argument
4228 final PackageSetting ps = mPackages.get(componentInfo.packageName); in isEnabledAndMatchLPr()
4232 return userState.isMatch(componentInfo, flags); in isEnabledAndMatchLPr()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5051 && !authenticatorInfo.componentInfo.directBootAware) {
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15987 Landroid/content/pm/RegisteredServicesCache$ServiceInfo;->componentInfo:Landroid/content/pm/Compone…