Home
last modified time | relevance | path

Searched refs:command_queue_ (Results 1 – 6 of 6) sorted by relevance

/system/bt/gd/security/test/
Dfake_hci_layer.h71 command_queue_.push(std::move(command_queue_entry)); in EnqueueCommand()
77 command_queue_.push(std::move(command_queue_entry)); in EnqueueCommand()
81 EXPECT_FALSE(command_queue_.empty()); in GetLastCommand()
82 auto last = std::move(command_queue_.front()); in GetLastCommand()
83 command_queue_.pop(); in GetLastCommand()
111 std::queue<std::unique_ptr<CommandQueueEntry>> command_queue_; variable
/system/bt/gd/hci/
Dhci_layer.cc219 command_queue_.clear(); in Stop()
246 ASSERT_LOG(!command_queue_.empty(), "Unexpected status event with OpCode 0x%02hx (%s)", op_code, in command_status_callback()
250 ASSERT_LOG(command_queue_.front().waiting_for_status_, in command_status_callback()
253 auto caller_handler = command_queue_.front().caller_handler; in command_status_callback()
254 …caller_handler->Post(BindOnce(std::move(command_queue_.front().on_status), std::move(status_view))… in command_status_callback()
255 command_queue_.pop_front(); in command_status_callback()
270 …ASSERT_LOG(command_queue_.size() > 0, "Unexpected command complete with OpCode 0x%02hx (%s)", op_c… in command_complete_callback()
274 ASSERT_LOG(!command_queue_.front().waiting_for_status_, in command_complete_callback()
277 auto caller_handler = command_queue_.front().caller_handler; in command_complete_callback()
278 caller_handler->Post(BindOnce(std::move(command_queue_.front().on_complete), complete_view)); in command_complete_callback()
[all …]
Dle_advertising_manager_test.cc88 command_queue_.push_back(packet_view); in EnqueueCommand()
95 command_promise_->set_value(command_queue_.size()); in EnqueueCommand()
104 command_queue_.push_back(packet_view); in EnqueueCommand()
115 command_promise_->set_value(command_queue_.size()); in EnqueueCommand()
136 ASSERT(!command_queue_.empty()); in GetCommandPacket()
137 CommandPacketView command_packet_view = CommandPacketView::Create(command_queue_.front()); in GetCommandPacket()
138 command_queue_.pop_front(); in GetCommandPacket()
200 std::list<CommandPacketView> command_queue_; member in bluetooth::hci::__anone484375d0111::TestHciLayer
Dle_scanning_manager_test.cc79 command_queue_.push(std::move(command)); in EnqueueCommand()
89 command_queue_.push(std::move(command)); in EnqueueCommand()
104 ASSERT(!command_queue_.empty()); in GetLastCommand()
105 auto last = std::move(command_queue_.front()); in GetLastCommand()
106 command_queue_.pop(); in GetLastCommand()
174 std::queue<std::unique_ptr<CommandPacketBuilder>> command_queue_; member in bluetooth::hci::__anonf06b940e0111::TestHciLayer
Dcontroller_test.cc186 command_queue_.push(command); in HandleCommand()
235 while (command_queue_.size() == 0) { in GetCommand()
240 ASSERT(command_queue_.size() > 0); in GetCommand()
241 CommandPacketView command = command_queue_.front(); in GetCommand()
243 command_queue_.pop(); in GetCommand()
260 std::queue<CommandPacketView> command_queue_; member in bluetooth::hci::__anon885062770111::TestHciLayer
Dacl_manager_test.cc110 command_queue_.push(std::move(command)); in EnqueueCommand()
120 command_queue_.push(std::move(command)); in EnqueueCommand()
135 if (command_queue_.size() == 0) { in GetLastCommand()
138 auto last = std::move(command_queue_.front()); in GetLastCommand()
139 command_queue_.pop(); in GetLastCommand()
148 ASSERT(command_queue_.size() > 0); in GetCommandPacket()
263 std::queue<std::unique_ptr<CommandPacketBuilder>> command_queue_; member in bluetooth::hci::__anon7409e7fd0111::TestHciLayer