Searched refs:gap_data (Results 1 – 13 of 13) sorted by relevance
/system/bt/gd/hci/ |
D | hci_packets_test.cc | 238 auto gap_data = view.GetExtendedInquiryResponse(); in TEST() local 239 ASSERT_GE(gap_data.size(), 4); in TEST() 240 ASSERT_EQ(gap_data[0].data_type_, GapDataType::COMPLETE_LOCAL_NAME); in TEST() 241 ASSERT_EQ(gap_data[0].data_.size(), 10); in TEST() 242 ASSERT_EQ(gap_data[1].data_type_, GapDataType::COMPLETE_LIST_16_BIT_UUIDS); in TEST() 243 ASSERT_EQ(gap_data[1].data_.size(), 24); in TEST() 244 ASSERT_EQ(gap_data[2].data_type_, GapDataType::COMPLETE_LIST_32_BIT_UUIDS); in TEST() 245 ASSERT_EQ(gap_data[2].data_.size(), 0); in TEST() 246 ASSERT_EQ(gap_data[3].data_type_, GapDataType::COMPLETE_LIST_128_BIT_UUIDS); in TEST() 247 ASSERT_EQ(gap_data[3].data_.size(), 128); in TEST() [all …]
|
D | le_scanning_manager_test.cc | 321 std::vector<GapData> gap_data{}; in TEST_F() local 325 gap_data.push_back(data_item); in TEST_F() 328 gap_data.push_back(data_item); in TEST_F() 329 report.advertising_data_ = gap_data; in TEST_F() 348 std::vector<GapData> gap_data{}; in TEST_F() local 352 gap_data.push_back(data_item); in TEST_F() 355 gap_data.push_back(data_item); in TEST_F() 356 report.advertising_data_ = gap_data; in TEST_F() 378 std::vector<GapData> gap_data{}; in TEST_F() local 382 gap_data.push_back(data_item); in TEST_F() [all …]
|
D | le_advertising_manager_test.cc | 359 std::vector<GapData> gap_data{}; in TEST_F() local 363 gap_data.push_back(data_item); in TEST_F() 366 gap_data.push_back(data_item); in TEST_F() 367 advertising_config.advertisement = gap_data; in TEST_F() 368 advertising_config.scan_response = gap_data; in TEST_F() 402 std::vector<GapData> gap_data{}; in TEST_F() local 406 gap_data.push_back(data_item); in TEST_F() 409 gap_data.push_back(data_item); in TEST_F() 410 advertising_config.advertisement = gap_data; in TEST_F() 411 advertising_config.scan_response = gap_data; in TEST_F() [all …]
|
/system/bt/main/shim/ |
D | btm.cc | 166 for (auto gap_data : le_report->gap_data_) { in on_advertisements() local 167 *p++ = gap_data.data_.size() + sizeof(gap_data.data_type_); in on_advertisements() 168 *p++ = static_cast<uint8_t>(gap_data.data_type_); in on_advertisements() 169 p = (uint8_t*)memcpy(p, &gap_data.data_[0], gap_data.data_.size()) + in on_advertisements() 170 gap_data.data_.size(); in on_advertisements() 307 for (auto gap_data : view.GetExtendedInquiryResponse()) { in OnExtendedInquiryResult() local 308 *p++ = gap_data.data_.size() + sizeof(gap_data.data_type_); in OnExtendedInquiryResult() 309 *p++ = static_cast<uint8_t>(gap_data.data_type_); in OnExtendedInquiryResult() 310 p = (uint8_t*)memcpy(p, &gap_data.data_[0], gap_data.data_.size()) + in OnExtendedInquiryResult() 311 gap_data.data_.size(); in OnExtendedInquiryResult()
|
/system/bt/gd/hci/cert/ |
D | le_scanning_with_security_test.py | 70 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 72 advertisement=[gap_data],
|
D | le_advertising_manager_test.py | 76 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 78 advertisement=[gap_data],
|
D | le_scanning_manager_test.py | 81 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 83 advertisement=[gap_data],
|
D | le_acl_manager_test.py | 222 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 224 advertisement=[gap_data],
|
/system/bt/gd/hci/facade/ |
D | le_advertising_manager_facade.cc | 45 hci::GapData gap_data; in GapDataFromProto() local 48 auto after = hci::GapData::Parse(&gap_data, packet.begin()); in GapDataFromProto() 50 return gap_data; in GapDataFromProto()
|
/system/bt/gd/neighbor/cert/ |
D | neighbor_test.py | 84 gap_data = list([gap_name]) 87 … hci_packets.WriteExtendedInquiryResponseBuilder(hci_packets.FecRequired.NOT_REQUIRED, gap_data))
|
/system/bt/gd/l2cap/le/cert/ |
D | dual_l2cap_test.py | 87 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 89 advertisement=[gap_data],
|
D | le_l2cap_test.py | 75 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 77 advertisement=[gap_data], 99 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 101 advertisement=[gap_data],
|
/system/bt/gd/security/cert/ |
D | le_security_test.py | 99 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 101 advertisement=[gap_data], 116 gap_data = le_advertising_facade.GapDataMsg(data=bytes(gap_name.Serialize())) 118 advertisement=[gap_data],
|