Home
last modified time | relevance | path

Searched refs:getApplicationInfo (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java115 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); in loadLabel()
140 Drawable dr = pm.getDrawable(packageName, icon, getApplicationInfo()); in loadIcon()
176 Drawable d = pm.getDrawable(packageName, logo, getApplicationInfo()); in loadLogo()
216 return pm.getXml(packageName, resid, getApplicationInfo()); in loadXmlMetaData()
267 protected ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in PackageItemInfo
DComponentInfo.java175 @Override protected ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ComponentInfo
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DVersionDialog.java52 activity.getApplicationInfo().loadLabel(activity.getPackageManager()), in onCreateDialog()
53 context.getApplicationInfo().loadLabel(context.getPackageManager()))); in onCreateDialog()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java59 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs()
86 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
/frameworks/base/services/java/com/android/server/am/
DCompatModePackages.java123 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked()
222 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in getPackageScreenCompatModeLocked()
234 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in setPackageScreenCompatModeLocked()
367 ai = pm.getApplicationInfo(pkg, 0, 0); in saveCompatModes()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java215 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() method in ApplicationPackageManager
218 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); in getApplicationInfo()
642 appInfo = getApplicationInfo(packageName, 0); in getDrawable()
711 return getApplicationIcon(getApplicationInfo(packageName, 0)); in getApplicationIcon()
744 return getApplicationLogo(getApplicationInfo(packageName, 0)); in getApplicationLogo()
770 getApplicationInfo(appPackageName, 0)); in getResourcesForApplication()
785 ApplicationInfo ai = mPM.getApplicationInfo(appPackageName, 0, userId); in getResourcesForApplicationAsUser()
976 appInfo = getApplicationInfo(packageName, 0); in getText()
1004 appInfo = getApplicationInfo(packageName, 0); in getXml()
DService.java700 mStartCompatibility = getApplicationInfo().targetSdkVersion in attach()
DContextImpl.java418 outerContext.getApplicationInfo().targetSdkVersion, in registerService()
610 getOuterContext().getApplicationInfo().targetSdkVersion); in getTheme()
640 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ContextImpl
642 return mPackageInfo.getApplicationInfo(); in getApplicationInfo()
680 getApplicationInfo().targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB) { in getSharedPreferences()
1460 && mPackageInfo.getApplicationInfo().targetSdkVersion in bindServiceAsUser()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DActionBarPolicy.java79 return mContext.getApplicationInfo().targetSdkVersion < 14; // ICE_CREAM_SANDWICH in enableHomeButtonByDefault()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLayoutInsetsTest.java56 getApplicationInfo().targetSdkVersion = Build.VERSION_CODES.JELLY_BEAN; in onCreate()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java104 getApplicationInfo().targetSdkVersion); in getTheme()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java251 ApplicationInfo appInfo = getApplicationInfo(); in onFullBackup()
326 ApplicationInfo appInfo = getApplicationInfo(); in fullBackupFile()
494 basePath = new File(getApplicationInfo().dataDir).getCanonicalPath(); in onRestoreFile()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java61 ApplicationInfo app = pm.getApplicationInfo(mPackage, 0); in onResume()
DManageDialog.java87 ApplicationInfo app = pm.getApplicationInfo(mConfig.user, 0); in onResume()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java91 if (!getApplicationInfo().packageName.equals(processName)) { in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java110 ApplicationInfo info = getPackageManager().getApplicationInfo( in setIconAndText()
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLImplHeader.java-impl70 … ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId());
/frameworks/base/graphics/java/android/renderscript/
DRenderScriptGL.java183 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in RenderScriptGL()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java106 appInfo = pm.getApplicationInfo(packageName, 0); in loadGroupIcon()
202 ApplicationInfo app = pm.getApplicationInfo(mPerm.packageName, 0); in onClick()
649 app = mPm.getApplicationInfo(pgrp.packageName, 0); in setPermissions()
DTabHost.java605 if (context.getApplicationInfo().targetSdkVersion <= Build.VERSION_CODES.DONUT) { in createIndicatorView()
650 if (context.getApplicationInfo().targetSdkVersion <= Build.VERSION_CODES.DONUT) { in createIndicatorView()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java403 ApplicationInfo info = getPm().getApplicationInfo(pkgName, 0); in assertInstall()
562 ApplicationInfo info = getPm().getApplicationInfo(pkgName, 0); in assertNotInstalled()
715 ApplicationInfo appInfo = pm.getApplicationInfo(pkg.packageName, in installFromRawResource()
977 ApplicationInfo info = getPm().getApplicationInfo(pkgName, in invokeDeletePackage()
1021 info = getPm().getApplicationInfo(ip.pkg.packageName, in deleteFromRawResource()
1332 info = getPm().getApplicationInfo(packageName, PackageManager.GET_UNINSTALLED_PACKAGES); in cleanUpInstall()
1358 ApplicationInfo info = getPm().getApplicationInfo(pkgName, in cleanUpInstall()
1705 ApplicationInfo oldAppInfo = getPm().getApplicationInfo(ip.pkg.packageName, 0); in moveFromRawResource()
1708 ApplicationInfo info = getPm().getApplicationInfo(ip.pkg.packageName, 0); in moveFromRawResource()
1716 ApplicationInfo info = getPm().getApplicationInfo(ip.pkg.packageName, 0); in moveFromRawResource()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java124 packageLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbPermissionActivity.java77 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate()
/frameworks/base/services/java/com/android/server/connectivity/
DVpn.java241 ApplicationInfo app = pm.getApplicationInfo(mPackage, 0); in protect()
261 app = pm.getApplicationInfo(mPackage, 0); in establish()
398 ApplicationInfo app = pm.getApplicationInfo(VpnConfig.DIALOGS_PACKAGE, 0); in enforceControlPermission()
/frameworks/base/core/java/android/content/
DContextWrapper.java145 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ContextWrapper
146 return mBase.getApplicationInfo(); in getApplicationInfo()

1234