Home
last modified time | relevance | path

Searched refs:PackageParserException (Results 1 – 23 of 23) 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;
102 public void testParsePackageWithDmFileValid() throws IOException, PackageParserException { in testParsePackageWithDmFileValid()
116 throws IOException, PackageParserException { in testParsePackageSplitsWithDmFileValid()
136 throws IOException, PackageParserException { in testParsePackageSplitsNoBaseWithDmFileValid()
158 } catch (PackageParserException e) { in testParsePackageWithDmFileInvalid()
165 throws IOException, PackageParserException { in testParsePackageSplitsWithDmFileInvalid()
175 } catch (PackageParserException e) { in testParsePackageSplitsWithDmFileInvalid()
195 throws IOException, PackageParserException { in testPackageSplitsWithDmFileNoMatch()
211 throws IOException, PackageParserException { in testPackageSizeWithDmFile()
222 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()
DApexManager.java34 import android.content.pm.PackageParser.PackageParserException;
154 } catch (PackageParserException pe) { in populateAllPackagesCacheIfNeeded()
DStagingManager.java33 import android.content.pm.PackageParser.PackageParserException;
111 } catch (PackageParserException e) { in validateApexSignature()
128 } catch (PackageParserException e) { in validateApexSignature()
DPackageInstallerSession.java66 import android.content.pm.PackageParser.PackageParserException;
1555 } catch (PackageParserException e) { in validateApkInstallLocked()
1632 } catch (PackageParserException e) { in validateApkInstallLocked()
1654 } catch (PackageParserException e) { in validateApkInstallLocked()
DPackageManagerShellCommand.java54 import android.content.pm.PackageParser.PackageParserException;
469 } catch (PackageParserException | IOException e) { in setParamsSize()
DPackageManagerService.java178 import android.content.pm.PackageParser.PackageParserException;
9066 } else if (throwable instanceof PackageParser.PackageParserException) {
9067 PackageParser.PackageParserException e = (PackageParser.PackageParserException)
9124 } catch (PackageParserException e) {
9187 } catch (PackageParserException e) {
11993 } catch (PackageParserException e) {
15532 } catch (PackageParserException e) {
15864 } catch (PackageParserException e) {
16056 public void setError(String msg, PackageParserException e) {
17226 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.java888 throws PackageParserException { in parsePackageLite()
897 throws PackageParserException { in parseMonolithicPackageLite()
906 throws PackageParserException { in parseClusterPackageLite()
909 throw new PackageParserException(INSTALL_PARSE_FAILED_NOT_APK, in parseClusterPackageLite()
929 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
934 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
942 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
952 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
1013 throws PackageParserException { in parsePackage()
1043 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage()
[all …]
DPackageManager.java46 import android.content.pm.PackageParser.PackageParserException;
5593 } 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.java932 } catch (PackageParser.PackageParserException e) { in enableRollback()
992 } catch (PackageParser.PackageParserException e) { in enableRollbackForPackageSession()
/frameworks/base/config/
Dpreloaded-classes953 android.content.pm.PackageParser$PackageParserException