mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Add @hide annotation to thermal AIDL interfaces"
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable CoolingDevice {
|
||||
android.hardware.thermal.CoolingType type;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@Backing(type="int") @VintfStability
|
||||
enum CoolingType {
|
||||
FAN = 0,
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
interface IThermal {
|
||||
android.hardware.thermal.CoolingDevice[] getCoolingDevices();
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
interface IThermalChangedCallback {
|
||||
oneway void notifyThrottling(in android.hardware.thermal.Temperature temperature);
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable Temperature {
|
||||
android.hardware.thermal.TemperatureType type;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable TemperatureThreshold {
|
||||
android.hardware.thermal.TemperatureType type;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@Backing(type="int") @VintfStability
|
||||
enum TemperatureType {
|
||||
UNKNOWN = -1,
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.thermal;
|
||||
/* @hide */
|
||||
@Backing(type="int") @VintfStability
|
||||
enum ThrottlingSeverity {
|
||||
NONE = 0,
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.hardware.thermal;
|
||||
|
||||
import android.hardware.thermal.CoolingType;
|
||||
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable CoolingDevice {
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.hardware.thermal;
|
||||
|
||||
/**
|
||||
* Device cooling device types
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
|
||||
@@ -23,6 +23,7 @@ import android.hardware.thermal.Temperature;
|
||||
import android.hardware.thermal.TemperatureThreshold;
|
||||
import android.hardware.thermal.TemperatureType;
|
||||
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
interface IThermal {
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ import android.hardware.thermal.Temperature;
|
||||
|
||||
/**
|
||||
* IThermalChangedCallback send throttling notification to clients.
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
interface IThermalChangedCallback {
|
||||
|
||||
@@ -19,6 +19,7 @@ package android.hardware.thermal;
|
||||
import android.hardware.thermal.TemperatureType;
|
||||
import android.hardware.thermal.ThrottlingSeverity;
|
||||
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable Temperature {
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.hardware.thermal;
|
||||
|
||||
import android.hardware.thermal.TemperatureType;
|
||||
|
||||
/* @hide */
|
||||
@VintfStability
|
||||
parcelable TemperatureThreshold {
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.hardware.thermal;
|
||||
|
||||
/**
|
||||
* Device temperature types
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.hardware.thermal;
|
||||
|
||||
/**
|
||||
* Device throttling severity
|
||||
* @hide
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
|
||||
Reference in New Issue
Block a user