Update comments for VehicleApPowerStateShutdownParam

Comments for _IMMEDIATELY parameters stated that shutdown cannot be postponed.
However it is possible that CPMS will send SHUTDOWN_POSTPONE if SHUTDOWN_PREPARE takes longer. Updated comments to remove that statement.

Bug: 319670846
Change-Id: I0d172ba5d24b86c7f2403acae05961eca72b0c2d
Test: manual build
This commit is contained in:
Maxim Pleshivenkov 2024-01-11 19:08:30 +00:00
parent bbc84dd885
commit b8efced1a8

View file

@ -20,7 +20,7 @@ package android.hardware.automotive.vehicle;
@Backing(type="int")
enum VehicleApPowerStateShutdownParam {
/**
* AP must shutdown without Garage mode. Postponing is not allowed.
* AP must shutdown without Garage mode.
* If AP need to shutdown as soon as possible, EMERGENCY_SHUTDOWN shall be used.
*/
SHUTDOWN_IMMEDIATELY = 1,
@ -36,13 +36,11 @@ enum VehicleApPowerStateShutdownParam {
SHUTDOWN_ONLY = 3,
/**
* AP can enter deep sleep, without Garage mode.
* Postponing is not allowed.
* Depending on the actual implementation, it may shut down immediately
*/
SLEEP_IMMEDIATELY = 4,
/**
* AP can hibernate (suspend to disk) without Garage mode.
* Postponing is not allowed.
* Depending on the actual implementation, it may shut down immediately.
*/
HIBERNATE_IMMEDIATELY = 5,