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

/frameworks/base/core/java/android/content/pm/split/
H A DDefaultSplitAssetLoader.java46 private static void loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags) argument
48 if ((flags & PackageParser.PARSE_MUST_BE_APK) != 0 && !PackageParser.isApkPath(apkPath)) {
50 "Invalid package file: " + apkPath);
53 if (assets.addAssetPath(apkPath) == 0) {
56 "Failed adding asset path: " + apkPath);
73 for (String apkPath : mSplitCodePaths) {
74 loadApkIntoAssetManager(assets, apkPath, mFlags);
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java124 for (String apkPath : apkPaths) {
125 File file = new File(apkPath);
207 private void findClassesInApk(String apkPath, String packageName, argument
213 dexFile = new DexFile(apkPath);
234 "Error finding classes at apk path: " + apkPath, e);
/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl49 void dexopt(@utf8InCpp String apkPath, int uid, @nullable @utf8InCpp String packageName,
74 void moveAb(@utf8InCpp String apkPath, @utf8InCpp String instructionSet,
76 void deleteOdex(@utf8InCpp String apkPath, @utf8InCpp String instructionSet,
/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java279 public void dexopt(String apkPath, int uid, @Nullable String pkgName, String instructionSet, argument
287 mInstalld.dexopt(apkPath, uid, pkgName, instructionSet, dexoptNeeded, outputPath,
443 public void moveAb(String apkPath, String instructionSet, String outputPath) argument
447 mInstalld.moveAb(apkPath, instructionSet, outputPath);
453 public void deleteOdex(String apkPath, String instructionSet, String outputPath) argument
457 mInstalld.deleteOdex(apkPath, instructionSet, outputPath);
463 public boolean reconcileSecondaryDexFile(String apkPath, String packageName, int uid, argument
470 return mInstalld.reconcileSecondaryDexFile(apkPath, packageName, uid, isas,
H A DProcessLoggingHandler.java71 void invalidateProcessLoggingBaseApkHash(String apkPath) { argument
73 data.putString("apkFile", apkPath);
H A DOtaDexoptService.java285 public void dexopt(String apkPath, int uid, @Nullable String pkgName,
296 encodeParameter(builder, apkPath);
/frameworks/native/cmds/installd/
H A DInstalldNativeService.h82 binder::Status dexopt(const std::string& apkPath, int32_t uid,
109 binder::Status moveAb(const std::string& apkPath, const std::string& instructionSet,
111 binder::Status deleteOdex(const std::string& apkPath, const std::string& instructionSet,
H A DInstalldNativeService.cpp1800 binder::Status InstalldNativeService::dexopt(const std::string& apkPath, int32_t uid, argument
1813 const char* apk_path = apkPath.c_str();
2238 binder::Status InstalldNativeService::moveAb(const std::string& apkPath, argument
2243 const char* apk_path = apkPath.c_str();
2251 binder::Status InstalldNativeService::deleteOdex(const std::string& apkPath, argument
2256 const char* apk_path = apkPath.c_str();
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDex.java110 String apkPath = applicationInfo.sourceDir;
111 if (installedApk.contains(apkPath)) {
114 installedApk.add(apkPath);
/frameworks/base/core/java/android/webkit/
H A DWebViewFactory.java553 private static String getLoadFromApkPath(String apkPath, argument
557 try (ZipFile z = new ZipFile(apkPath)) {
563 return apkPath + "!/" + entry;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp552 com_android_internal_content_NativeLibraryHelper_openApk(JNIEnv *env, jclass, jstring apkPath) argument
554 ScopedUtfChars filePath(env, apkPath);
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java163 // TODO: refactor "codePath" to "apkPath"
1221 private static int loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags) argument
1223 if ((flags & PARSE_MUST_BE_APK) != 0 && !isApkPath(apkPath)) {
1225 "Invalid package file: " + apkPath);
1231 int cookie = assets.addAssetPath(apkPath);
1234 "Failed adding asset path: " + apkPath);
1241 final String apkPath = apkFile.getAbsolutePath();
1244 if (apkPath.startsWith(MNT_EXPAND)) {
1245 final int end = apkPath.indexOf('/', MNT_EXPAND.length());
1246 volumeUuid = apkPath
1973 parseBaseApk(String apkPath, Resources res, XmlResourceParser parser, int flags, String[] outError) argument
[all...]

Completed in 277 milliseconds