Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f63b2687 authored by terryguan's avatar terryguan
Browse files

Change documentation for AP_POWER_STATE_REQ

Add documentation to VehicleProperty.aidl for AP_POWER_STATE_REQ

Bug: 366270660
Test: make
Change-Id: Ia3ce01a6af89fdf1fe99046f4afc6ae1500c4331
parent 0aaa3985
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -501,7 +501,7 @@
            {
            {
                "name": "AP_POWER_STATE_REQ",
                "name": "AP_POWER_STATE_REQ",
                "value": 289475072,
                "value": 289475072,
                "description": "Property to control power state of application processor\nIt is assumed that AP's power state is controlled by a separate power controller.\nFor configuration information, VehiclePropConfig.configArray must have bit flag combining values in VehicleApPowerStateConfigFlag.\nint32Values[0] : VehicleApPowerStateReq enum value int32Values[1] : additional parameter relevant for each state, 0 if not used."
                "description": "Property to control power state of application processor\nIt is assumed that AP's power state is controlled by a separate power controller.\nFor configuration information, VehiclePropConfig.configArray must have bit flag combining values in VehicleApPowerStateConfigFlag.\nconfigArray[0] : Bit flag combining values in VehicleApPowerStateConfigFlag, 0x0 if not used, 0x1 for enabling suspend to ram, 0x2 for supporting powering on AP from off state after timeout. 0x4 for enabling suspend to disk,\nint32Values[0] : VehicleApPowerStateReq enum value int32Values[1] : additional parameter relevant for each state, 0 if not used."
            },
            },
            {
            {
                "name": "AP_POWER_STATE_REPORT",
                "name": "AP_POWER_STATE_REPORT",
+6 −0
Original line number Original line Diff line number Diff line
@@ -1677,6 +1677,12 @@ enum VehicleProperty {
     * For configuration information, VehiclePropConfig.configArray must have bit flag combining
     * For configuration information, VehiclePropConfig.configArray must have bit flag combining
     * values in VehicleApPowerStateConfigFlag.
     * values in VehicleApPowerStateConfigFlag.
     *
     *
     *   configArray[0] : Bit flag combining values in VehicleApPowerStateConfigFlag,
     *                    0x0 if not used,
     *                    0x1 for enabling suspend to ram,
     *                    0x2 for supporting powering on AP from off state after timeout.
     *                    0x4 for enabling suspend to disk,
     *
     *   int32Values[0] : VehicleApPowerStateReq enum value
     *   int32Values[0] : VehicleApPowerStateReq enum value
     *   int32Values[1] : additional parameter relevant for each state,
     *   int32Values[1] : additional parameter relevant for each state,
     *                    0 if not used.
     *                    0 if not used.