Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp630 static Result<void> WaitForFileInternal(const std::string& path, int timeoutSec, in WaitForFileInternal() argument
639 std::chrono::system_clock::now() + std::chrono::seconds(timeoutSec); in WaitForFileInternal()
644 CF_EXPECT(WaitForFile(parentPath, timeoutSec), in WaitForFileInternal()
697 auto WaitForFile(const std::string& path, int timeoutSec) in WaitForFile() argument
698 -> decltype(WaitForFileInternal(path, timeoutSec, 0)) { in WaitForFile()
701 CF_EXPECT(WaitForFileInternal(path, timeoutSec, inotify.get())); in WaitForFile()
706 Result<void> WaitForUnixSocket(const std::string& path, int timeoutSec) { in WaitForUnixSocket() argument
708 std::chrono::system_clock::now() + std::chrono::seconds(timeoutSec); in WaitForUnixSocket()
710 CF_EXPECT(WaitForFile(path, timeoutSec), in WaitForUnixSocket()
738 int timeoutSec) { in WaitForUnixSocketListeningWithoutConnect() argument
[all …]
Dfiles.h94 Result<void> WaitForFile(const std::string& path, int timeoutSec);
95 Result<void> WaitForUnixSocket(const std::string& path, int timeoutSec);
97 int timeoutSec);