Home
last modified time | relevance | path

Searched refs:getPackageInfo (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java132 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()
DShortcutLauncher.java158 getPackageInfo().saveToXml(out); in saveToXml()
211 ret.getPackageInfo().loadFromXml(parser, fromBackup); in loadFromXml()
255 getPackageInfo().dump(s, pw, prefix + " "); in dump()
DShortcutPackageItem.java68 public ShortcutPackageInfo getPackageInfo() { in getPackageInfo() method in ShortcutPackageItem
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java73 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/
DSharedLibraryMain.java45 pi = context.getPackageManager().getPackageInfo(LIBRARY_PACKAGE, 0); in getVersion()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java344 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/
DVolley.java48 PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in newRequestQueue()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DAndroidPackageInfoFetcher.java75 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo( in getStatements()
DUtils.java101 Signature[] signatures = context.getPackageManager().getPackageInfo(packageName, in getCertFingerprintsFromPackageManager()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfo.java49 info.add(source.getPackageInfo(name)); in getSubpackages()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java158 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/
DLauncherActivityInfo.java147 return mPm.getPackageInfo(mActivityInfo.packageName, in getFirstInstallTime()
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java95 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/
DAppRestrictionsHelper.java190 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/
DAppSecurityPermissions.java266 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/
DAppCompatibility.java148 PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in getProcessName()
/frameworks/base/docs/html-intl/intl/ja/guide/publishing/
Dversioning.jd82 …ます。バージョン情報を取得するため、アプリケーションは {@link android.content.pm.PackageManager#getPackageInfo(java.lang.Stri…
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DHelpUtils.java187 PackageInfo info = context.getPackageManager().getPackageInfo( in uriWithAddedParameters()
DUtils.java190 final PackageInfo sys = pm.getPackageInfo("android", PackageManager.GET_SIGNATURES); in getSystemSignature()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java204 homeInfo = mPackageManager.getPackageInfo(home.getPackageName(), in onBackup()
272 info = mPackageManager.getPackageInfo(packName, in onBackup()
DBackupManagerService.java1340 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/
DTestGrouping.java154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); in testCaseClassesInPackage()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java165 final PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in buildUidDetail()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java164 packageInfo = packageManager.getPackageInfo(packageName, in loadWebViewNativeLibraryFromPackage()
286 newPackageInfo = initialApplication.getPackageManager().getPackageInfo( in getWebViewContextAndSetProvider()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java621 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()

1234