/development/tools/apkcheck/src/com/android/apkcheck/ |
ApiList.java | 89 PackageInfo pkgInfo = mPackageList.get(name); 90 if (pkgInfo == null) { 91 pkgInfo = new PackageInfo(name); 92 mPackageList.put(name, pkgInfo); 94 return pkgInfo;
|
ApkCheck.java | 363 static boolean isIgnorable(PackageInfo pkgInfo) { 364 return sIgnorablePackages.contains(pkgInfo.getName()); 395 PackageInfo pkgInfo = iter.next(); 396 dumpPackage(pkgInfo); 400 private static void dumpPackage(PackageInfo pkgInfo) { 401 Iterator<ClassInfo> iter = pkgInfo.getClassIterator(); 402 System.out.println("PACKAGE " + pkgInfo.getName());
|
/platform_testing/utils/permissions/src/com/android/permissionutils/ |
GrantPermissionUtil.java | 37 for (PackageInfo pkgInfo : getPackageInfos(context)) { 38 List<String> missingPermissions = getMissingPermissions(context, pkgInfo); 41 pm.grantRuntimePermission(pkgInfo.packageName, permission, UserHandle.OWNER); 48 for (PackageInfo pkgInfo : getPackageInfos(context)) { 49 List<String> missingPermissions = getMissingPermissions(context, pkgInfo); 51 Log.e(LOG_TAG, String.format("Missing permissions for %s", pkgInfo.packageName));
|
/frameworks/base/services/backup/java/com/android/server/backup/params/ |
RestoreParams.java | 32 public PackageInfo pkgInfo; 47 pkgInfo = _pkg; 63 pkgInfo = null; 80 pkgInfo = null; 98 pkgInfo = null;
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ConfigurationInfoTest.java | 33 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), 35 ConfigurationInfo[] configInfoArray = pkgInfo.configPreferences;
|
PackageManagerTest.java | 465 final PackageInfo pkgInfo = mPackageManager.getPackageArchiveInfo(apkPath, flags); 468 apkName, pkgInfo.packageName); 471 pkgInfo.signatures);
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
AppDialog.java | 43 AppDialog(Context context, Listener listener, PackageInfo pkgInfo, String label) { 47 mPackageInfo = pkgInfo;
|
AppPreference.java | 56 PackageInfo pkgInfo = pm.getPackageInfo(mPackageName, 0 /* flags */); 57 if (pkgInfo != null) { 58 icon = pkgInfo.applicationInfo.loadIcon(pm);
|
VpnSettings.java | 396 PackageInfo pkgInfo = pref.getPackageInfo(); 397 AppDialogFragment.show(this, pkgInfo, pref.getLabel(), false /* editing */, connected);
|
/development/apps/Development/src/com/android/development/ |
AppHwConfigList.java | 84 PackageInfo pkgInfo = null; 86 pkgInfo = mPm.getPackageInfo(app.packageName, 0); 91 if ((pkgInfo != null)) { 95 mList.add(pkgInfo);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageIconProvider.java | 187 PackageInfo pkgInfo = context.getPackageManager().getPackageInfo( 189 if (pkgInfo != null && pkgInfo.applicationInfo != null && 190 (pkgInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
WearPackageInstallerService.java | 368 PackageInfo pkgInfo = pm.getPackageInfo(packageName, 0); 370 getString(R.string.uninstalling_app, pkgInfo.applicationInfo.loadLabel(pm)));
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsDetails.java | 65 private void setAppLabelAndIcon(PackageInfo pkgInfo) { 67 CharSequence label = mPm.getApplicationLabel(pkgInfo.applicationInfo); 68 Drawable icon = mPm.getApplicationIcon(pkgInfo.applicationInfo); 70 pkgInfo != null ? pkgInfo.versionName : null);
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
TarBackupReader.java | 397 PackageInfo pkgInfo = packageManager.getPackageInfo( 400 final int flags = pkgInfo.applicationInfo.flags; 404 if ((pkgInfo.applicationInfo.uid 406 || (pkgInfo.applicationInfo.backupAgentName != null)) { 414 if (AppBackupUtils.signaturesMatch(signatures, pkgInfo)) { 415 if ((pkgInfo.applicationInfo.flags 421 pkgInfo, 425 } else if (pkgInfo.versionCode >= info.version) { 431 pkgInfo, 442 + pkgInfo.versionCod [all...] |
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 263 PackageInfo pkgInfo; 265 pkgInfo = mPm.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS); 271 if((pkgInfo.applicationInfo != null) && (pkgInfo.applicationInfo.uid != -1)) { 272 getAllUsedPermissions(pkgInfo.applicationInfo.uid, permSet); 339 PackageInfo pkgInfo = mPm.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS); 340 extractPerms(pkgInfo, permSet, pkgInfo);
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
DumpsysPackageReceiver.java | 194 void addPackage(String name, PackageInfo pkgInfo) { 195 mPkgInfoMap.put(name, pkgInfo);
|
TestDevice.java | 668 for (PackageInfo pkgInfo : action.mPkgInfoMap.values()) { 669 if (!pkgInfo.isSystemApp() || pkgInfo.isUpdatedSystemApp()) { 670 CLog.d("Found uninstallable package %s", pkgInfo.getPackageName()); 671 pkgs.add(pkgInfo.getPackageName()); [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
QsbApplication.java | 91 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), 0); 92 mVersionCode = pkgInfo.versionCode;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
TransportManager.java | 236 PackageInfo pkgInfo = null; 239 pkgInfo = mPackageManager.getPackageInfo(packageName, 0); 259 ComponentName cn = new ComponentName(pkgInfo.packageName, component);
|
BackupManagerService.java | 488 public PackageInfo pkgInfo; 503 pkgInfo = _pkg; 519 pkgInfo = null; 536 pkgInfo = null; 554 pkgInfo = null; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
LauncherIcons.java | 381 PackageItemInfo pkgInfo = new PackageItemInfo(shortcutInfo.getPackage()); 382 cache.getTitleAndIconForApp(pkgInfo, false); 383 badgeBitmap = pkgInfo.iconBitmap;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageInstallerSession.java | 764 final PackageInfo pkgInfo = mPm.getPackageInfo( 776 validateInstallLocked(pkgInfo); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationInfo.java | 159 final PackageInfo pkgInfo = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES); 160 if (Utils.isSystemPackage(getResources(), pm, pkgInfo)) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
BaseActivity.java | 443 PackageInfo pkgInfo = getPackageManager().getPackageInfo(packageName, 445 for (ProviderInfo provider: pkgInfo.providers) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageManagerTests.java | 641 PackageInfo pkgInfo = null; 649 pkgInfo = pm.getPackageInfo(pkg, 653 pkgInfo = null; 665 assertNotNull(pkgInfo); 667 for (int j = 0; j < pkgInfo.permissions.length && !found; j++) { 668 if (pkgInfo.permissions[j].name.equals(cmd)) { 684 if (pkgInfo != null) { 686 for (int j = 0; j < pkgInfo.permissions.length && !found; j++) { 687 if (pkgInfo.permissions[j].name.equals(cmd)) { 697 for (int j = 0; j < pkgInfo.requestedPermissions.length && !found; j++) [all...] |