diff --git a/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/CoolingDevice.aidl b/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/CoolingDevice.aidl index dfd868646a..dff3c4cc49 100644 --- a/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/CoolingDevice.aidl +++ b/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/CoolingDevice.aidl @@ -33,7 +33,7 @@ package android.hardware.thermal; /* @hide */ -@VintfStability +@JavaDerive(toString=true) @VintfStability parcelable CoolingDevice { android.hardware.thermal.CoolingType type; String name; diff --git a/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/Temperature.aidl b/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/Temperature.aidl index 3bf08bf9c6..ce70ab844f 100644 --- a/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/Temperature.aidl +++ b/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/Temperature.aidl @@ -33,7 +33,7 @@ package android.hardware.thermal; /* @hide */ -@VintfStability +@JavaDerive(toString=true) @VintfStability parcelable Temperature { android.hardware.thermal.TemperatureType type; String name; diff --git a/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/TemperatureThreshold.aidl b/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/TemperatureThreshold.aidl index c5ca4b9df3..a384d19600 100644 --- a/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/TemperatureThreshold.aidl +++ b/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/TemperatureThreshold.aidl @@ -33,7 +33,7 @@ package android.hardware.thermal; /* @hide */ -@VintfStability +@JavaDerive(toString=true) @VintfStability parcelable TemperatureThreshold { android.hardware.thermal.TemperatureType type; String name; diff --git a/thermal/aidl/android/hardware/thermal/CoolingDevice.aidl b/thermal/aidl/android/hardware/thermal/CoolingDevice.aidl index 1f2360db47..0c5c17d3a9 100644 --- a/thermal/aidl/android/hardware/thermal/CoolingDevice.aidl +++ b/thermal/aidl/android/hardware/thermal/CoolingDevice.aidl @@ -20,6 +20,7 @@ import android.hardware.thermal.CoolingType; /* @hide */ @VintfStability +@JavaDerive(toString=true) parcelable CoolingDevice { /** * This cooling device type, CPU, GPU, BATTERY, and etc. diff --git a/thermal/aidl/android/hardware/thermal/Temperature.aidl b/thermal/aidl/android/hardware/thermal/Temperature.aidl index 281d68d8a6..b3f6700375 100644 --- a/thermal/aidl/android/hardware/thermal/Temperature.aidl +++ b/thermal/aidl/android/hardware/thermal/Temperature.aidl @@ -21,6 +21,7 @@ import android.hardware.thermal.ThrottlingSeverity; /* @hide */ @VintfStability +@JavaDerive(toString=true) parcelable Temperature { /** * This temperature's type. diff --git a/thermal/aidl/android/hardware/thermal/TemperatureThreshold.aidl b/thermal/aidl/android/hardware/thermal/TemperatureThreshold.aidl index 0714c828f0..94991ae240 100644 --- a/thermal/aidl/android/hardware/thermal/TemperatureThreshold.aidl +++ b/thermal/aidl/android/hardware/thermal/TemperatureThreshold.aidl @@ -20,6 +20,7 @@ import android.hardware.thermal.TemperatureType; /* @hide */ @VintfStability +@JavaDerive(toString=true) parcelable TemperatureThreshold { /** * This temperature's type.