Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java390 PackageInfo info = packageManager.getPackageInfo(PHONE_PACKAGE_NAME, 0); in getApplication()
405 PackageInfo info = packageManager.getPackageInfo(BLUETOOTH_PACKAGE_NAME, 0); in getApplication()
419 PackageInfo info = packageManager.getPackageInfo(MMS_SERVICE_PACKAGE_NAME, 0); in getApplication()
481 PackageInfo info = packageManager.getPackageInfo(oldPackageName, in setDefaultApplicationInternal()
505 PackageInfo info = packageManager.getPackageInfo(PHONE_PACKAGE_NAME, 0); in setDefaultApplicationInternal()
515 PackageInfo info = packageManager.getPackageInfo(BLUETOOTH_PACKAGE_NAME, 0); in setDefaultApplicationInternal()
525 PackageInfo info = packageManager.getPackageInfo(MMS_SERVICE_PACKAGE_NAME, 0); in setDefaultApplicationInternal()
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DSharedLibraryMain.java45 pi = context.getPackageManager().getPackageInfo(LIBRARY_PACKAGE, 0); in getVersion()
/frameworks/volley/src/com/android/volley/toolbox/
DVolley.java48 PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in newRequestQueue()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java283 pm.getPackageInfo("android", GET_SIGNATURES).signatures); in isUidValidForPolicy()
292 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures); in isUidValidForPolicy()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfo.java48 info.add(source.getPackageInfo(name)); in getSubpackages()
DClassPathPackageInfoSource.java71 public ClassPathPackageInfo getPackageInfo(String pkgName) { in getPackageInfo() method in ClassPathPackageInfoSource
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceOwner.java185 if ((pi = pm.getPackageInfo(packageName, 0)) != null) { in isInstalled()
199 .getPackageInfo(packageName, 0, userHandle); in isInstalledForUser()
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java87 Signature[] sigs = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES).signatures; in getSignatureSets()
179 pInfo = mPm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES); in bindBestPackageLocked()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java160 firstInstallTime = mPm.getPackageInfo(ri.activityInfo.packageName, in getActivityList()
194 firstInstallTime = mPm.getPackageInfo(ri.activityInfo.packageName, in resolveActivity()
DIPackageManager.aidl60 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() method
DApplicationInfo.java860 return pm.getPackageInfo(packageName, 0) == null; in isPackageUnavailable()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java134 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/core/java/android/widget/
DAppSecurityPermissions.java269 pkgInfo = mPm.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS); in AppSecurityPermissions()
295 installedPkgInfo = mPm.getPackageInfo(info.packageName, in AppSecurityPermissions()
343 PackageInfo pkgInfo = mPm.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS); in getPermissionsForPackage()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); in testCaseClassesInPackage()
/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.java1218 info = mPackageManager.getPackageInfo(pkg, 0); in initPackageTracking()
1741 PackageInfo app = mPackageManager.getPackageInfo(pkgName, 0);
1779 PackageInfo app = mPackageManager.getPackageInfo(packageName, 0);
1867 PackageInfo packInfo = mPackageManager.getPackageInfo(info.packageName, 0); in tryBindTransport()
2159 PackageInfo info = mPackageManager.getPackageInfo(packageName, 0); in clearApplicationDataSynchronous()
2486 mCurrentPackage = mPackageManager.getPackageInfo(request.packageName, in invokeNextAgent()
3502 PackageInfo info = mPackageManager.getPackageInfo(pkgName, in addPackagesToSet()
3738 pkg = mPackageManager.getPackageInfo(SHARED_BACKUP_AGENT_PACKAGE, 0); in run()
3815 PackageInfo info = mPackageManager.getPackageInfo(pkg, in PerformFullTransportBackupTask()
4887 PackageInfo pkg = mPackageManager.getPackageInfo(info.packageName, in installApk()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java635 pkgInfo = pm.getPackageInfo(pkg, in assertPermissions()
3175 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigChangeAfterUpgrade()
3183 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigChangeAfterUpgrade()
3202 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigSameAfterUpgrade()
3210 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigSameAfterUpgrade()
3229 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigRemovedAfterUpgrade()
3240 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigRemovedAfterUpgrade()
3259 PackageInfo pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigAddedAfterUpgrade()
3267 pi = pm.getPackageInfo(pkgName, PackageManager.GET_SIGNATURES); in testSigAddedAfterUpgrade()
DComponentTest.java597 PackageInfo pi = mPackageManager.getPackageInfo(ENABLED_PACKAGENAME, 0); in testQueryEnabledProvider()
613 PackageInfo pi = mPackageManager.getPackageInfo(ENABLED_PACKAGENAME, 0); in testQueryDisabledProvider()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DUtils.java303 packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in getUserAgent()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java236 PackageInfo app = mPackageManager.getPackageInfo(appName, GET_PERMISSIONS); in onAppAdded()
/frameworks/base/core/java/android/app/
DActivityThread.java790 pi = pm.getPackageInfo(appInfo.packageName, 0, UserHandle.myUserId()); in bindApplication()
1540 packageInfo = pm.getPackageInfo( in maybeSnapshot()
1658 public final LoadedApk getPackageInfo(String packageName, CompatibilityInfo compatInfo, in getPackageInfo() method in ActivityThread
1660 return getPackageInfo(packageName, compatInfo, flags, UserHandle.myUserId()); in getPackageInfo()
1663 public final LoadedApk getPackageInfo(String packageName, CompatibilityInfo compatInfo, in getPackageInfo() method in ActivityThread
1699 return getPackageInfo(ai, compatInfo, flags); in getPackageInfo()
1705 public final LoadedApk getPackageInfo(ApplicationInfo ai, CompatibilityInfo compatInfo, in getPackageInfo() method in ActivityThread
1727 return getPackageInfo(ai, compatInfo, null, securityViolation, includeCode, in getPackageInfo()
1733 return getPackageInfo(ai, compatInfo, null, false, true, false); in getPackageInfoNoCheck()
1748 private LoadedApk getPackageInfo(ApplicationInfo aInfo, CompatibilityInfo compatInfo, in getPackageInfo() method in ActivityThread
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java146 sPackageInfo = initialApplication.getPackageManager().getPackageInfo(packageName, 0); in getFactoryClass()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java369 PackageInfo pi = pm.getPackageInfo(pkg, 0, targetUserHandle); in addActiveOwnerLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java238 PackageInfo info = pm.getPackageInfo(packageName, 0, user.getIdentifier()); in isPackageEnabled()

123