Home
last modified time | relevance | path

Searched refs:gatt_queue (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/bta/test/common/
Dbta_gatt_queue_mock.cc22 static gatt::MockBtaGattQueue* gatt_queue = nullptr; variable
25 gatt_queue = mock_bta_gatt_queue; in SetMockBtaGattQueue()
28 void BtaGattQueue::Clean(uint16_t conn_id) { gatt_queue->Clean(conn_id); } in Clean()
32 gatt_queue->ReadCharacteristic(conn_id, handle, cb, cb_data); in ReadCharacteristic()
39 gatt_queue->WriteCharacteristic(conn_id, handle, value, write_type, cb, in WriteCharacteristic()
47 gatt_queue->WriteDescriptor(conn_id, handle, value, write_type, cb, cb_data); in WriteDescriptor()
51 bluetooth::log::assert_that(gatt_queue, "Mock GATT queue not set!"); in ConfigureMtu()
52 gatt_queue->ConfigureMtu(conn_id, mtu); in ConfigureMtu()
60 bluetooth::log::assert_that(gatt_queue, "Mock GATT queue not set!"); in ReadMultiCharacteristic()
61 gatt_queue->ReadMultiCharacteristic(conn_id, p_read_multi, variable_len, cb, in ReadMultiCharacteristic()
/packages/modules/Bluetooth/system/bta/vc/
Dvc_test.cc190 ON_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in set_sample_database()
247 gatt::SetMockBtaGattQueue(&gatt_queue); in SetUp()
301 ON_CALL(gatt_queue, WriteDescriptor(_, _, _, _, _, _)) in SetUp()
388 EXPECT_CALL(gatt_queue, WriteDescriptor(_, _, _, _, _, _)) in TestSubscribeNotifications()
395 EXPECT_CALL(gatt_queue, WriteDescriptor(conn_id, handles.second, in TestSubscribeNotifications()
414 EXPECT_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in TestReadCharacteristic()
417 EXPECT_CALL(gatt_queue, ReadCharacteristic(conn_id, handle, _, _)) in TestReadCharacteristic()
517 gatt::MockBtaGattQueue gatt_queue; member in bluetooth::vc::internal::__anon509a00280111::VolumeControlTest
995 EXPECT_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in TEST_F()
998 EXPECT_CALL(gatt_queue, ReadCharacteristic(conn_id, handle, _, _)) in TEST_F()
[all …]
Ddevices_test.cc57 gatt::SetMockBtaGattQueue(&gatt_queue); in SetUp()
68 gatt::MockBtaGattQueue gatt_queue; member in bluetooth::vc::internal::VolumeControlDevicesTest
154 EXPECT_CALL(gatt_queue, in TEST_F()
184 EXPECT_CALL(gatt_queue, in TEST_F()
203 EXPECT_CALL(gatt_queue, in TEST_F()
220 gatt::SetMockBtaGattQueue(&gatt_queue); in SetUp()
331 gatt::MockBtaGattQueue gatt_queue; member in bluetooth::vc::internal::VolumeControlDeviceTest
477 EXPECT_CALL(gatt_queue, ReadCharacteristic(_, handle_pair.first, _, _)); in TEST_F()
478 EXPECT_CALL(gatt_queue, WriteDescriptor(_, handle_pair.second, in TEST_F()
499 ON_CALL(gatt_queue, WriteDescriptor(_, _, _, _, _, _)) in TEST_F()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine_test.cc278 gatt::SetMockBtaGattQueue(&gatt_queue); in SetUp()
327 ON_CALL(gatt_queue, WriteCharacteristic(_, _, _, GATT_WRITE_NO_RSP, _, _)) in SetUp()
1605 gatt::MockBtaGattQueue gatt_queue; member in bluetooth::le_audio::internal::StateMachineTestBase
1690 EXPECT_CALL(gatt_queue, in TEST_F()
1730 EXPECT_CALL(gatt_queue, in TEST_F()
1781 EXPECT_CALL(gatt_queue, in TEST_F()
1830 EXPECT_CALL(gatt_queue, in TEST_F()
1871 EXPECT_CALL(gatt_queue, in TEST_F()
1924 EXPECT_CALL(gatt_queue, in TEST_F()
1973 EXPECT_CALL(gatt_queue, WriteCharacteristic(leAudioDevice->conn_id_, in TEST_F()
[all …]
/packages/modules/Bluetooth/system/bta/has/
Dhas_client_test.cc270 ON_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in set_sample_database()
303 ON_CALL(gatt_queue, in set_sample_database()
661 gatt::SetMockBtaGattQueue(&gatt_queue); in SetUp()
735 ON_CALL(gatt_queue, WriteDescriptor(_, _, _, _, _, _)) in SetUp()
800 Mock::VerifyAndClearExpectations(&gatt_queue); in TestConnect()
1176 gatt::MockBtaGattQueue gatt_queue; member in bluetooth::has::internal::__anon0c88c72c0111::HasClientTestBase
1476 EXPECT_CALL(gatt_queue, ReadCharacteristic(1, _, _, _)).Times(0); in TEST_F()
1477 EXPECT_CALL(gatt_queue, WriteDescriptor(1, _, _, _, _, _)).Times(3); in TEST_F()
1538 EXPECT_CALL(gatt_queue, ReadCharacteristic(1, _, _, _)).Times(0); in TEST_F()
1539 EXPECT_CALL(gatt_queue, WriteDescriptor(1, _, _, _, _, _)).Times(0); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client_test.cc184 ON_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in set_sample_cap_included_database()
264 ON_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in set_sample_database()
373 ON_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in set_sample_database_double_csis()
433 gatt::SetMockBtaGattQueue(&gatt_queue); in SetUp()
489 ON_CALL(gatt_queue, WriteDescriptor(_, _, _, _, _, _)) in SetUp()
626 EXPECT_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in TestReadCharacteristic()
629 EXPECT_CALL(gatt_queue, ReadCharacteristic(conn_id, handle, _, _)) in TestReadCharacteristic()
660 EXPECT_CALL(gatt_queue, WriteDescriptor(_, _, _, _, _, _)) in TestGattWriteCCC()
713 gatt::MockBtaGattQueue gatt_queue; member in bluetooth::csis::internal::__anon6ed6c0780111::CsisClientTest
1159 EXPECT_CALL(gatt_queue, ReadCharacteristic(conn_id, _, _, _)) in TEST_F()
[all …]