Home
last modified time | relevance | path

Searched refs:write_req (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/gatt/
Dgatt_sr_test.cc217 ASSERT_EQ(test_state_.application_request_callback.data_.write_req.offset, in TEST_F()
219 ASSERT_TRUE(test_state_.application_request_callback.data_.write_req.is_prep); in TEST_F()
220 ASSERT_EQ(test_state_.application_request_callback.data_.write_req.len, 0); in TEST_F()
259 ASSERT_EQ(test_state_.application_request_callback.data_.write_req.offset, in TEST_F()
262 test_state_.application_request_callback.data_.write_req.is_prep); in TEST_F()
263 ASSERT_EQ(test_state_.application_request_callback.data_.write_req.len, in TEST_F()
295 ASSERT_EQ(test_state_.application_request_callback.data_.write_req.offset, in TEST_F()
298 test_state_.application_request_callback.data_.write_req.is_prep); in TEST_F()
299 ASSERT_EQ(test_state_.application_request_callback.data_.write_req.len, in TEST_F()
332 ASSERT_EQ(test_state_.application_request_callback.data_.write_req.offset, in TEST_F()
[all …]
/packages/modules/Bluetooth/system/bta/ras/
Dras_server.cc418 uint16_t write_req_handle = p_data->req_data.p_data->write_req.handle; in OnWriteCharacteristic()
419 uint16_t len = p_data->req_data.p_data->write_req.len; in OnWriteCharacteristic()
420 bool need_rsp = p_data->req_data.p_data->write_req.need_rsp; in OnWriteCharacteristic()
463 HandleControlPoint(tracker, &p_data->req_data.p_data->write_req); in OnWriteCharacteristic()
477 uint16_t len = p_data->req_data.p_data->write_req.len; in WriteVendorSpecificCharacteristic()
489 auto value = p_data->req_data.p_data->write_req.value; in WriteVendorSpecificCharacteristic()
516 uint16_t write_req_handle = p_data->req_data.p_data->write_req.handle; in OnWriteDescriptor()
517 uint16_t len = p_data->req_data.p_data->write_req.len; in OnWriteDescriptor()
535 const uint8_t* value = p_data->req_data.p_data->write_req.value; in OnWriteDescriptor()
546 void HandleControlPoint(ClientTracker* tracker, tGATT_WRITE_REQ* write_req) { in HandleControlPoint() argument
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr.cc997 sr_data.write_req.is_prep = true; in gatts_process_write_req()
998 STREAM_TO_UINT16(sr_data.write_req.offset, p); in gatts_process_write_req()
1010 sr_data.write_req.need_rsp = true; in gatts_process_write_req()
1011 sr_data.write_req.handle = handle; in gatts_process_write_req()
1013 sr_data.write_req.len = len; in gatts_process_write_req()
1015 memcpy(sr_data.write_req.value, p, len); in gatts_process_write_req()
1023 sr_data.write_req.offset, p, len, in gatts_process_write_req()
Dgatt_attr.cc332 if (!p_data->write_req.need_rsp) rsp_needed = false; in gatt_request_cback()
334 status = proc_write_req(conn_id, type, &p_data->write_req); in gatt_request_cback()
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_eng.cc260 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, in srvc_eng_s_request_cback()
262 if (!p_data->write_req.need_rsp) act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_gatt_server.cc191 const auto& req = p_data->req_data.p_data->write_req; in btapp_gatts_handle_cback()
200 const auto& req = p_data->req_data.p_data->write_req; in btapp_gatts_handle_cback()
/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc221 if (!p_data->write_req.need_rsp) ignore = true; in server_attr_request_cback()
223 status = proc_write_req(type, &p_data->write_req); in server_attr_request_cback()
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h534 tGATT_WRITE_REQ write_req; /* write */ member