Home
last modified time | relevance | path

Searched refs:attr_type (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/
Dcallbacks.rs30 attr_type: AttributeBackingType, in on_server_read()
42 attr_type: AttributeBackingType, in on_server_write()
104 attr_type: AttributeBackingType, in read()
112 attr_type: AttributeBackingType, in write()
123 attr_type: AttributeBackingType, in write_no_response()
144 attr_type: AttributeBackingType, in read()
152 attr_type: AttributeBackingType, in write()
165 attr_type: AttributeBackingType, in read()
171 self.read(tcb_idx, handle, attr_type).await in read()
179 attr_type: AttributeBackingType, in write()
[all …]
Dffi.rs77 attr_type: AttributeBackingType, in on_server_read()
90 attr_type: AttributeBackingType, in on_server_write()
192 attr_type: AttributeBackingType, in on_server_read()
200 attr_type, in on_server_read()
211 attr_type: AttributeBackingType, in on_server_write()
222 attr_type, in on_server_write()
/packages/modules/Bluetooth/system/rust/src/gatt/mocks/
Dmock_raw_datastore.rs65 attr_type: AttributeBackingType, in read()
68 self.0.send(MockRawDatastoreEvents::Read(tcb_idx, handle, attr_type, offset, tx)).unwrap(); in read()
78 attr_type: AttributeBackingType, in write()
87 attr_type, in write()
100 attr_type: AttributeBackingType, in write_no_response()
107 attr_type, in write_no_response()
Dmock_datastore.rs57 attr_type: AttributeBackingType, in read()
60 self.0.send(MockDatastoreEvents::Read(tcb_idx, handle, attr_type, tx)).unwrap(); in read()
70 attr_type: AttributeBackingType, in write()
75 .send(MockDatastoreEvents::Write(tcb_idx, handle, attr_type, data.to_vec(), tx)) in write()
Dmock_callbacks.rs49 attr_type: AttributeBackingType, in on_server_read()
53 .send(MockCallbackEvents::OnServerRead(conn_id, trans_id, handle, attr_type, offset)) in on_server_read()
62 attr_type: AttributeBackingType, in on_server_write()
71 attr_type, in on_server_write()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_db.cc254 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, in SDP_AddAttribute() argument
267 if ((attr_type == UINT_DESC_TYPE) || in SDP_AddAttribute()
268 (attr_type == TWO_COMP_INT_DESC_TYPE) || in SDP_AddAttribute()
269 (attr_type == UUID_DESC_TYPE) || in SDP_AddAttribute()
270 (attr_type == DATA_ELE_SEQ_DESC_TYPE) || in SDP_AddAttribute()
271 (attr_type == DATA_ELE_ALT_DESC_TYPE)) { in SDP_AddAttribute()
285 handle, attr_id, attr_type, attr_len, fmt::ptr(p_val), num_array); in SDP_AddAttribute()
286 } else if (attr_type == BOOLEAN_DESC_TYPE) { in SDP_AddAttribute()
290 handle, attr_id, attr_type, attr_len, fmt::ptr(p_val), *p_val); in SDP_AddAttribute()
291 } else if ((attr_type == TEXT_STR_DESC_TYPE) || in SDP_AddAttribute()
[all …]
Dsdp_discovery.cc299 uint16_t attr_type; in add_attr() local
314 attr_type = (type >> 3) & 0x0f; in add_attr()
336 p_attr->attr_len_type = (uint16_t)attr_len | (attr_type << 12); in add_attr()
340 switch (attr_type) { in add_attr()
394 p_attr->attr_len_type = (uint16_t)attr_len | (attr_type << 12); in add_attr()
Dsdpint.h289 uint8_t attr_type, uint32_t attr_len,
/packages/modules/Bluetooth/system/rust/src/gatt/ffi/
Dgatt_shim.cc55 AttributeBackingType attr_type, in OnServerRead() argument
65 switch (attr_type) { in OnServerRead()
77 log::fatal("Unexpected backing type {}", attr_type); in OnServerRead()
92 AttributeBackingType attr_type, uint32_t offset, bool need_response, in OnServerWrite() argument
104 switch (attr_type) { in OnServerWrite()
118 log::fatal("Unexpected backing type {}", attr_type); in OnServerWrite()
Dgatt_shim.h45 AttributeBackingType attr_type, uint32_t offset,
49 AttributeBackingType attr_type, uint32_t offset,
/packages/modules/Bluetooth/system/rust/src/gatt/callbacks/
Dcallback_transaction_manager.rs141 attr_type: AttributeBackingType, in read()
156 attr_type, in read()
167 attr_type: AttributeBackingType, in write()
184 attr_type, in write()
197 attr_type: AttributeBackingType, in write_no_response()
211 attr_type, in write_no_response()
/packages/modules/Bluetooth/system/stack/sdp/internal/
Dsdp_api.h278 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type,
/packages/modules/Bluetooth/system/stack/include/
Dsdp_api.h354 uint8_t attr_type, uint32_t attr_len,