/frameworks/base/services/core/java/com/android/server/pm/ |
D | DefaultPermissionGrantPolicy.java | 28 import android.content.pm.PackageParser; 174 for (PackageParser.Package pkg : mService.mPackages.values()) { in grantPermissionsToSysComponentsAndPrivApps() 232 PackageParser.Package installerPackage = getSystemPackageLPr( in grantDefaultSystemHandlerPermissions() 240 PackageParser.Package verifierPackage = getSystemPackageLPr( in grantDefaultSystemHandlerPermissions() 250 PackageParser.Package setupPackage = getSystemPackageLPr( in grantDefaultSystemHandlerPermissions() 262 PackageParser.Package cameraPackage = getDefaultSystemHandlerActivityPackageLPr( in grantDefaultSystemHandlerPermissions() 272 PackageParser.Package mediaStorePackage = getDefaultProviderAuthorityPackageLPr( in grantDefaultSystemHandlerPermissions() 279 PackageParser.Package downloadsPackage = getDefaultProviderAuthorityPackageLPr( in grantDefaultSystemHandlerPermissions() 287 PackageParser.Package downloadsUiPackage = getDefaultSystemHandlerActivityPackageLPr( in grantDefaultSystemHandlerPermissions() 295 PackageParser.Package storagePackage = getDefaultProviderAuthorityPackageLPr( in grantDefaultSystemHandlerPermissions() [all …]
|
D | PackageManagerServiceUtils.java | 24 import android.content.pm.PackageParser; 70 private static void filterRecentlyUsedApps(Collection<PackageParser.Package> pkgs, in filterRecentlyUsedApps() 76 for (Iterator<PackageParser.Package> i = pkgs.iterator(); i.hasNext();) { in filterRecentlyUsedApps() 77 PackageParser.Package pkg = i.next(); in filterRecentlyUsedApps() 102 public static List<PackageParser.Package> getPackagesForDexopt( in getPackagesForDexopt() 103 Collection<PackageParser.Package> packages, in getPackagesForDexopt() 105 ArrayList<PackageParser.Package> remainingPkgs = new ArrayList<>(packages); in getPackagesForDexopt() 106 LinkedList<PackageParser.Package> result = new LinkedList<>(); in getPackagesForDexopt() 109 for (PackageParser.Package pkg : remainingPkgs) { in getPackagesForDexopt() 122 for (PackageParser.Package pkg : remainingPkgs) { in getPackagesForDexopt() [all …]
|
D | PackageManagerService.java | 77 import static android.content.pm.PackageParser.PARSE_IS_PRIVILEGED; 78 import static android.content.pm.PackageParser.isApkFile; 149 import android.content.pm.PackageParser; 150 import android.content.pm.PackageParser.ActivityIntentInfo; 151 import android.content.pm.PackageParser.PackageLite; 152 import android.content.pm.PackageParser.PackageParserException; 572 final ArrayMap<String, PackageParser.Package> mPackages = 573 new ArrayMap<String, PackageParser.Package>(); 579 final ArrayMap<String, ArrayMap<String, PackageParser.Package>> mOverlays = 580 new ArrayMap<String, ArrayMap<String, PackageParser.Package>>(); [all …]
|
D | IntentFilterVerificationState.java | 20 import android.content.pm.PackageParser; 38 private ArrayList<PackageParser.ActivityIntentInfo> mFilters = new ArrayList<>(); 69 public ArrayList<PackageParser.ActivityIntentInfo> getFilters() { in getFilters() 121 public void addFilter(PackageParser.ActivityIntentInfo filter) { in addFilter()
|
D | OtaDexoptService.java | 26 import android.content.pm.PackageParser; 56 private List<PackageParser.Package> mDexoptPackages; 123 PackageParser.Package nextPackage = mDexoptPackages.remove(0); in dexoptNextPackage() 156 Collection<PackageParser.Package> pkgs = mPackageManagerService.getPackages(); in moveAbArtifacts() 157 for (PackageParser.Package pkg : pkgs) { in moveAbArtifacts()
|
D | PackageDexOptimizer.java | 22 import android.content.pm.PackageParser; 81 static boolean canOptimizePackage(PackageParser.Package pkg) { in canOptimizePackage() 92 int performDexOpt(PackageParser.Package pkg, String[] sharedLibraries, in performDexOpt() 129 void dumpDexoptState(IndentingPrintWriter pw, PackageParser.Package pkg) { in dumpDexoptState() 152 private int performDexOptLI(PackageParser.Package pkg, String[] sharedLibraries, in performDexOptLI() 291 private String createOatDirIfSupported(PackageParser.Package pkg, String dexInstructionSet) { in createOatDirIfSupported() 323 public static boolean isUsedByOtherApps(PackageParser.Package pkg) { in isUsedByOtherApps()
|
D | EphemeralApplicationRegistry.java | 21 import android.content.pm.PackageParser; 121 PackageParser.Package pkg = mService.mPackages.get(packageName); in setEphemeralApplicationCookieLPw() 174 public void onPackageInstalledLPw(PackageParser.Package pkg) { in onPackageInstalledLPw() 230 public void onPackageUninstalledLPw(PackageParser.Package pkg) { in onPackageUninstalledLPw() 268 private void addUninstalledEphemeralAppLPw(PackageParser.Package pkg, int userId) { in addUninstalledEphemeralAppLPw() 290 private void writeEphemeralApplicationIconLPw(PackageParser.Package pkg, int userId) { in writeEphemeralApplicationIconLPw() 376 PackageParser.Package pkg = mService.mPackages.valueAt(i); in getInstalledEphemeralApplicationsLPr() 394 PackageParser.Package pkg, int userId) { in createEphemeralAppInfoForPackage() 431 private void propagateEphemeralAppPermissionsIfNeeded(PackageParser.Package pkg, int userId) { in propagateEphemeralAppPermissionsIfNeeded() 554 private static File computeEphemeralCookieFile(PackageParser.Package pkg, int userId) { in computeEphemeralCookieFile() [all …]
|
D | BasePermission.java | 19 import android.content.pm.PackageParser; 40 PackageParser.Permission perm;
|
D | PackageSetting.java | 21 import android.content.pm.PackageParser; 31 PackageParser.Package pkg;
|
D | PackageInstallerSession.java | 42 import android.content.pm.PackageParser; 43 import android.content.pm.PackageParser.ApkLite; 44 import android.content.pm.PackageParser.PackageLite; 45 import android.content.pm.PackageParser.PackageParserException; 682 apk = PackageParser.parseApkLite( in validateInstallLocked() 683 addedFile, PackageParser.PARSE_COLLECT_CERTIFICATES); in validateInstallLocked() 769 existing = PackageParser.parsePackageLite(new File(app.getCodePath()), 0); in validateInstallLocked() 770 existingBase = PackageParser.parseApkLite(new File(app.getBaseCodePath()), in validateInstallLocked() 771 PackageParser.PARSE_COLLECT_CERTIFICATES); in validateInstallLocked() 855 baseApk = PackageParser.parseApkLite(mResolvedBaseFile, 0); in calculateInstalledSize()
|
D | PackageManagerException.java | 20 import android.content.pm.PackageParser.PackageParserException;
|
D | SELinuxMMAC.java | 19 import android.content.pm.PackageParser; 291 public static void assignSeinfoValue(PackageParser.Package pkg) { in assignSeinfoValue() 500 public String getMatchedSeinfo(PackageParser.Package pkg) { in getMatchedSeinfo()
|
D | KeySetManagerService.java | 22 import android.content.pm.PackageParser; 183 public void assertScannedPackageValid(PackageParser.Package pkg) in assertScannedPackageValid() 218 public void addScannedPackageLPw(PackageParser.Package pkg) { in addScannedPackageLPw() 772 PublicKey pub = PackageParser.parsePublicKey(encodedPublicKey); in readPublicKeyLPw()
|
D | Settings.java | 44 import android.content.pm.PackageParser; 428 PackageSetting getPackageLPw(PackageParser.Package pkg, PackageSetting origPackage, in getPackageLPw() 890 void insertPackageSettingLPw(PackageSetting p, PackageParser.Package pkg) { in insertPackageSettingLPw() 3031 ArrayList<PackageParser.ActivityIntentInfo> intents in applyDefaultPreferredAppsLPw() 3034 PackageParser.ActivityIntentInfo aii = intents.get(i); in applyDefaultPreferredAppsLPw() 4372 PackageParser.Package parentPkg = ps.pkg.parentPackage; in dumpPackageLPr() 4385 PackageParser.Package childPkg = ps.pkg.childPackages.get(i); in dumpPackageLPr() 4401 final int apkSigningVersion = PackageParser.getApkSigningVersion(ps.pkg); in dumpPackageLPr() 4402 if (apkSigningVersion != PackageParser.APK_SIGNING_UNKNOWN) { in dumpPackageLPr() 4506 final ArrayList<PackageParser.Permission> perms = ps.pkg.permissions; in dumpPackageLPr() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetManagerServiceTest.java | 20 import android.content.pm.PackageParser; 63 PublicKey keyA = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyA); in testPublicKeyCertReprEquiv() 64 PublicKey keyB = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyB); in testPublicKeyCertReprEquiv() 65 PublicKey keyC = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyC); in testPublicKeyCertReprEquiv() 99 PublicKey keyA = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyA); in testEncodePublicKey() 100 PublicKey keyB = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyB); in testEncodePublicKey() 101 PublicKey keyC = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyC); in testEncodePublicKey() 119 PublicKey keyA = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyA); in testAddSigningKSToPackageEmpty() 146 PublicKey keyA = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyA); in testAddSigningKSToPackageUpgradeSame() 176 PublicKey keyA = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyA); in testAddSigningKSToPackageUpgradeDiff() [all …]
|
D | PackageManagerSettingsTests.java | 26 import android.content.pm.PackageParser; 211 PublicKey keyA = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyA); in verifyKeySetMetaData() 212 PublicKey keyB = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyB); in verifyKeySetMetaData() 213 PublicKey keyC = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyC); in verifyKeySetMetaData()
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
D | DefaultContainerService.java | 28 import android.content.pm.PackageParser; 29 import android.content.pm.PackageParser.PackageLite; 30 import android.content.pm.PackageParser.PackageParserException; 106 pkg = PackageParser.parsePackageLite(packageFile, 0); 136 pkg = PackageParser.parsePackageLite(packageFile, 0); 165 final PackageParser.PackageLite pkg; 168 pkg = PackageParser.parsePackageLite(packageFile, 0); 254 final PackageParser.PackageLite pkg; 256 pkg = PackageParser.parsePackageLite(packageFile, 0);
|
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 30 import android.content.pm.PackageParser; 31 import android.content.pm.PackageParser.Package; 32 import android.content.pm.PackageParser.PackageLite; 33 import android.content.pm.PackageParser.PackageParserException; 82 final PackageLite lite = PackageParser.parsePackageLite(packageFile, 0); in create()
|
D | PackageHelper.java | 26 import android.content.pm.PackageParser.PackageLite;
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 34 import android.content.pm.PackageParser.PackageParserException; 316 private PackageParser.Package parsePackage(Uri packageURI) throws PackageParserException { in parsePackage() 318 PackageParser packageParser = new PackageParser(); in parsePackage() 320 PackageParser.Package pkg = packageParser.parseMonolithicPackage(sourceFile, 0); in parsePackage() 408 private void assertInstall(PackageParser.Package pkg, int flags, int expInstallLocation) { in assertInstall() 577 PackageParser.Package pkg; 584 InstallParams(PackageParser.Package pkg) { in InstallParams() 691 private PackageParser.Package getParsedPackage(String outFileName, int rawResId) in getParsedPackage() 697 PackageParser.Package pkg = parsePackage(packageURI); in getParsedPackage() 709 PackageParser.Package pkg = ip.pkg; in installFromRawResource() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 41 import android.content.pm.PackageParser.PackageParserException; 4738 final PackageParser parser = new PackageParser(); in getPackageArchiveInfo() 4750 PackageParser.Package pkg = parser.parseMonolithicPackage(apkFile, 0); in getPackageArchiveInfo() 4752 PackageParser.collectCertificates(pkg, 0); in getPackageArchiveInfo() 4755 return PackageParser.generatePackageInfo(pkg, null, flags, 0, 0, null, state); in getPackageArchiveInfo()
|
D | PackageParser.java | 117 public class PackageParser { class 218 public static final PackageParser.NewPermissionInfo NEW_PERMISSIONS[] = 219 new PackageParser.NewPermissionInfo[] { 220 new PackageParser.NewPermissionInfo(android.Manifest.permission.WRITE_EXTERNAL_STORAGE, 222 new PackageParser.NewPermissionInfo(android.Manifest.permission.READ_PHONE_STATE, 231 public static final PackageParser.SplitPermissionInfo SPLIT_PERMISSIONS[] = 232 new PackageParser.SplitPermissionInfo[] { 237 … new PackageParser.SplitPermissionInfo(android.Manifest.permission.WRITE_EXTERNAL_STORAGE, 240 new PackageParser.SplitPermissionInfo(android.Manifest.permission.READ_CONTACTS, 243 new PackageParser.SplitPermissionInfo(android.Manifest.permission.WRITE_CONTACTS, [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 20 import android.content.pm.PackageParser.Package;
|
/frameworks/base/ |
D | compiled-classes-phone | 980 android.content.pm.PackageParser 981 android.content.pm.PackageParser$Activity 982 android.content.pm.PackageParser$ActivityIntentInfo 983 android.content.pm.PackageParser$ApkLite 984 android.content.pm.PackageParser$Component 985 android.content.pm.PackageParser$IntentInfo 986 android.content.pm.PackageParser$NewPermissionInfo 987 android.content.pm.PackageParser$Package 988 android.content.pm.PackageParser$PackageLite 989 android.content.pm.PackageParser$PackageParserException [all …]
|
D | preloaded-classes | 671 android.content.pm.PackageParser$PackageParserException
|