/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 132 if (getPackageInfo().getVersionCode() < 0) { in onShortcutPublish() 139 getPackageInfo().setVersionCode(versionCode); in onShortcutPublish() 410 if (getPackageInfo().isShadow()) { in findAll() 459 if (getPackageInfo().getVersionCode() >= newVersionCode) { in handlePackageUpdated() 465 getPackageInfo().getVersionCode(), newVersionCode)); in handlePackageUpdated() 468 getPackageInfo().setVersionCode(newVersionCode); in handlePackageUpdated() 520 getPackageInfo().dump(s, pw, prefix + " "); in dump() 567 getPackageInfo().saveToXml(out); in saveToXml() 652 ret.getPackageInfo().loadFromXml(parser, fromBackup); in loadFromXml()
|
D | ShortcutLauncher.java | 158 getPackageInfo().saveToXml(out); in saveToXml() 211 ret.getPackageInfo().loadFromXml(parser, fromBackup); in loadFromXml() 255 getPackageInfo().dump(s, pw, prefix + " "); in dump()
|
D | ShortcutPackageItem.java | 68 public ShortcutPackageInfo getPackageInfo() { in getPackageInfo() method in ShortcutPackageItem
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 73 mRealTestContext.getPackageManager().getPackageInfo( in markPackageAsInstalled() 81 doReturn(pi).when(mMockContext.ipackageManager).getPackageInfo( in markPackageAsInstalled()
|
/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/core/java/android/net/ |
D | NetworkPolicyManager.java | 344 pm.getPackageInfo("android", GET_SIGNATURES).signatures); in isUidValidForPolicy() 353 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures); in isUidValidForPolicy()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 48 PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in newRequestQueue()
|
/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/services/core/java/com/android/server/webkit/ |
D | SystemImpl.java | 158 return pm.getPackageInfo(packageName, PackageManager.MATCH_FACTORY_ONLY).versionCode; in getFactoryPackageVersion() 268 return pm.getPackageInfo(configInfo.packageName, PACKAGE_FLAGS); in getPackageInfoForProvider()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfo.java | 147 return mPm.getPackageInfo(mActivityInfo.packageName, in getFirstInstallTime()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 95 Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.MATCH_SYSTEM_ONLY in getSignatureSets() 205 pInfo = mPm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES in bindBestPackageLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 190 PackageInfo pi = pm.getPackageInfo(app.packageName, 0); in fetchAndMergeApps() 331 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in isSystemPackage()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 266 pkgInfo = mPm.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS); in AppSecurityPermissions() 292 installedPkgInfo = mPm.getPackageInfo(info.packageName, in AppSecurityPermissions() 340 PackageInfo pkgInfo = mPm.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS); in getPermissionsForPackage()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 148 PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in getProcessName()
|
/frameworks/base/docs/html-intl/intl/ja/guide/publishing/ |
D | versioning.jd | 82 …ます。バージョン情報を取得するため、アプリケーションは {@link android.content.pm.PackageManager#getPackageInfo(java.lang.Stri…
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | HelpUtils.java | 187 PackageInfo info = context.getPackageManager().getPackageInfo( in uriWithAddedParameters()
|
D | Utils.java | 190 final PackageInfo sys = pm.getPackageInfo("android", PackageManager.GET_SIGNATURES); in getSystemSignature()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 204 homeInfo = mPackageManager.getPackageInfo(home.getPackageName(), in onBackup() 272 info = mPackageManager.getPackageInfo(packName, in onBackup()
|
D | BackupManagerService.java | 1340 mPackageManager.getPackageInfo(pkg, 0); in initPackageTracking() 1419 PackageInfo pkg = mPackageManager.getPackageInfo(pkgName, 0); in readFullBackupSchedule() 1945 PackageInfo app = mPackageManager.getPackageInfo(pkgName, 0); 1987 PackageInfo app = mPackageManager.getPackageInfo(packageName, 0); 2091 PackageInfo packInfo = mPackageManager.getPackageInfo(info.packageName, 0); in tryBindTransport() 2411 PackageInfo info = mPackageManager.getPackageInfo(packageName, 0); in clearApplicationDataSynchronous() 2492 PackageInfo packageInfo = mPackageManager.getPackageInfo(packageName, in requestBackup() 2837 mCurrentPackage = mPackageManager.getPackageInfo(request.packageName, in invokeNextAgent() 4036 PackageInfo info = mPackageManager.getPackageInfo(pkgName, in addPackagesToSet() 4275 pkg = mPackageManager.getPackageInfo(SHARED_BACKUP_AGENT_PACKAGE, 0); in run() [all …]
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestGrouping.java | 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); in testCaseClassesInPackage()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 165 final PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in buildUidDetail()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 164 packageInfo = packageManager.getPackageInfo(packageName, in loadWebViewNativeLibraryFromPackage() 286 newPackageInfo = initialApplication.getPackageManager().getPackageInfo( in getWebViewContextAndSetProvider()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 621 pkgInfo = pm.getPackageInfo(pkg, in assertPermissions() 3075 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigChangeAfterUpgrade() 3083 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigChangeAfterUpgrade() 3102 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigSameAfterUpgrade() 3110 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigSameAfterUpgrade() 3129 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigRemovedAfterUpgrade() 3140 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigRemovedAfterUpgrade() 3159 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigAddedAfterUpgrade() 3167 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigAddedAfterUpgrade()
|