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
Loading
Please register or sign in to comment