Searched refs:apkPath (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/av/media/libmedia/aidl/android/media/
H A DIMediaExtractorUpdateService.aidl24 void loadPlugins(@utf8InCpp String apkPath);
/frameworks/av/services/mediaextractor/
H A DMediaExtractorUpdateService.cpp28 binder::Status MediaExtractorUpdateService::loadPlugins(const ::std::string& apkPath) { argument
29 ALOGV("loadPlugins %s", apkPath.c_str());
30 MediaExtractorFactory::LoadPlugins(apkPath);
H A DMediaExtractorUpdateService.h34 binder::Status loadPlugins(const ::std::string& apkPath);
/frameworks/base/core/java/android/util/apk/
H A DApkSignatureVerifier.java65 public static PackageParser.SigningDetails verify(String apkPath, argument
73 + " or newer for package " + apkPath);
80 ApkSignatureSchemeV3Verifier.verify(apkPath);
101 "No APK Signature Scheme v3 signature in package " + apkPath, e);
106 "Failed to collect certificates from " + apkPath
117 + " or newer for package " + apkPath);
123 Certificate[][] signerCerts = ApkSignatureSchemeV2Verifier.verify(apkPath);
132 "No APK Signature Scheme v2 signature in package " + apkPath, e);
137 "Failed to collect certificates from " + apkPath
148 + " or newer for package " + apkPath);
162 verifyV1Signature( String apkPath, boolean verifyFull) argument
307 plsCertsNoVerifyOnlyCerts( String apkPath, int minSignatureSchemeVersion) argument
400 getVerityRootHash(String apkPath) argument
417 generateApkVerity(String apkPath, ByteBufferFactory bufferFactory) argument
435 generateFsverityRootHash(String apkPath) argument
[all...]
H A DApkSignatureSchemeV2Verifier.java399 static byte[] getVerityRootHash(String apkPath) argument
401 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) {
408 static byte[] generateApkVerity(String apkPath, ByteBufferFactory bufferFactory) argument
411 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) {
413 return ApkSigningBlockUtils.generateApkVerity(apkPath, bufferFactory, signatureInfo);
417 static byte[] generateFsverityRootHash(String apkPath) argument
420 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) {
H A DApkSignatureSchemeV3Verifier.java523 static byte[] getVerityRootHash(String apkPath) argument
525 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) {
532 static byte[] generateApkVerity(String apkPath, ByteBufferFactory bufferFactory) argument
535 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) {
537 return ApkSigningBlockUtils.generateApkVerity(apkPath, bufferFactory, signatureInfo);
541 static byte[] generateFsverityRootHash(String apkPath) argument
544 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) {
H A DApkSigningBlockUtils.java359 public static byte[] generateApkVerity(String apkPath, ByteBufferFactory bufferFactory, argument
363 try (RandomAccessFile apk = new RandomAccessFile(apkPath, "r")) {
/frameworks/base/services/core/java/com/android/server/security/
H A DVerityUtils.java51 public static SetupResult generateApkVeritySetupData(@NonNull String apkPath) { argument
52 if (DEBUG) Slog.d(TAG, "Trying to install apk verity to " + apkPath);
55 byte[] signedRootHash = ApkSignatureVerifier.getVerityRootHash(apkPath);
63 Pair<SharedMemory, Integer> result = generateApkVerityIntoSharedMemory(apkPath,
86 public static byte[] generateFsverityRootHash(@NonNull String apkPath) argument
88 return ApkSignatureVerifier.generateFsverityRootHash(apkPath);
94 public static byte[] getVerityRootHash(@NonNull String apkPath) argument
96 return ApkSignatureVerifier.getVerityRootHash(apkPath);
106 String apkPath, byte[] expectedRootHash)
110 byte[] generatedRootHash = ApkSignatureVerifier.generateApkVerity(apkPath,
105 generateApkVerityIntoSharedMemory( String apkPath, byte[] expectedRootHash) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaExtractorFactory.h38 static void LoadPlugins(const ::std::string& apkPath);
47 const char *apkPath, List<sp<ExtractorPlugin>> &pluginList);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaExtractorFactory.h38 static void LoadPlugins(const ::std::string& apkPath);
47 const char *apkPath, List<sp<ExtractorPlugin>> &pluginList);
/frameworks/av/media/libstagefright/
H A DMediaExtractorFactory.cpp99 void MediaExtractorFactory::LoadPlugins(const ::std::string& apkPath) { argument
101 ALOGV("Load plugins from: %s", apkPath.c_str());
102 UpdateExtractors(apkPath.empty() ? nullptr : apkPath.c_str());
216 const char *apkPath, List<sp<ExtractorPlugin>> &pluginList) {
217 ALOGV("search for plugins at %s", apkPath);
219 int32_t ret = OpenArchive(apkPath, &zipHandle);
232 String8 libPath = String8(apkPath) + "!/" +
254 ALOGW("couldn't find plugins from %s, %d", apkPath, ret);
258 ALOGW("couldn't open(%s) %d", apkPath, re
215 RegisterExtractorsInApk( const char *apkPath, List<sp<ExtractorPlugin>> &pluginList) argument
[all...]
/frameworks/base/core/java/android/content/pm/split/
H A DDefaultSplitAssetLoader.java80 for (String apkPath : mSplitCodePaths) {
81 apkAssets[splitIdx++] = loadApkAssets(apkPath, mFlags);
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java125 for (String apkPath : apkPaths) {
126 File file = new File(apkPath);
156 private void findClassesInApk(String apkPath, String packageName, argument
162 dexFile = new DexFile(apkPath);
183 "Error finding classes at apk path: " + apkPath, e);
/frameworks/base/services/core/java/com/android/server/pm/
H A DProcessLoggingHandler.java71 void invalidateProcessLoggingBaseApkHash(String apkPath) { argument
73 data.putString("apkFile", apkPath);
H A DInstaller.java292 public void dexopt(String apkPath, int uid, @Nullable String pkgName, String instructionSet, argument
301 mInstalld.dexopt(apkPath, uid, pkgName, instructionSet, dexoptNeeded, outputPath,
469 public void moveAb(String apkPath, String instructionSet, String outputPath) argument
473 mInstalld.moveAb(apkPath, instructionSet, outputPath);
479 public void deleteOdex(String apkPath, String instructionSet, String outputPath) argument
483 mInstalld.deleteOdex(apkPath, instructionSet, outputPath);
509 public boolean reconcileSecondaryDexFile(String apkPath, String packageName, int uid, argument
516 return mInstalld.reconcileSecondaryDexFile(apkPath, packageName, uid, isas,
H A DOtaDexoptService.java260 public void dexopt(String apkPath, int uid, @Nullable String pkgName,
274 encodeParameter(builder, apkPath);
/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl49 void dexopt(@utf8InCpp String apkPath, int uid, @nullable @utf8InCpp String packageName,
84 void moveAb(@utf8InCpp String apkPath, @utf8InCpp String instructionSet,
86 void deleteOdex(@utf8InCpp String apkPath, @utf8InCpp String instructionSet,
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaUpdateService.java151 private void loadExtractorPlugins(String apkPath) { argument
154 mMediaExtractorUpdateService.loadPlugins(apkPath);
/frameworks/base/core/java/android/webkit/
H A DWebViewLibraryLoader.java327 private static WebViewNativeLibrary getLoadFromApkPath(String apkPath, argument
332 try (ZipFile z = new ZipFile(apkPath)) {
338 return new WebViewNativeLibrary(apkPath + "!/" + entry, e.getSize());
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
H A DDexMetadataHelperTest.java233 private static boolean isDexMetadataForApk(String dmaPath, String apkPath) { argument
234 return apkPath.substring(0, apkPath.length() - APK_FILE_EXTENSION.length()).equals(
/frameworks/base/services/core/java/com/android/server/net/watchlist/
H A DWatchlistLoggingHandler.java336 final String apkPath = mPm.getPackageInfoAsUser(packageName,
340 if (TextUtils.isEmpty(apkPath)) {
341 Slog.w(TAG, "Cannot find apkPath for " + packageName);
344 return DigestUtils.getSha256Hash(new File(apkPath));
/frameworks/native/cmds/installd/
H A DInstalldNativeService.h82 binder::Status dexopt(const std::string& apkPath, int32_t uid,
121 binder::Status moveAb(const std::string& apkPath, const std::string& instructionSet,
123 binder::Status deleteOdex(const std::string& apkPath, const std::string& instructionSet,
H A DInstalldNativeService.cpp1945 binder::Status InstalldNativeService::dexopt(const std::string& apkPath, int32_t uid, argument
1956 CHECK_ARGUMENT_PATH(apkPath);
1964 const char* apk_path = apkPath.c_str();
2384 binder::Status InstalldNativeService::moveAb(const std::string& apkPath, argument
2387 CHECK_ARGUMENT_PATH(apkPath);
2391 const char* apk_path = apkPath.c_str();
2399 binder::Status InstalldNativeService::deleteOdex(const std::string& apkPath, argument
2402 CHECK_ARGUMENT_PATH(apkPath);
2406 const char* apk_path = apkPath.c_str();
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp550 com_android_internal_content_NativeLibraryHelper_openApk(JNIEnv *env, jclass, jstring apkPath) argument
552 ScopedUtfChars filePath(env, apkPath);
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java164 // TODO: refactor "codePath" to "apkPath"
1305 final String apkPath = apkFile.getAbsolutePath();
1308 if (apkPath.startsWith(MNT_EXPAND)) {
1309 final int end = apkPath.indexOf('/', MNT_EXPAND.length());
1310 volumeUuid = apkPath.substring(MNT_EXPAND.length(), end);
1316 if (DEBUG_JAR) Slog.d(TAG, "Scanning base APK: " + apkPath);
1320 final int cookie = assets.findCookieForPath(apkPath);
1323 "Failed adding asset path: " + apkPath);
1329 final Package pkg = parseBaseApk(apkPath, res, parser, flags, outError);
1332 apkPath
1873 parseBaseApk(String apkPath, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
[all...]

Completed in 501 milliseconds

12