Home
last modified time | relevance | path

Searched defs:Uuid (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/Bluetooth/system/rust/src/core/
Duuid.rs12 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
Dffi.rs29 unsafe impl ExternType for Uuid { implementation
69 type Uuid = crate::core::uuid::Uuid; typedef
/packages/modules/Bluetooth/system/bta/test/
Dbta_disc_test.cc160 [](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()
Dbta_jv_test.cc181 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/
Dbluetooth_admin.rs28 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()
Dsocket_manager.rs110 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 …]
Dbluetooth.rs114 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 …]
Dbluetooth_gatt.rs112 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/
Dgatt_test.cc29 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/
Diface_bluetooth_admin.rs31 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()
Diface_bluetooth.rs45 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/
Dmock_stack_gatt.cc33 const Uuid& /* uuid */) { in GATTC_Discover()
Dmock_stack_bnep_api.cc30 tBNEP_RESULT BNEP_Connect(const RawAddress& /* p_rem_bda */, const Uuid& /* src_uuid */, in BNEP_Connect()
Dmock_bta_gattc_api.cc87 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()
Dmock_bta_gatts_api.cc37 void BTA_GATTS_AppRegister(const bluetooth::Uuid& /* app_uuid */, tBTA_GATTS_CBACK* /* p_cback */, in BTA_GATTS_AppRegister()
Dmock_bta_jv_api.cc106 const bluetooth::Uuid* /* p_uuid_list */, in BTA_JvStartDiscovery()
/packages/modules/Bluetooth/system/types/bluetooth/
Duuid.h118 constexpr Uuid(const UUID128Bit& val) : uu{val} {} in Uuid() function
/packages/modules/Bluetooth/system/gd/hci/
Duuid.h119 constexpr Uuid(const UUID128Bit& val) : uu{val} {} in Uuid() function
/packages/modules/Bluetooth/system/rust/src/gatt/
Dffi.rs38 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/
Dcsis.rs18 type Uuid = crate::btif::Uuid; typedef
62 uuid: Uuid, in csis_device_available_callback()
Dsocket.rs157 service_uuid: Option<Uuid>, in listen()
203 service_uuid: Option<Uuid>, in connect()
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/
Datt_filter_by_size_type.rs28 target: Uuid, in filter_read_attributes_by_size_type()
/packages/modules/Virtualization/guest/pvmfw/src/
Dinstance.rs253 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/
Dbtif.rs455 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/
Dadv_parser.rs60 pub fn extract_service_uuids(bytes: &[u8]) -> Vec<Uuid> { in extract_service_uuids()

12