1 /******************************************************************************
2  *
3  *  Copyright (C) 2018 NXP Semiconductors
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 #ifndef VENDOR_NXP_NXPNFC_V1_0_NXPNFC_H
19 #define VENDOR_NXP_NXPNFC_V1_0_NXPNFC_H
20 
21 #include <hardware/hardware.h>
22 #include <hidl/MQDescriptor.h>
23 #include <hidl/Status.h>
24 #include <vendor/nxp/nxpese/1.0/INxpEse.h>
25 #include "hal_nxpese.h"
26 #include "utils/Log.h"
27 
28 namespace vendor {
29 namespace nxp {
30 namespace nxpese {
31 namespace V1_0 {
32 namespace implementation {
33 
34 using ::android::hidl::base::V1_0::DebugInfo;
35 using ::android::hidl::base::V1_0::IBase;
36 using ::vendor::nxp::nxpese::V1_0::INxpEse;
37 using ::android::hardware::hidl_array;
38 using ::android::hardware::hidl_memory;
39 using ::android::hardware::hidl_string;
40 using ::android::hardware::hidl_vec;
41 using ::android::hardware::Return;
42 using ::android::hardware::Void;
43 using ::android::sp;
44 
45 struct NxpEse : public INxpEse {
46   Return<void> ioctl(uint64_t ioctlType, const hidl_vec<uint8_t>& inOutData,
47                      ioctl_cb _hidl_cb) override;
48 };
49 
50 }  // namespace implementation
51 }  // namespace V1_0
52 }  // namespace nxpese
53 }  // namespace nxp
54 }  // namespace vendor
55 
56 #endif  // VENDOR_NXP_NXPNFC_V1_0_NXPNFC_H
57