/frameworks/av/media/libmedia/aidl/android/media/ |
H A D | IMediaExtractorUpdateService.aidl | 24 void loadPlugins(@utf8InCpp String apkPath);
|
/frameworks/av/services/mediaextractor/ |
H A D | MediaExtractorUpdateService.cpp | 28 binder::Status MediaExtractorUpdateService::loadPlugins(const ::std::string& apkPath) { argument 29 ALOGV("loadPlugins %s", apkPath.c_str()); 30 MediaExtractorFactory::LoadPlugins(apkPath);
|
H A D | MediaExtractorUpdateService.h | 34 binder::Status loadPlugins(const ::std::string& apkPath);
|
/frameworks/base/core/java/android/util/apk/ |
H A D | ApkSignatureVerifier.java | 65 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 D | ApkSignatureSchemeV2Verifier.java | 399 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 D | ApkSignatureSchemeV3Verifier.java | 523 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 D | ApkSigningBlockUtils.java | 359 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 D | VerityUtils.java | 51 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 D | MediaExtractorFactory.h | 38 static void LoadPlugins(const ::std::string& apkPath); 47 const char *apkPath, List<sp<ExtractorPlugin>> &pluginList);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | MediaExtractorFactory.h | 38 static void LoadPlugins(const ::std::string& apkPath); 47 const char *apkPath, List<sp<ExtractorPlugin>> &pluginList);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaExtractorFactory.cpp | 99 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 D | DefaultSplitAssetLoader.java | 80 for (String apkPath : mSplitCodePaths) { 81 apkAssets[splitIdx++] = loadApkAssets(apkPath, mFlags);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ClassPathPackageInfoSource.java | 125 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 D | ProcessLoggingHandler.java | 71 void invalidateProcessLoggingBaseApkHash(String apkPath) { argument 73 data.putString("apkFile", apkPath);
|
H A D | Installer.java | 292 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 D | OtaDexoptService.java | 260 public void dexopt(String apkPath, int uid, @Nullable String pkgName, 274 encodeParameter(builder, apkPath);
|
/frameworks/native/cmds/installd/binder/android/os/ |
H A D | IInstalld.aidl | 49 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 D | MediaUpdateService.java | 151 private void loadExtractorPlugins(String apkPath) { argument 154 mMediaExtractorUpdateService.loadPlugins(apkPath);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewLibraryLoader.java | 327 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 D | DexMetadataHelperTest.java | 233 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 D | WatchlistLoggingHandler.java | 336 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 D | InstalldNativeService.h | 82 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 D | InstalldNativeService.cpp | 1945 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 D | com_android_internal_content_NativeLibraryHelper.cpp | 550 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 D | PackageParser.java | 164 // 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...] |