Home
last modified time | relevance | path

Searched refs:my_status (Results 1 – 3 of 3) sorted by relevance

/system/bt/gd/l2cap/internal/
Ddynamic_channel_impl_test.cc89 StatusCapture* my_status = new StatusCapture(); in TEST_F() local
90 …dynamic_channel_impl.RegisterOnCloseCallback(user_handler->BindOnceOn(my_status, &StatusCapture::c… in TEST_F()
95 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status->value); in TEST_F()
98 delete my_status; in TEST_F()
114 StatusCapture* my_status = new StatusCapture(); in TEST_F() local
115 …dynamic_channel_impl.RegisterOnCloseCallback(user_handler->BindOnceOn(my_status, &StatusCapture::c… in TEST_F()
118 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status->value); in TEST_F()
121 delete my_status; in TEST_F()
134 StatusCapture* my_status = new StatusCapture(); in TEST_F() local
135 …dynamic_channel_impl.RegisterOnCloseCallback(user_handler->BindOnceOn(my_status, &StatusCapture::c… in TEST_F()
[all …]
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl_test.cc90 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
92 ….get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status = status; })); in TEST_F()
97 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status); in TEST_F()
118 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
120 ….get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status = status; })); in TEST_F()
122 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status); in TEST_F()
140 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
142 ….get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status = status; })); in TEST_F()
147 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status); in TEST_F()
168 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
[all …]
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_impl_test.cc96 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
98 ….get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status = status; })); in TEST_F()
103 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status); in TEST_F()
128 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
130 ….get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status = status; })); in TEST_F()
132 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status); in TEST_F()
155 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
157 ….get(), common::testing::BindLambdaForTesting([&](hci::ErrorCode status) { my_status = status; })); in TEST_F()
162 EXPECT_EQ(hci::ErrorCode::REMOTE_USER_TERMINATED_CONNECTION, my_status); in TEST_F()
188 hci::ErrorCode my_status = hci::ErrorCode::SUCCESS; in TEST_F() local
[all …]