Home
last modified time | relevance | path

Searched refs:resPackage (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java294 String resPackage = icon.getResPackage();
296 if (TextUtils.isEmpty(resPackage) || context.getPackageName().equals(resPackage)) {
300 if ("android".equals(resPackage)) {
306 ApplicationInfo ai = pm.getApplicationInfo(resPackage,
313 Log.e(TAG, String.format("Unable to resolve package %s for icon %s", resPackage, icon));
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java376 String resPackage = getResPackage(); in loadDrawableInner() local
377 if (TextUtils.isEmpty(resPackage)) { in loadDrawableInner()
379 resPackage = context.getPackageName(); in loadDrawableInner()
381 if ("android".equals(resPackage)) { in loadDrawableInner()
387 resPackage, in loadDrawableInner()
397 resPackage, this), e); in loadDrawableInner()
461 String resPackage = getResPackage(); in loadDrawableAsUser() local
462 if (TextUtils.isEmpty(resPackage)) { in loadDrawableAsUser()
463 resPackage = context.getPackageName(); in loadDrawableAsUser()
481 mObj1 = pm.getResourcesForApplication(resPackage); in loadDrawableAsUser()
[all …]
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon() argument
41 icon = Icon.createWithResource(resPackage, icon.getResId()); in StatusBarIcon()
43 this.pkg = resPackage; in StatusBarIcon()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2271 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getPackagesForOps() local
2275 res.add(resPackage); in getPackagesForOps()
2303 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getOpsForPackage() local
2305 res.add(resPackage); in getOpsForPackage()
2475 AppOpsManager.PackageOps resPackage = new AppOpsManager.PackageOps( in getUidOps() local
2477 res.add(resPackage); in getUidOps()