/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 60 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/ |
D | PackageItemInfo.java | 139 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
|
D | PackageManagerInternal.java | 144 public abstract ApplicationInfo getApplicationInfo(String packageName, int userId); in getApplicationInfo() method in PackageManagerInternal
|
D | LauncherActivityInfo.java | 136 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in LauncherActivityInfo
|
D | ILauncherApps.aidl | 48 ApplicationInfo getApplicationInfo(String packageName, int flags, in UserHandle user); in getApplicationInfo() method
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | VersionDialog.java | 52 activity.getApplicationInfo().loadLabel(activity.getPackageManager()), in onCreateDialog() 53 context.getApplicationInfo().loadLabel(context.getPackageManager()))); in onCreateDialog()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 74 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs() 105 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | ContextCompat.java | 142 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/ |
D | StatusBar.java | 59 (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SUPPORTS_RTL) != 0, in StatusBar() 60 context.getApplicationInfo().targetSdkVersion); in StatusBar()
|
D | ThemePreviewNavigationBar.java | 47 (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SUPPORTS_RTL) != 0, in ThemePreviewNavigationBar()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 118 mRealTestContext.getPackageManager().getApplicationInfo( in setUpPackageManagerForFakeAdmin() 132 doReturn(ai).when(mMockContext.ipackageManager).getApplicationInfo( in setUpPackageManagerForFakeAdmin()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CompatModePackages.java | 173 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/ |
D | UidDetailProvider.java | 153 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/ |
D | NotificationManagerCompatKitKat.java | 32 ApplicationInfo appInfo = context.getApplicationInfo(); in areNotificationsEnabled()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 107 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/ |
D | DropBoxManager.java | 285 && 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/ |
D | LayoutInsetsTest.java | 56 getApplicationInfo().targetSdkVersion = Build.VERSION_CODES.JELLY_BEAN; in onCreate()
|
/frameworks/base/core/java/android/security/net/config/ |
D | ManifestConfigSource.java | 41 ApplicationInfo info = context.getApplicationInfo(); in ManifestConfigSource()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDex.java | 105 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/ |
D | ActionBarPolicy.java | 108 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 157 getApplicationInfo().targetSdkVersion); in getTheme()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 270 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 …]
|
D | ApplicationPackageManager.java | 325 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/ |
D | NonOverlappingLinearLayoutWithForeground.java | 48 if (context.getApplicationInfo().targetSdkVersion >= VERSION_M in NonOverlappingLinearLayoutWithForeground()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewDelegate.java | 186 final ApplicationInfo appInfo = context.getApplicationInfo(); in addWebViewAssetPath()
|