1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/f4d3d2c4d378a0ef171cc9bbeac953191512eb39/out/android/os/IThermalService.cpp.d --ninja -Iframeworks/native/services/powermanager/include -Iframeworks/base/core/java/android/os -t --min_sdk_version=platform_apis -Iframeworks/base/core/java/ frameworks/base/core/java/android/os/IThermalService.aidl out/soong/.temp/sbox/f4d3d2c4d378a0ef171cc9bbeac953191512eb39/out out/soong/.temp/sbox/f4d3d2c4d378a0ef171cc9bbeac953191512eb39/out/android/os/IThermalService.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 <android/CoolingDevice.h>
12 #include <android/Temperature.h>
13 #include <android/os/IThermalEventListener.h>
14 #include <android/os/IThermalHeadroomListener.h>
15 #include <android/os/IThermalStatusListener.h>
16 #include <binder/IBinder.h>
17 #include <binder/IInterface.h>
18 #include <binder/Status.h>
19 #include <binder/Trace.h>
20 #include <cstdint>
21 #include <utils/StrongPointer.h>
22 #include <vector>
23 
24 namespace android::os {
25 class IThermalEventListener;
26 class IThermalHeadroomListener;
27 class IThermalStatusListener;
28 }  // namespace android::os
29 namespace android {
30 namespace os {
31 class LIBBINDER_EXPORTED IThermalServiceDelegator;
32 
33 class LIBBINDER_EXPORTED IThermalService : public ::android::IInterface {
34 public:
35   typedef IThermalServiceDelegator DefaultDelegator;
36   DECLARE_META_INTERFACE(ThermalService)
37   virtual ::android::binder::Status registerThermalEventListener(const ::android::sp<::android::os::IThermalEventListener>& listener, bool* _aidl_return) = 0;
38   virtual ::android::binder::Status registerThermalEventListenerWithType(const ::android::sp<::android::os::IThermalEventListener>& listener, int32_t type, bool* _aidl_return) = 0;
39   virtual ::android::binder::Status unregisterThermalEventListener(const ::android::sp<::android::os::IThermalEventListener>& listener, bool* _aidl_return) = 0;
40   virtual ::android::binder::Status getCurrentTemperatures(::std::vector<::android::os::Temperature>* _aidl_return) = 0;
41   virtual ::android::binder::Status getCurrentTemperaturesWithType(int32_t type, ::std::vector<::android::os::Temperature>* _aidl_return) = 0;
42   virtual ::android::binder::Status registerThermalStatusListener(const ::android::sp<::android::os::IThermalStatusListener>& listener, bool* _aidl_return) = 0;
43   virtual ::android::binder::Status unregisterThermalStatusListener(const ::android::sp<::android::os::IThermalStatusListener>& listener, bool* _aidl_return) = 0;
44   virtual ::android::binder::Status getCurrentThermalStatus(int32_t* _aidl_return) = 0;
45   virtual ::android::binder::Status getCurrentCoolingDevices(::std::vector<::android::os::CoolingDevice>* _aidl_return) = 0;
46   virtual ::android::binder::Status getCurrentCoolingDevicesWithType(int32_t type, ::std::vector<::android::os::CoolingDevice>* _aidl_return) = 0;
47   virtual ::android::binder::Status getThermalHeadroom(int32_t forecastSeconds, float* _aidl_return) = 0;
48   virtual ::android::binder::Status getThermalHeadroomThresholds(::std::vector<float>* _aidl_return) = 0;
49   virtual ::android::binder::Status registerThermalHeadroomListener(const ::android::sp<::android::os::IThermalHeadroomListener>& listener, bool* _aidl_return) = 0;
50   virtual ::android::binder::Status unregisterThermalHeadroomListener(const ::android::sp<::android::os::IThermalHeadroomListener>& listener, bool* _aidl_return) = 0;
51 };  // class IThermalService
52 
53 class LIBBINDER_EXPORTED IThermalServiceDefault : public IThermalService {
54 public:
onAsBinder()55   ::android::IBinder* onAsBinder() override {
56     return nullptr;
57   }
registerThermalEventListener(const::android::sp<::android::os::IThermalEventListener> &,bool *)58   ::android::binder::Status registerThermalEventListener(const ::android::sp<::android::os::IThermalEventListener>& /*listener*/, bool* /*_aidl_return*/) override {
59     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
60   }
registerThermalEventListenerWithType(const::android::sp<::android::os::IThermalEventListener> &,int32_t,bool *)61   ::android::binder::Status registerThermalEventListenerWithType(const ::android::sp<::android::os::IThermalEventListener>& /*listener*/, int32_t /*type*/, bool* /*_aidl_return*/) override {
62     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
63   }
unregisterThermalEventListener(const::android::sp<::android::os::IThermalEventListener> &,bool *)64   ::android::binder::Status unregisterThermalEventListener(const ::android::sp<::android::os::IThermalEventListener>& /*listener*/, bool* /*_aidl_return*/) override {
65     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
66   }
getCurrentTemperatures(::std::vector<::android::os::Temperature> *)67   ::android::binder::Status getCurrentTemperatures(::std::vector<::android::os::Temperature>* /*_aidl_return*/) override {
68     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
69   }
getCurrentTemperaturesWithType(int32_t,::std::vector<::android::os::Temperature> *)70   ::android::binder::Status getCurrentTemperaturesWithType(int32_t /*type*/, ::std::vector<::android::os::Temperature>* /*_aidl_return*/) override {
71     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
72   }
registerThermalStatusListener(const::android::sp<::android::os::IThermalStatusListener> &,bool *)73   ::android::binder::Status registerThermalStatusListener(const ::android::sp<::android::os::IThermalStatusListener>& /*listener*/, bool* /*_aidl_return*/) override {
74     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
75   }
unregisterThermalStatusListener(const::android::sp<::android::os::IThermalStatusListener> &,bool *)76   ::android::binder::Status unregisterThermalStatusListener(const ::android::sp<::android::os::IThermalStatusListener>& /*listener*/, bool* /*_aidl_return*/) override {
77     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
78   }
getCurrentThermalStatus(int32_t *)79   ::android::binder::Status getCurrentThermalStatus(int32_t* /*_aidl_return*/) override {
80     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
81   }
getCurrentCoolingDevices(::std::vector<::android::os::CoolingDevice> *)82   ::android::binder::Status getCurrentCoolingDevices(::std::vector<::android::os::CoolingDevice>* /*_aidl_return*/) override {
83     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
84   }
getCurrentCoolingDevicesWithType(int32_t,::std::vector<::android::os::CoolingDevice> *)85   ::android::binder::Status getCurrentCoolingDevicesWithType(int32_t /*type*/, ::std::vector<::android::os::CoolingDevice>* /*_aidl_return*/) override {
86     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
87   }
getThermalHeadroom(int32_t,float *)88   ::android::binder::Status getThermalHeadroom(int32_t /*forecastSeconds*/, float* /*_aidl_return*/) override {
89     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
90   }
getThermalHeadroomThresholds(::std::vector<float> *)91   ::android::binder::Status getThermalHeadroomThresholds(::std::vector<float>* /*_aidl_return*/) override {
92     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
93   }
registerThermalHeadroomListener(const::android::sp<::android::os::IThermalHeadroomListener> &,bool *)94   ::android::binder::Status registerThermalHeadroomListener(const ::android::sp<::android::os::IThermalHeadroomListener>& /*listener*/, bool* /*_aidl_return*/) override {
95     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
96   }
unregisterThermalHeadroomListener(const::android::sp<::android::os::IThermalHeadroomListener> &,bool *)97   ::android::binder::Status unregisterThermalHeadroomListener(const ::android::sp<::android::os::IThermalHeadroomListener>& /*listener*/, bool* /*_aidl_return*/) override {
98     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
99   }
100 };  // class IThermalServiceDefault
101 }  // namespace os
102 }  // namespace android
103