Home
last modified time | relevance | path

Searched refs:candidatePath (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/audio/aidl/default/
DEffectMain.cpp37 std::string candidatePath("/apex/"); in config_file_path() local
38 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()
DEffectConfig.cpp100 std::string candidatePath("/apex/"); in resolveLibrary() local
101 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() local
115 if (access(candidatePath.c_str(), R_OK) == 0) { in resolveLibrary()
116 *resolvedPath = std::move(candidatePath); in resolveLibrary()