Home
last modified time | relevance | path

Searched refs:mock_handler_ (Results 1 – 3 of 3) sorted by relevance

/system/bt/service/test/
Dgatt_client_unittest.cpp67 if (!mock_handler_) in SetUp()
68 mock_handler_.reset(new MockGattHandler()); in SetUp()
72 hal::FakeBluetoothGattInterface::TestClientHandler>(mock_handler_), in SetUp()
86 std::shared_ptr<MockGattHandler> mock_handler_; member in bluetooth::__anon87c1a4450111::GattClientTest
94 EXPECT_CALL(*mock_handler_, RegisterClient(_)) in TEST_F()
129 testing::Mock::VerifyAndClearExpectations(mock_handler_.get()); in TEST_F()
133 EXPECT_CALL(*mock_handler_, RegisterClient(_)) in TEST_F()
158 EXPECT_CALL(*mock_handler_, UnregisterClient(client_id0)) in TEST_F()
162 testing::Mock::VerifyAndClearExpectations(mock_handler_.get()); in TEST_F()
177 EXPECT_CALL(*mock_handler_, Scan(true)) in TEST_F()
[all …]
Dlow_energy_client_unittest.cpp167 if (!mock_handler_) in SetUp()
168 mock_handler_.reset(new MockGattHandler()); in SetUp()
171 hal::FakeBluetoothGattInterface::TestClientHandler>(mock_handler_), in SetUp()
185 std::shared_ptr<MockGattHandler> mock_handler_; member in bluetooth::__anond33f6f700111::LowEnergyClientTest
208 EXPECT_CALL(*mock_handler_, MultiAdvDisable(_)) in TearDown()
211 EXPECT_CALL(*mock_handler_, UnregisterClient(_)) in TearDown()
232 EXPECT_CALL(*mock_handler_, RegisterClient(_)) in RegisterTestClient()
241 ::testing::Mock::VerifyAndClearExpectations(mock_handler_.get()); in RegisterTestClient()
249 EXPECT_CALL(*mock_handler_, MultiAdvEnable(_, _, _, _, _, _, _)) in StartAdvertising()
252 EXPECT_CALL(*mock_handler_, in StartAdvertising()
[all …]
Dgatt_server_unittest.cpp165 mock_handler_.reset(new MockGattHandler()); in SetUp()
169 hal::FakeBluetoothGattInterface::TestServerHandler>(mock_handler_)); in SetUp()
182 std::shared_ptr<MockGattHandler> mock_handler_; member in bluetooth::__anond7fa405d0111::GattServerTest
209 EXPECT_CALL(*mock_handler_, RegisterServer(_)) in SetUp()
223 EXPECT_CALL(*mock_handler_, UnregisterServer(_)) in TearDown()
231 EXPECT_CALL(*mock_handler_, AddService(_, _, _)) in SetUpTestService()
234 EXPECT_CALL(*mock_handler_, AddCharacteristic(_, _, _, _, _)) in SetUpTestService()
237 EXPECT_CALL(*mock_handler_, AddDescriptor(_, _, _, _)) in SetUpTestService()
240 EXPECT_CALL(*mock_handler_, StartService(_, _, _)) in SetUpTestService()
282 testing::Mock::VerifyAndClearExpectations(mock_handler_.get()); in SetUpTestService()
[all …]