Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/parsing/result/
DParseTypeImpl.java33 public class ParseTypeImpl implements ParseInput, ParseResult<Object> { class
71 public static ParseTypeImpl forParsingWithoutPlatformCompat() { in forParsingWithoutPlatformCompat()
72 return new ParseTypeImpl((changeId, packageName, targetSdkVersion) -> { in forParsingWithoutPlatformCompat()
86 public static ParseTypeImpl forDefaultParsing() { in forDefaultParsing()
89 return new ParseTypeImpl((changeId, packageName, targetSdkVersion) -> { in forDefaultParsing()
106 public ParseTypeImpl(@NonNull Callback callback) {
/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt52 assumeFalse(ParseTypeImpl.DEBUG_FILL_STACK_TRACE) in assumeNotDebug()
53 assumeFalse(ParseTypeImpl.DEBUG_LOG_ON_ERROR) in assumeNotDebug()
54 assumeFalse(ParseTypeImpl.DEBUG_THROW_ALL_ERRORS) in assumeNotDebug()
75 input = ParseTypeImpl(mockCallback) in createInput()
250 var result = (input as ParseTypeImpl).reset() as ParseResult<*> in verifyReset()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DParsingUtils.java22 import android.content.pm.parsing.result.ParseTypeImpl;
48 ParseInput input = ParseTypeImpl.forDefaultParsing().reset(); in parseDefaultOneTime()
DPackageParserLegacyCoreTest.java29 import android.content.pm.parsing.result.ParseTypeImpl;
103 final ParseTypeImpl input = ParseTypeImpl.forParsingWithoutPlatformCompat(); in verifyComputeMinSdkVersion()
206 final ParseTypeImpl input = ParseTypeImpl.forParsingWithoutPlatformCompat(); in verifyComputeTargetSdkVersion()
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayScanner.java27 import android.content.pm.parsing.result.ParseTypeImpl;
182 final ParseTypeImpl input = ParseTypeImpl.forParsingWithoutPlatformCompat(); in parseOverlayManifest()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageParser2.java28 import android.content.pm.parsing.result.ParseTypeImpl;
69 private final ThreadLocal<ParseTypeImpl> mSharedResult;
110 mSharedResult = ThreadLocal.withInitial(() -> new ParseTypeImpl(enforcementCallback)); in PackageParser2()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java31 import android.content.pm.parsing.result.ParseTypeImpl;
147 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in validatePackageDexMetadata()
400 ParseTypeImpl.forDefaultParsing().reset(), mTmpDir, /*flags=*/0); in testPackageSizeWithDmFile()
416 ParseTypeImpl.forDefaultParsing().reset(), is.getFD(), in testPackageSizeWithPartialPackageLite()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java28 import android.content.pm.parsing.result.ParseTypeImpl;
145 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in validatePackageDexMetadata()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/
DPackageParsingPerfTest.kt23 import android.content.pm.parsing.result.ParseTypeImpl in <lambda>()
197 ParseTypeImpl(ParseInput.Callback { _, _, _ -> false }) in <lambda>()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java33 import android.content.pm.parsing.result.ParseTypeImpl;
88 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in create()
/frameworks/base/services/core/java/com/android/server/pm/
DMovePackageHelper.java42 import android.content.pm.parsing.result.ParseTypeImpl;
314 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in movePackageInternal()
DRemovePackageHelper.java37 import android.content.pm.parsing.result.ParseTypeImpl;
511 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in cleanUpResourcesLI()
DPackageSessionVerifier.java32 import android.content.pm.parsing.result.ParseTypeImpl;
126 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in getSigningDetails()
DApexManager.java32 import android.content.pm.parsing.result.ParseTypeImpl;
889 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in getSigningDetails()
DPackageManagerServiceUtils.java62 import android.content.pm.parsing.result.ParseTypeImpl;
965 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in calculateInstalledSize()
1032 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in copyPackage()
DApkChecksums.java42 import android.content.pm.parsing.result.ParseTypeImpl;
714 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in extractHashFromV2V3Signature()
DScanPackageUtils.java59 import android.content.pm.parsing.result.ParseTypeImpl;
1026 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in collectCertificatesLI()
DPackageInstallerSession.java116 import android.content.pm.parsing.result.ParseTypeImpl;
1609 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in getAddedApkLitesLocked()
2218 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in fetchPackageName()
3239 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing();
3385 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing();
3479 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing();
4175 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing();
DInstallPackageHelper.java129 import android.content.pm.parsing.result.ParseTypeImpl;
1333 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in preparePackageLI()
4128 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in scanSystemPackageLI()
DPackageManagerShellCommand.java77 import android.content.pm.parsing.result.ParseTypeImpl;
682 ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in setParamsSize()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt31 import android.content.pm.parsing.result.ParseTypeImpl in <lambda>()
449 val result = ParseTypeImpl.forDefaultParsing().success(signingDetails) in createBasicAndroidPackage()
451 any(ParseTypeImpl::class.java), eq(pkg), anyBoolean()) } in createBasicAndroidPackage()
559 val result = ParseTypeImpl.forDefaultParsing().success(frameworkSignature) in stageFrameworkScan()
561 any(ParseTypeImpl::class.java), eq(frameworkPkg), eq(true)) } in stageFrameworkScan()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java48 import android.content.pm.parsing.result.ParseTypeImpl;
625 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in getPackageSigningAndMetadata()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java42 import android.content.pm.parsing.result.ParseTypeImpl;
909 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing();
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java52 import android.content.pm.parsing.result.ParseTypeImpl;
493 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in computeApkContentDigest()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java63 import android.content.pm.parsing.result.ParseTypeImpl;
2377 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in readInstallInfo()
2398 final ParseTypeImpl input = ParseTypeImpl.forDefaultParsing(); in readInstallInfo()

12