Home
last modified time | relevance | path

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

/packages/modules/adb/fdevent/
Dfdevent_test.cpp61 handler->queue_.push(c); in FdEventCallback()
66 ASSERT_FALSE(handler->queue_.empty()); in FdEventCallback()
67 char c = handler->queue_.front(); in FdEventCallback()
68 handler->queue_.pop(); in FdEventCallback()
70 if (handler->queue_.empty()) { in FdEventCallback()
84 handler->queue_.push(c); in FdEventNewCallback()
89 ASSERT_FALSE(handler->queue_.empty()); in FdEventNewCallback()
90 char c = handler->queue_.front(); in FdEventNewCallback()
91 handler->queue_.pop(); in FdEventNewCallback()
93 if (handler->queue_.empty()) { in FdEventNewCallback()
[all …]
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp198 cv_.wait(lock, [this] { return !queue_.empty(); }); in MessageLoopImpl()
199 message = queue_.front(); in MessageLoopImpl()
200 queue_.pop(); in MessageLoopImpl()
227 queue_.push(message); in SendMessage()
234 std::queue<Message> queue_; member in FAdviser