Lines Matching refs:V1_0
28 ? (V1_0::NfcStatus::OK) : (V1_0::NfcStatus::FAILED)
39 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
41 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
45 return V1_0::NfcStatus::FAILED; in open_1_1()
54 Return<V1_0::NfcStatus> Nfc::open( in open()
55 const sp<V1_0::INfcClientCallback>& clientCallback) { in open()
59 return V1_0::NfcStatus::FAILED; in open()
67 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in open()
76 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
80 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in coreInitialized()
83 Return<V1_0::NfcStatus> Nfc::prediscover() { in prediscover()
84 return StNfc_hal_pre_discover() ? V1_0::NfcStatus::FAILED in prediscover()
85 : V1_0::NfcStatus::OK; in prediscover()
88 Return<V1_0::NfcStatus> Nfc::close() { in close()
90 return V1_0::NfcStatus::FAILED; in close()
102 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in close()
105 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
106 return StNfc_hal_control_granted() ? V1_0::NfcStatus::FAILED in controlGranted()
107 : V1_0::NfcStatus::OK; in controlGranted()
110 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
111 return StNfc_hal_power_cycle() ? V1_0::NfcStatus::FAILED in powerCycle()
112 : V1_0::NfcStatus::OK; in powerCycle()
121 Return<V1_0::NfcStatus> Nfc::closeForPowerOffCase() { in closeForPowerOffCase()
123 return V1_0::NfcStatus::FAILED; in closeForPowerOffCase()
136 return ret == 0 ? V1_0::NfcStatus::OK : V1_0::NfcStatus::FAILED; in closeForPowerOffCase()