Searched defs:apk_path (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/cmds/idmap/
H A Dscan.cpp27 apk_path(a), idmap_path(i), priority(p) {}
34 String8 apk_path; member in struct:__anon1028::Overlay
61 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string());
/frameworks/native/cmds/installd/
H A Dinstalld.cpp56 const char *apk_path,
61 file_name_start = strrchr(apk_path, '/');
63 SLOGE("apk_path '%s' has no '/'s in it\n", apk_path);
66 file_name_end = strrchr(apk_path, '.');
68 SLOGE("apk_path '%s' has no extension\n", apk_path);
84 * Computes the odex file for the given apk_path and instruction_set.
90 const char *apk_path,
92 if (strlen(apk_path)
54 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument
89 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument
[all...]
H A Dotapreopt.cpp170 const char *apk_path; member in struct:android::installd::OTAPreoptService::Parameters
325 + 1 // apk_path
381 package_parameters_.apk_path = param;
462 package_parameters_.apk_path = param;
772 // 1) Does the apk_path start with the value of ANDROID_ROOT? (~in the system image)
775 // 2) If you replace the name in the apk_path with "oat," does the path exist?
787 const char* apk_path = package_parameters_.apk_path; local
788 CHECK(apk_path != nullptr);
789 if (StartsWith(apk_path, android_root
1010 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument
1049 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument
[all...]
H A DInstalldNativeService.cpp1813 const char* apk_path = apkPath.c_str(); local
1821 int res = android::installd::dexopt(apk_path, uid, pkgname, instruction_set, dexoptNeeded,
2243 const char* apk_path = apkPath.c_str(); local
2247 bool success = move_ab(apk_path, instruction_set, oat_dir);
2256 const char* apk_path = apkPath.c_str(); local
2260 bool res = delete_odex(apk_path, instruction_set, oat_dir);
H A Ddexopt.cpp929 static bool create_oat_out_path(const char* apk_path, const char* instruction_set, argument
935 if (strlen(apk_path) >= (PKG_PATH_MAX - 8)) {
936 ALOGE("apk_path too long '%s'\n", apk_path);
946 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) {
950 if (!create_cache_path(out_oat_path, apk_path, instruction_set)) {
1155 bool open_vdex_files(const char* apk_path, const char* out_oat_path, int dexopt_needed, argument
1179 if (calculate_odex_file_path(in_odex_path, apk_path, instruction_set)) {
1182 ALOGE("installd cannot compute input vdex location for '%s'\n", apk_path);
1248 Dex2oatFileWrapper open_oat_out_file(const char* apk_path, cons argument
1269 update_out_oat_access_times(const char* apk_path, const char* out_oat_path) argument
1800 move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) argument
1870 delete_odex(const char* apk_path, const char* instruction_set, const char* oat_dir) argument
[all...]

Completed in 703 milliseconds