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.cc408 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteCharacteristicCallback() argument
420 << " BD_ADDR: " << device_address << " attr_handle: " << attr_handle in RequestWriteCharacteristicCallback()
427 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCharacteristicCallback()
442 std::move(value), attr_handle); in RequestWriteCharacteristicCallback()
447 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteDescriptorCallback() argument
459 << " BD_ADDR: " << device_address << " attr_handle: " << attr_handle in RequestWriteDescriptorCallback()
466 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteDescriptorCallback()
481 attr_handle); in RequestWriteDescriptorCallback()
Dgatt_server_old.cc209 int attr_handle, int attribute_offset_octets, in RequestReadCallback() argument
214 g_internal->characteristics[attr_handle]; in RequestReadCallback()
232 __func__, conn_id, addr.c_str(), attr_handle, attribute_offset_octets, in RequestReadCallback()
245 response.attr_value.handle = attr_handle; in RequestReadCallback()
252 int attr_handle, int attribute_offset, bool need_rsp, in RequestWriteCallback() argument
259 __func__, conn_id, addr.c_str(), trans_id, attr_handle, attribute_offset, in RequestWriteCallback()
265 g_internal->characteristics[attr_handle]; in RequestWriteCallback()
271 auto target_blob = g_internal->controlled_blobs.find(attr_handle); in RequestWriteCallback()
297 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.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.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,