Lines Matching refs:cacheStatus
540 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()
590 ALOGE("STATUS(CHECK): Error reading cache status (%s): %s", cacheStatus.c_str(), in checkStatus()
625 status.cacheVersion, status.buildId, cacheStatus.c_str()); in checkStatus()