Home
last modified time | relevance | path

Searched refs:class_of_device (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/Bluetooth/system/blueberry/utils/
Dbluetooth.py48 class_of_device: int = 0 variable in ClassOfDevice
50 def __init__(self, class_of_device=None): argument
51 if not class_of_device:
52 self.class_of_device = 0
53 elif isinstance(class_of_device, int):
54 self.class_of_device = class_of_device
55 elif isinstance(class_of_device, bytes):
56 self.class_of_device = int.from_bytes(class_of_device, byteorder='little')
69 return int.to_bytes(self.class_of_device, length=3, byteorder='little')
/packages/modules/Bluetooth/system/gd/hci/
Dclass_of_device.cc32 ClassOfDevice::ClassOfDevice(const uint8_t (&class_of_device)[kLength]) { in ClassOfDevice()
33 std::copy(class_of_device, class_of_device + kLength, cod.data()); in ClassOfDevice()
Dacl_manager_unittest.cc66 ClassOfDevice class_of_device; member
69 {.address = {}, .class_of_device = {}, .handle = kHciHandleA},
70 {.address = {}, .class_of_device = {}, .handle = kHciHandleB},
525 ClassOfDevice class_of_device; in TEST_F() local
539 local_address_with_type_.GetAddress(), class_of_device, ConnectionRequestLinkType::ACL)); in TEST_F()
556 remote_device[0].class_of_device, in TEST_F()
567 remote_device[1].class_of_device, in TEST_F()
615 remote_device[0].class_of_device, in TEST_F()
626 remote_device[1].class_of_device, in TEST_F()
Dclass_of_device.h39 ClassOfDevice(const uint8_t (&class_of_device)[kLength]);
90 static bool IsValid(const std::string& class_of_device);
Dcontroller_mock.h125 (ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask));
131 …(ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask, AutoAcceptFlag auto_accept_fla…
Dcontroller_interface_mock.h125 (ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask));
131 (ClassOfDevice class_of_device,
Dcontroller_interface.h137 ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask) = 0;
144 ClassOfDevice class_of_device,
Dcontroller.h144 ClassOfDevice class_of_device, ClassOfDevice class_of_device_mask) override;
151 ClassOfDevice class_of_device,
DBUILD.gn26 "class_of_device.cc",
Dcontroller_test.cc450 ClassOfDevice class_of_device({0xab, 0xcd, 0xef}); in TEST_F() local
452 controller_->SetEventFilterInquiryResultClassOfDevice(class_of_device, class_of_device_mask); in TEST_F()
458 ASSERT_EQ(command2.GetClassOfDevice(), class_of_device); in TEST_F()
/packages/modules/Bluetooth/system/pdl/hci/
Dclass_of_device.cc33 ClassOfDevice::ClassOfDevice(const uint8_t (&class_of_device)[kLength]) { in ClassOfDevice()
34 std::copy(class_of_device, class_of_device + kLength, cod.data()); in ClassOfDevice()
DAndroid.bp33 "class_of_device.cc",
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dmetrics.rs29 class_of_device: u32, in device_info_report()
82 class_of_device: u32, in device_info_report()
92 class_of_device as u32, in device_info_report()
/packages/modules/Bluetooth/system/gd/rust/topshim/metrics/
Dmetrics_shim.cc45 uint32_t class_of_device, in device_info_report() argument
52 … &addr, device_type, class_of_device, appearance, vendor_id, vendor_id_src, product_id, version); in device_info_report()
Dmetrics_shim.h35 uint32_t class_of_device,
/packages/modules/Bluetooth/system/pdl/hci/include/hci/
Dclass_of_device.h40 ClassOfDevice(const uint8_t (&class_of_device)[kLength]);
76 static bool IsValid(const std::string& class_of_device);
/packages/modules/Bluetooth/tools/rootcanal/py/
Dbluetooth.py68 class_of_device: int = 0 variable in ClassOfDevice
79 return int.to_bytes(self.class_of_device, length=3, byteorder='little')
/packages/modules/Bluetooth/tools/rootcanal/packets/
Dlink_layer_packets.pdl112 class_of_device : 24,
215 class_of_device : 24,
325 class_of_device : 24,
Dbredr_bb.pdl55 class_of_device: 24,
/packages/modules/Bluetooth/system/gd/metrics/linux/
Dmetrics.cc33 uint32_t class_of_device, in LogMetricsDeviceInfoReport() argument
/packages/modules/Bluetooth/system/gd/metrics/
Dmetrics.h31 uint32_t class_of_device,
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics.cc129 uint32_t class_of_device, in LogMetricsDeviceInfoReport() argument
146 major_class = (class_of_device & DEVICE_MAJOR_CLASS_MASK) >> DEVICE_MAJOR_CLASS_BIT_OFFSET; in LogMetricsDeviceInfoReport()
/packages/modules/Bluetooth/floss/pandora/floss/
Dadapter_client.py56 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
239 def OnSspRequest(self, remote_device_dbus, class_of_device, variant, passkey): argument
247 observer.on_ssp_request(remote_device, class_of_device, variant, passkey)
/packages/services/Car/car_product/properties/
Dbluetooth.prop32 bluetooth.device.class_of_device=38,4,32
/packages/modules/Bluetooth/floss/pandora/server/
Dsecurity.py55 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
195 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument

12