Home
last modified time | relevance | path

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

/system/bt/service/
Dgatt_server_old.cpp162 int attr_handle, int attribute_offset_octets, in RequestReadCallback() argument
166 bluetooth::gatt::Characteristic &ch = g_internal->characteristics[attr_handle]; in RequestReadCallback()
184 __func__, conn_id, addr.c_str(), attr_handle, attribute_offset_octets, in RequestReadCallback()
197 response.attr_value.handle = attr_handle; in RequestReadCallback()
204 int attr_handle, int attribute_offset, int length, in RequestWriteCallback() argument
211 __func__, conn_id, addr.c_str(), trans_id, attr_handle, attribute_offset, in RequestWriteCallback()
217 g_internal->characteristics[attr_handle]; in RequestWriteCallback()
223 auto target_blob = g_internal->controlled_blobs.find(attr_handle); in RequestWriteCallback()
249 response.attr_value.handle = attr_handle; in RequestWriteCallback()
Dgatt_server.cpp693 int attr_handle, int offset, int length, in RequestWriteCallback() argument
712 << " attr_handle: " << attr_handle << " offset: " << offset in RequestWriteCallback()
717 auto iter = handle_to_id_map_.find(attr_handle); in RequestWriteCallback()
719 LOG(ERROR) << "Request received for unknown handle: " << attr_handle; in RequestWriteCallback()
727 conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCallback()
Dgatt_server.h297 int attr_handle, int offset, int length,
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cpp350 int conn_id, int trans_id, const bt_bdaddr_t& bda, int attr_handle, in NotifyRequestReadCallback() argument
355 this, conn_id, trans_id, bda, attr_handle, offset, is_long)); in NotifyRequestReadCallback()
360 const bt_bdaddr_t& bda, int attr_handle, in NotifyRequestWriteCallback() argument
366 this, conn_id, trans_id, bda, attr_handle, offset, length, need_rsp, in NotifyRequestWriteCallback()
Dfake_bluetooth_gatt_interface.h124 const bt_bdaddr_t& bda, int attr_handle,
127 const bt_bdaddr_t& bda, int attr_handle,
Dbluetooth_gatt_interface.cpp365 int attr_handle, int offset, bool is_long) { in RequestReadCallback() argument
368 << " attr_handle: " << attr_handle << " offset: " << offset in RequestReadCallback()
374 g_interface, conn_id, trans_id, *bda, attr_handle, offset, is_long)); in RequestReadCallback()
379 int attr_handle, int offset, int length, in RequestWriteCallback() argument
383 << " attr_handle: " << attr_handle << " offset: " << offset in RequestWriteCallback()
390 g_interface, conn_id, trans_id, *bda, attr_handle, offset, length, in RequestWriteCallback()
Dbluetooth_gatt_interface.h197 int attr_handle, int offset,
204 int attr_handle, int offset, int length,
/system/bt/stack/gatt/
Dgatt_api.c595 tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_handle, UINT16 val_len, UINT… in GATTS_HandleValueIndication() argument
615 if (! GATT_HANDLE_IS_VALID (attr_handle)) in GATTS_HandleValueIndication()
619 indication.handle = attr_handle; in GATTS_HandleValueIndication()
667 tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, in GATTS_HandleValueNotification() argument
686 if (GATT_HANDLE_IS_VALID (attr_handle)) in GATTS_HandleValueNotification()
688 notif.handle = attr_handle; in GATTS_HandleValueNotification()
/system/bt/btif/src/
Dbtif_gatt_server.c95 uint16_t attr_handle; member
491 BTA_GATTS_HandleValueIndication(p_cb->conn_id, p_cb->attr_handle, in btgatts_handle_event()
653 btif_cb.attr_handle = attribute_handle; in btif_gatts_send_indication()
/system/bt/stack/include/
Dgatt_api.h863 UINT16 attr_handle,
880 extern tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle,
/system/bt/bta/gatt/
Dbta_gattc_cache.c229 UINT16 attr_handle, in bta_gattc_add_char_to_cache() argument
240 …BTA_GATTC_SERVICE *service = bta_gattc_find_matching_service(p_srvc_cb->p_srvc_cache, attr_handle); in bta_gattc_add_char_to_cache()