1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/e052d1a909b3db89ac4859d4a1e030837d6e65e7/out/android/hardware/ISensorPrivacyListener.cpp.d --ninja -Iframeworks/native/libs/sensorprivacy/aidl -t --min_sdk_version=platform_apis -Iframeworks/native/libs/sensorprivacy/aidl/ frameworks/native/libs/sensorprivacy/aidl/android/hardware/ISensorPrivacyListener.aidl out/soong/.temp/sbox/e052d1a909b3db89ac4859d4a1e030837d6e65e7/out out/soong/.temp/sbox/e052d1a909b3db89ac4859d4a1e030837d6e65e7/out/android/hardware/ISensorPrivacyListener.cpp 4 * 5 * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..). 6 * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER 7 * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE. 8 */ 9 #pragma once 10 11 #include <binder/IBinder.h> 12 #include <binder/IInterface.h> 13 #include <utils/Errors.h> 14 #include <android/hardware/ISensorPrivacyListener.h> 15 16 namespace android { 17 namespace hardware { 18 class LIBBINDER_EXPORTED BpSensorPrivacyListener : public ::android::BpInterface<ISensorPrivacyListener> { 19 public: 20 explicit BpSensorPrivacyListener(const ::android::sp<::android::IBinder>& _aidl_impl); 21 virtual ~BpSensorPrivacyListener() = default; 22 ::android::binder::Status onSensorPrivacyChanged(int32_t toggleType, int32_t sensor, bool enabled) override; 23 ::android::binder::Status onSensorPrivacyStateChanged(int32_t toggleType, int32_t sensor, int32_t state) override; 24 }; // class BpSensorPrivacyListener 25 } // namespace hardware 26 } // namespace android 27