Searched refs:mock_le_connection_callbacks_ (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/gd/hci/ |
D | acl_manager_unittest.cc | 247 acl_manager_->RegisterLeCallbacks(&mock_le_connection_callbacks_, client_handler_); in SetUp() 257 acl_manager_->UnregisterLeCallbacks(&mock_le_connection_callbacks_, std::move(promise)); in TearDown() 268 mock_le_connection_callbacks_.le_connections_.clear(); in TearDown() 281 mock_le_connection_callbacks_.le_connection_promise_ = std::make_unique<std::promise<void>>(); in GetLeConnectionFuture() 282 return mock_le_connection_callbacks_.le_connection_promise_->get_future(); in GetLeConnectionFuture() 294 return mock_le_connection_callbacks_.le_connections_.back(); in GetLastLeConnection() 298 return mock_le_connection_callbacks_.le_connections_.size(); in NumberOfLeConnections() 302 MockLeConnectionCallbacks mock_le_connection_callbacks_; member in bluetooth::hci::acl_manager::__anond0d203480111::AclManagerWithCallbacksTest 509 acl_manager_->RegisterLeCallbacks(&mock_le_connection_callbacks_, client_handler_); in SetUp()
|
D | acl_manager_test.cc | 235 MockLeConnectionCallbacks mock_le_connection_callbacks_; member in bluetooth::hci::acl_manager::AclManagerNoCallbacksTest 243 acl_manager_->RegisterLeCallbacks(&mock_le_connection_callbacks_, client_handler_); in SetUp() 381 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(remote_with_type_, _)) in SetUp() 471 mock_le_connection_callbacks_, in TEST_F() 543 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(remote_with_type, _)) in TEST_F() 584 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(remote_with_type, _)) in TEST_F() 1188 acl_manager_->RegisterLeCallbacks(&mock_le_connection_callbacks_, client_handler_); in SetUp() 1256 acl_manager_->RegisterLeCallbacks(&mock_le_connection_callbacks_, client_handler_); in SetUp() 1305 acl_manager_->UnregisterLeCallbacks(&mock_le_connection_callbacks_, std::move(promise)); in TEST_F() 1346 acl_manager_->UnregisterLeCallbacks(&mock_le_connection_callbacks_, std::move(promise)); in TEST_F()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | le_impl_test.cc | 291 le_impl_->handle_register_le_callbacks(&mock_le_connection_callbacks_, handler_); in SetUp() 398 MockLeConnectionCallbacks mock_le_connection_callbacks_; member in bluetooth::hci::acl_manager::LeImplTest 427 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(_, _)) in SetUp() 522 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(address_with_type, _)); in TEST_F() 561 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(address_with_type, _)); in TEST_F() 599 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(address_with_type, _)); in TEST_F() 637 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(address_with_type, _)); in TEST_F() 1005 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(_, _)).Times(1); in TEST_F() 1024 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(_, _)).Times(1); in TEST_F() 1043 EXPECT_CALL(mock_le_connection_callbacks_, OnLeConnectSuccess(_, _)).Times(1); in TEST_F() [all …]
|