Home
last modified time | relevance | path

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

/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc234 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadCharacteristicCallback() argument
238 attr_handle, offset, is_long); in NotifyRequestReadCharacteristicCallback()
243 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadDescriptorCallback() argument
247 attr_handle, offset, is_long); in NotifyRequestReadDescriptorCallback()
252 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteCharacteristicCallback() argument
256 attr_handle, offset, need_rsp, in NotifyRequestWriteCharacteristicCallback()
262 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteDescriptorCallback() argument
266 attr_handle, offset, need_rsp, in NotifyRequestWriteDescriptorCallback()
Dbluetooth_gatt_interface.cc283 const RawAddress& bda, int attr_handle, in RequestReadCharacteristicCallback() argument
287 << " attr_handle: " << attr_handle << " offset: " << offset in RequestReadCharacteristicCallback()
292 g_interface, conn_id, trans_id, bda, attr_handle, offset, is_long)); in RequestReadCharacteristicCallback()
296 const RawAddress& bda, int attr_handle, in RequestReadDescriptorCallback() argument
300 << " attr_handle: " << attr_handle << " offset: " << offset in RequestReadDescriptorCallback()
305 g_interface, conn_id, trans_id, bda, attr_handle, offset, is_long)); in RequestReadDescriptorCallback()
309 const RawAddress& bda, int attr_handle, in RequestWriteCharacteristicCallback() argument
314 << " attr_handle: " << attr_handle << " offset: " << offset in RequestWriteCharacteristicCallback()
320 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteCharacteristicCallback()
325 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in RequestWriteDescriptorCallback() argument
[all …]
Dfake_bluetooth_gatt_interface.h111 int attr_handle, int offset,
115 int attr_handle, int offset,
119 int attr_handle, int offset,
124 int attr_handle, int offset,
Dbluetooth_gatt_interface.h143 const RawAddress& bda, int attr_handle, int offset, bool is_long);
147 const RawAddress& bda, int attr_handle, int offset, bool is_long);
151 const RawAddress& bda, int attr_handle, int offset, bool need_rsp,
157 const RawAddress& bda, int attr_handle, int offset, bool need_rsp,
/system/bt/service/
Dgatt_server.cc406 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteCharacteristicCallback() argument
418 << " BD_ADDR: " << device_address << " attr_handle: " << attr_handle in RequestWriteCharacteristicCallback()
425 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCharacteristicCallback()
440 std::move(value), attr_handle); in RequestWriteCharacteristicCallback()
445 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteDescriptorCallback() argument
457 << " BD_ADDR: " << device_address << " attr_handle: " << attr_handle in RequestWriteDescriptorCallback()
464 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteDescriptorCallback()
479 attr_handle); in RequestWriteDescriptorCallback()
Dgatt_server_old.cc210 int attr_handle, int attribute_offset_octets, in RequestReadCallback() argument
215 g_internal->characteristics[attr_handle]; in RequestReadCallback()
233 __func__, conn_id, addr.c_str(), attr_handle, attribute_offset_octets, in RequestReadCallback()
246 response.attr_value.handle = attr_handle; in RequestReadCallback()
253 int attr_handle, int attribute_offset, bool need_rsp, in RequestWriteCallback() argument
260 __func__, conn_id, addr.c_str(), trans_id, attr_handle, attribute_offset, in RequestWriteCallback()
266 g_internal->characteristics[attr_handle]; in RequestWriteCallback()
272 auto target_blob = g_internal->controlled_blobs.find(attr_handle); in RequestWriteCallback()
298 response.attr_value.handle = attr_handle; in RequestWriteCallback()
Dgatt_server.h215 const RawAddress& bda, int attr_handle, int offset, bool need_rsp,
219 const RawAddress& bda, int attr_handle,
/system/bt/include/hardware/
Dbt_gatt_server.h70 const RawAddress& bda, int attr_handle,
78 const RawAddress& bda, int attr_handle,
/system/bt/test/mock/
Dmock_stack_gatt.cc128 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument
134 uint16_t attr_handle, in GATTS_HandleValueNotification() argument
/system/bt/tools/scripts/
Ddump_hearingaid_audio.py186 attr_handle, data = unpack_data(data, 2)
194 …te_audio_data(CONNECTION_HANDLE, result[CONNECTION_HANDLE], AUDIO_CONTROL_ATTR_HANDLE, attr_handle)
208 attr_handle, data = unpack_data(data, 2)
209 if attr_handle == \
/system/bt/stack/gatt/
Dgatt_api.cc437 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument
450 if (!GATT_HANDLE_IS_VALID(attr_handle)) return GATT_ILLEGAL_PARAMETER; in GATTS_HandleValueIndication()
454 indication.handle = attr_handle; in GATTS_HandleValueIndication()
499 uint16_t attr_handle, in GATTS_HandleValueNotification() argument
514 if (!GATT_HANDLE_IS_VALID(attr_handle)) { in GATTS_HandleValueNotification()
519 notif.handle = attr_handle; in GATTS_HandleValueNotification()
/system/bt/stack/include/
Dgatt_api.h850 uint16_t attr_handle,
870 uint16_t attr_handle,
/system/bt/stack/test/gatt/
Dgatt_sr_test.cc104 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument