/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsApplication.java | 390 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/ |
D | SharedLibraryMain.java | 45 pi = context.getPackageManager().getPackageInfo(LIBRARY_PACKAGE, 0); in getVersion()
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | Volley.java | 48 PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in newRequestQueue()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 283 pm.getPackageInfo("android", GET_SIGNATURES).signatures); in isUidValidForPolicy() 292 pm.getPackageInfo(packageName, GET_SIGNATURES).signatures); in isUidValidForPolicy()
|
/frameworks/base/test-runner/src/android/test/ |
D | ClassPathPackageInfo.java | 48 info.add(source.getPackageInfo(name)); in getSubpackages()
|
D | ClassPathPackageInfoSource.java | 71 public ClassPathPackageInfo getPackageInfo(String pkgName) { in getPackageInfo() method in ClassPathPackageInfoSource
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DeviceOwner.java | 185 if ((pi = pm.getPackageInfo(packageName, 0)) != null) { in isInstalled() 199 .getPackageInfo(packageName, 0, userHandle); in isInstalledForUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 87 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/ |
D | LauncherApps.java | 160 firstInstallTime = mPm.getPackageInfo(ri.activityInfo.packageName, in getActivityList() 194 firstInstallTime = mPm.getPackageInfo(ri.activityInfo.packageName, in resolveActivity()
|
D | IPackageManager.aidl | 60 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() method
|
D | ApplicationInfo.java | 860 return pm.getPackageInfo(packageName, 0) == null; in isPackageUnavailable()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 134 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/core/java/android/widget/ |
D | AppSecurityPermissions.java | 269 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/ |
D | TestGrouping.java | 154 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName); in testCaseClassesInPackage()
|
/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 | 1218 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/ |
D | PackageManagerTests.java | 635 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()
|
D | ComponentTest.java | 597 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/ |
D | Utils.java | 303 packageInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in getUserAgent()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 236 PackageInfo app = mPackageManager.getPackageInfo(appName, GET_PERMISSIONS); in onAppAdded()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 790 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/ |
D | WebViewFactory.java | 146 sPackageInfo = initialApplication.getPackageManager().getPackageInfo(packageName, 0); in getFactoryClass()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 369 PackageInfo pi = pm.getPackageInfo(pkg, 0, targetUserHandle); in addActiveOwnerLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 238 PackageInfo info = pm.getPackageInfo(packageName, 0, user.getIdentifier()); in isPackageEnabled()
|