Home
last modified time | relevance | path

Searched defs:apkPath (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java66 public static PackageParser.SigningDetails verify(String apkPath, in verify()
80 String apkPath, int minSignatureSchemeVersion) in unsafeGetCertsWithoutVerification()
91 private static PackageParser.SigningDetails verifySignatures(String apkPath, in verifySignatures()
123 private static PackageParser.SigningDetails verifyV3AndBelowSignatures(String apkPath, in verifyV3AndBelowSignatures()
176 private static PackageParser.SigningDetails verifyV4Signature(String apkPath, in verifyV4Signature()
251 private static PackageParser.SigningDetails verifyV3Signature(String apkPath, in verifyV3Signature()
292 private static PackageParser.SigningDetails verifyV2Signature(String apkPath, in verifyV2Signature()
320 String apkPath, boolean verifyFull) in verifyV1Signature()
485 public static byte[] getVerityRootHash(String apkPath) throws IOException, SecurityException { in getVerityRootHash()
505 public static byte[] generateApkVerity(String apkPath, ByteBufferFactory bufferFactory) in generateApkVerity()
[all …]
DApkSignatureSchemeV2Verifier.java396 static byte[] getVerityRootHash(String apkPath) in getVerityRootHash()
405 static byte[] generateApkVerity(String apkPath, ByteBufferFactory bufferFactory) in generateApkVerity()
414 static byte[] generateApkVerityRootHash(String apkPath) in generateApkVerityRootHash()
DApkSignatureSchemeV3Verifier.java517 static byte[] getVerityRootHash(String apkPath) in getVerityRootHash()
526 static byte[] generateApkVerity(String apkPath, ByteBufferFactory bufferFactory) in generateApkVerity()
535 static byte[] generateApkVerityRootHash(String apkPath) in generateApkVerityRootHash()
DVerityBuilder.java148 static byte[] generateApkVerity(@NonNull String apkPath, in generateApkVerity()
/frameworks/base/tests/ApkVerityTest/src/com/android/apkverity/
DApkVerityTest.java335 String apkPath = getApkPath(TARGET_PACKAGE); in testFsverityFileIsImmutableAndReadable() local
345 String apkPath = getApkPath(TARGET_PACKAGE); in testFsverityFailToReadModifiedBlockAtFront() local
373 String apkPath = getApkPath(TARGET_PACKAGE); in testFsverityFailToReadModifiedBlockAtBack() local
399 String apkPath = getApkPath(TARGET_PACKAGE); in verifyInstalledFilesHaveFsverity() local
432 String apkPath = getApkPath(TARGET_PACKAGE); in verifyInstalledFiles() local
/frameworks/base/services/core/java/com/android/server/security/
DVerityUtils.java106 public static SetupResult generateApkVeritySetupData(@NonNull String apkPath) { in generateApkVeritySetupData()
146 public static byte[] generateApkVerityRootHash(@NonNull String apkPath) in generateApkVerityRootHash()
157 public static byte[] getVerityRootHash(@NonNull String apkPath) in getVerityRootHash()
168 private static Pair<SharedMemory, Integer> generateFsVerityIntoSharedMemory(String apkPath, in generateFsVerityIntoSharedMemory()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DViewCompiler.java43 final String apkPath = pkg.getBaseCodePath(); in compileLayouts() local
DArtManagerService.java489 final String apkPath = pkg.getBaseCodePath(); in compileLayouts() local
/frameworks/base/startop/iorap/functional_tests/src/com/google/android/startop/iorap/
DIorapWorkFlowTest.java157 private static void installApk(String apkPath) throws Exception { in installApk()
165 private static void uninstallApk(String apkPath) throws Exception { in uninstallApk()
/frameworks/base/services/core/java/com/android/server/pm/
DProcessLoggingHandler.java71 void invalidateProcessLoggingBaseApkHash(String apkPath) { in invalidateProcessLoggingBaseApkHash()
DInstaller.java371 public void dexopt(String apkPath, int uid, @Nullable String pkgName, String instructionSet, in dexopt()
528 public void moveAb(String apkPath, String instructionSet, String outputPath) in moveAb()
540 public void deleteOdex(String apkPath, String instructionSet, String outputPath) in deleteOdex()
574 public boolean reconcileSecondaryDexFile(String apkPath, String packageName, int uid, in reconcileSecondaryDexFile()
805 public boolean compileLayouts(String apkPath, String packageName, String outDexFile, int uid) { in compileLayouts()
/frameworks/base/core/tests/coretests/src/android/util/apk/
DSourceStampVerifierTest.java201 private File getApk(String apkPath) throws IOException { in getApk()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl60 void dexopt(@utf8InCpp String apkPath, int uid, @nullable @utf8InCpp String packageName, in dexopt()
69 boolean compileLayouts(@utf8InCpp String apkPath, @utf8InCpp String packageName, in compileLayouts()
94 void moveAb(@utf8InCpp String apkPath, @utf8InCpp String instructionSet, in moveAb()
96 void deleteOdex(@utf8InCpp String apkPath, @utf8InCpp String instructionSet, in deleteOdex()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java272 final String apkPath = String.format("%s/%s/base.apk", in build() local
287 final String apkPath; field in OverlayManagerServiceImplTestsBase.DummyDeviceState.Package
293 String targetOverlayableName, int versionCode, String apkPath, in Package()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java239 private static boolean isDexMetadataForApk(String dmaPath, String apkPath) { in isDexMetadataForApk()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java156 private void findClassesInApk(String apkPath, String packageName, in findClassesInApk()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java335 final String apkPath = mPm.getPackageInfoAsUser(packageName, in getDigestFromUid() local
/frameworks/base/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java231 final String apkPath = fd != null ? debugPathName : apkFile.getAbsolutePath(); in parseApkLiteInner() local
DParsingPackageUtils.java352 final String apkPath = apkFile.getAbsolutePath(); in parseBaseApk() local
425 final String apkPath = pkg.getSplitCodePaths()[splitIndex]; in parseSplitApk() local
464 private ParseResult<ParsingPackage> parseBaseApk(ParseInput input, String apkPath, in parseBaseApk()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp548 com_android_internal_content_NativeLibraryHelper_openApk(JNIEnv *env, jclass, jstring apkPath) in com_android_internal_content_NativeLibraryHelper_openApk()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp2383 binder::Status InstalldNativeService::dexopt(const std::string& apkPath, int32_t uid, in dexopt()
2425 binder::Status InstalldNativeService::compileLayouts(const std::string& apkPath, in compileLayouts()
2630 binder::Status InstalldNativeService::moveAb(const std::string& apkPath, in moveAb()
2645 binder::Status InstalldNativeService::deleteOdex(const std::string& apkPath, in deleteOdex()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1167 final String apkPath = apkFile.getAbsolutePath(); in parseBaseApk() local
1216 final String apkPath = pkg.splitCodePaths[splitIndex]; in parseSplitApk() local
1370 final String apkPath = apkFile.getAbsolutePath(); in collectCertificates() local
1439 final String apkPath = fd != null ? debugPathName : apkFile.getAbsolutePath(); in parseApkLiteInner() local
1817 private Package parseBaseApk(String apkPath, Resources res, XmlResourceParser parser, int flags, in parseBaseApk()