/packages/modules/Bluetooth/system/rust/src/core/ |
D | uuid.rs | 12 pub struct Uuid([u8; 16]); struct 16 impl Uuid { implementation 34 impl TryFrom<att::Uuid> for Uuid { implementation 37 fn try_from(value: att::Uuid) -> Result<Self, att::Uuid> { in try_from() 48 impl From<att::Uuid16> for Uuid { implementation 54 impl From<att::Uuid128> for Uuid { implementation 60 impl From<Uuid> for att::Uuid { implementation
|
D | ffi.rs | 29 unsafe impl ExternType for Uuid { implementation 69 type Uuid = crate::core::uuid::Uuid; typedef
|
/packages/modules/Bluetooth/system/bta/test/ |
D | bta_disc_test.cc | 160 [](RawAddress, const std::vector<bluetooth::Uuid>&, tBTA_STATUS) {}}, in TEST_F() 181 tBTA_STATUS) { service_cb_call_cnt++; }}, in TEST_F() 205 bool) { gatt_service_cb_call_cnt++; }, in TEST_F() 239 {[](RawAddress, std::vector<bluetooth::Uuid>&, bool) { gatt_service_cb_both_call_cnt++; }, in TEST_F() 241 [](RawAddress /*addr*/, const std::vector<bluetooth::Uuid>&, tBTA_STATUS) { in TEST_F() 248 {[](RawAddress, std::vector<bluetooth::Uuid>&, bool) { gatt_service_cb_both_call_cnt++; }, in TEST_F() 250 [](RawAddress /*addr*/, const std::vector<bluetooth::Uuid>&, tBTA_STATUS) { in TEST_F()
|
D | bta_jv_test.cc | 181 tSDP_DISC_REC* /* p_start_rec */) -> tSDP_DISC_REC* { return &sdp_disc_rec; }; in TEST_F()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_admin.rs | 28 fn get_allowed_services(&self) -> Vec<Uuid>; in get_allowed_services() 80 fn get_allowed_services(&self) -> Vec<Uuid> { in get_allowed_services() 84 fn get_blocked_services(&self, remote_uuids: &Vec<Uuid>) -> Vec<Uuid> { in get_blocked_services() 91 fn on_service_allowlist_changed(&mut self, allowlist: Vec<Uuid>); in on_service_allowlist_changed() 166 fn get_blocked_services(&self, remote_uuids: &Vec<Uuid>) -> Vec<Uuid> { in get_blocked_services() 194 fn get_config_from_json(json: &Value) -> Option<Vec<Uuid>> { in get_config_from_json() 247 new_uuids: Vec<Uuid>, in on_device_uuid_changed() 314 fn get_allowed_services(&self) -> Vec<Uuid> { in get_allowed_services() 409 _searched_uuid: Uuid, in on_sdp_search_complete() 477 fn get_sorted_allowed_services(admin_helper: &BluetoothAdminPolicyHelper) -> Vec<Uuid> { in get_sorted_allowed_services()
|
D | socket_manager.rs | 110 uuid: Option<Uuid>, in make_rfcomm_channel() 315 uuid: Uuid, in listen_using_insecure_rfcomm_with_service_record() 329 uuid: Uuid, in listen_using_rfcomm_with_service_record() 339 application_uuid: Option<Uuid>, in listen_using_rfcomm() 365 uuid: Uuid, in create_insecure_rfcomm_socket_to_service_record() 389 uuid: Uuid, in create_rfcomm_socket_to_service_record() 419 uuid: Option<Uuid>, in new() 1303 uuid: Uuid, in listen_using_insecure_rfcomm_with_service_record() 1318 uuid: Uuid, in listen_using_rfcomm_with_service_record() 1337 application_uuid: Option<Uuid>, in listen_using_rfcomm() [all …]
|
D | bluetooth.rs | 114 fn get_uuids(&self) -> Vec<Uuid>; in get_uuids() 223 fn get_remote_uuids(&self, device: BluetoothDevice) -> Vec<Uuid>; in get_remote_uuids() 566 searched_uuid: Uuid, in on_sdp_search_complete() 1030 pub(crate) fn get_all_devices_and_uuids(&self) -> Vec<(BluetoothDevice, Option<Vec<Uuid>>)> { in get_all_devices_and_uuids() 1372 fn connect_profiles_internal(&mut self, uuids: &Vec<Uuid>, device: BluetoothDevice) { in connect_profiles_internal() 1633 uuid: Uuid, in sdp_search() 2195 fn on_scanner_registered(&mut self, uuid: Uuid, scanner_id: u8, status: GattStatus) { in on_scanner_registered() 2272 fn get_uuids(&self) -> Vec<Uuid> { in get_uuids() 2732 fn get_remote_uuids(&self, device: BluetoothDevice) -> Vec<Uuid> { in get_remote_uuids() 2930 fn get_unwrapped_uuid(profile: Profile) -> Uuid { in is_dual_mode_audio_sink_device() [all …]
|
D | bluetooth_gatt.rs | 112 fn add(&mut self, uuid: &Uuid, callback: GattClientCallback) { in add() 142 fn set_client_id(&mut self, uuid: &Uuid, id: i32) { in set_client_id() 175 fn get_connected_applications_from_address(&self, address: &RawAddress) -> Vec<Uuid> { in get_connected_applications_from_address() 258 fn add(&mut self, uuid: &Uuid, callback: GattServerCallback) { in add() 288 fn set_server_id(&mut self, uuid: &Uuid, id: i32) { in set_server_id() 382 fn register_scanner(&mut self, callback_id: u32) -> Uuid; in register_scanner() 699 pub fn new(uuid: Uuid, instance_id: i32, permissions: i32) -> BluetoothGattDescriptor { in new() 738 uuid: Uuid, in new() 771 pub fn new(uuid: Uuid, instance_id: i32, service_type: i32) -> BluetoothGattService { in new() 1124 fn on_scanner_registered(&mut self, uuid: Uuid, scanner_id: u8, status: GattStatus); in on_scanner_registered() [all …]
|
/packages/modules/Bluetooth/system/test/suite/gatt/ |
D | gatt_test.cc | 29 void RegisterClientCallback(int status, int clientIf, const bluetooth::Uuid& /*app_uuid*/) { in RegisterClientCallback() 36 void RegisterServerCallback(int status, int server_if, const bluetooth::Uuid& /*uuid*/) { in RegisterServerCallback()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth_admin.rs | 31 fn on_service_allowlist_changed(&mut self, allowlist: Vec<Uuid>) { in on_service_allowlist_changed() 58 fn get_allowed_services(&self) -> Vec<Uuid> { in get_allowed_services()
|
D | iface_bluetooth.rs | 45 impl DBusArg for Uuid { implementation 52 ) -> Result<Uuid, Box<dyn std::error::Error>> { in from_dbus() 162 searched_uuid: Uuid, in on_sdp_search_complete() 539 fn get_uuids(&self) -> Vec<Uuid> { in get_uuids() 719 fn get_remote_uuids(&self, device: BluetoothDevice) -> Vec<Uuid> { in get_remote_uuids() 904 uuid: Uuid, in listen_using_insecure_rfcomm_with_service_record() 914 application_uuid: Option<Uuid>, in listen_using_rfcomm() 926 uuid: Uuid, in listen_using_rfcomm_with_service_record() 976 uuid: Uuid, in create_insecure_rfcomm_socket_to_service_record() 986 uuid: Uuid, in create_rfcomm_socket_to_service_record()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_gatt.cc | 33 const Uuid& /* uuid */) { in GATTC_Discover()
|
D | mock_stack_bnep_api.cc | 30 tBNEP_RESULT BNEP_Connect(const RawAddress& /* p_rem_bda */, const Uuid& /* src_uuid */, in BNEP_Connect()
|
D | mock_bta_gattc_api.cc | 87 const bluetooth::Uuid& /* srvc_uuid */) { in BTA_GATTC_DiscoverServiceByUuid() 128 void BTA_GATTC_ReadUsingCharUuid(uint16_t /* conn_id */, const bluetooth::Uuid& /* uuid */, in BTA_GATTC_ReadUsingCharUuid() 139 void BTA_GATTC_ServiceSearchRequest(uint16_t /* conn_id */, bluetooth::Uuid /* p_srvc_uuid */) { in BTA_GATTC_ServiceSearchRequest()
|
D | mock_bta_gatts_api.cc | 37 void BTA_GATTS_AppRegister(const bluetooth::Uuid& /* app_uuid */, tBTA_GATTS_CBACK* /* p_cback */, in BTA_GATTS_AppRegister()
|
D | mock_bta_jv_api.cc | 106 const bluetooth::Uuid* /* p_uuid_list */, in BTA_JvStartDiscovery()
|
/packages/modules/Bluetooth/system/types/bluetooth/ |
D | uuid.h | 118 constexpr Uuid(const UUID128Bit& val) : uu{val} {} in Uuid() function
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | uuid.h | 119 constexpr Uuid(const UUID128Bit& val) : uu{val} {} in Uuid() function
|
/packages/modules/Bluetooth/system/rust/src/gatt/ |
D | ffi.rs | 38 type Uuid = crate::core::uuid::Uuid; typedef 484 fn make_service_record(uuid: Uuid, handle: AttHandle) -> GattRecord { in make_service_record() 495 fn make_characteristic_record(uuid: Uuid, handle: AttHandle, properties: u8) -> GattRecord { in make_characteristic_record() 506 fn make_descriptor_record(uuid: Uuid, handle: AttHandle, permissions: u16) -> GattRecord { in make_descriptor_record()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | csis.rs | 18 type Uuid = crate::btif::Uuid; typedef 62 uuid: Uuid, in csis_device_available_callback()
|
D | socket.rs | 157 service_uuid: Option<Uuid>, in listen() 203 service_uuid: Option<Uuid>, in connect()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/ |
D | att_filter_by_size_type.rs | 28 target: Uuid, in filter_read_attributes_by_size_type()
|
/packages/modules/Virtualization/guest/pvmfw/src/ |
D | instance.rs | 253 fn new(uuid: Uuid, payload_size: usize) -> Self { in new() 257 fn uuid(&self) -> Uuid { in uuid()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 455 impl TryFrom<Vec<u8>> for Uuid { implementation 482 impl From<[u8; 16]> for Uuid { implementation 494 impl Hash for Uuid { implementation 500 impl Uuid { impl 505 pub fn try_from_little_endian(value: &[u8]) -> std::result::Result<Uuid, &'static str> { in try_from_little_endian() 557 impl Display for Uuid { implementation 822 BluetoothProperty::Uuids(ptr_to_vec(prop.val as *const Uuid, count)) in from() constant 954 pub type Uuid = bindings::bluetooth::Uuid; typedef
|
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/ |
D | adv_parser.rs | 60 pub fn extract_service_uuids(bytes: &[u8]) -> Vec<Uuid> { in extract_service_uuids()
|