/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/ |
D | adv_parser.rs | 221 let service_data = extract_service_data(payload.as_slice()); in test_extract_service_data() localVariable 222 assert_eq!(service_data.len(), 0); in test_extract_service_data() 275 let service_data = extract_service_data(payload.as_slice()); in test_extract_service_data() localVariable 276 assert_eq!(service_data.len(), 4); in test_extract_service_data() 281 assert_eq!(service_data.get(&expected_uuid), Some(&vec![0xFF])); in test_extract_service_data() 286 assert_eq!(service_data.get(&expected_uuid), Some(&vec![0xFE])); in test_extract_service_data() 289 assert_eq!(service_data.get(&expected_uuid), Some(&vec![16])); in test_extract_service_data() 292 assert_eq!(service_data.get(&expected_uuid), Some(&vec![])); in test_extract_service_data()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | ble_scanner_hci_interface.cc | 137 const RawAddress& bd_addr, uint16_t service_data, uint16_t sync_handle, in PeriodicAdvSyncTransfer() argument 147 acl_handle, service_data, sync_handle, in PeriodicAdvSyncTransfer() 152 uint16_t service_data, uint8_t adv_handle, in PeriodicAdvSetInfoTransfer() argument 162 acl_handle, service_data, adv_handle, in PeriodicAdvSetInfoTransfer() 245 const RawAddress& bd_addr, uint16_t service_data, uint16_t sync_handle, in PeriodicAdvSyncTransfer() argument 255 acl_handle, service_data, sync_handle, in PeriodicAdvSyncTransfer() 260 uint16_t service_data, uint8_t adv_handle, in PeriodicAdvSetInfoTransfer() argument 270 acl_handle, service_data, adv_handle, in PeriodicAdvSetInfoTransfer()
|
D | btm_ble_scanner.cc | 66 const RawAddress& bd_addr, uint16_t service_data, uint16_t sync_handle, in PeriodicAdvSyncTransfer() argument 68 GetHciInterface()->PeriodicAdvSyncTransfer(bd_addr, service_data, in PeriodicAdvSyncTransfer() 73 uint16_t service_data, uint8_t adv_handle, in PeriodicAdvSetInfoTransfer() argument 75 GetHciInterface()->PeriodicAdvSetInfoTransfer(bd_addr, service_data, in PeriodicAdvSetInfoTransfer()
|
D | ble_scanner_hci_interface.h | 171 uint16_t service_data, 185 uint16_t service_data,
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_advertising_manager_test.cc | 802 uint8_t service_data[249]; in TEST_F_WITH_FLAGS() local 803 std::copy_n(service_data, 249, std::back_inserter(data_item.data_)); in TEST_F_WITH_FLAGS() 863 uint8_t service_data[250]; in TEST_F_WITH_FLAGS() local 864 std::copy_n(service_data, 250, std::back_inserter(data_item.data_)); in TEST_F_WITH_FLAGS() 933 uint8_t service_data[254]; in TEST_F_WITH_FLAGS() local 934 std::copy_n(service_data, 254, std::back_inserter(data_item.data_)); in TEST_F_WITH_FLAGS() 1204 uint8_t service_data[200]; in TEST_F() local 1205 std::copy_n(service_data, 200, std::back_inserter(data_item.data_)); in TEST_F() 1234 uint8_t service_data[232]; in TEST_F() local 1235 std::copy_n(service_data, 232, std::back_inserter(data_item.data_)); in TEST_F() [all …]
|
D | le_scanning_manager_mock.h | 73 uint16_t service_data, 79 (const Address&, uint16_t connection_handle, uint16_t service_data, uint8_t, int));
|
D | le_scanning_manager.h | 95 uint16_t service_data, 102 uint16_t service_data,
|
D | le_scanning_manager_test.cc | 695 const uint16_t service_data = 0x0000; in TEST_F() local 701 le_scanning_manager->TransferSync(address, handle, service_data, sync_handle, pa_source); in TEST_F() 711 const uint16_t service_data = 0x0000; in TEST_F() local 721 le_scanning_manager->TransferSync(address, handle, service_data, sync_handle, pa_source); in TEST_F() 728 const uint16_t service_data = 0x0000; in TEST_F() local 734 le_scanning_manager->TransferSetInfo(address, handle, service_data, sync_handle, pa_source); in TEST_F() 744 const uint16_t service_data = 0x0000; in TEST_F() local 754 le_scanning_manager->TransferSetInfo(address, handle, service_data, sync_handle, pa_source); in TEST_F()
|
D | le_periodic_sync_manager.h | 158 …const Address& address, uint16_t service_data, uint16_t sync_handle, int pa_source, uint16_t conne… in TransferSync() argument 168 …hci::LePeriodicAdvertisingSyncTransferBuilder::Create(connection_handle, service_data, sync_handle… in TransferSync() 177 …const Address& address, uint16_t service_data, uint8_t adv_handle, int pa_source, uint16_t connect… in SyncSetInfo() argument 186 …hci::LePeriodicAdvertisingSetInfoTransferBuilder::Create(connection_handle, service_data, adv_hand… in SyncSetInfo()
|
D | le_periodic_sync_manager_test.cc | 426 uint16_t service_data = 0x10; in TEST_F() local 431 …periodic_sync_manager_->TransferSync(address, service_data, sync_handle, pa_source, connection_han… in TEST_F() 436 ASSERT_EQ(service_data, packet_view.GetServiceData()); in TEST_F() 451 uint16_t service_data = 0x10; in TEST_F() local 456 …periodic_sync_manager_->SyncSetInfo(address, service_data, advertising_handle, pa_source, connecti… in TEST_F() 461 ASSERT_EQ(service_data, packet_view.GetServiceData()); in TEST_F()
|
D | le_scanning_manager.cc | 1320 uint16_t service_data, in transfer_sync() 1335 …periodic_sync_manager_.TransferSync(address, service_data, sync_handle, pa_source, connection_hand… in transfer_sync() 1341 uint16_t service_data, in transfer_set_info() 1356 …periodic_sync_manager_.SyncSetInfo(address, service_data, adv_handle, pa_source, connection_handle… in transfer_set_info() 1862 uint16_t service_data, in TransferSync() argument 1865 CallOn(pimpl_.get(), &impl::transfer_sync, address, handle, service_data, sync_handle, pa_source); in TransferSync() 1871 uint16_t service_data, in TransferSetInfo() argument 1875 pimpl_.get(), &impl::transfer_set_info, address, handle, service_data, adv_handle, pa_source); in TransferSetInfo()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | ble_scanner.h | 55 uint16_t service_data, 59 uint16_t service_data,
|
D | hcimsgs.h | 454 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, 458 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle,
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | bt_adv.rs | 49 service_data: HashMap::new(), in new() 62 service_data: HashMap::from([( in new()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_hcic_hciblecmds.cc | 152 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle, in btsnd_hcic_ble_periodic_advertising_set_info_transfer() argument 157 conn_handle, service_data, adv_handle, std::move(cb)); in btsnd_hcic_ble_periodic_advertising_set_info_transfer() 160 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, in btsnd_hcic_ble_periodic_advertising_sync_transfer() argument 165 conn_handle, service_data, sync_handle, std::move(cb)); in btsnd_hcic_ble_periodic_advertising_sync_transfer()
|
D | mock_stack_hcic_hciblecmds.h | 181 void operator()(uint16_t conn_handle, uint16_t service_data, in operator() 184 body(conn_handle, service_data, adv_handle, std::move(cb)); in operator() 199 void operator()(uint16_t conn_handle, uint16_t service_data, in operator() 202 body(conn_handle, service_data, sync_handle, std::move(cb)); in operator()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/ |
D | gatt_ble_scanner_shim.h | 160 void TransferSync(RawAddress addr, uint16_t service_data, uint16_t sync_handle); 163 void TransferSetInfo(RawAddress addr, uint16_t service_data, uint8_t adv_handle);
|
D | gatt_ble_scanner_shim.cc | 339 void BleScannerIntf::TransferSync(RawAddress addr, uint16_t service_data, uint16_t sync_handle) { in TransferSync() argument 340 scanner_intf_->TransferSync(addr, service_data, sync_handle, 0 /* place holder */); in TransferSync() 343 void BleScannerIntf::TransferSetInfo(RawAddress addr, uint16_t service_data, uint8_t adv_handle) { in TransferSetInfo() argument 344 scanner_intf_->TransferSetInfo(addr, service_data, adv_handle, 0 /* place holder */); in TransferSetInfo()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | ble_scanner.h | 219 virtual void TransferSync(RawAddress address, uint16_t service_data, 221 virtual void TransferSetInfo(RawAddress address, uint16_t service_data,
|
/packages/modules/Bluetooth/system/main/shim/ |
D | ble_scanner_interface_impl.h | 95 void TransferSync(RawAddress address, uint16_t service_data, 97 void TransferSetInfo(RawAddress address, uint16_t service_data,
|
D | le_scanning_manager.cc | 452 uint16_t service_data, in TransferSync() argument 466 p_acl->Handle(), service_data, in TransferSync() 471 uint16_t service_data, in TransferSetInfo() argument 485 p_acl->Handle(), service_data, in TransferSetInfo()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_adv.rs | 71 pub service_data: HashMap<String, Vec<u8>>, field 300 fn append_service_data(dest: &mut Vec<u8>, service_data: &HashMap<String, Vec<u8>>) { in append_service_data() 302 service_data.iter().filter_map(|(s, d)| Uuid::from_string(s).map(|s| (s, d))) in append_service_data() 356 AdvertiseData::append_service_data(&mut bytes, &self.service_data); in make_with() 2179 let mut service_data = HashMap::new(); in test_append_service_data_good_id() localVariable 2184 service_data.insert(uuid_str, data.clone()); in test_append_service_data_good_id() 2187 AdvertiseData::append_service_data(&mut bytes, &service_data); in test_append_service_data_good_id() 2195 let mut service_data = HashMap::new(); in test_append_service_data_bad_id() localVariable 2200 service_data.insert(uuid_str, data.clone()); in test_append_service_data_bad_id() 2202 AdvertiseData::append_service_data(&mut bytes, &service_data); in test_append_service_data_bad_id()
|
/packages/modules/Bluetooth/system/stack/hcic/ |
D | hciblecmds.cc | 727 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, in btsnd_hcic_ble_periodic_advertising_sync_transfer() argument 733 UINT16_TO_STREAM(pp, service_data); in btsnd_hcic_ble_periodic_advertising_sync_transfer() 742 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle, in btsnd_hcic_ble_periodic_advertising_set_info_transfer() argument 748 UINT16_TO_STREAM(pp, service_data); in btsnd_hcic_ble_periodic_advertising_set_info_transfer()
|
/packages/modules/Bluetooth/floss/pandora/floss/ |
D | advertising_client.py | 699 def convert_service_data_to_bytearray(service_data): argument 708 return {k: bytearray(v) for k, v in service_data.items()}
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/vendor_commands/ |
D | le_apcf.cc | 353 std::vector<uint8_t> service_data( in LeApcfServiceData() local 365 .gap_data = service_data, in LeApcfServiceData()
|