Lines Matching refs:V1_0
26 ((x) == NFCSTATUS_SUCCESS) ? (V1_0::NfcStatus::OK) : (V1_0::NfcStatus::FAILED)
37 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
39 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
43 return V1_0::NfcStatus::FAILED; in open_1_1()
52 Return<V1_0::NfcStatus> Nfc::open( in open()
53 const sp<V1_0::INfcClientCallback>& clientCallback) { in open()
57 return V1_0::NfcStatus::FAILED; in open()
65 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in open()
74 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
78 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in coreInitialized()
81 Return<V1_0::NfcStatus> Nfc::prediscover() { in prediscover()
82 return StNfc_hal_pre_discover() ? V1_0::NfcStatus::FAILED in prediscover()
83 : V1_0::NfcStatus::OK; in prediscover()
86 Return<V1_0::NfcStatus> Nfc::close() { in close()
88 return V1_0::NfcStatus::FAILED; in close()
101 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in close()
104 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
105 return StNfc_hal_control_granted() ? V1_0::NfcStatus::FAILED in controlGranted()
106 : V1_0::NfcStatus::OK; in controlGranted()
109 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
110 return StNfc_hal_power_cycle() ? V1_0::NfcStatus::FAILED in powerCycle()
111 : V1_0::NfcStatus::OK; in powerCycle()
120 Return<V1_0::NfcStatus> Nfc::closeForPowerOffCase() { in closeForPowerOffCase()
122 return V1_0::NfcStatus::FAILED; in closeForPowerOffCase()
135 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in closeForPowerOffCase()