Home
last modified time | relevance | path

Searched refs:build_att_data (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dfind_by_type_value.rs88 utils::packet::{build_att_data, build_view_or_crash},
134 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_uuid_match()
196 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_value_match()
233 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_range_check()
267 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_empty_response()
319 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_grouping_uuid()
367 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_limit_total_size()
Dread_by_group_type_request.rs108 utils::packet::{build_att_data, build_view_or_crash},
164 value: build_att_data(AttAttributeDataChild::RawData([4, 5].into())), in test_simple_grouping()
169 value: build_att_data(AttAttributeDataChild::RawData([6, 7].into())), in test_simple_grouping()
264 value: build_att_data(AttAttributeDataChild::RawData([1].into())), in test_attribute_truncation()
313 value: build_att_data(AttAttributeDataChild::RawData([4, 5, 6].into())) in test_limit_total_size()
363 value: build_att_data(AttAttributeDataChild::RawData([4, 5].into())), in test_group_end_outside_range()
Dread_by_type_request.rs90 utils::packet::{build_att_data, build_view_or_crash},
126 value: build_att_data(AttAttributeDataChild::RawData([4, 5].into())) in test_single_matching_attr()
183 value: build_att_data(AttAttributeDataChild::RawData([4, 5].into())) in test_type_filtering()
187 value: build_att_data(AttAttributeDataChild::RawData([6, 7].into())) in test_type_filtering()
235 value: build_att_data(AttAttributeDataChild::RawData([4, 5, 6].into())) in test_limit_total_size()
Dwrite_request.rs45 utils::packet::{build_att_data, build_view_or_crash},
89 value: build_att_data(AttAttributeDataChild::RawData([1, 2].into())), in test_failed_write()
Dread_request.rs50 utils::packet::{build_att_data, build_view_or_crash},
85 value: build_att_data(AttAttributeDataChild::RawData([4, 5].into())) in test_simple_read()
/packages/modules/Bluetooth/system/rust/tests/
Dgatt_server_test.rs42 utils::packet::{build_att_data, build_att_view_or_crash},
136 value: build_att_data(GattServiceDeclarationValueBuilder { in test_service_read()
217 _child_: AttReadResponseBuilder { value: build_att_data(data) }.into() in test_characteristic_read()
237 value: build_att_data(data.clone()), in test_characteristic_write()
299 value: build_att_data(data), in test_send_indication()
345 value: build_att_data(data.clone()), in test_write_to_descriptor()
508 attribute_value: build_att_data(UuidAsAttDataBuilder { in test_service_change_indication()
586 value: build_att_data(GattClientCharacteristicConfigurationBuilder { in test_service_change_indication()
618 build_att_data(GattServiceChangedBuilder { in test_service_change_indication()
/packages/modules/Bluetooth/system/rust/src/gatt/server/
Dindication_handler.rs12 utils::packet::build_att_data,
85 AttHandleValueIndicationBuilder { handle: handle.into(), value: build_att_data(data) } in send()
193 value: build_att_data(get_data()), in test_indication_sent()
Drequest_handler.rs117 utils::packet::{build_att_data, build_att_view_or_crash},
143 value: build_att_data(AttAttributeDataChild::RawData([1, 2, 3].into())) in test_read_request()
/packages/modules/Bluetooth/system/rust/src/utils/
Dpacket.rs50 pub fn build_att_data(child: impl Into<AttAttributeDataChild>) -> AttAttributeDataBuilder { in build_att_data() function