/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureVerifier.java | 66 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 …]
|
D | ApkSignatureSchemeV2Verifier.java | 396 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()
|
D | ApkSignatureSchemeV3Verifier.java | 517 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()
|
D | VerityBuilder.java | 148 static byte[] generateApkVerity(@NonNull String apkPath, in generateApkVerity()
|
/frameworks/base/tests/ApkVerityTest/src/com/android/apkverity/ |
D | ApkVerityTest.java | 335 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/ |
D | VerityUtils.java | 106 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/ |
D | ViewCompiler.java | 43 final String apkPath = pkg.getBaseCodePath(); in compileLayouts() local
|
D | ArtManagerService.java | 489 final String apkPath = pkg.getBaseCodePath(); in compileLayouts() local
|
/frameworks/base/startop/iorap/functional_tests/src/com/google/android/startop/iorap/ |
D | IorapWorkFlowTest.java | 157 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/ |
D | ProcessLoggingHandler.java | 71 void invalidateProcessLoggingBaseApkHash(String apkPath) { in invalidateProcessLoggingBaseApkHash()
|
D | Installer.java | 371 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/ |
D | SourceStampVerifierTest.java | 201 private File getApk(String apkPath) throws IOException { in getApk()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 60 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/ |
D | OverlayManagerServiceImplTestsBase.java | 272 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/ |
D | DexMetadataHelperTest.java | 239 private static boolean isDexMetadataForApk(String dmaPath, String apkPath) { in isDexMetadataForApk()
|
/frameworks/base/test-runner/src/android/test/ |
D | ClassPathPackageInfoSource.java | 156 private void findClassesInApk(String apkPath, String packageName, in findClassesInApk()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 335 final String apkPath = mPm.getPackageInfoAsUser(packageName, in getDigestFromUid() local
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ApkLiteParseUtils.java | 231 final String apkPath = fd != null ? debugPathName : apkFile.getAbsolutePath(); in parseApkLiteInner() local
|
D | ParsingPackageUtils.java | 352 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/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 548 com_android_internal_content_NativeLibraryHelper_openApk(JNIEnv *env, jclass, jstring apkPath) in com_android_internal_content_NativeLibraryHelper_openApk()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 2383 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/ |
D | PackageParser.java | 1167 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()
|