1 /****************************************************************************** 2 * 3 * Copyright 2018 NXP 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 ******************************************************************************/ 18 19 #ifndef VENDOR_NXP_NXPNFC_V1_0_NXPNFC_H 20 #define VENDOR_NXP_NXPNFC_V1_0_NXPNFC_H 21 22 #include <vendor/nxp/nxpnfc/1.0/INxpNfc.h> 23 #include <hidl/MQDescriptor.h> 24 #include <hidl/Status.h> 25 #include "hal_nxpnfc.h" 26 27 namespace vendor { 28 namespace nxp { 29 namespace nxpnfc { 30 namespace V1_0 { 31 namespace implementation { 32 33 using ::android::hidl::base::V1_0::IBase; 34 using ::vendor::nxp::nxpnfc::V1_0::INxpNfc; 35 using ::android::hardware::hidl_vec; 36 using ::android::hardware::Return; 37 using ::android::hardware::Void; 38 39 struct NxpNfc : public INxpNfc { 40 Return<void> ioctl(uint64_t ioctlType, const hidl_vec<uint8_t>& inOutData, 41 ioctl_cb _hidl_cb) override; 42 }; 43 44 } // namespace implementation 45 } // namespace V1_0 46 } // namespace nxpnfc 47 } // namespace nxp 48 } // namespace vendor 49 50 #endif // VENDOR_NXP_NXPNFC_V1_0_NXPNFC_H 51