/packages/modules/Bluetooth/system/gd/hci/ |
D | class_of_device_unittest.cc | 24 using bluetooth::hci::ClassOfDevice; 30 ClassOfDevice cod(test_bytes); in TEST() 42 ClassOfDevice cod; in TEST() 43 ClassOfDevice::FromString(test_class, cod); in TEST() 55 ClassOfDevice cod; in TEST() 56 size_t expected_result = ClassOfDevice::kLength; in TEST() 69 ClassOfDevice cod1; in TEST() 70 ClassOfDevice cod2; in TEST() 71 ClassOfDevice::FromString(test_class, cod1); in TEST() 80 ASSERT_FALSE(ClassOfDevice::IsValid("")); in TEST() [all …]
|
D | controller_interface_mock.h | 123 (ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask)); 127 (ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask,
|
D | controller_mock.h | 123 (ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask)); 127 (ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask,
|
D | hci_layer.h | 104 common::ContextualCallback<void(Address, ClassOfDevice)> on_connection_request, 123 common::ContextualCallback<void(Address, ClassOfDevice, ConnectionRequestLinkType)> 173 common::ContextualCallback<void(Address bd_addr, ClassOfDevice cod)> on_acl_connection_request_{}; 174 common::ContextualCallback<void(Address bd_addr, ClassOfDevice cod,
|
D | controller_interface.h | 140 virtual void SetEventFilterInquiryResultClassOfDevice(ClassOfDevice class_of_device, 141 ClassOfDevice class_of_device_mask) = 0; 147 virtual void SetEventFilterConnectionSetupClassOfDevice(ClassOfDevice class_of_device, 148 ClassOfDevice class_of_device_mask,
|
D | controller.h | 146 ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask) override; 152 virtual void SetEventFilterConnectionSetupClassOfDevice(ClassOfDevice class_of_device, 153 ClassOfDevice class_of_device_mask,
|
D | hci_layer_mock.h | 76 common::ContextualCallback<void(Address, ClassOfDevice)> on_connection_request, 107 (common::ContextualCallback<void(Address, ClassOfDevice, ConnectionRequestLinkType)>
|
D | hci_interface.h | 97 common::ContextualCallback<void(Address, ClassOfDevice)> on_connection_request, 116 common::ContextualCallback<void(Address, ClassOfDevice, ConnectionRequestLinkType)>
|
D | acl_manager_unittest.cc | 64 ClassOfDevice class_of_device; 118 MOCK_METHOD(void, OnConnectRequest, (Address, ClassOfDevice), (override)); 464 ClassOfDevice class_of_device; in TEST_F() 600 test_hci_layer_->IncomingEvent(ConnectionRequestBuilder::Create(remote, ClassOfDevice({1, 2, 3}), in TEST_F() 615 test_hci_layer_->IncomingEvent(ConnectionRequestBuilder::Create(remote, ClassOfDevice({1, 2, 3}), in TEST_F()
|
D | hci_layer_unittest.cc | 285 hci_handler_->Bind([](Address /* bd_addr */, ClassOfDevice /* cod */) {}), in TEST_F() argument 299 hci_handler_->Bind([](Address /* bd_addr */, ClassOfDevice /* cod */) {}), in TEST_F() argument 312 hci_handler_->Bind([](Address /* bd_addr */, ClassOfDevice /* cod */) {}), in TEST_F() argument
|
/packages/modules/Bluetooth/system/pdl/hci/include/hci/ |
D | class_of_device.h | 31 class ClassOfDevice final : public packet::CustomFieldFixedSizeInterface<ClassOfDevice>, 32 public storage::Serializable<ClassOfDevice> { 38 ClassOfDevice() = default; 39 ClassOfDevice(const uint8_t (&class_of_device)[kLength]); 47 static std::optional<ClassOfDevice> FromString(const std::string& str); 49 static std::optional<ClassOfDevice> FromLegacyConfigString(const std::string& str); 51 bool operator<(const ClassOfDevice& rhs) const { return cod < rhs.cod; } 52 bool operator==(const ClassOfDevice& rhs) const { return cod == rhs.cod; } 53 bool operator>(const ClassOfDevice& rhs) const { return rhs < *this; } 54 bool operator<=(const ClassOfDevice& rhs) const { return !(*this > rhs); } [all …]
|
/packages/modules/Bluetooth/system/pdl/hci/ |
D | class_of_device.cc | 33 ClassOfDevice::ClassOfDevice(const uint8_t (&class_of_device)[kLength]) { in ClassOfDevice() function in bluetooth::hci::ClassOfDevice 37 std::string ClassOfDevice::ToString() const { in ToString() 45 std::string ClassOfDevice::ToLegacyConfigString() const { return std::to_string(ToUint32Legacy()); } in ToLegacyConfigString() 47 std::optional<ClassOfDevice> ClassOfDevice::FromString(const std::string& str) { in FromString() 57 ClassOfDevice new_cod{}; in FromString() 90 bool ClassOfDevice::FromString(const std::string& from, ClassOfDevice& to) { in FromString() 100 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy() 104 ClassOfDevice result = {}; in FromUint32Legacy() 111 std::optional<ClassOfDevice> ClassOfDevice::FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 120 uint32_t ClassOfDevice::ToUint32Legacy() const { return (cod[2]) | (cod[1] << 8) | (cod[0] << 16); } in ToUint32Legacy() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/py/ |
D | bluetooth.py | 67 class ClassOfDevice: class 72 return (ClassOfDevice(int.from_bytes(span[:3], byteorder='little')), span[3:]) 76 return ClassOfDevice(int.from_bytes(span, byteorder='little'))
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bluetooth.py | 47 class ClassOfDevice: class 62 return (ClassOfDevice(span[:3]), span[3:]) 66 return ClassOfDevice(span)
|
/packages/modules/Bluetooth/system/stack/include/ |
D | sco_hci_link_interface.h | 36 void btm_sco_on_esco_connect_request(const RawAddress&, const bluetooth::hci::ClassOfDevice&); 37 void btm_sco_on_sco_connect_request(const RawAddress&, const bluetooth::hci::ClassOfDevice&);
|
D | acl_hci_link_interface.h | 32 void btm_connection_request(const RawAddress& bda, const bluetooth::hci::ClassOfDevice& cod);
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_btm_sco.cc | 82 const bluetooth::hci::ClassOfDevice& /* cod */) { in btm_sco_on_esco_connect_request() argument 86 const bluetooth::hci::ClassOfDevice& /* cod */) { in btm_sco_on_sco_connect_request() argument
|
D | mock_stack_acl.h | 466 std::function<void(const RawAddress& bda, const bluetooth::hci::ClassOfDevice& cod)> body{ 467 [](const RawAddress& /* bda */, const bluetooth::hci::ClassOfDevice& /* cod */) { ; }}; 468 void operator()(const RawAddress& bda, const bluetooth::hci::ClassOfDevice& cod) { in operator()
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | device.h | 198 GENERATE_PROPERTY_GETTER_SETTER_REMOVER(ClassOfDevice, hci::ClassOfDevice,
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | connection_callbacks.h | 36 virtual void OnConnectRequest(Address, ClassOfDevice) = 0;
|
D | connection_callbacks_mock.h | 34 MOCK_METHOD(void, OnConnectRequest, (Address, ClassOfDevice), (override));
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 152 ClassOfDevice, enumerator 596 ClassOfDevice(u32), enumerator 634 BluetoothProperty::ClassOfDevice(_) => BtPropertyType::ClassOfDevice, in get_type() 664 BluetoothProperty::ClassOfDevice(_) => mem::size_of::<u32>(), in get_len() 715 BluetoothProperty::ClassOfDevice(cod) => { in get_data_ptr() 824 BtPropertyType::ClassOfDevice => { in from() 825 BluetoothProperty::ClassOfDevice(u32_from_bytes(slice)) in from()
|
/packages/modules/Bluetooth/floss/pandora/floss/ |
D | floss_enums.py | 180 ClassOfDevice = 0x4 variable in BtPropertyType
|
/packages/modules/Bluetooth/system/main/shim/ |
D | acl.h | 51 void OnConnectRequest(hci::Address, hci::ClassOfDevice) override;
|
/packages/modules/Bluetooth/system/gd/hci/fuzz/ |
D | hci_layer_fuzz_client.cc | 43 GetHandler()->Bind([](Address, ClassOfDevice) {}), in Start() argument
|