Searched refs:mock_acl_connection (Results 1 – 4 of 4) sorted by relevance
/system/bt/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 …]
|
/system/bt/gd/l2cap/le/internal/ |
D | fixed_channel_impl_test.cc | 66 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local 67 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F() 69 … std::unique_ptr<testing::MockLeAclConnection>(mock_acl_connection), nullptr /* LinkManager* */); in TEST_F() 80 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local 81 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F() 83 … std::unique_ptr<testing::MockLeAclConnection>(mock_acl_connection), nullptr /* LinkManager* */); in TEST_F() 105 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local 106 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F() 108 … std::unique_ptr<testing::MockLeAclConnection>(mock_acl_connection), nullptr /* LinkManager* */); in TEST_F() 130 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()
|
/system/bt/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));
|