Home
last modified time | relevance | path

Searched refs:mHal (Results 1 – 2 of 2) sorted by relevance

/test/xts/hats/hdf/nfc/hdcService_additional/
Dnfc_services_test.cpp42 OHOS::sptr<INfcV1_0> mHal = nullptr; variable
85 void HdfNfcHdiTestAdditional::SetUpTestCase() { mHal = INfcV1_0::Get(); } in SetUpTestCase()
114 if (mHal == nullptr) {
115 ASSERT_NE(nullptr, mHal);
125 ret = mHal->Open(nullptr, nfcbtType);
140 if (mHal == nullptr) {
141 ASSERT_NE(nullptr, mHal);
152 ret = mHal->Open(mCallback, nfcbtType);
154 ret = mHal->Close(nfcbtType);
170 if (mHal == nullptr) {
[all …]
/test/xts/hats/hdf/nfc/hdcService/
Dnfc_services_test.cpp42 OHOS::sptr<INfcV1_0> mHal = nullptr; variable
88 mHal = INfcV1_0::Get(); in SetUpTestCase()
125 if (mHal == nullptr) {
126 ASSERT_NE(nullptr, mHal);
135 int32_t ret = mHal->Open(mCallback, nfcbtType);
151 if (mHal == nullptr) {
152 ASSERT_NE(nullptr, mHal);
157 int32_t ret = mHal->CoreInitialized(data, nfcbtType);
173 if (mHal == nullptr) {
174 ASSERT_NE(nullptr, mHal);
[all …]