Home
last modified time | relevance | path

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

/frameworks/hardware/interfaces/sensorservice/utils/
Ddirect_channel_buffer_reader_test.cc43 cv_.notify_one(); in ReadOneSample()
47 cv_.wait(lk, [this] { return !should_block_reads_ || num_reads_unblocked_ > 0; }); in ReadOneSample()
52 cv_.notify_one(); in ReadOneSample()
62 cv_.notify_one(); in BlockReads()
69 cv_.notify_one(); in UnblockReads()
78 cv_.notify_one(); in UnblockAndWaitForReads()
85 cv_.wait(lk, [this] { return num_reads_unblocked_ == 0 && reader_waiting_; }); in UnblockAndWaitForReads()
91 std::condition_variable cv_; member in __anonb64ca7aa0111::TestableDirectChannelBufferReader
/frameworks/base/services/core/jni/
Dcom_android_server_adb_AdbDebuggingManager.cpp43 std::condition_variable cv_; member
56 p->cv_.notify_one(); in ResultCallback()
98 sWaiter->cv_.wait(lock, [&]() { return sWaiter->is_valid_.has_value(); }); in native_pairing_wait()
/frameworks/native/libs/tracing_perfetto/tests/
Dutils.h54 cv_.notify_one(); in Notify()
58 cv_.wait(lock, [this] { return notified_; }); in WaitForNotification()
68 std::condition_variable cv_; variable
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp55 cv_.notify_all(); in notify()
61 cv_.wait(lk, [this] { return notification_arrived_; }); in wait_vsync_notify()
70 std::condition_variable mutable cv_; member