Loading Android.bp +12 −0 Original line number Diff line number Diff line Loading @@ -452,6 +452,18 @@ filegroup { path: "core/java", } filegroup { name: "libpowermanager_aidl", srcs: [ "core/java/android/os/Temperature.aidl", "core/java/android/os/CoolingDevice.aidl", "core/java/android/os/IThermalEventListener.aidl", "core/java/android/os/IThermalStatusListener.aidl", "core/java/android/os/IThermalService.aidl", ], path: "core/java", } java_library { name: "framework-minus-apex", defaults: ["framework-defaults"], Loading core/java/android/os/CoolingDevice.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,4 @@ package android.os; parcelable CoolingDevice; parcelable CoolingDevice cpp_header "android/CoolingDevice.h"; core/java/android/os/IThermalService.aidl +5 −4 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ interface IThermalService { * @return list of {@link android.os.Temperature}. * {@hide} */ List<Temperature> getCurrentTemperatures(); Temperature[] getCurrentTemperatures(); /** * Get current temperature with its throttling status on given temperature type. Loading @@ -64,7 +64,7 @@ interface IThermalService { * @return list of {@link android.os.Temperature}. * {@hide} */ List<Temperature> getCurrentTemperaturesWithType(in int type); Temperature[] getCurrentTemperaturesWithType(in int type); /** * Register a listener for thermal status change. Loading Loading @@ -94,7 +94,7 @@ interface IThermalService { * @return list of {@link android.os.CoolingDevice}. * {@hide} */ List<CoolingDevice> getCurrentCoolingDevices(); CoolingDevice[] getCurrentCoolingDevices(); /** * Get current cooling devices on given type. Loading @@ -102,7 +102,8 @@ interface IThermalService { * @return list of {@link android.os.CoolingDevice}. * {@hide} */ List<CoolingDevice> getCurrentCoolingDevicesWithType(in int type); CoolingDevice[] getCurrentCoolingDevicesWithType(in int type); /** * @param forecastSeconds how many seconds ahead to forecast the provided headroom Loading core/java/android/os/Temperature.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,4 @@ package android.os; parcelable Temperature; parcelable Temperature cpp_header "android/Temperature.h"; native/android/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ cc_library_shared { "surface_control.cpp", "system_fonts.cpp", "trace.cpp", "thermal.cpp" ], shared_libs: [ Loading @@ -72,6 +73,7 @@ cc_library_shared { "libxml2", "libEGL", "libGLESv2", "libpowermanager", "android.hardware.configstore@1.0", "android.hardware.configstore-utils", ], Loading Loading
Android.bp +12 −0 Original line number Diff line number Diff line Loading @@ -452,6 +452,18 @@ filegroup { path: "core/java", } filegroup { name: "libpowermanager_aidl", srcs: [ "core/java/android/os/Temperature.aidl", "core/java/android/os/CoolingDevice.aidl", "core/java/android/os/IThermalEventListener.aidl", "core/java/android/os/IThermalStatusListener.aidl", "core/java/android/os/IThermalService.aidl", ], path: "core/java", } java_library { name: "framework-minus-apex", defaults: ["framework-defaults"], Loading
core/java/android/os/CoolingDevice.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,4 @@ package android.os; parcelable CoolingDevice; parcelable CoolingDevice cpp_header "android/CoolingDevice.h";
core/java/android/os/IThermalService.aidl +5 −4 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ interface IThermalService { * @return list of {@link android.os.Temperature}. * {@hide} */ List<Temperature> getCurrentTemperatures(); Temperature[] getCurrentTemperatures(); /** * Get current temperature with its throttling status on given temperature type. Loading @@ -64,7 +64,7 @@ interface IThermalService { * @return list of {@link android.os.Temperature}. * {@hide} */ List<Temperature> getCurrentTemperaturesWithType(in int type); Temperature[] getCurrentTemperaturesWithType(in int type); /** * Register a listener for thermal status change. Loading Loading @@ -94,7 +94,7 @@ interface IThermalService { * @return list of {@link android.os.CoolingDevice}. * {@hide} */ List<CoolingDevice> getCurrentCoolingDevices(); CoolingDevice[] getCurrentCoolingDevices(); /** * Get current cooling devices on given type. Loading @@ -102,7 +102,8 @@ interface IThermalService { * @return list of {@link android.os.CoolingDevice}. * {@hide} */ List<CoolingDevice> getCurrentCoolingDevicesWithType(in int type); CoolingDevice[] getCurrentCoolingDevicesWithType(in int type); /** * @param forecastSeconds how many seconds ahead to forecast the provided headroom Loading
core/java/android/os/Temperature.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -16,4 +16,4 @@ package android.os; parcelable Temperature; parcelable Temperature cpp_header "android/Temperature.h";
native/android/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ cc_library_shared { "surface_control.cpp", "system_fonts.cpp", "trace.cpp", "thermal.cpp" ], shared_libs: [ Loading @@ -72,6 +73,7 @@ cc_library_shared { "libxml2", "libEGL", "libGLESv2", "libpowermanager", "android.hardware.configstore@1.0", "android.hardware.configstore-utils", ], Loading