Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_locking_unittest.cc44 bool SignalEvent(const FilePath& signal_dir, const char* signal_file) { in SignalEvent() argument
45 File file(signal_dir.AppendASCII(signal_file), in SignalEvent()
51 bool CheckEvent(const FilePath& signal_dir, const char* signal_file) { in CheckEvent() argument
52 File file(signal_dir.AppendASCII(signal_file), in CheckEvent()
59 const char* signal_file, in WaitForEventWithTimeout() argument
62 while (!CheckEvent(signal_dir, signal_file)) { in WaitForEventWithTimeout()
71 bool WaitForEvent(const FilePath& signal_dir, const char* signal_file) { in WaitForEvent() argument
72 return WaitForEventWithTimeout(signal_dir, signal_file, in WaitForEvent()
138 bool SignalEvent(const char* signal_file) { in SignalEvent() argument
139 return ::SignalEvent(temp_dir_.GetPath(), signal_file); in SignalEvent()
[all …]
/external/libchrome/base/process/
Dprocess_util_unittest.cc198 const std::string signal_file = in TEST_F() local
200 remove(signal_file.c_str()); in TEST_F()
203 SignalChildren(signal_file.c_str()); in TEST_F()
207 remove(signal_file.c_str()); in TEST_F()
212 const std::string signal_file = in TEST_F() local
214 remove(signal_file.c_str()); in TEST_F()
223 SignalChildren(signal_file.c_str()); in TEST_F()
229 remove(signal_file.c_str()); in TEST_F()
244 const std::string signal_file = in TEST_F() local
246 remove(signal_file.c_str()); in TEST_F()
[all …]
Dprocess_metrics_unittest.cc534 bool SignalEvent(const FilePath& signal_dir, const char* signal_file) { in SignalEvent() argument
535 File file(signal_dir.AppendASCII(signal_file), in SignalEvent()
541 bool CheckEvent(const FilePath& signal_dir, const char* signal_file) { in CheckEvent() argument
542 File file(signal_dir.AppendASCII(signal_file), in CheckEvent()
548 void WaitForEvent(const FilePath& signal_dir, const char* signal_file) { in WaitForEvent() argument
549 while (!CheckEvent(signal_dir, signal_file)) in WaitForEvent()
/external/autotest/client/site_tests/platform_CryptohomeStress/
Dplatform_CryptohomeStress.py23 for signal_file in [SUSPEND_END]:
24 if os.path.exists(signal_file):
25 logging.warning('removing existing stop file %s', signal_file)
26 os.unlink(signal_file)