Home
last modified time | relevance | path

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

/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc230 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadCharacteristicCallback() argument
234 attr_handle, offset, is_long); in NotifyRequestReadCharacteristicCallback()
239 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestReadDescriptorCallback() argument
243 attr_handle, offset, is_long); in NotifyRequestReadDescriptorCallback()
248 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteCharacteristicCallback() argument
252 attr_handle, offset, need_rsp, in NotifyRequestWriteCharacteristicCallback()
258 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in NotifyRequestWriteDescriptorCallback() argument
262 attr_handle, offset, need_rsp, in NotifyRequestWriteDescriptorCallback()
Dbluetooth_gatt_interface.cc282 const RawAddress& bda, int attr_handle, in RequestReadCharacteristicCallback() argument
286 << " attr_handle: " << attr_handle << " offset: " << offset in RequestReadCharacteristicCallback()
291 g_interface, conn_id, trans_id, bda, attr_handle, offset, is_long)); in RequestReadCharacteristicCallback()
295 const RawAddress& bda, int attr_handle, in RequestReadDescriptorCallback() argument
299 << " attr_handle: " << attr_handle << " offset: " << offset in RequestReadDescriptorCallback()
304 g_interface, conn_id, trans_id, bda, attr_handle, offset, is_long)); in RequestReadDescriptorCallback()
308 const RawAddress& bda, int attr_handle, in RequestWriteCharacteristicCallback() argument
313 << " attr_handle: " << attr_handle << " offset: " << offset in RequestWriteCharacteristicCallback()
319 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteCharacteristicCallback()
324 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in RequestWriteDescriptorCallback() argument
[all …]
Dfake_bluetooth_gatt_interface.h108 int attr_handle, int offset,
112 int attr_handle, int offset,
116 int attr_handle, int offset,
121 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.cc208 int attr_handle, int attribute_offset_octets, in RequestReadCallback() argument
213 g_internal->characteristics[attr_handle]; in RequestReadCallback()
231 __func__, conn_id, addr.c_str(), attr_handle, in RequestReadCallback()
244 response.attr_value.handle = attr_handle; in RequestReadCallback()
251 int attr_handle, int attribute_offset, bool need_rsp, in RequestWriteCallback() argument
258 __func__, conn_id, addr.c_str(), trans_id, attr_handle, in RequestWriteCallback()
264 g_internal->characteristics[attr_handle]; in RequestWriteCallback()
270 auto target_blob = g_internal->controlled_blobs.find(attr_handle); in RequestWriteCallback()
296 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/tools/scripts/
Ddump_hearingaid_audio.py140 attr_handle, data = unpack_data(data, 2)
149 AUDIO_CONTROL_ATTR_HANDLE, attr_handle)
163 attr_handle, data = unpack_data(data, 2)
164 if attr_handle == \
/system/bt/stack/gatt/
Dgatt_api.cc411 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument
424 if (!GATT_HANDLE_IS_VALID(attr_handle)) return GATT_ILLEGAL_PARAMETER; in GATTS_HandleValueIndication()
428 indication.handle = attr_handle; in GATTS_HandleValueIndication()
469 uint16_t attr_handle, in GATTS_HandleValueNotification() argument
484 if (!GATT_HANDLE_IS_VALID(attr_handle)) { in GATTS_HandleValueNotification()
488 notif.handle = attr_handle; in GATTS_HandleValueNotification()
/system/bt/stack/include/
Dgatt_api.h751 uint16_t attr_handle,
771 uint16_t attr_handle,