Home
last modified time | relevance | path

Searched refs:need_rsp (Results 1 – 16 of 16) sorted by relevance

/system/bt/service/
Dgatt_server.cc408 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteCharacteristicCallback() argument
422 << " need_rsp: " << need_rsp << " is_prep: " << is_prep; in RequestWriteCharacteristicCallback()
427 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCharacteristicCallback()
441 offset, is_prep, need_rsp, in RequestWriteCharacteristicCallback()
447 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteDescriptorCallback() argument
461 << " need_rsp: " << need_rsp << " is_prep: " << is_prep; in RequestWriteDescriptorCallback()
466 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteDescriptorCallback()
480 is_prep, need_rsp, std::move(value), in RequestWriteDescriptorCallback()
Dgatt_server.h215 const RawAddress& bda, int attr_handle, int offset, bool need_rsp,
220 int offset, bool need_rsp, bool is_prep,
Dgatt_server_old.cc252 int attr_handle, int attribute_offset, bool need_rsp, in RequestWriteCallback() argument
260 value.size(), need_rsp, is_prep); in RequestWriteCallback()
294 if (!need_rsp) return; in RequestWriteCallback()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc249 int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) { in NotifyRequestWriteCharacteristicCallback() argument
252 attr_handle, offset, need_rsp, in NotifyRequestWriteCharacteristicCallback()
259 int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) { in NotifyRequestWriteDescriptorCallback() argument
262 attr_handle, offset, need_rsp, in NotifyRequestWriteDescriptorCallback()
Dbluetooth_gatt_interface.cc309 int offset, bool need_rsp, bool is_prep, in RequestWriteCharacteristicCallback() argument
314 << " length: " << value.size() << " need_rsp: " << need_rsp in RequestWriteCharacteristicCallback()
319 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteCharacteristicCallback()
325 int offset, bool need_rsp, bool is_prep, in RequestWriteDescriptorCallback() argument
330 << " length: " << value.size() << " need_rsp: " << need_rsp in RequestWriteDescriptorCallback()
335 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteDescriptorCallback()
Dfake_bluetooth_gatt_interface.h117 bool need_rsp, bool is_prep,
122 bool need_rsp, bool is_prep,
Dbluetooth_gatt_interface.h151 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/test/
Dgatt_server_unittest.cc63 need_rsp(false), in RequestData()
74 bool need_rsp; member
119 char_write_req_.need_rsp = need_response; in OnCharacteristicWriteRequest()
136 desc_write_req_.need_rsp = need_response; in OnDescriptorWriteRequest()
539 EXPECT_EQ(true, test_delegate.char_write_req().need_rsp); in TEST_F()
552 EXPECT_EQ(true, test_delegate.desc_write_req().need_rsp); in TEST_F()
603 EXPECT_EQ(false, test_delegate.char_write_req().need_rsp); in TEST_F()
/system/bt/stack/include/
Dsrvc_api.h85 bool need_rsp; member
Dgatt_api.h368 bool need_rsp; /* need write response */ member
/system/bt/include/hardware/
Dbt_gatt_server.h79 int offset, bool need_rsp, bool is_prep,
/system/bt/btif/src/
Dbtif_gatt_server.cc194 req.need_rsp, req.is_prep, value); in btapp_gatts_handle_cback()
204 req.need_rsp, req.is_prep, value); in btapp_gatts_handle_cback()
/system/bt/stack/srvc/
Dsrvc_eng.cc270 if (!p_data->write_req.need_rsp) act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback()
/system/bt/stack/gap/
Dgap_ble.cc209 if (!p_data->write_req.need_rsp) ignore = true; in server_attr_request_cback()
/system/bt/stack/gatt/
Dgatt_attr.cc280 if (!p_data->write_req.need_rsp) rsp_needed = false; in gatt_request_cback()
Dgatt_sr.cc898 sr_data.write_req.need_rsp = true; in gatts_process_write_req()