1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/09f689f484b75415b1a4f57c71fc1f2a61f1eb19/out/android/os/IExternalVibrationController.cpp.d --ninja -Iframeworks/native/libs/vibrator/include -Iframeworks/base/core/java -t --min_sdk_version=platform_apis -Iframeworks/base/core/java/ frameworks/base/core/java/android/os/IExternalVibrationController.aidl out/soong/.temp/sbox/09f689f484b75415b1a4f57c71fc1f2a61f1eb19/out out/soong/.temp/sbox/09f689f484b75415b1a4f57c71fc1f2a61f1eb19/out/android/os/IExternalVibrationController.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/IInterface.h> 12 #include <android/os/IExternalVibrationController.h> 13 #include <android/os/BnExternalVibrationController.h> 14 #include <binder/Delegate.h> 15 16 17 namespace android { 18 namespace os { 19 class LIBBINDER_EXPORTED BnExternalVibrationController : public ::android::BnInterface<IExternalVibrationController> { 20 public: 21 static constexpr uint32_t TRANSACTION_mute = ::android::IBinder::FIRST_CALL_TRANSACTION + 0; 22 static constexpr uint32_t TRANSACTION_unmute = ::android::IBinder::FIRST_CALL_TRANSACTION + 1; 23 explicit BnExternalVibrationController(); 24 ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override; 25 }; // class BnExternalVibrationController 26 27 class LIBBINDER_EXPORTED IExternalVibrationControllerDelegator : public BnExternalVibrationController { 28 public: IExternalVibrationControllerDelegator(const::android::sp<IExternalVibrationController> & impl)29 explicit IExternalVibrationControllerDelegator(const ::android::sp<IExternalVibrationController> &impl) : _aidl_delegate(impl) {} 30 getImpl()31 ::android::sp<IExternalVibrationController> getImpl() { return _aidl_delegate; } mute(bool * _aidl_return)32 ::android::binder::Status mute(bool* _aidl_return) override { 33 return _aidl_delegate->mute(_aidl_return); 34 } unmute(bool * _aidl_return)35 ::android::binder::Status unmute(bool* _aidl_return) override { 36 return _aidl_delegate->unmute(_aidl_return); 37 } 38 private: 39 ::android::sp<IExternalVibrationController> _aidl_delegate; 40 }; // class IExternalVibrationControllerDelegator 41 } // namespace os 42 } // namespace android 43