xref: /aosp_15_r20/system/nfc/src/rust/hal/ffi/hidl.h (revision 7eba2f3b06c51ae21384f6a4f14577b668a869b3)
1 #pragma once
2 #include <android/hardware/nfc/1.0/INfc.h>
3 #include <android/hardware/nfc/1.1/INfc.h>
4 #include <android/hardware/nfc/1.2/INfc.h>
5 
6 namespace nfc {
7 namespace hal {
8 
9 using android::hardware::nfc::V1_0::NfcStatus;
10 using android::hardware::nfc::V1_1::NfcEvent;
11 
12 }  // namespace hal
13 }  // namespace nfc
14 
15 #include "hal/hidl_hal.rs.h"
16 
17 namespace nfc {
18 namespace hal {
19 
20 void start_hal();
21 void stop_hal();
22 void send_command(rust::Slice<const uint8_t> data);
23 
24 }  // namespace hal
25 }  // namespace nfc
26