Lines Matching defs:apk_path
360 int ret = dexopt(package_parameters_[0], // apk_path
506 const char *apk_path,
512 file_name_start = strrchr(apk_path, '/');
514 ALOGE("apk_path '%s' has no '/'s in it\n", apk_path);
519 ALOGE("apk_path '%s' has no extension\n", apk_path);
535 * Computes the odex file for the given apk_path and instruction_set.
540 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path,
542 if (StringPrintf("%soat/%s/odex.b", apk_path, instruction_set).length() + 1 > PKG_PATH_MAX) {
543 ALOGE("apk_path '%s' may be too long to form odex file path.\n", apk_path);
547 const char *path_end = strrchr(apk_path, '/');
549 ALOGE("apk_path '%s' has no '/'s in it?!\n", apk_path);
552 std::string path_component(apk_path, path_end - apk_path);
557 ALOGE("apk_path '%s' has no extension.\n", apk_path);