Searched refs:mock_acl_connection (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/ |
D | fixed_channel_impl_test.cc | 66 testing::MockClassicAclConnection* mock_acl_connection = new testing::MockClassicAclConnection(); in TEST_F() local 67 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 68 EXPECT_CALL(*mock_acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F() 70 … std::unique_ptr<testing::MockClassicAclConnection>(mock_acl_connection), in TEST_F() 83 testing::MockClassicAclConnection* mock_acl_connection = new testing::MockClassicAclConnection(); in TEST_F() local 84 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 85 EXPECT_CALL(*mock_acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F() 87 … std::unique_ptr<testing::MockClassicAclConnection>(mock_acl_connection), in TEST_F() 112 testing::MockClassicAclConnection* mock_acl_connection = new testing::MockClassicAclConnection(); in TEST_F() local 113 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/ |
D | fixed_channel_impl_test.cc | 68 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local 69 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F() 71 … std::unique_ptr<testing::MockLeAclConnection>(mock_acl_connection), nullptr /* LinkManager* */); in TEST_F() 82 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local 83 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F() 85 … std::unique_ptr<testing::MockLeAclConnection>(mock_acl_connection), nullptr /* LinkManager* */); in TEST_F() 107 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local 108 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F() 110 … std::unique_ptr<testing::MockLeAclConnection>(mock_acl_connection), nullptr /* LinkManager* */); in TEST_F() 132 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local [all …]
|
D | link_mock.h | 37 … std::unique_ptr<MockLeAclConnection> mock_acl_connection, LinkManager* link_manager) in MockLink() argument 38 …: Link(handler, std::move(mock_acl_connection), parameter_provider, nullptr, nullptr, link_manager… in MockLink()
|
/packages/modules/Bluetooth/system/gd/docs/testing/ |
D | gtest.md | 264 testing::MockClassicAclConnection* mock_acl_connection = new testing::MockClassicAclConnection(); 265 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); 266 EXPECT_CALL(*mock_acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); 267 EXPECT_CALL(*mock_acl_connection, UnregisterCallbacks(_)).Times(1); 269 … std::unique_ptr<testing::MockClassicAclConnection>(mock_acl_connection));
|