Home
last modified time | relevance | path

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

12

/external/pigweed/pw_bluetooth_sapphire/host/common/
Ddevice_class_test.cc24 DeviceClass class_of_device; member
34 test_payload->class_of_device.major_class()); in TEST()
37 EXPECT_EQ(srvs_expected, test_payload->class_of_device.GetServiceClasses()); in TEST()
46 test_payload->class_of_device.major_class()); in TEST()
48 EXPECT_EQ(srvs_expected, test_payload->class_of_device.GetServiceClasses()); in TEST()
57 test_payload->class_of_device.major_class()); in TEST()
60 EXPECT_EQ(srvs_expected, test_payload->class_of_device.GetServiceClasses()); in TEST()
65 DeviceClass class_of_device(0x240404); in TEST() local
68 class_of_device.major_class()); in TEST()
71 EXPECT_EQ(WEARABLE_HEADSET_DEVICE_MINOR_CLASS, class_of_device.minor_class()); in TEST()
[all …]
/external/python/bumble/examples/
Drun_classic_discovery.py31 def on_inquiry_result(self, address, class_of_device, data, rssi): argument
36 ) = DeviceClass.split_class_of_device(class_of_device)
/external/python/bumble/bumble/pandora/
Dhost.py628 … lambda address, class_of_device, eir_data, rssi: inquiry_queue.put_nowait( # type: ignore
629 (address, class_of_device, eir_data, rssi) # type: ignore
636 (address, class_of_device, eir_data, rssi) = inquiry_result
640 class_of_device=class_of_device,
769 bytes(struct.pack('<I', self.device.class_of_device)[:-1]),
772 elif dt.class_of_device:
776 bytes(struct.pack('<I', dt.class_of_device)[:-1]),
944 dt.class_of_device = i
/external/pigweed/pw_bluetooth_sapphire/host/testing/public/pw_bluetooth_sapphire/internal/host/testing/
Dfake_peer.h117 void set_class_of_device(DeviceClass class_of_device) { in set_class_of_device() argument
118 class_of_device_ = class_of_device; in set_class_of_device()
/external/autotest/client/cros/bluetooth/floss/
Dadapter_client.py72 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
193 def OnSspRequest(self, remote_device_dbus, class_of_device, variant, argument
204 observer.on_ssp_request(remote_device, class_of_device,
/external/pigweed/pw_bluetooth_sapphire/host/gap/
Dpeer.cc343 DeviceClass(view.class_of_device().BackingStorage().ReadUInt()), in SetInquiryData()
352 DeviceClass(view.class_of_device().BackingStorage().ReadUInt()), in SetInquiryData()
365 DeviceClass(view.class_of_device().BackingStorage().ReadUInt()), in SetInquiryData()
375 DeviceClass(view.class_of_device().BackingStorage().ReadUInt()); in SetIncomingRequest()
Dpeer_cache_test.cc1263 ir().class_of_device().BackingStorage().WriteUInt(kTestDeviceClass.to_int()); in TEST_F()
1270 ir().class_of_device().BackingStorage().WriteUInt(kTestDeviceClass.to_int()); in TEST_F()
1283 ir().class_of_device().BackingStorage().WriteUInt(kTestDeviceClass.to_int()); in TEST_F()
1295 irr().class_of_device().major_device_class().Write( in TEST_F()
1304 irr().class_of_device().major_device_class().Write( in TEST_F()
1317 irr().class_of_device().major_device_class().Write( in TEST_F()
1343 extended_inquiry_result_event().class_of_device().major_device_class().Write( in TEST_F()
1369 extended_inquiry_result_event().class_of_device().major_device_class().Write( in TEST_F()
1403 extended_inquiry_result_event().class_of_device().major_device_class().Write( in TEST_F()
1415 extended_inquiry_result_event().class_of_device().major_device_class().Write( in TEST_F()
/external/autotest/server/cros/bluetooth/
Dbluetooth_default_state_test.py55 supported_settings, current_settings, class_of_device,
Dbluetooth_adapter_pairing_tests.py65 device.class_of_device):
Dbluetooth_adapter_tests.py292 device.class_of_device = _retry_device_method('GetClassOfDevice',
296 parsed_class_of_device = device.class_of_device
298 parsed_class_of_device = "0x%04X" % device.class_of_device
/external/python/bumble/tests/
Ddevice_test.py125 class_of_device=0,
145 class_of_device=0,
/external/pigweed/pw_bluetooth_sapphire/host/testing/
Dfake_peer.cc75 view.responses()[0].class_of_device().BackingStorage().WriteUInt( in CreateInquiryResponseEvent()
94 response.class_of_device().BackingStorage().WriteUInt( in CreateInquiryResponseEvent()
/external/python/bumble/bumble/
Ddevice.py1590 class_of_device: int = DEVICE_DEFAULT_CLASS_OF_DEVICE variable in DeviceConfiguration
1774 class_of_device: int
1796 def on_inquiry_result(self, address, class_of_device, data, rssi): argument
1805 def on_connection_request(self, bd_addr, class_of_device, link_type): argument
1905 self.class_of_device = config.class_of_device
2281 HCI_Write_Class_Of_Device_Command(class_of_device=self.class_of_device)
2947 def on_inquiry_result(self, address, class_of_device, data, rssi): argument
2951 class_of_device,
3656 lambda address, class_of_device, eir_data, rssi: on_peer_found(
4470 def on_connection_request(self, bd_addr, class_of_device, link_type): argument
[all …]
Dcore.py697 def split_class_of_device(class_of_device): argument
701 (class_of_device >> 13 & 0x7FF),
702 (class_of_device >> 8 & 0x1F),
703 (class_of_device >> 2 & 0x3F),
Dhost.py751 event.class_of_device,
1196 response.class_of_device,
1205 event.class_of_device,
Dcontroller.py678 class_of_device=0,
/external/python/bumble/docs/mkdocs/src/hive/web/speaker/
Dspeaker.py269 device_config.class_of_device = 0x240414
/external/python/bumble/web/speaker/
Dspeaker.py269 device_config.class_of_device = 0x240414
/external/pandora/avatar/avatar/cases/
Dle_host_test.py234 (dict(class_of_device=0x40680),),
/external/pandora/bt-test-interfaces/pandora/
Dhost.proto166 uint32 class_of_device = 13; field
444 uint32 class_of_device = 3; field
/external/python/bumble/apps/lea_unicast/
Dapp.py435 class_of_device=0x244418,
/external/python/bumble/apps/speaker/
Dspeaker.py611 device_config.class_of_device = 0x240414
/external/python/bumble/rust/src/internal/hci/
Dpackets.pdl1759 class_of_device : 24,
1783 class_of_device : 24,
2036 class_of_device : 24,
2040 class_of_device : 24,
4716 class_of_device : 24,
4749 class_of_device : 24,
4953 class_of_device : 24,
5040 class_of_device : 24,
/external/pigweed/pw_bluetooth/public/pw_bluetooth/
Dhci_events.emb308 $next [+3] hci.ClassOfDevice class_of_device
351 $next [+3] hci.ClassOfDevice class_of_device
1439 $next [+3] hci.ClassOfDevice class_of_device
1546 $next [+3] hci.ClassOfDevice class_of_device
/external/autotest/client/cros/multimedia/
Dbluetooth_facade.py4623 def on_ssp_request(self, remote_device, class_of_device, variant, argument
4632 remote_address, remote_name, class_of_device,

12