Loading automotive/vehicle/aidl/impl/default_config/TEST_MAPPING 0 → 100644 +8 −0 Original line number Diff line number Diff line { "ravenwood-presubmit": [ { "name": "CarServiceHostUnitTest", "host": true } ] } automotive/vehicle/aidl/impl/default_config/config/DefaultProperties.json +12 −9 Original line number Diff line number Diff line Loading @@ -3195,19 +3195,22 @@ } }, { "property": "VehicleProperty::DISPLAY_BRIGHTNESS", "property": "VehicleProperty::PER_DISPLAY_BRIGHTNESS" }, { "property": "VehicleProperty::PER_DISPLAY_MAX_BRIGHTNESS", "defaultValue": { "int32Values": [ 0, 100, 1, 100, 2, 100, 3, 100 ] }, "areas": [ { "areaId": 0, "minInt32Value": 0, "maxInt32Value": 100 } ] }, { "property": "VehicleProperty::VALET_MODE_ENABLED", Loading automotive/vehicle/aidl/impl/fake_impl/hardware/src/FakeVehicleHardware.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -1050,6 +1050,10 @@ VhalResult<void> FakeVehicleHardware::maybeSetSpecialValue(const VehiclePropValu VhalResult<void> isAdasPropertyAvailableResult; VhalResult<bool> isCruiseControlTypeStandardResult; switch (propId) { case toInt(VehicleProperty::DISPLAY_BRIGHTNESS): case toInt(VehicleProperty::PER_DISPLAY_BRIGHTNESS): ALOGD("DISPLAY_BRIGHTNESS: %s", value.toString().c_str()); return {}; case toInt(VehicleProperty::AP_POWER_STATE_REPORT): *isSpecialValue = true; return setApPowerStateReport(value); Loading Loading
automotive/vehicle/aidl/impl/default_config/TEST_MAPPING 0 → 100644 +8 −0 Original line number Diff line number Diff line { "ravenwood-presubmit": [ { "name": "CarServiceHostUnitTest", "host": true } ] }
automotive/vehicle/aidl/impl/default_config/config/DefaultProperties.json +12 −9 Original line number Diff line number Diff line Loading @@ -3195,19 +3195,22 @@ } }, { "property": "VehicleProperty::DISPLAY_BRIGHTNESS", "property": "VehicleProperty::PER_DISPLAY_BRIGHTNESS" }, { "property": "VehicleProperty::PER_DISPLAY_MAX_BRIGHTNESS", "defaultValue": { "int32Values": [ 0, 100, 1, 100, 2, 100, 3, 100 ] }, "areas": [ { "areaId": 0, "minInt32Value": 0, "maxInt32Value": 100 } ] }, { "property": "VehicleProperty::VALET_MODE_ENABLED", Loading
automotive/vehicle/aidl/impl/fake_impl/hardware/src/FakeVehicleHardware.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -1050,6 +1050,10 @@ VhalResult<void> FakeVehicleHardware::maybeSetSpecialValue(const VehiclePropValu VhalResult<void> isAdasPropertyAvailableResult; VhalResult<bool> isCruiseControlTypeStandardResult; switch (propId) { case toInt(VehicleProperty::DISPLAY_BRIGHTNESS): case toInt(VehicleProperty::PER_DISPLAY_BRIGHTNESS): ALOGD("DISPLAY_BRIGHTNESS: %s", value.toString().c_str()); return {}; case toInt(VehicleProperty::AP_POWER_STATE_REPORT): *isSpecialValue = true; return setApPowerStateReport(value); Loading