platform_hardware_interfaces/power/aidl/android/hardware/power
Peiyong Lin c7854594a2 Add thread management API to PowerHintSession.
Previously the list of threads of a PowerHintSession was only determined
when the PowerHintSession was created. This means newly forked threads
from existing threads of the PowerHintSession will not get the benefit
and the clients have to create new PowerHintSession for that.

This patch adds a new method to allow clients to update the threads of
the PowerHintSession.

Additionally, this patch also removes the oneway annotation at the
interface level of IPowerHintSession, all existing methods are converted
to oneway methods and setThreads is a bidirectional method. This also
allows to do meaningful VTS validation.

Bug: b/244216750
Test: atest VtsHalPowerTargetTest
Change-Id: If499d6dad20c9d7f6fbda1b5dc9d528396f1f6c1
2022-11-01 23:25:56 +00:00
..
Boost.aidl power: Add DPF and update imminent hints to AIDL 2020-02-13 14:49:16 -08:00
IPower.aidl ADPF: IPower: add aidl interfaces 2021-04-05 22:19:03 +08:00
IPowerHintSession.aidl Add thread management API to PowerHintSession. 2022-11-01 23:25:56 +00:00
Mode.aidl Power: add a generic game mode 2022-01-13 16:20:32 -08:00
SessionHint.aidl Add power efficiency hint for power hint session. 2022-09-29 21:19:57 +00:00
WorkDuration.aidl ADPF: IPower: add aidl interfaces 2021-04-05 22:19:03 +08:00