Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/libs/image_aggregator/
Dsparse_image_utils.cc36 const std::string& tmp_lock_image_path) { in ReleaseLock() argument
40 LOG(FATAL) << "It failed to unlock file " << tmp_lock_image_path; in ReleaseLock()
44 bool AcquireLock(SharedFD& fd, const std::string& tmp_lock_image_path) { in AcquireLock() argument
45 fd = SharedFD::Open(tmp_lock_image_path.c_str(), in AcquireLock()
48 LOG(FATAL) << tmp_lock_image_path << " file open failed"; in AcquireLock()
73 std::string tmp_lock_image_path = image_path + ".lock"; in ConvertToRawImage() local
75 if(AcquireLock(fd, tmp_lock_image_path) == false) { in ConvertToRawImage()
112 ReleaseLock(fd, tmp_lock_image_path); in ConvertToRawImage()