Searched refs:candidatePath (Results 1 – 2 of 2) sorted by relevance
37 std::string candidatePath("/apex/"); in config_file_path() local38 candidatePath.append(apexName).append("/etc/").append(kDefaultConfigName); in config_file_path()39 LOG(DEBUG) << __func__ << " effect lib path " << candidatePath; in config_file_path()40 if (access(candidatePath.c_str(), R_OK) == 0) { in config_file_path()41 return std::move(candidatePath); in config_file_path()
100 std::string candidatePath("/apex/"); in resolveLibrary() local101 candidatePath.append(apexName).append(kEffectLibApexPath).append(path); in resolveLibrary()102 LOG(DEBUG) << __func__ << " effect lib path " << candidatePath; in resolveLibrary()103 if (access(candidatePath.c_str(), R_OK) == 0) { in resolveLibrary()104 *resolvedPath = std::move(candidatePath); in resolveLibrary()114 std::string candidatePath = std::string(libraryDirectory) + '/' + path; in resolveLibrary() local115 if (access(candidatePath.c_str(), R_OK) == 0) { in resolveLibrary()116 *resolvedPath = std::move(candidatePath); in resolveLibrary()