Home
last modified time | relevance | path

Searched refs:need_rsp (Results 1 – 16 of 16) 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 value.size(), need_rsp, is_prep); in RequestWriteCallback()
295 if (!need_rsp) return; in RequestWriteCallback()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc253 int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) { in NotifyRequestWriteCharacteristicCallback() argument
256 attr_handle, offset, need_rsp, in NotifyRequestWriteCharacteristicCallback()
263 int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) { in NotifyRequestWriteDescriptorCallback() argument
266 attr_handle, offset, need_rsp, in NotifyRequestWriteDescriptorCallback()
Dbluetooth_gatt_interface.cc310 int offset, bool need_rsp, bool is_prep, in RequestWriteCharacteristicCallback() argument
315 << " length: " << value.size() << " need_rsp: " << need_rsp in RequestWriteCharacteristicCallback()
320 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteCharacteristicCallback()
326 int offset, bool need_rsp, bool is_prep, in RequestWriteDescriptorCallback() argument
331 << " length: " << value.size() << " need_rsp: " << need_rsp in RequestWriteDescriptorCallback()
336 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteDescriptorCallback()
Dfake_bluetooth_gatt_interface.h120 bool need_rsp, bool is_prep,
125 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.cc64 need_rsp(false), in RequestData()
75 bool need_rsp; member
120 char_write_req_.need_rsp = need_response; in OnCharacteristicWriteRequest()
137 desc_write_req_.need_rsp = need_response; in OnDescriptorWriteRequest()
540 EXPECT_EQ(true, test_delegate.char_write_req().need_rsp); in TEST_F()
553 EXPECT_EQ(true, test_delegate.desc_write_req().need_rsp); in TEST_F()
604 EXPECT_EQ(false, test_delegate.char_write_req().need_rsp); in TEST_F()
/system/bt/stack/include/
Dsrvc_api.h84 bool need_rsp; member
Dgatt_api.h465 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.cc195 req.need_rsp, req.is_prep, value); in btapp_gatts_handle_cback()
205 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.cc214 if (!p_data->write_req.need_rsp) ignore = true; in server_attr_request_cback()
/system/bt/stack/gatt/
Dgatt_attr.cc302 if (!p_data->write_req.need_rsp) rsp_needed = false; in gatt_request_cback()
Dgatt_sr.cc963 sr_data.write_req.need_rsp = true; in gatts_process_write_req()