Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java27 import android.content.pm.PackageParser.PackageParserException;
67 throws PackageParserException { in verify()
71 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
98 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
103 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
113 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
129 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
134 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
144 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
162 throws PackageParserException { in verifyV1Signature()
[all …]
/frameworks/base/core/java/android/content/pm/split/
DSplitAssetDependencyLoader.java23 import android.content.pm.PackageParser.PackageParserException;
41 public class SplitAssetDependencyLoader extends SplitDependencyLoader<PackageParserException>
68 throws PackageParserException { in loadApkAssets()
70 throw new PackageParserException(INSTALL_PARSE_FAILED_NOT_APK, in loadApkAssets()
77 throw new PackageParserException(PackageManager.INSTALL_FAILED_INVALID_APK, in loadApkAssets()
92 int parentSplitIdx) throws PackageParserException { in constructSplit()
114 public AssetManager getBaseAssetManager() throws PackageParserException { in getBaseAssetManager()
120 public AssetManager getSplitAssetManager(int idx) throws PackageParserException { in getSplitAssetManager()
DDefaultSplitAssetLoader.java22 import android.content.pm.PackageParser.PackageParserException;
51 throws PackageParserException { in loadApkAssets()
53 throw new PackageParserException(INSTALL_PARSE_FAILED_NOT_APK, in loadApkAssets()
60 throw new PackageParserException(INSTALL_FAILED_INVALID_APK, in loadApkAssets()
66 public AssetManager getBaseAssetManager() throws PackageParserException { in getBaseAssetManager()
95 public AssetManager getSplitAssetManager(int splitIdx) throws PackageParserException { in getSplitAssetManager()
DSplitAssetLoader.java28 AssetManager getBaseAssetManager() throws PackageParser.PackageParserException; in getBaseAssetManager()
29 AssetManager getSplitAssetManager(int splitIdx) throws PackageParser.PackageParserException; in getSplitAssetManager()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java30 import android.content.pm.PackageParser.PackageParserException;
95 public void testParsePackageWithDmFileValid() throws IOException, PackageParserException { in testParsePackageWithDmFileValid()
109 throws IOException, PackageParserException { in testParsePackageSplitsWithDmFileValid()
129 throws IOException, PackageParserException { in testParsePackageSplitsNoBaseWithDmFileValid()
151 } catch (PackageParserException e) { in testParsePackageWithDmFileInvalid()
158 throws IOException, PackageParserException { in testParsePackageSplitsWithDmFileInvalid()
168 } catch (PackageParserException e) { in testParsePackageSplitsWithDmFileInvalid()
188 throws IOException, PackageParserException { in testPackageSplitsWithDmFileNoMatch()
204 throws IOException, PackageParserException { in testPackageSizeWithDmFile()
215 public void testPackageSizeWithPartialPackageLite() throws IOException, PackageParserException { in testPackageSizeWithPartialPackageLite()
/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java24 import android.content.pm.PackageParser.PackageParserException;
164 throws PackageParserException { in validatePackageDexMetadata()
177 private static void validateDexMetadataFile(String dmaPath) throws PackageParserException { in validateDexMetadataFile()
182 throw new PackageParserException(INSTALL_FAILED_BAD_DEX_METADATA, in validateDexMetadataFile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerException.java20 import android.content.pm.PackageParser.PackageParserException;
48 public static PackageManagerException from(PackageParserException e) in from()
DPackageManagerServiceUtils.java39 import android.content.pm.PackageParser.PackageParserException;
540 } catch (PackageParserException e) { in matchSignatureInSystem()
752 } catch (PackageParserException | IOException e) { in getMinimalPackageInfo()
793 } catch (PackageParserException | IOException e) { in calculateInstalledSize()
863 } catch (PackageParserException | IOException | ErrnoException e) { in copyPackage()
DParallelPackageParser.java137 int parseFlags) throws PackageParser.PackageParserException { in parsePackage()
DStagingManager.java34 import android.content.pm.PackageParser.PackageParserException;
133 } catch (PackageParserException e) { in validateApexSignature()
151 } catch (PackageParserException e) { in validateApexSignature()
193 } catch (PackageParserException e) { in submitSessionToApexService()
DPackageInstallerSession.java66 import android.content.pm.PackageParser.PackageParserException;
1481 } catch (PackageParserException e) { in validateApexInstallLocked()
1549 } catch (PackageParserException e) { in validateApkInstallLocked()
1626 } catch (PackageParserException e) { in validateApkInstallLocked()
1648 } catch (PackageParserException e) { in validateApkInstallLocked()
DApexManager.java349 } catch (PackageParser.PackageParserException pe) { in populateAllPackagesCacheIfNeeded()
DPackageManagerShellCommand.java54 import android.content.pm.PackageParser.PackageParserException;
450 } catch (PackageParserException | IOException e) { in setParamsSize()
DPackageManagerService.java177 import android.content.pm.PackageParser.PackageParserException;
8991 } else if (throwable instanceof PackageParser.PackageParserException) {
8992 PackageParser.PackageParserException e = (PackageParser.PackageParserException)
9049 } catch (PackageParserException e) {
9112 } catch (PackageParserException e) {
11997 } catch (PackageParserException e) {
15067 } catch (PackageParserException e) {
15399 } catch (PackageParserException e) {
15563 public void setError(String msg, PackageParserException e) {
16729 super(e instanceof PackageParserException
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java27 import android.content.pm.PackageParser.PackageParserException;
61 } catch (PackageParserException e) { in getPackageInfo()
DInstallInstalling.java150 } catch (PackageParser.PackageParserException e) { in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DParallelPackageParserTest.java78 int parseFlags) throws PackageParser.PackageParserException { in parsePackage()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java932 throws PackageParserException { in parsePackageLite()
941 throws PackageParserException { in parseMonolithicPackageLite()
950 throws PackageParserException { in parseClusterPackageLite()
953 throw new PackageParserException(INSTALL_PARSE_FAILED_NOT_APK, in parseClusterPackageLite()
973 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
978 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
986 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
996 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
1057 throws PackageParserException { in parsePackage()
1087 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage()
[all …]
DPackageManager.java46 import android.content.pm.PackageParser.PackageParserException;
5653 } catch (PackageParserException e) { in getPackageArchiveInfo()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java33 import android.content.pm.PackageParser.PackageParserException;
86 } catch (PackageParserException e) { in create()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java37 import android.content.pm.PackageParser.PackageParserException;
330 private PackageParser.Package parsePackage(Uri packageURI) throws PackageParserException { in parsePackage()
571 InstallParams(String outFileName, int rawResId) throws PackageParserException { in InstallParams()
685 throws PackageParserException { in getParsedPackage()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java914 } catch (PackageParser.PackageParserException e) { in enableRollbackForPackageSession()
/frameworks/base/config/
Dpreloaded-classes953 android.content.pm.PackageParser$PackageParserException
Dhiddenapi-greylist-max-o.txt15649 Landroid/content/pm/PackageParser$PackageParserException;-><init>(ILjava/lang/String;)V
15650 Landroid/content/pm/PackageParser$PackageParserException;-><init>(ILjava/lang/String;Ljava/lang/Thr…
15651 Landroid/content/pm/PackageParser$PackageParserException;->error:I
Dboot-image-profile.txt33080 Landroid/content/pm/PackageParser$PackageParserException;