Searched refs:dirName (Results 1 – 1 of 1) sorted by relevance
80 std::string dirName(saneDirName(fileName)); in directoryIsValid() local83 if (stat(dirName.c_str(), &sb) < 0) { in directoryIsValid()84 LOGE("Could not stat dex cache directory '%s': %s", dirName.c_str(), strerror(errno)); in directoryIsValid()89 LOGE("Dex cache directory isn't a directory: %s", dirName.c_str()); in directoryIsValid()93 if (access(dirName.c_str(), W_OK) < 0) { in directoryIsValid()94 LOGE("Dex cache directory isn't writable: %s", dirName.c_str()); in directoryIsValid()98 if (access(dirName.c_str(), R_OK) < 0) { in directoryIsValid()99 LOGE("Dex cache directory isn't readable: %s", dirName.c_str()); in directoryIsValid()