Home
last modified time | relevance | path

Searched refs:PackageParserException (Results 1 – 20 of 20) 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()
100 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
105 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
115 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
131 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
136 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
146 throw new PackageParserException(INSTALL_PARSE_FAILED_NO_CERTIFICATES, in verify()
164 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;
101 public void testParsePackageWithDmFileValid() throws IOException, PackageParserException { in testParsePackageWithDmFileValid()
115 throws IOException, PackageParserException { in testParsePackageSplitsWithDmFileValid()
135 throws IOException, PackageParserException { in testParsePackageSplitsNoBaseWithDmFileValid()
157 } catch (PackageParserException e) { in testParsePackageWithDmFileInvalid()
164 throws IOException, PackageParserException { in testParsePackageSplitsWithDmFileInvalid()
174 } catch (PackageParserException e) { in testParsePackageSplitsWithDmFileInvalid()
194 throws IOException, PackageParserException { in testPackageSplitsWithDmFileNoMatch()
210 throws IOException, PackageParserException { in testPackageSizeWithDmFile()
221 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()
DParallelPackageParser.java137 int parseFlags) throws PackageParser.PackageParserException { in parsePackage()
DPackageManagerServiceUtils.java40 import android.content.pm.PackageParser.PackageParserException;
530 } catch (PackageParserException e) { in matchSignatureInSystem()
DPackageInstallerSession.java61 import android.content.pm.PackageParser.PackageParserException;
1118 } catch (PackageParserException e) { in validateInstallLocked()
1197 } catch (PackageParserException e) { in validateInstallLocked()
1225 } catch (PackageParserException e) { in validateInstallLocked()
DPackageManagerShellCommand.java50 import android.content.pm.PackageParser.PackageParserException;
336 } catch (PackageParserException | IOException e) { in setParamsSize()
DPackageManagerService.java177 import android.content.pm.PackageParser.PackageParserException;
8458 } else if (throwable instanceof PackageParser.PackageParserException) {
8459 PackageParser.PackageParserException e = (PackageParser.PackageParserException)
8515 } catch (PackageParserException e) {
8576 } catch (PackageParserException e) {
11216 } catch (PackageParserException e) {
15993 } catch (PackageParserException e) {
16238 public void setError(String msg, PackageParserException e) {
17080 } catch (PackageParserException e) {
17174 } catch (PackageParserException e) {
[all …]
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java28 import android.content.pm.PackageParser.PackageParserException;
86 } catch (PackageParserException | IOException | RemoteException e) {
117 } catch (PackageParserException | IOException e) {
187 } catch (PackageParserException | IOException e) {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DParallelPackageParserTest.java77 int parseFlags) throws PackageParser.PackageParserException { in parsePackage()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java880 throws PackageParserException { in parsePackageLite()
889 throws PackageParserException { in parseMonolithicPackageLite()
898 throws PackageParserException { in parseClusterPackageLite()
901 throw new PackageParserException(INSTALL_PARSE_FAILED_NOT_APK, in parseClusterPackageLite()
921 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
926 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
934 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
944 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
1004 throws PackageParserException { in parsePackage()
1033 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage()
[all …]
DPackageManager.java44 import android.content.pm.PackageParser.PackageParserException;
4817 } 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;
329 private PackageParser.Package parsePackage(Uri packageURI) throws PackageParserException { in parsePackage()
576 InstallParams(String outFileName, int rawResId) throws PackageParserException { in InstallParams()
690 throws PackageParserException { in getParsedPackage()
/frameworks/base/config/
Dpreloaded-classes852 android.content.pm.PackageParser$PackageParserException
Dboot-image-profile.txt54703 Landroid/content/pm/PackageParser$PackageParserException;