/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 84 Mockito.when(mPackageManager.getApplicationInfo("com.example.missing.app", in testDisableCarrierAppsUntilPrivileged_MissingApp() 102 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_NonSystemApp() 126 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 146 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled() 166 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled() 186 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp() 210 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default() 241 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default() 248 Mockito.when(mPackageManager.getApplicationInfo(ASSOCIATED_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default() 276 Mockito.when(mPackageManager.getApplicationInfo(CARRIER_APP, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageItemInfo.java | 138 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo()); in loadLabel() 224 return pm.loadItemIcon(this, getApplicationInfo()); in loadIcon() 241 return pm.loadUnbadgedItemIcon(this, getApplicationInfo()); in loadUnbadgedIcon() 257 Drawable dr = pm.getDrawable(packageName, banner, getApplicationInfo()); in loadBanner() 308 Drawable d = pm.getDrawable(packageName, logo, getApplicationInfo()); in loadLogo() 348 return pm.getXml(packageName, resid, getApplicationInfo()); in loadXmlMetaData() 419 protected ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in PackageItemInfo
|
D | LauncherActivityInfo.java | 136 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in LauncherActivityInfo
|
/frameworks/support/wear/src/android/support/wear/utils/ |
D | MetadataConstants.java | 138 ApplicationInfo appInfo = context.getPackageManager().getApplicationInfo( in isStandalone() 158 ApplicationInfo appInfo = context.getPackageManager().getApplicationInfo( in isNotificationBridgingEnabled() 181 ApplicationInfo appInfo = context.getPackageManager().getApplicationInfo( in getPreviewDrawableResourceId()
|
/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/services/core/java/com/android/server/wm/ |
D | AlertWindowNotification.java | 101 final ApplicationInfo aInfo = getApplicationInfo(pm, mPackageName); in onPostNotification() 159 private ApplicationInfo getApplicationInfo(PackageManager pm, String packageName) { in getApplicationInfo() method in AlertWindowNotification 161 return pm.getApplicationInfo(packageName, 0); in getApplicationInfo()
|
/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/base/core/java/android/os/ |
D | GraphicsEnvironment.java | 51 ApplicationInfo ai = context.getApplicationInfo(); in chooseDriver() 58 driverInfo = context.getPackageManager().getApplicationInfo(driverPackageName, in chooseDriver()
|
D | DropBoxManager.java | 286 && mContext.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.N) { in addText() 307 && mContext.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.N) { in addData()
|
/frameworks/support/compat/java/android/support/v4/content/ |
D | ContextCompat.java | 166 final String dataDir = context.getApplicationInfo().dataDir; in getDataDir() 451 ApplicationInfo appInfo = context.getApplicationInfo(); in getNoBackupFilesDir() 475 ApplicationInfo appInfo = context.getApplicationInfo(); in getCodeCacheDir()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDex.java | 106 ApplicationInfo applicationInfo = getApplicationInfo(context); in install() 152 ApplicationInfo instrumentationInfo = getApplicationInfo(instrumentationContext); in installInstrumentation() 159 ApplicationInfo applicationInfo = getApplicationInfo(targetContext); in installInstrumentation() 254 private static ApplicationInfo getApplicationInfo(Context context) { in getApplicationInfo() method in MultiDex 264 return context.getApplicationInfo(); in getApplicationInfo()
|
/frameworks/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/am/ |
D | CoreSettingsObserverTest.java | 98 when(mContext.getApplicationInfo()).thenReturn(originalContext.getApplicationInfo()); in setUp()
|
D | AppErrorDialogTest.java | 69 data.proc = new ProcessRecord(null, mContext.getApplicationInfo(), "name", 12345); in testCreateWorks()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CompatModePackages.java | 174 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked() 294 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in getPackageScreenCompatModeLocked() 306 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in setPackageScreenCompatModeLocked() 427 ai = pm.getApplicationInfo(pkg, 0, 0); in saveCompatModes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest5.java | 91 ApplicationInfo ai = mShortcutService.getApplicationInfo( in testGetApplicationInfo() 95 ai = mShortcutService.getApplicationInfo( in testGetApplicationInfo()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | ViewUtils.java | 36 view.getContext().getApplicationInfo().flags &= in attachView()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
D | ResourceHelper.java | 42 context.getPackageManager().getApplicationInfo(packageName, 0); in getThemeColor()
|
/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/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | LayoutInsetsTest.java | 56 getApplicationInfo().targetSdkVersion = Build.VERSION_CODES.JELLY_BEAN; in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 171 mRealTestContext.getPackageManager().getApplicationInfo( in setUpPackageManagerForFakeAdmin() 184 doReturn(ai).when(mServices.ipackageManager).getApplicationInfo( in setUpPackageManagerForFakeAdmin()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 284 getOuterContext().getApplicationInfo().targetSdkVersion); in getTheme() 326 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ContextImpl 328 return mPackageInfo.getApplicationInfo(); in getApplicationInfo() 354 if (mPackageInfo.getApplicationInfo().targetSdkVersion < in getSharedPreferences() 383 if (getApplicationInfo().targetSdkVersion >= android.os.Build.VERSION_CODES.O) { in getSharedPreferences() 397 getApplicationInfo().targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB) { in getSharedPreferences() 1463 if (getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.LOLLIPOP) { in validateServiceIntent() 1613 && mPackageInfo.getApplicationInfo().targetSdkVersion in bindServiceCommon() 1997 pi.getApplicationInfo().sharedLibraryFiles, in createResources() 2067 if (!mPackageInfo.getApplicationInfo().requestsIsolatedSplitLoading()) { in createContextForSplit() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 114 ApplicationInfo info = mIPm.getApplicationInfo(packageName, in applyUserAppState() 138 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); in applyUserAppState() 352 return mIPm.getApplicationInfo(packageName, flags, user.getIdentifier()); in getAppInfoForUser()
|
/frameworks/base/core/java/android/security/net/config/ |
D | ManifestConfigSource.java | 42 ApplicationInfo info = context.getApplicationInfo(); in ManifestConfigSource()
|