Home
last modified time | relevance | path

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

/hardware/interfaces/nfc/1.0/vts/functional/
DVtsHalNfcV1_0TargetTest.cpp119 nfc_cb_ = new NfcClientCallback(); in SetUp()
120 ASSERT_NE(nfc_cb_, nullptr); in SetUp()
122 EXPECT_EQ(NfcStatus::OK, nfc_->open(nfc_cb_)); in SetUp()
124 auto res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
134 res = nfc_cb_->WaitForCallback(kCallbackNameSendData); in SetUp()
143 res = nfc_cb_->WaitForCallback(kCallbackNameSendData); in SetUp()
153 res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
158 EXPECT_EQ(NfcStatus::OK, nfc_->open(nfc_cb_)); in SetUp()
160 res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
169 auto res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in TearDown()
[all …]
/hardware/interfaces/nfc/1.1/vts/functional/
DVtsHalNfcV1_1TargetTest.cpp107 nfc_cb_ = new NfcClientCallback(); in SetUp()
108 ASSERT_NE(nfc_cb_, nullptr); in SetUp()
110 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp()
112 auto res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
123 res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
128 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp()
130 res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
139 auto res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in TearDown()
146 sp<NfcClientCallback> nfc_cb_; member in NfcHidlTest
159 auto res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in TEST_F()
[all …]
/hardware/interfaces/nfc/1.2/vts/functional/
DVtsHalNfcV1_2TargetTest.cpp108 nfc_cb_ = new NfcClientCallback(); in SetUp()
109 ASSERT_NE(nfc_cb_, nullptr); in SetUp()
111 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp()
113 auto res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
124 res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
129 EXPECT_EQ(NfcStatus::OK, nfc_->open_1_1(nfc_cb_)); in SetUp()
131 res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in SetUp()
140 auto res = nfc_cb_->WaitForCallback(kCallbackNameSendEvent); in TearDown()
147 sp<NfcClientCallback> nfc_cb_; member in NfcHidlTest