Home
last modified time | relevance | path

Searched refs:apkPath (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DInstallerConnection.java93 public int dexopt(String apkPath, int uid, boolean isPublic, String instructionSet) { in dexopt() argument
94 return dexopt(apkPath, uid, isPublic, "*", instructionSet, false); in dexopt()
97 public int dexopt(String apkPath, int uid, boolean isPublic, String pkgName, in dexopt() argument
101 builder.append(apkPath); in dexopt()
114 public int patchoat(String apkPath, int uid, boolean isPublic, String instructionSet) { in patchoat() argument
115 return patchoat(apkPath, uid, isPublic, "*", instructionSet); in patchoat()
118 public int patchoat(String apkPath, int uid, boolean isPublic, String pkgName, in patchoat() argument
122 builder.append(apkPath); in patchoat()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java57 public int patchoat(String apkPath, int uid, boolean isPublic, String pkgName, in patchoat() argument
64 return mInstaller.patchoat(apkPath, uid, isPublic, pkgName, instructionSet); in patchoat()
67 public int patchoat(String apkPath, int uid, boolean isPublic, String instructionSet) { in patchoat() argument
73 return mInstaller.patchoat(apkPath, uid, isPublic, instructionSet); in patchoat()
76 public int dexopt(String apkPath, int uid, boolean isPublic, String instructionSet) { in dexopt() argument
82 return mInstaller.dexopt(apkPath, uid, isPublic, instructionSet); in dexopt()
85 public int dexopt(String apkPath, int uid, boolean isPublic, String pkgName, in dexopt() argument
92 return mInstaller.dexopt(apkPath, uid, isPublic, pkgName, instructionSet, vmSafeMode); in dexopt()
246 public int getSizeInfo(String pkgName, int persona, String apkPath, String libDirPath, in getSizeInfo() argument
261 builder.append(apkPath); in getSizeInfo()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java123 for (String apkPath : apkPaths) { in findClasses()
124 File file = new File(apkPath); in findClasses()
206 private void findClassesInApk(String apkPath, String packageName, in findClassesInApk() argument
212 dexFile = new DexFile(apkPath); in findClassesInApk()
233 "Error finding classes at apk path: " + apkPath, e); in findClassesInApk()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java111 String apkPath = applicationInfo.sourceDir; in install() local
112 if (installedApk.contains(apkPath)) { in install()
115 installedApk.add(apkPath); in install()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java845 private static int loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags) in loadApkIntoAssetManager() argument
847 if ((flags & PARSE_MUST_BE_APK) != 0 && !isApkPath(apkPath)) { in loadApkIntoAssetManager()
849 "Invalid package file: " + apkPath); in loadApkIntoAssetManager()
855 int cookie = assets.addAssetPath(apkPath); in loadApkIntoAssetManager()
858 "Failed adding asset path: " + apkPath); in loadApkIntoAssetManager()
865 final String apkPath = apkFile.getAbsolutePath(); in parseBaseApk() local
870 if (DEBUG_JAR) Slog.d(TAG, "Scanning base APK: " + apkPath); in parseBaseApk()
872 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags); in parseBaseApk()
886 apkPath + " (at " + parser.getPositionDescription() + "): " + outError[0]); in parseBaseApk()
889 pkg.baseCodePath = apkPath; in parseBaseApk()
[all …]
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp530 com_android_internal_content_NativeLibraryHelper_openApk(JNIEnv *env, jclass, jstring apkPath) in com_android_internal_content_NativeLibraryHelper_openApk() argument
532 ScopedUtfChars filePath(env, apkPath); in com_android_internal_content_NativeLibraryHelper_openApk()