Home
last modified time | relevance | path

Searched refs:mock_acl_connection (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/bt/gd/l2cap/classic/internal/
H A Dfixed_channel_impl_test.cc67 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()
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()
113 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F()
143 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F()
176 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F()
205 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F()
223 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F()
242 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F()
[all …]
/aosp12/system/bt/gd/l2cap/le/internal/
H A Dfixed_channel_impl_test.cc66 testing::MockLeAclConnection* mock_acl_connection = new testing::MockLeAclConnection(); in TEST_F() local
67 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); 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()
106 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F()
131 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F()
159 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F()
183 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F()
196 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F()
209 EXPECT_CALL(*mock_acl_connection, GetRemoteAddress()).Times(1); in TEST_F()
[all …]
H A Dlink_mock.h37 … 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()
/aosp12/system/bt/gd/docs/testing/
H A Dgtest.md264 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));