Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java135 public void dexopt(String apkPath, int uid, String instructionSet, int dexoptNeeded, in dexopt() argument
139 mInstaller.dexopt(apkPath, uid, instructionSet, dexoptNeeded, dexFlags, in dexopt()
143 public void dexopt(String apkPath, int uid, String pkgName, String instructionSet, in dexopt() argument
148 mInstaller.dexopt(apkPath, uid, pkgName, instructionSet, dexoptNeeded, in dexopt()
221 public void moveAb(String apkPath, String instructionSet, String outputPath) in moveAb() argument
223 mInstaller.execute("move_ab", apkPath, instructionSet, outputPath); in moveAb()
DPackageDexOptimizer.java329 for (String apkPath : pkg.getAllCodePathsExcludingResourceOnly()) { in isUsedByOtherApps()
331 apkPath = PackageManagerServiceUtils.realpath(new File(apkPath)); in isUsedByOtherApps()
337 String useMarker = apkPath.replace('/', '@'); in isUsedByOtherApps()
DProcessLoggingHandler.java71 void invalidateProcessLoggingBaseApkHash(String apkPath) { in invalidateProcessLoggingBaseApkHash() argument
73 data.putString("apkFile", apkPath); in invalidateProcessLoggingBaseApkHash()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java124 for (String apkPath : apkPaths) { in findClasses()
125 File file = new File(apkPath); in findClasses()
207 private void findClassesInApk(String apkPath, String packageName, in findClassesInApk() argument
213 dexFile = new DexFile(apkPath); in findClassesInApk()
234 "Error finding classes at apk path: " + apkPath, e); in findClassesInApk()
/frameworks/base/core/java/com/android/internal/os/
DInstallerConnection.java137 public void dexopt(String apkPath, int uid, String instructionSet, int dexoptNeeded, in dexopt() argument
140 dexopt(apkPath, uid, "*", instructionSet, dexoptNeeded, null /*outputPath*/, dexFlags, in dexopt()
144 public void dexopt(String apkPath, int uid, String pkgName, String instructionSet, in dexopt() argument
148 apkPath, in dexopt()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java888 private static int loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags) in loadApkIntoAssetManager() argument
890 if ((flags & PARSE_MUST_BE_APK) != 0 && !isApkPath(apkPath)) { in loadApkIntoAssetManager()
892 "Invalid package file: " + apkPath); in loadApkIntoAssetManager()
898 int cookie = assets.addAssetPath(apkPath); in loadApkIntoAssetManager()
901 "Failed adding asset path: " + apkPath); in loadApkIntoAssetManager()
908 final String apkPath = apkFile.getAbsolutePath(); in parseBaseApk() local
911 if (apkPath.startsWith(MNT_EXPAND)) { in parseBaseApk()
912 final int end = apkPath.indexOf('/', MNT_EXPAND.length()); in parseBaseApk()
913 volumeUuid = apkPath.substring(MNT_EXPAND.length(), end); in parseBaseApk()
919 if (DEBUG_JAR) Slog.d(TAG, "Scanning base APK: " + apkPath); in parseBaseApk()
[all …]
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java112 String apkPath = applicationInfo.sourceDir; in install() local
113 if (installedApk.contains(apkPath)) { in install()
116 installedApk.add(apkPath); in install()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java479 private static String getLoadFromApkPath(String apkPath, in getLoadFromApkPath() argument
483 try (ZipFile z = new ZipFile(apkPath)) { in getLoadFromApkPath()
489 return apkPath + "!/" + entry; in getLoadFromApkPath()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp550 com_android_internal_content_NativeLibraryHelper_openApk(JNIEnv *env, jclass, jstring apkPath) in com_android_internal_content_NativeLibraryHelper_openApk() argument
552 ScopedUtfChars filePath(env, apkPath); in com_android_internal_content_NativeLibraryHelper_openApk()