Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/test/a2dp/
Da2dp_aac_unittest.cc118 void InitializeEncoder(bool peer_supports_3mbps, a2dp_source_read_callback_t read_cb, in InitializeEncoder() argument
121 encoder_iface_->encoder_init(&peer_params, sink_codec_config_, read_cb, in InitializeEncoder()
151 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { return 0; }; in TEST_F() local
159 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
170 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { return len; }; in TEST_F() local
178 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
203 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
216 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
243 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
251 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
[all …]
Da2dp_sbc_unittest.cc119 void InitializeEncoder(bool peer_supports_3mbps, a2dp_source_read_callback_t read_cb, in InitializeEncoder() argument
122 encoder_iface_->encoder_init(&peer_params, sink_codec_config_, read_cb, in InitializeEncoder()
151 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
160 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
172 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
185 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
208 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
230 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
255 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
263 InitializeEncoder(true, read_cb, enqueue_cb); in TEST_F()
[all …]
Da2dp_opus_unittest.cc112 void InitializeEncoder(a2dp_source_read_callback_t read_cb, in InitializeEncoder() argument
115 encoder_iface_->encoder_init(&peer_params, codec_config_, read_cb, in InitializeEncoder()
143 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
152 InitializeEncoder(read_cb, enqueue_cb); in TEST_F()
164 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
178 InitializeEncoder(read_cb, enqueue_cb); in TEST_F()
201 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
223 InitializeEncoder(read_cb, enqueue_cb); in TEST_F()
Da2dp_vendor_ldac_unittest.cc103 void InitializeEncoder(a2dp_source_read_callback_t read_cb, in InitializeEncoder() argument
106 encoder_iface_->encoder_init(&peer_params, source_codec_config_, read_cb, in InitializeEncoder()
134 auto read_cb = +[](uint8_t* p_buf, uint32_t len) -> uint32_t { in TEST_F() local
143 InitializeEncoder(read_cb, enqueue_cb); in TEST_F()
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_socket.h123 socket_cb read_cb, socket_cb write_cb)>
128 socket_cb read_cb, socket_cb write_cb) { in operator()
129 body(socket, reactor, context, read_cb, write_cb); in operator()
Dmock_osi_socket.cc81 socket_cb read_cb, socket_cb write_cb) { in socket_register() argument
83 test::mock::osi_socket::socket_register(socket, reactor, context, read_cb, in socket_register()
/packages/modules/Bluetooth/system/bta/vc/
Ddevices_test.cc605 GATT_READ_OP_CB read_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F() local
609 EXPECT_CALL(gatt_queue, ReadCharacteristic(_, 0x0062, read_cb, nullptr)); in TEST_F()
610 device->GetExtAudioOutVolumeOffset(1, read_cb, nullptr); in TEST_F()
614 GATT_READ_OP_CB read_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F() local
618 EXPECT_CALL(gatt_queue, ReadCharacteristic(_, 0x0085, read_cb, nullptr)); in TEST_F()
619 device->GetExtAudioOutLocation(2, read_cb, nullptr); in TEST_F()
638 GATT_READ_OP_CB read_cb = [](uint16_t conn_id, tGATT_STATUS status, in TEST_F() local
642 EXPECT_CALL(gatt_queue, ReadCharacteristic(_, 0x008a, read_cb, nullptr)); in TEST_F()
643 device->GetExtAudioOutDescription(2, read_cb, nullptr); in TEST_F()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_queue.cc169 data->cb = op.read_cb; in gatt_execute_next_op()
177 data->cb = op.read_cb; in gatt_execute_next_op()
228 .read_cb = cb, in ReadCharacteristic()
237 .read_cb = cb, in ReadDescriptor()
Dbta_gattc_api.cc398 p_buf->read_cb = callback; in BTA_GATTC_ReadCharacteristic()
423 p_buf->read_cb = callback; in BTA_GATTC_ReadUsingCharUuid()
452 p_buf->read_cb = callback; in BTA_GATTC_ReadCharDescr()
486 p_buf->read_cb = callback; in BTA_GATTC_ReadMultiple()
Dbta_gattc_int.h142 GATT_READ_OP_CB read_cb; member
191 GATT_READ_MULTI_OP_CB read_cb; member
Dbta_gattc_act.cc1143 GATT_READ_OP_CB cb = p_clcb->p_q_cmd->api_read.read_cb; in bta_gattc_read_cmpl()
1160 GATT_READ_MULTI_OP_CB cb = p_clcb->p_q_cmd->api_read_multi.read_cb; in bta_gattc_read_cmpl()
/packages/modules/Bluetooth/system/osi/src/
Dsocket.cc192 socket_cb read_cb, socket_cb write_cb) { in socket_register() argument
198 socket->read_ready = read_cb; in socket_register()
202 void (*read_fn)(void*) = (read_cb != NULL) ? internal_read_ready : NULL; in socket_register()
/packages/modules/Bluetooth/system/bta/test/
Dbta_gatt_test.cc152 .read_cb = bta_gatt_read_complete_callback, in TEST_F()
277 .read_cb = bta_gatt_read_complete_callback, in TEST_F()
/packages/modules/Bluetooth/system/osi/include/
Dsocket.h105 socket_cb read_cb, socket_cb write_cb);
/packages/modules/Bluetooth/system/bta/include/
Dbta_gatt_queue.h63 GATT_READ_OP_CB read_cb; member
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc424 socket_cb read_cb, socket_cb write_cb) { in socket_register() argument