Searched defs:wait (Results 1 - 20 of 20) sorted by relevance

/system/chre/platform/linux/include/chre/target_platform/
H A Dcondition_variable_impl.h30 inline void ConditionVariable::wait(Mutex& mutex) { function in class:chre::ConditionVariable
31 mConditionVariable.wait(mutex);
/system/chre/platform/slpi/include/chre/target_platform/
H A Dcondition_variable_impl.h39 inline void ConditionVariable::wait(Mutex& mutex) { function in class:chre::ConditionVariable
71 wait(mutex);
/system/core/libunwindstack/tests/
H A DMapInfoGetElfTest.cpp377 std::atomic_bool wait; local
378 wait = true;
383 std::thread* thread = new std::thread([i, this, &wait, &info, &elf_in_threads]() {
384 while (wait)
393 // Set them all going and wait for the threads to finish.
394 wait = false;
H A DMapInfoGetLoadBiasTest.cpp98 std::atomic_bool wait; local
99 wait = true;
103 std::thread* thread = new std::thread([i, this, &wait, &load_bias_values]() {
104 while (wait)
111 // Set them all going and wait for the threads to finish.
112 wait = false;
H A DUnwindTest.cpp325 std::atomic_bool wait; local
326 wait = true;
329 std::thread* thread = new std::thread([i, &frames, &maps, &process_memory, &wait]() {
330 while (wait)
342 wait = false;
/system/core/include/utils/
H A DCondition.h43 * call wait(), then either re-wait() if things aren't quite what you want,
44 * or unlock the mutex and continue. All threads calling wait() must
69 status_t wait(Mutex& mutex);
117 inline status_t Condition::wait(Mutex& mutex) { function in class:android::Condition
/system/core/libutils/include/utils/
H A DCondition.h43 * call wait(), then either re-wait() if things aren't quite what you want,
44 * or unlock the mutex and continue. All threads calling wait() must
69 status_t wait(Mutex& mutex);
117 inline status_t Condition::wait(Mutex& mutex) { function in class:android::Condition
/system/media/audio_utils/
H A Dfifo_index.cpp36 int audio_utils_fifo_index::wait(int op, uint32_t expected, const struct timespec *timeout) function in class:audio_utils_fifo_index
155 int RefIndexCachedLoadAcquireDeferredWait::wait(int op, const struct timespec *timeout) function in class:RefIndexCachedLoadAcquireDeferredWait
160 int err = mIndex.wait(op, mValue /*expected*/, timeout);
/system/bt/stack/test/
H A Dstack_btu_test.cc40 void wait(int seconds, base::Closure callback) { function in class:TimeoutHelper
100 helper.wait(5, base::Bind(&BtuMessageLoopTest::Fail, base::Unretained(this),
125 helper.wait(5, base::Bind(&BtuMessageLoopTest::Fail, base::Unretained(this),
/system/libfmq/
H A DEventFlag.cpp178 ALOGE("Event flag wait was unsuccessful: %s\n", strerror(errno));
196 * is true, wait again on a spurious wake-up.
198 status_t EventFlag::wait(uint32_t bitmask, function in class:android::hardware::EventFlag
/system/core/init/
H A Dperfboot.py87 # The wait time used when the value of _CPU_COOL_DOWN_THRESHOLDS for
99 def wait(self): member in class:IntervalAdjuster
123 print ('Just wait %d seconds' %
173 device.wait()
184 device.wait()
193 device.wait()
213 device.wait()
245 device.wait()
359 device.wait()
360 interval_adjuster.wait()
[all...]
H A Dbuiltins.cpp40 #include <sys/wait.h>
332 bool wait = false; local
344 if (!args[na].compare("wait")) {
345 wait = true;
383 if (wait)
427 * process if anything goes wrong (crash or memory leak), and wait for
1020 {{"exec", "/system/bin/vdc", "--wait", "cryptfs", "enablefilecrypto"}, args.context});
1026 {{"exec", "/system/bin/vdc", "--wait", "cryptfs", "init_user0"}, args.context});
1080 {"wait", {1, 2, {true, do_wait}}},
/system/extras/alloc-stress/
H A Dalloc-stress.cpp15 #include <sys/wait.h>
78 void wait() { function in class:Pipe
223 p.wait();
/system/libhwbinder/vts/performance/
H A DPerfTest.h43 inline void wait() { function in class:Pipe
H A DBenchmark_throughput.cpp19 #include <sys/wait.h>
74 void wait() { function in class:Pipe
190 // Signal service started to master and wait to exit.
192 p.wait();
204 p.wait();
247 // Signal completion to master and wait.
249 p.wait();
251 // Send results to master and wait for go to exit.
253 p.wait();
289 v[i].wait();
[all...]
/system/netd/server/dns/
H A DDnsTlsSocket.cpp357 // If we have a pending query, also wait for space
440 int DnsTlsSocket::sslRead(const Slice buffer, bool wait) { argument
452 if (wait && ssl_err == SSL_ERROR_WANT_READ) {
465 wait = true; // Once a read is started, try to finish.
/system/core/libsync/tests/
H A Dsync_test.cpp171 int wait(int timeout = -1) { function in class:__anon1768::SyncFence
280 ASSERT_EQ(fence.wait(0), -1);
287 ASSERT_EQ(fence.wait(0), -1);
294 ASSERT_EQ(fence.wait(0), 0);
296 // Go even futher, and confirm wait still succeeds.
298 ASSERT_EQ(fence.wait(0), 0);
312 // Poll the fence, and wait till timeout.
393 // Spawn a thread to wait on a fence when the timeline is killed.
407 fenceSig.wait();
412 // wait fo
[all...]
/system/nfc/src/adaptation/
H A DNfcAdaptation.cc319 mCondVar.wait();
417 CondVar.wait();
697 mHalOpenCompletedEvent.wait();
702 mHalCloseCompletedEvent.wait();
834 ** Function: ThreadCondVar::wait()
836 ** Description: wait on the mCondVar
841 void ThreadCondVar::wait() { function in class:ThreadCondVar
/system/libhidl/transport/
H A DServiceManagement.cpp516 // If this process only has one binder thread, and we're calling wait() from
521 LOG(WARNING) << "Can't efficiently wait for " << mInterfaceName << "/"
566 void wait() { function in struct:android::hardware::details::Waiter
594 // here, and subsequently calling waiter->wait() will block forever.
629 waiter->wait();
739 waiter->wait();
/system/bt/bta/av/
H A Dbta_av_int.h511 uint8_t wait; /* set 0x1, when getting Caps as ACP, set 0x2, when started */ member in struct:final

Completed in 3400 milliseconds