Home
last modified time | relevance | path

Searched refs:sr_data (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/gatt/
Dgatt_db.cc718 tGATTS_DATA sr_data; in gatts_send_app_read_request() local
719 memset(&sr_data, 0, sizeof(tGATTS_DATA)); in gatts_send_app_read_request()
721 sr_data.read_req.handle = handle; in gatts_send_app_read_request()
722 sr_data.read_req.is_long = (bool)(op_code == GATT_REQ_READ_BLOB); in gatts_send_app_read_request()
723 sr_data.read_req.offset = offset; in gatts_send_app_read_request()
737 gatt_sr_send_req_callback(conn_id, trans_id, opcode, &sr_data); in gatts_send_app_read_request()
Dgatt_sr.cc933 tGATTS_DATA sr_data; in gatts_process_write_req() local
939 memset(&sr_data, 0, sizeof(tGATTS_DATA)); in gatts_process_write_req()
950 sr_data.write_req.is_prep = true; in gatts_process_write_req()
951 STREAM_TO_UINT16(sr_data.write_req.offset, p); in gatts_process_write_req()
963 sr_data.write_req.need_rsp = true; in gatts_process_write_req()
964 sr_data.write_req.handle = handle; in gatts_process_write_req()
966 sr_data.write_req.len = len; in gatts_process_write_req()
968 memcpy(sr_data.write_req.value, p, len); in gatts_process_write_req()
976 sr_data.write_req.offset, p, len, in gatts_process_write_req()
997 gatt_sr_send_req_callback(conn_id, trans_id, opcode, &sr_data); in gatts_process_write_req()