/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 127 mPackageManager.getPackageInfo(overlayPackage.overlayTarget, newUserId); in updateOverlaysForUser() 152 if (mPackageManager.getPackageInfo(targetPackageName, newUserId) == null) { in updateOverlaysForUser() 171 final PackageInfo targetPackage = mPackageManager.getPackageInfo(packageName, userId); in onTargetPackageAdded() 181 final PackageInfo targetPackage = mPackageManager.getPackageInfo(packageName, userId); in onTargetPackageChanged() 202 final PackageInfo targetPackage = mPackageManager.getPackageInfo(packageName, userId); in onTargetPackageUpgraded() 226 … final PackageInfo overlayPackage = mPackageManager.getPackageInfo(oi.packageName, userId); in updateAllOverlaysForTarget() 247 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(packageName, userId); in onOverlayPackageAdded() 255 mPackageManager.getPackageInfo(overlayPackage.overlayTarget, userId); in onOverlayPackageAdded() 310 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(packageName, userId); in setEnabled() 323 mPackageManager.getPackageInfo(oi.targetPackageName, userId); in setEnabled() [all …]
|
D | OverlayManagerService.java | 369 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageAdded() 387 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageChanged() 420 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageUpgraded() 833 public PackageInfo getPackageInfo(@NonNull final String packageName, final int userId, in getPackageInfo() method in OverlayManagerService.PackageManagerHelper 842 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0, userId); in getPackageInfo() 854 public PackageInfo getPackageInfo(@NonNull final String packageName, final int userId) { in getPackageInfo() method in OverlayManagerService.PackageManagerHelper 855 return getPackageInfo(packageName, userId, true); in getPackageInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest5.java | 75 PackageInfo pi = mShortcutService.getPackageInfo( in testGetPackageInfo() 80 pi = mShortcutService.getPackageInfo( in testGetPackageInfo() 85 pi = mShortcutService.getPackageInfo( in testGetPackageInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | PackageManagerWrapperImpl.java | 102 public PackageInfo getPackageInfo(String packageName, int i) throws NameNotFoundException { in getPackageInfo() method in PackageManagerWrapperImpl 103 return mPm.getPackageInfo(packageName, i); in getPackageInfo()
|
D | PackageManagerWrapper.java | 111 PackageInfo getPackageInfo(String packageName, int i) throws NameNotFoundException; in getPackageInfo() method
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutLauncher.java | 194 getPackageInfo().updateVersionInfo(pi); in ensureVersionInfo() 211 getPackageInfo().saveToXml(out); in saveToXml() 264 ret.getPackageInfo().loadFromXml(parser, fromBackup); in loadFromXml() 308 getPackageInfo().dump(pw, prefix + " "); in dump()
|
D | ShortcutPackage.java | 521 if (getPackageInfo().isShadow()) { in findAll() 637 pi = mShortcutUser.mService.getPackageInfo( in rescanPackageIfNeeded() 654 if ((getPackageInfo().getVersionCode() == pi.versionCode) in rescanPackageIfNeeded() 655 && (getPackageInfo().getLastUpdateTime() == pi.lastUpdateTime) in rescanPackageIfNeeded() 688 getPackageInfo().getVersionCode(), pi.versionCode)); in rescanPackageIfNeeded() 691 getPackageInfo().updateVersionInfo(pi); in rescanPackageIfNeeded() 1175 getPackageInfo().dump(pw, prefix + " "); in dump() 1257 getPackageInfo().saveToXml(out); in saveToXml() 1368 ret.getPackageInfo().loadFromXml(parser, fromBackup); in loadFromXml()
|
D | ShortcutPackageItem.java | 84 public ShortcutPackageInfo getPackageInfo() { in getPackageInfo() method in ShortcutPackageItem
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 110 userPackages.get(UserHandle.USER_SYSTEM).getPackageInfo())) { in existsValidNonFallbackProvider() 267 if (userPackage.getPackageInfo() != null && userPackage.isEnabledPackage()) { in isDisabledForAllUsers()
|
D | SystemImpl.java | 161 return pm.getPackageInfo(packageName, PackageManager.MATCH_FACTORY_ONLY).versionCode; in getFactoryPackageVersion() 271 return pm.getPackageInfo(configInfo.packageName, PACKAGE_FLAGS); in getPackageInfoForProvider()
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | SharedLibraryMain.java | 45 pi = context.getPackageManager().getPackageInfo(LIBRARY_PACKAGE, 0); in getVersion()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 105 mRealTestContext.getPackageManager().getPackageInfo( in markPackageAsInstalled() 113 doReturn(pi).when(mMockContext.ipackageManager).getPackageInfo( in markPackageAsInstalled()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 75 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo( in getStatements()
|
D | Utils.java | 101 Signature[] signatures = context.getPackageManager().getPackageInfo(packageName, in getCertFingerprintsFromPackageManager()
|
/frameworks/base/test-runner/src/android/test/ |
D | ClassPathPackageInfo.java | 49 info.add(source.getPackageInfo(name)); in getSubpackages()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 337 pm.getPackageInfo("android", GET_SIGNATURES).signatures); in isUidValidForPolicy() 346 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures); in isUidValidForPolicy()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfo.java | 148 return mPm.getPackageInfo(mActivityInfo.packageName, in getFirstInstallTime()
|
D | PackageManagerInternal.java | 145 public abstract PackageInfo getPackageInfo(String packageName, in getPackageInfo() method in PackageManagerInternal
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 93 public PackageInfo getPackageInfo() { in getPackageInfo() method in UserPackage
|
D | WebViewFactory.java | 180 packageInfo = packageManager.getPackageInfo(packageName, in loadWebViewNativeLibraryFromPackage() 296 donorPackage = pm.getPackageInfo( in fixupStubApplicationInfo() 351 newPackageInfo = pm.getPackageInfo( in getWebViewContextAndSetProvider()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 286 getPackageInfo(callingPackage, userId) in requestNotificationAccess() 325 FeatureInfo[] reqFeatures = getPackageInfo(pkg, userId).reqFeatures; in checkUsesFeature() 436 PackageInfo packageInfo = getPackageInfo(packageName, userId); 474 private PackageInfo getPackageInfo(String packageName, int userId) {
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
D | FontsContractCompatTest.java | 77 PackageInfo info = manager.getPackageInfo( 358 when(packageManager.getPackageInfo(anyString(), anyInt())).thenReturn(packageInfo); in testGetProvider_duplicateCerts() 413 when(packageManager.getPackageInfo(anyString(), anyInt())).thenReturn(packageInfo); in setupPackageManager()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 197 when(mPm.getPackageInfo(eq(pkg), anyInt())).thenReturn(packageInfo); in addSystemAppsWithRequiredAccounts() 217 when(mPm.getPackageInfo(eq(pkgName), anyInt())).thenReturn(packageInfo); in addInstalledApp()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | PackageValidator.java | 102 packageInfo = packageManager.getPackageInfo( in isCallerAllowed()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 95 Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.MATCH_SYSTEM_ONLY in getSignatureSets() 220 pInfo = mPm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES in bindBestPackageLocked()
|