Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DMultifileBlobCache.cpp540 std::string cacheStatus = baseDir + "/" + kMultifileBlobCacheStatusFile; in createStatus() local
541 int fd = open(cacheStatus.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in createStatus()
543 ALOGE("STATUS(CREATE): Unable to create status file: %s, error: %s", cacheStatus.c_str(), in createStatus()
552 ALOGE("STATUS(CREATE): Error writing cache status file: %s, error %s", cacheStatus.c_str(), in createStatus()
557 ALOGV("STATUS(CREATE): Created status file: %s", cacheStatus.c_str()); in createStatus()
562 std::string cacheStatus = baseDir + "/" + kMultifileBlobCacheStatusFile; in checkStatus() local
566 if (stat(cacheStatus.c_str(), &st) != 0) { in checkStatus()
567 ALOGV("STATUS(CHECK): Status file (%s) missing", cacheStatus.c_str()); in checkStatus()
578 int fd = open(cacheStatus.c_str(), O_RDONLY); in checkStatus()
581 cacheStatus.c_str(), std::strerror(errno)); in checkStatus()
[all …]