Home
last modified time | relevance | path

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

/system/bt/gd/security/test/
Dfake_hci_layer.h67 command_queue_.push(std::move(command_queue_entry)); in EnqueueCommand()
73 command_queue_.push(std::move(command_queue_entry)); in EnqueueCommand()
77 EXPECT_FALSE(command_queue_.empty()); in GetLastCommand()
78 auto last = std::move(command_queue_.front()); in GetLastCommand()
79 command_queue_.pop(); in GetLastCommand()
107 std::queue<std::unique_ptr<CommandQueueEntry>> command_queue_; variable
/system/bt/gd/hci/
Dhci_layer.cc94 command_queue_.clear(); in ~impl()
109 command_queue_.emplace_back(move(command), move(on_response)); in enqueue_command()
133 …ASSERT_LOG(!command_queue_.empty(), "Unexpected %s event with OpCode 0x%02hx (%s)", logging_id.c_s… in handle_command_response()
137 …ASSERT_LOG(command_queue_.front().waiting_for_status_ == is_status, "0x%02hx (%s) was not expectin… in handle_command_response()
140 command_queue_.front().GetCallback<TResponse>()->Invoke(move(response_view)); in handle_command_response()
141 command_queue_.pop_front(); in handle_command_response()
154 if (command_queue_.size() == 0) { in send_next_command()
159 command_queue_.front().command->Serialize(bi); in send_next_command()
213 std::list<CommandQueueEntry> command_queue_; member
Dle_advertising_manager_test.cc82 command_queue_.push_back(packet_view); in EnqueueCommand()
89 command_promise_->set_value(command_queue_.size()); in EnqueueCommand()
98 command_queue_.push_back(packet_view); in EnqueueCommand()
109 command_promise_->set_value(command_queue_.size()); in EnqueueCommand()
130 if (command_queue_.empty()) { in GetCommandPacket()
134 CommandPacketView command_packet_view = CommandPacketView::Create(command_queue_.front()); in GetCommandPacket()
135 command_queue_.pop_front(); in GetCommandPacket()
201 std::list<CommandPacketView> command_queue_; member in bluetooth::hci::__anon003212320111::TestHciLayer
Dle_scanning_manager_test.cc73 command_queue_.push(std::move(command)); in EnqueueCommand()
83 command_queue_.push(std::move(command)); in EnqueueCommand()
98 if (command_queue_.empty()) { in GetLastCommand()
101 auto last = std::move(command_queue_.front()); in GetLastCommand()
102 command_queue_.pop(); in GetLastCommand()
173 std::queue<std::unique_ptr<CommandPacketBuilder>> command_queue_; member in bluetooth::hci::__anone6f257030111::TestHciLayer
Dcontroller_test.cc186 command_queue_.push(command); in HandleCommand()
233 while (command_queue_.size() == 0) { in GetCommand()
238 EXPECT_TRUE(command_queue_.size() > 0); in GetCommand()
239 if (command_queue_.empty()) { in GetCommand()
242 CommandPacketView command = command_queue_.front(); in GetCommand()
244 command_queue_.pop(); in GetCommand()
260 std::queue<CommandPacketView> command_queue_; member in bluetooth::hci::__anonea0b95cc0111::TestHciLayer
Dle_address_manager_test.cc48 command_queue_.push(std::move(command)); in EnqueueCommand()
63 if (command_queue_.size() == 0) { in GetLastCommand()
66 auto last = std::move(command_queue_.front()); in GetLastCommand()
67 command_queue_.pop(); in GetLastCommand()
76 if (command_queue_.empty()) { in GetCommandPacket()
106 std::queue<std::unique_ptr<CommandPacketBuilder>> command_queue_; member in bluetooth::hci::TestHciLayer
Dacl_manager_test.cc120 command_queue_.push(std::move(command)); in EnqueueCommand()
130 command_queue_.push(std::move(command)); in EnqueueCommand()
145 if (command_queue_.size() == 0) { in GetLastCommand()
148 auto last = std::move(command_queue_.front()); in GetLastCommand()
149 command_queue_.pop(); in GetLastCommand()
158 if (command_queue_.empty()) { in GetCommandPacket()
171 if (!command_queue_.empty() && command_future_ != nullptr) { in GetLastCommandPacket()
178 if (command_queue_.empty()) { in GetLastCommandPacket()
298 std::queue<std::unique_ptr<CommandPacketBuilder>> command_queue_; member in bluetooth::hci::acl_manager::__anon0d2b85f20111::TestHciLayer