/system/bt/service/test/ |
gatt_client_unittest.cpp | 66 // Only set |mock_handler_| if a previous test case hasn't set it. 67 if (!mock_handler_) 68 mock_handler_.reset(new MockGattHandler()); 72 hal::FakeBluetoothGattInterface::TestClientHandler>(mock_handler_), 86 std::shared_ptr<MockGattHandler> mock_handler_; member in class:bluetooth::__anon73929::GattClientTest 94 EXPECT_CALL(*mock_handler_, RegisterClient(_)) 129 testing::Mock::VerifyAndClearExpectations(mock_handler_.get()); 133 EXPECT_CALL(*mock_handler_, RegisterClient(_)) 158 EXPECT_CALL(*mock_handler_, UnregisterClient(client_id0)) 162 testing::Mock::VerifyAndClearExpectations(mock_handler_.get()) [all...] |
low_energy_client_unittest.cpp | 166 // Only set |mock_handler_| if a test hasn't set it. 167 if (!mock_handler_) 168 mock_handler_.reset(new MockGattHandler()); 171 hal::FakeBluetoothGattInterface::TestClientHandler>(mock_handler_), 185 std::shared_ptr<MockGattHandler> mock_handler_; member in class:bluetooth::__anon73933::LowEnergyClientTest 208 EXPECT_CALL(*mock_handler_, MultiAdvDisable(_)) 211 EXPECT_CALL(*mock_handler_, UnregisterClient(_)) 232 EXPECT_CALL(*mock_handler_, RegisterClient(_)) 241 ::testing::Mock::VerifyAndClearExpectations(mock_handler_.get()); 249 EXPECT_CALL(*mock_handler_, MultiAdvEnable(_, _, _, _, _, _, _) [all...] |
gatt_server_unittest.cpp | 165 mock_handler_.reset(new MockGattHandler()); 169 hal::FakeBluetoothGattInterface::TestServerHandler>(mock_handler_)); 182 std::shared_ptr<MockGattHandler> mock_handler_; member in class:bluetooth::__anon73931::GattServerTest 209 EXPECT_CALL(*mock_handler_, RegisterServer(_)) 223 EXPECT_CALL(*mock_handler_, UnregisterServer(_)) 231 EXPECT_CALL(*mock_handler_, AddService(_, _, _)) 234 EXPECT_CALL(*mock_handler_, AddCharacteristic(_, _, _, _, _)) 237 EXPECT_CALL(*mock_handler_, AddDescriptor(_, _, _, _)) 240 EXPECT_CALL(*mock_handler_, StartService(_, _, _)) 282 testing::Mock::VerifyAndClearExpectations(mock_handler_.get()) [all...] |