Home
last modified time | relevance | path

Searched refs:write_cb (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/system/bta/vc/
Ddevices_test.cc780 GATT_WRITE_OP_CB write_cb = [](uint16_t /*conn_id*/, tGATT_STATUS /*status*/, uint16_t /*handle*/, in TEST_F() local
786 WriteCharacteristic(_, 0x0014, expected_data, GATT_WRITE, write_cb, nullptr)); in TEST_F()
787 device->ControlPointOperation(0x03, nullptr, write_cb, nullptr); in TEST_F()
791 GATT_WRITE_OP_CB write_cb = [](uint16_t /*conn_id*/, tGATT_STATUS /*status*/, uint16_t /*handle*/, in TEST_F() local
797 WriteCharacteristic(_, 0x0014, expected_data, GATT_WRITE, write_cb, nullptr)); in TEST_F()
799 device->ControlPointOperation(0x01, &arg, write_cb, nullptr); in TEST_F()
857 GATT_WRITE_OP_CB write_cb = [](uint16_t /*conn_id*/, tGATT_STATUS /*status*/, uint16_t /*handle*/, in TEST_F() local
865 WriteCharacteristic(_, 0x0067, expected_data, GATT_WRITE, write_cb, nullptr)); in TEST_F()
866 device->ExtAudioOutControlPointOperation(1, 0x0b, nullptr, write_cb, nullptr); in TEST_F()
870 GATT_WRITE_OP_CB write_cb = [](uint16_t /*conn_id*/, tGATT_STATUS /*status*/, uint16_t /*handle*/, in TEST_F() local
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_socket.h119 socket_cb write_cb)>
123 socket_cb write_cb) { in operator()
124 body(socket, reactor, context, read_cb, write_cb); in operator()
Dmock_osi_socket.cc82 socket_cb write_cb) { in socket_register() argument
84 test::mock::osi_socket::socket_register(socket, reactor, context, read_cb, write_cb); in socket_register()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_queue.cc187 data->cb = op.write_cb; in gatt_execute_next_op()
194 data->cb = op.write_cb; in gatt_execute_next_op()
243 .write_cb = cb, in WriteCharacteristic()
255 .write_cb = cb, in WriteDescriptor()
Dbta_gattc_api.cc489 p_buf->write_cb = callback; in BTA_GATTC_WriteCharValue()
523 p_buf->write_cb = callback; in BTA_GATTC_WriteCharDescr()
560 p_buf->write_cb = callback; in BTA_GATTC_PrepareWrite()
Dbta_gattc_int.h157 GATT_WRITE_OP_CB write_cb; member
Dbta_gattc_act.cc1133 GATT_WRITE_OP_CB cb = p_clcb->p_q_cmd->api_write.write_cb; in bta_gattc_write_cmpl()
/packages/modules/Bluetooth/system/osi/src/
Dsocket.cc198 socket_cb write_cb) { in socket_register() argument
205 socket->write_ready = write_cb; in socket_register()
209 void (*write_fn)(void*) = (write_cb != NULL) ? internal_write_ready : NULL; in socket_register()
/packages/modules/Bluetooth/system/osi/include/
Dsocket.h104 socket_cb write_cb);
/packages/modules/Bluetooth/system/bta/include/
Dbta_gatt_queue.h63 GATT_WRITE_OP_CB write_cb; member
/packages/modules/Bluetooth/system/bta/test/
Dbta_gatt_test.cc185 .write_cb = bta_gatt_write_complete_callback, in TEST_F()
/packages/modules/Bluetooth/system/bta/has/
Dhas_client.cc660 std::function<ErrorCode(HasDevice& device, HasCtpOp& operation)> write_cb) { in CpPresetOperationCaller() argument
696 status = write_cb(*device, operation); in CpPresetOperationCaller()
714 status = write_cb(*device, operation); in CpPresetOperationCaller()
735 status = write_cb(*device, operation); in CpPresetOperationCaller()
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc462 socket_cb write_cb) { in socket_register() argument