Lines Matching refs:command
59 void EnqueueCommand(std::unique_ptr<CommandPacketBuilder> command, in EnqueueCommand() argument
61 …->Post(common::BindOnce(&TestHciLayer::HandleCommand, common::Unretained(this), std::move(command), in EnqueueCommand()
65 void EnqueueCommand(std::unique_ptr<CommandPacketBuilder> command, in EnqueueCommand() argument
73 CommandPacketView command = CommandPacketView::Create(packet_view); in HandleCommand() local
74 ASSERT_TRUE(command.IsValid()); in HandleCommand()
78 switch (command.GetOpCode()) { in HandleCommand()
110 ReadLocalExtendedFeaturesView read_command = ReadLocalExtendedFeaturesView::Create(command); in HandleCommand()
177 auto view = SetEventMaskView::Create(command); in HandleCommand()
186 command_queue_.push(command); in HandleCommand()
242 CommandPacketView command = command_queue_.front(); in GetCommand() local
243 EXPECT_EQ(command.GetOpCode(), op_code); in GetCommand()
245 return command; in GetCommand()
342 auto command = ResetView::Create(packet); in TEST_F() local
343 ASSERT_TRUE(command.IsValid()); in TEST_F()
377 auto command = HostBufferSizeView::Create(packet); in TEST_F() local
378 ASSERT_TRUE(command.IsValid()); in TEST_F()
379 ASSERT_EQ(command.GetHostAclDataPacketLength(), 0xFF00); in TEST_F()
380 ASSERT_EQ(command.GetHostSynchronousDataPacketLength(), 0xF1); in TEST_F()
381 ASSERT_EQ(command.GetHostTotalNumAclDataPackets(), 0xFF02); in TEST_F()
382 ASSERT_EQ(command.GetHostTotalNumSynchronousDataPackets(), 0xFF03); in TEST_F()
388 auto command = LeSetEventMaskView::Create(packet); in TEST_F() local
389 ASSERT_TRUE(command.IsValid()); in TEST_F()
390 ASSERT_EQ(command.GetLeEventMask(), 0x000000000000001F); in TEST_F()