Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dlink_layer_packet_builder_test.cc187 InquiryResponseView inquiry_response = InquiryResponseView::GetInquiryResponse(view); in TEST_F() local
188 ASSERT_EQ(inquiry_response.GetClockOffset(), offset); in TEST_F()
189 ASSERT_EQ(inquiry_response.GetType(), Inquiry::InquiryType::STANDARD); in TEST_F()
190 ASSERT_EQ(inquiry_response.GetPageScanRepetitionMode(), mode); in TEST_F()
191 ASSERT_EQ(inquiry_response.GetClassOfDevice(), class_of_device); in TEST_F()
192 ASSERT_EQ(inquiry_response.GetClockOffset(), offset); in TEST_F()
212 InquiryResponseView inquiry_response = InquiryResponseView::GetInquiryResponse(view); in TEST_F() local
213 ASSERT_EQ(inquiry_response.GetClockOffset(), offset); in TEST_F()
214 ASSERT_EQ(inquiry_response.GetType(), Inquiry::InquiryType::RSSI); in TEST_F()
215 ASSERT_EQ(inquiry_response.GetPageScanRepetitionMode(), mode); in TEST_F()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc318 std::unique_ptr<InquiryResponseBuilder> inquiry_response; in IncomingInquiryPacket() local
321 inquiry_response = InquiryResponseBuilder::CreateStandard( in IncomingInquiryPacket()
326 inquiry_response = in IncomingInquiryPacket()
332 inquiry_response = InquiryResponseBuilder::CreateExtended( in IncomingInquiryPacket()
340 …SendLinkLayerPacket(LinkLayerPacketBuilder::WrapInquiryResponse(std::move(inquiry_response), prope… in IncomingInquiryPacket()
346 InquiryResponseView inquiry_response = InquiryResponseView::GetInquiryResponse(incoming); in IncomingInquiryResponsePacket() local
349 switch (inquiry_response.GetType()) { in IncomingInquiryResponsePacket()
355 …inquiry_result->AddInquiryResult(incoming.GetSourceAddress(), inquiry_response.GetPageScanRepetiti… in IncomingInquiryResponsePacket()
356inquiry_response.GetClassOfDevice(), inquiry_response.GetClockOffset()); in IncomingInquiryResponsePacket()
364 incoming.GetSourceAddress(), inquiry_response.GetPageScanRepetitionMode(), in IncomingInquiryResponsePacket()
[all …]
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dlink_layer_packet_builder.cc77 …std::unique_ptr<InquiryResponseBuilder> inquiry_response, const Address& source, const Address& de… in WrapInquiryResponse() argument
79 …new LinkLayerPacketBuilder(Link::PacketType::INQUIRY_RESPONSE, std::move(inquiry_response), source… in WrapInquiryResponse()
Dlink_layer_packet_builder.h60 …std::unique_ptr<InquiryResponseBuilder> inquiry_response, const Address& source, const Address& de…