/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 203 if (mPackageManager.getPackageInfo(targetPackageName, newUserId) == null) { in updateOverlaysForUser() 305 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(oi.packageName, in updateAndRefreshOverlaysForTarget() 339 PackageInfo packageInfo = mPackageManager.getPackageInfo(targetPackageName, userId); in updateAndRefreshOverlaysForTarget() 367 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(packageName, userId); in onOverlayPackageAdded() 428 final PackageInfo pkg = mPackageManager.getPackageInfo(packageName, userId); in onOverlayPackageReplaced() 490 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(packageName, userId); in setEnabled() 521 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(packageName, userId); in setEnabledExclusive() 538 final PackageInfo disabledOverlayPackageInfo = mPackageManager.getPackageInfo( in setEnabledExclusive() 574 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(packageName, userId); in isPackageUpdatableOverlay() 592 final PackageInfo overlayPackage = mPackageManager.getPackageInfo(packageName, userId); in setPriority() [all …]
|
D | OverlayManagerService.java | 382 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageAdded() 405 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageChanged() 446 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageReplaced() 1033 public PackageInfo getPackageInfo(@NonNull final String packageName, final int userId, in getPackageInfo() method in OverlayManagerService.PackageManagerHelper 1042 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0, userId); in getPackageInfo() 1054 public PackageInfo getPackageInfo(@NonNull final String packageName, final int userId) { in getPackageInfo() method in OverlayManagerService.PackageManagerHelper 1055 return getPackageInfo(packageName, userId, true); in getPackageInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ApexManagerTest.java | 81 final PackageInfo activePkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchActivePackage() 87 final PackageInfo factoryPkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchActivePackage() 96 PackageInfo factoryPkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchFactoryPackage() 102 final PackageInfo activePkgPi = mApexManager.getPackageInfo(TEST_APEX_PKG, in testGetPackageInfo_setFlagsMatchFactoryPackage() 112 assertThat(mApexManager.getPackageInfo(TEST_APEX_PKG, 0)).isNull(); in testGetPackageInfo_setFlagsNone()
|
D | ShortcutManagerTest5.java | 75 PackageInfo pi = mShortcutService.getPackageInfo( in testGetPackageInfo() 81 pi = mShortcutService.getPackageInfo( in testGetPackageInfo() 87 pi = mShortcutService.getPackageInfo( in testGetPackageInfo()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTrackerHelperImpl.java | 79 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, flags); in getInstalledPackageVersion() 86 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, flags); in isPrivilegedApp() 95 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, flags); in usesPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutLauncher.java | 212 getPackageInfo().updateFromPackageInfo(pi); in ensurePackageInfo() 221 if (forBackup && !getPackageInfo().isBackupAllowed()) { in saveToXml() 233 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 286 ret.getPackageInfo().loadFromXml(parser, fromBackup); in loadFromXml() 330 getPackageInfo().dump(pw, prefix + " "); in dump()
|
D | ShortcutPackage.java | 605 if (getPackageInfo().isShadow()) { in findAll() 826 pi = mShortcutUser.mService.getPackageInfo( in rescanPackageIfNeeded() 843 if ((getPackageInfo().getVersionCode() == pi.getLongVersionCode()) in rescanPackageIfNeeded() 844 && (getPackageInfo().getLastUpdateTime() == pi.lastUpdateTime) in rescanPackageIfNeeded() 878 getPackageInfo().getVersionCode(), pi.getLongVersionCode())); in rescanPackageIfNeeded() 881 getPackageInfo().updateFromPackageInfo(pi); in rescanPackageIfNeeded() 882 final long newVersionCode = getPackageInfo().getVersionCode(); in rescanPackageIfNeeded() 891 if (getPackageInfo().getBackupSourceVersionCode() > newVersionCode) { in rescanPackageIfNeeded() 894 si.getId(), getPackageInfo().getBackupSourceVersionCode())); in rescanPackageIfNeeded() 1387 getPackageInfo().dump(pw, prefix + " "); in dump() [all …]
|
D | ApexManager.java | 115 abstract PackageInfo getPackageInfo(String packageName, @PackageInfoFlags int flags); in getPackageInfo() method in ApexManager 382 @Nullable PackageInfo getPackageInfo(String packageName, @PackageInfoFlags int flags) { in getPackageInfo() method in ApexManager.ApexManagerImpl 665 PackageInfo getPackageInfo(String packageName, int flags) { in getPackageInfo() method in ApexManager.ApexManagerFlattenedApex
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 198 when(mPackageManager.getPackageInfo(eq(SmsApplication.PHONE_PACKAGE_NAME), anyInt())) in setupPackageInfosForCoreApps() 205 when(mPackageManager.getPackageInfo(eq(SmsApplication.MMS_SERVICE_PACKAGE_NAME), anyInt())) in setupPackageInfosForCoreApps() 212 when(mPackageManager.getPackageInfo(eq(SmsApplication.BLUETOOTH_PACKAGE_NAME), anyInt())) in setupPackageInfosForCoreApps() 219 when(mPackageManager.getPackageInfo( in setupPackageInfosForCoreApps()
|
/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/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/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 290 when(mPackageManager.getPackageInfo(eq(name), anyInt())) in assertBackgroundPermission() 444 when(mPackageManager.getPackageInfo(eq(MOCK_PACKAGE1), eq(GET_PERMISSIONS))).thenReturn( in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates() 495 when(mPackageManager.getPackageInfo(eq(MOCK_PACKAGE1), eq(GET_PERMISSIONS))).thenReturn( in testUidFilteringDuringPackageInstallAndUninstall() 602 when(mPackageManager.getPackageInfo(eq(packageName), anyInt())).thenReturn(packageInfo); in setPackagePermissions() 638 when(mPackageManager.getPackageInfo(eq(MOCK_PACKAGE2), anyInt())).thenReturn(packageInfo2); in testPackageInstallSharedUid() 697 when(mPackageManager.getPackageInfo(eq(MOCK_PACKAGE2), anyInt())).thenReturn(packageInfo2); in testPackageUninstallWithMultiplePackages()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 118 mRealTestContext.getPackageManager().getPackageInfo( in markPackageAsInstalled() 126 doReturn(pi).when(mServices.ipackageManager).getPackageInfo( in markPackageAsInstalled()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | SystemImpl.java | 149 return pm.getPackageInfo(packageName, PackageManager.MATCH_FACTORY_ONLY) in getFactoryPackageVersion() 242 return pm.getPackageInfo(configInfo.packageName, PACKAGE_FLAGS); in getPackageInfoForProvider()
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 95 public PackageInfo getPackageInfo() { in getPackageInfo() method in UserPackage
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfo.java | 150 return mPm.getPackageInfo(mActivityInfo.packageName, in getFirstInstallTime()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerTests.java | 126 .getPackageInfo(OWNING_PACKAGE_NAME, /*flags*/ 0, OWNER_USER_ID); in setup() 263 verify(mPM, atMost(1)).getPackageInfo(OWNING_PACKAGE_NAME, /*flags*/ 0, OWNER_USER_ID); in testMultipleLoadersAndFiles()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | PackageManagerPerfTest.java | 86 pm.getPackageInfo(packageName, 0); in testGetPackageInfo()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 310 getPackageInfo(callingPackage, userId) in requestNotificationAccess() 352 FeatureInfo[] reqFeatures = getPackageInfo(pkg, userId).reqFeatures; in checkUsesFeature() 463 PackageInfo packageInfo = getPackageInfo(packageName, userId); 504 private PackageInfo getPackageInfo(String packageName, int userId) {
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 376 grantPermissionsToPackage(getPackageInfo(packageName), in grantPermissionsToPackage() 967 return isSystemPackage(getPackageInfo(packageName)); in isSystemPackage() 1081 String[] requestedByNonSystemPackage = getPackageInfo(pkg.packageName).requestedPermissions; in grantRuntimePermissions() 1308 return getPackageInfo(pkg, PackageManager.MATCH_SYSTEM_ONLY); in getSystemPackageInfo() 1311 private PackageInfo getPackageInfo(String pkg) { in getPackageInfo() method in DefaultPermissionGrantPolicy 1312 return getPackageInfo(pkg, 0 /* extraFlags */); in getPackageInfo() 1315 private PackageInfo getPackageInfo(String pkg, in getPackageInfo() method in DefaultPermissionGrantPolicy 1321 return mContext.getPackageManager().getPackageInfo(pkg, in getPackageInfo()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSerialReader.java | 83 pkg = mContext.getPackageManager().getPackageInfo(packageName, 0); in getSerial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PackageBasedTokenUtil.java | 76 signatures = packageManager.getPackageInfo( in generatePackageBasedToken()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 219 existingPkgInfo = pm.getPackageInfo(packageName, in installPackage() 247 PackageParser.Package pkg = PackageUtil.getPackageInfo(this, tempFile); in installPackage() 369 PackageInfo pkgInfo = pm.getPackageInfo(packageName, 0); in uninstallPackage()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 472 pm.getPackageInfo("android", GET_SIGNATURES).signatures); 481 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures);
|