Home
last modified time | relevance | path

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

/system/bt/service/
Dgatt_server.cc406 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteCharacteristicCallback() argument
420 << " need_rsp: " << need_rsp << " is_prep: " << is_prep; in RequestWriteCharacteristicCallback()
425 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteCharacteristicCallback()
439 offset, is_prep, need_rsp, in RequestWriteCharacteristicCallback()
445 const RawAddress& bda, int attr_handle, int offset, bool need_rsp, in RequestWriteDescriptorCallback() argument
459 << " need_rsp: " << need_rsp << " is_prep: " << is_prep; in RequestWriteDescriptorCallback()
464 if (need_rsp) conn->request_id_to_handle[trans_id] = attr_handle; in RequestWriteDescriptorCallback()
478 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.cc253 int attr_handle, int attribute_offset, bool need_rsp, in RequestWriteCallback() argument
261 attribute_offset, value.size(), need_rsp, is_prep); in RequestWriteCallback()
295 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_sr.cc898 sr_data.write_req.need_rsp = true; in gatts_process_write_req()