summaryrefslogtreecommitdiff
path: root/x86_64/include/out/soong/.intermediates/hardware/interfaces/automotive/occupant_awareness/aidl/android.hardware.automotive.occupant_awareness-ndk_platform-source/gen/include/aidl/android/hardware/automotive/occupant_awareness/PresenceDetection.h
blob: 38159adc916cd1b59dd4a5da2bda7c61b9a69064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once
#include <android/binder_interface_utils.h>

#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#ifdef BINDER_STABILITY_SUPPORT
#include <android/binder_stability.h>
#endif  // BINDER_STABILITY_SUPPORT
namespace aidl {
namespace android {
namespace hardware {
namespace automotive {
namespace occupant_awareness {
class PresenceDetection {
public:
  static const char* descriptor;

  bool isOccupantDetected;
  int64_t detectionDurationMillis;

  binder_status_t readFromParcel(const AParcel* parcel);
  binder_status_t writeToParcel(AParcel* parcel) const;
};
}  // namespace occupant_awareness
}  // namespace automotive
}  // namespace hardware
}  // namespace android
}  // namespace aidl