Home
last modified time | relevance | path

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

12345678

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java60 Mockito.when(mPackageManager.getApplicationInfo("com.example.missing.app", in testDisableCarrierAppsUntilPrivileged_MissingApp()
77 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_NonSystemApp()
101 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
121 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
141 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
161 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
181 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Default()
202 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUntilUsed()
222 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_NoPrivileges_DisabledUser()
244 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_NullPrivileges_DisabledUser()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java139 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); in loadLabel()
219 return pm.loadItemIcon(this, getApplicationInfo()); in loadIcon()
236 return pm.loadUnbadgedItemIcon(this, getApplicationInfo()); in loadUnbadgedIcon()
252 Drawable dr = pm.getDrawable(packageName, banner, getApplicationInfo()); in loadBanner()
303 Drawable d = pm.getDrawable(packageName, logo, getApplicationInfo()); in loadLogo()
343 return pm.getXml(packageName, resid, getApplicationInfo()); in loadXmlMetaData()
414 protected ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in PackageItemInfo
DPackageManagerInternal.java144 public abstract ApplicationInfo getApplicationInfo(String packageName, int userId); in getApplicationInfo() method in PackageManagerInternal
DLauncherActivityInfo.java136 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in LauncherActivityInfo
DILauncherApps.aidl48 ApplicationInfo getApplicationInfo(String packageName, int flags, in UserHandle user); in getApplicationInfo() method
/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.java74 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs()
105 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java142 final String dataDir = context.getApplicationInfo().dataDir; in getDataDir()
456 ApplicationInfo appInfo = context.getApplicationInfo(); in getNoBackupFilesDir()
481 ApplicationInfo appInfo = context.getApplicationInfo(); in getCodeCacheDir()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java59 (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SUPPORTS_RTL) != 0, in StatusBar()
60 context.getApplicationInfo().targetSdkVersion); in StatusBar()
DThemePreviewNavigationBar.java47 (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SUPPORTS_RTL) != 0, in ThemePreviewNavigationBar()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java118 mRealTestContext.getPackageManager().getApplicationInfo( in setUpPackageManagerForFakeAdmin()
132 doReturn(ai).when(mMockContext.ipackageManager).getApplicationInfo( in setUpPackageManagerForFakeAdmin()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java173 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked()
292 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in getPackageScreenCompatModeLocked()
304 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in setPackageScreenCompatModeLocked()
423 ai = pm.getApplicationInfo(pkg, 0, 0); in saveCompatModes()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java153 final ApplicationInfo info = ipm.getApplicationInfo(packageNames[0], in buildUidDetail()
166 final ApplicationInfo appInfo = ipm.getApplicationInfo(packageName, in buildUidDetail()
/frameworks/support/v4/kitkat/android/support/v4/app/
DNotificationManagerCompatKitKat.java32 ApplicationInfo appInfo = context.getApplicationInfo(); in areNotificationsEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java107 ApplicationInfo info = mIPm.getApplicationInfo(packageName, in applyUserAppState()
130 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); in applyUserAppState()
346 return mIPm.getApplicationInfo(packageName, flags, user.getIdentifier()); in getAppInfoForUser()
/frameworks/base/core/java/android/os/
DDropBoxManager.java285 && mContext.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.N) { in addText()
306 && mContext.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.N) { in addData()
/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/security/net/config/
DManifestConfigSource.java41 ApplicationInfo info = context.getApplicationInfo(); in ManifestConfigSource()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java105 ApplicationInfo applicationInfo = getApplicationInfo(context); in install()
184 private static ApplicationInfo getApplicationInfo(Context context) in getApplicationInfo() method in MultiDex
205 pm.getApplicationInfo(packageName, PackageManager.GET_META_DATA); in getApplicationInfo()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DActionBarPolicy.java108 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java157 getApplicationInfo().targetSdkVersion); in getTheme()
/frameworks/base/core/java/android/app/
DContextImpl.java270 getOuterContext().getApplicationInfo().targetSdkVersion); in getTheme()
312 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ContextImpl
314 return mPackageInfo.getApplicationInfo(); in getApplicationInfo()
340 if (mPackageInfo.getApplicationInfo().targetSdkVersion < in getSharedPreferences()
375 getApplicationInfo().targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB) { in getSharedPreferences()
1372 if (getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP) { in validateServiceIntent()
1486 && mPackageInfo.getApplicationInfo().targetSdkVersion in bindServiceCommon()
2081 packageInfo.getApplicationInfo().sharedLibraryFiles, in ContextImpl()
2094 packageInfo.getApplicationInfo().sharedLibraryFiles, in ContextImpl()
2112 ApplicationInfo ainfo = packageInfo.getApplicationInfo(); in ContextImpl()
[all …]
DApplicationPackageManager.java325 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() method in ApplicationPackageManager
334 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, userId); in getApplicationInfoAsUser()
1023 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getDrawable()
1102 return getApplicationIcon(getApplicationInfo(packageName, sDefaultFlags)); in getApplicationIcon()
1135 return getApplicationBanner(getApplicationInfo(packageName, sDefaultFlags)); in getApplicationBanner()
1168 return getApplicationLogo(getApplicationInfo(packageName, sDefaultFlags)); in getApplicationLogo()
1266 getApplicationInfo(appPackageName, sDefaultFlags)); in getResourcesForApplication()
1281 ApplicationInfo ai = mPM.getApplicationInfo(appPackageName, sDefaultFlags, userId); in getResourcesForApplicationAsUser()
1501 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getText()
1529 appInfo = getApplicationInfo(packageName, sDefaultFlags); in getXml()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DNonOverlappingLinearLayoutWithForeground.java48 if (context.getApplicationInfo().targetSdkVersion >= VERSION_M in NonOverlappingLinearLayoutWithForeground()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java186 final ApplicationInfo appInfo = context.getApplicationInfo(); in addWebViewAssetPath()

12345678