Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java131 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); in loadLabel()
155 return pm.loadItemIcon(this, getApplicationInfo()); in loadIcon()
171 Drawable dr = pm.getDrawable(packageName, banner, getApplicationInfo()); in loadBanner()
222 Drawable d = pm.getDrawable(packageName, logo, getApplicationInfo()); in loadLogo()
262 return pm.getXml(packageName, resid, getApplicationInfo()); in loadXmlMetaData()
318 protected ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in PackageItemInfo
DLauncherActivityInfo.java125 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in LauncherActivityInfo
DComponentInfo.java205 @Override protected ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ComponentInfo
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java54 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs()
81 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
/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/support/v7/appcompat/src/android/support/v7/internal/view/
DActionBarPolicy.java62 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs()
89 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java346 ApplicationInfo appInfo = context.getApplicationInfo(); in getNoBackupFilesDir()
371 ApplicationInfo appInfo = context.getApplicationInfo(); in getCodeCacheDir()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java149 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked()
248 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in getPackageScreenCompatModeLocked()
260 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in setPackageScreenCompatModeLocked()
381 ai = pm.getApplicationInfo(pkg, 0, 0); in saveCompatModes()
/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/app/
DApplicationPackageManager.java266 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() method in ApplicationPackageManager
269 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); in getApplicationInfo()
736 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getDrawable()
805 return getApplicationIcon(getApplicationInfo(packageName, sDefaultFlags)); in getApplicationIcon()
838 return getApplicationBanner(getApplicationInfo(packageName, sDefaultFlags)); in getApplicationBanner()
871 return getApplicationLogo(getApplicationInfo(packageName, sDefaultFlags)); in getApplicationLogo()
943 getApplicationInfo(appPackageName, sDefaultFlags)); in getResourcesForApplication()
958 ApplicationInfo ai = mPM.getApplicationInfo(appPackageName, sDefaultFlags, userId); in getResourcesForApplicationAsUser()
1143 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getText()
1171 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getXml()
DService.java708 mStartCompatibility = getApplicationInfo().targetSdkVersion in attach()
DAlarmManager.java129 final int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in AlarmManager()
DContextImpl.java501 outerContext.getApplicationInfo().targetSdkVersion, in registerService()
836 getOuterContext().getApplicationInfo().targetSdkVersion); in getTheme()
872 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ContextImpl
874 return mPackageInfo.getApplicationInfo(); in getApplicationInfo()
917 if (mPackageInfo.getApplicationInfo().targetSdkVersion < in getSharedPreferences()
933 getApplicationInfo().targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB) { in getSharedPreferences()
1673 if (getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP) { in validateServiceIntent()
1777 && mPackageInfo.getApplicationInfo().targetSdkVersion in bindServiceCommon()
2263 packageInfo.getApplicationInfo().sharedLibraryFiles, displayId, in ContextImpl()
2274 ApplicationInfo ainfo = packageInfo.getApplicationInfo(); in ContextImpl()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java100 getApplicationInfo().targetSdkVersion); in getTheme()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java104 ApplicationInfo applicationInfo = getApplicationInfo(context); in install()
183 private static ApplicationInfo getApplicationInfo(Context context) in getApplicationInfo() method in MultiDex
204 pm.getApplicationInfo(packageName, PackageManager.GET_META_DATA); in getApplicationInfo()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java279 ApplicationInfo appInfo = getApplicationInfo(); in onFullBackup()
361 ApplicationInfo appInfo = getApplicationInfo(); in fullBackupFile()
532 basePath = new File(getApplicationInfo().dataDir).getCanonicalPath(); in onRestoreFile()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java141 webViewContext.getApplicationInfo().sourceDir); in getFactoryClass()
269 ApplicationInfo ai = pm.getApplicationInfo(getWebViewPackageName(), 0); in getWebViewNativeLibraryPaths()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java91 if (!getApplicationInfo().packageName.equals(processName)) { in onCreate()
/frameworks/base/rs/java/android/renderscript/
DRenderScriptGL.java176 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in RenderScriptGL()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java69 aInfo = packageManager.getApplicationInfo(mPackageName, 0); in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java109 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/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
DEspresso.java187 if (context.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.HONEYCOMB) { in openActionBarOverflowOrOptionsMenu()
/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()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java122 packageLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); in onCreate()

12345