Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageParserException.java18 public class PackageParserException extends Exception { class
21 public PackageParserException(int error, String detailMessage) { in PackageParserException() method in PackageParserException
26 public PackageParserException(int error, String detailMessage, Throwable throwable) { in PackageParserException() method in PackageParserException
DPackageParser2.java118 throws PackageParserException { in parsePackage()
136 throw new PackageParserException(result.getErrorCode(), result.getErrorMessage(), in parsePackage()
164 throws PackageParserException { in parsePackageFromPackageLite()
169 throw new PackageParserException(result.getErrorCode(), result.getErrorMessage(), in parsePackageFromPackageLite()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java40 import com.android.internal.pm.parsing.PackageParserException;
166 PackageParserException { in testParsePackageWithDmFileValid()
183 throws IOException, PackageManagerException, PackageParserException { in testParsePackageSplitsWithDmFileValid()
206 throws IOException, PackageManagerException, PackageParserException { in testParsePackageSplitsNoBaseWithDmFileValid()
224 public void testParsePackageWithDmFileInvalid() throws IOException, PackageParserException { in testParsePackageWithDmFileInvalid()
247 throws IOException, PackageParserException { in testParsePackageSplitsWithDmFileInvalid()
273 throws IOException, PackageParserException { in testParsePackageWithDmFileInvalidManifest()
288 throws IOException, PackageParserException { in testParsePackageWithDmFileEmptyManifest()
304 throws IOException, PackageParserException { in testParsePackageWithDmFileBadPackageName()
320 throws IOException, PackageParserException { in testParsePackageWithDmFileBadVersionCode()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt21 import com.android.internal.pm.parsing.PackageParserException in <lambda>()
89 .filterNot { (it as? PackageParserException)?.error == in <lambda>()
DPackageParserLegacyCoreTest.java41 import com.android.internal.pm.parsing.PackageParserException;
611 } catch (PackageParserException expected) { in testUsesSdk()
/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java26 import com.android.internal.pm.parsing.PackageParserException;
131 } catch (PackageParserException e) { in parsePackage()
DPackageSessionVerifier.java47 import com.android.internal.pm.parsing.PackageParserException;
405 } catch (PackageParserException e) { in submitSessionToApexService()
DInstallPackageHelper.java160 import com.android.internal.pm.parsing.PackageParserException;
1262 } catch (PackageParserException e) { in preparePackageLI()
3733 } catch (PackageParserException e) { in initPackageLI()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java32 import com.android.internal.pm.parsing.PackageParserException;
141 throws PackageParserException { in validatePackageDexMetadata()
150 throw new PackageParserException( in validatePackageDexMetadata()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java969 throws PackageParserException { in parsePackageLite()
978 throws PackageParserException { in parseMonolithicPackageLite()
988 throws PackageParserException { in parseClusterPackageLite()
991 throw new PackageParserException(INSTALL_PARSE_FAILED_NOT_APK, in parseClusterPackageLite()
1015 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
1020 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
1028 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
1038 throw new PackageParserException(INSTALL_PARSE_FAILED_BAD_MANIFEST, in parseClusterPackageLite()
1099 throws PackageParserException { in parsePackage()
1111 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage()
[all …]
DPackageManager.java101 import com.android.internal.pm.parsing.PackageParserException;
8847 } catch (PackageParserException e) { in getPackageArchiveInfo()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceBootTest.kt24 import com.android.internal.pm.parsing.PackageParserException in <lambda>()
124 .thenThrow(PackageParserException( in <lambda>()
DApexManagerTest.java54 import com.android.internal.pm.parsing.PackageParserException;
179 } catch (PackageParserException e) { in mockParsePackage()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java80 import com.android.internal.pm.parsing.PackageParserException;
394 } catch (PackageParserException e) { in testParseActivityRequiredDisplayCategoryInvalid()
/frameworks/base/boot/
Dpreloaded-classes1802 android.content.pm.PackageParser$PackageParserException
11457 com.android.internal.pm.parsing.PackageParserException
Dboot-image-profile.txt24181 Landroid/content/pm/PackageParser$PackageParserException;
33893 Lcom/android/internal/pm/parsing/PackageParserException;
/frameworks/base/config/
Dpreloaded-classes1806 android.content.pm.PackageParser$PackageParserException
11488 com.android.internal.pm.parsing.PackageParserException
Dboot-image-profile.txt34315 Landroid/content/pm/PackageParser$PackageParserException;
44054 Lcom/android/internal/pm/parsing/PackageParserException;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12762 Landroid/content/pm/PackageParser$PackageParserException;-><init>(ILjava/lang/String;)V
12763 Landroid/content/pm/PackageParser$PackageParserException;-><init>(ILjava/lang/String;Ljava/lang/Thr…
12764 Landroid/content/pm/PackageParser$PackageParserException;->error:I