Loading power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/SessionHint.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -38,4 +38,5 @@ enum SessionHint { CPU_LOAD_DOWN = 1, CPU_LOAD_RESET = 2, CPU_LOAD_RESUME = 3, POWER_EFFICIENCY = 4, } power/aidl/android/hardware/power/SessionHint.aidl +11 −2 Original line number Diff line number Diff line Loading @@ -25,22 +25,31 @@ enum SessionHint { * This hint must be sent before reporting the actual duration to the session. */ CPU_LOAD_UP = 0, /** * This hint indicates a decrease in CPU workload intensity. It means that * this hint session can reduce CPU resources and still meet the target duration. */ CPU_LOAD_DOWN = 1, /* /** * This hint indicates an upcoming CPU workload that is completely changed and * unknown. It means that the hint session should reset CPU resources to a known * baseline to prepare for an arbitrary load, and must wake up if inactive. */ CPU_LOAD_RESET = 2, /* /** * This hint indicates that the most recent CPU workload is resuming after a * period of inactivity. It means that the hint session should allocate similar * CPU resources to what was used previously, and must wake up if inactive. */ CPU_LOAD_RESUME = 3, /** * This hint indicates that this power hint session should be applied with a * power-efficient-first scheduling strategy. This means the work of this * power hint session is noncritical despite its CPU intensity. */ POWER_EFFICIENCY = 4, } Loading
power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/SessionHint.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -38,4 +38,5 @@ enum SessionHint { CPU_LOAD_DOWN = 1, CPU_LOAD_RESET = 2, CPU_LOAD_RESUME = 3, POWER_EFFICIENCY = 4, }
power/aidl/android/hardware/power/SessionHint.aidl +11 −2 Original line number Diff line number Diff line Loading @@ -25,22 +25,31 @@ enum SessionHint { * This hint must be sent before reporting the actual duration to the session. */ CPU_LOAD_UP = 0, /** * This hint indicates a decrease in CPU workload intensity. It means that * this hint session can reduce CPU resources and still meet the target duration. */ CPU_LOAD_DOWN = 1, /* /** * This hint indicates an upcoming CPU workload that is completely changed and * unknown. It means that the hint session should reset CPU resources to a known * baseline to prepare for an arbitrary load, and must wake up if inactive. */ CPU_LOAD_RESET = 2, /* /** * This hint indicates that the most recent CPU workload is resuming after a * period of inactivity. It means that the hint session should allocate similar * CPU resources to what was used previously, and must wake up if inactive. */ CPU_LOAD_RESUME = 3, /** * This hint indicates that this power hint session should be applied with a * power-efficient-first scheduling strategy. This means the work of this * power hint session is noncritical despite its CPU intensity. */ POWER_EFFICIENCY = 4, }