summaryrefslogtreecommitdiffstats
path: root/automotive
diff options
context:
space:
mode:
authorKeun-young Park <keunyoung@google.com>2019-11-25 17:58:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-11-25 17:58:41 +0000
commitf3b8f482be49832c311c4259d1c6926d672b804f (patch)
treed6615d0e39da89319ec5cadaf86ab35c61479602 /automotive
parent2eeafb0a3e5ac16be7d70901ff0ae77395bfbaf8 (diff)
parent697cb33c45a36982c4346b20aa360207359ad9ea (diff)
downloadplatform_hardware_interfaces-f3b8f482be49832c311c4259d1c6926d672b804f.tar.gz
platform_hardware_interfaces-f3b8f482be49832c311c4259d1c6926d672b804f.tar.bz2
platform_hardware_interfaces-f3b8f482be49832c311c4259d1c6926d672b804f.zip
Merge "Add DISABLED_OPTIONAL_FEATURES property"
Diffstat (limited to 'automotive')
-rw-r--r--automotive/vehicle/2.0/types.hal20
1 files changed, 20 insertions, 0 deletions
diff --git a/automotive/vehicle/2.0/types.hal b/automotive/vehicle/2.0/types.hal
index 279d5cd30a..24fcf76b2f 100644
--- a/automotive/vehicle/2.0/types.hal
+++ b/automotive/vehicle/2.0/types.hal
@@ -2381,6 +2381,26 @@ enum VehicleProperty : int32_t {
| VehiclePropertyType:BOOLEAN
| VehicleArea:GLOBAL),
+ /**
+ * Allow disabling optional featurs from vhal.
+ *
+ * This property reports optional features that should be disabled.
+ * All allowed optional features for the system is declared in Car service overlay,
+ * config_allowed_optional_car_features.
+ * This property allows disabling features defined in the overlay. Without this property,
+ * all the features declared in the overlay will be enabled.
+ *
+ * Value read should include all features disabled with ',' separation.
+ * ex) "com.android.car.user.CarUserNoticeService,storage_monitoring"
+ * @change_mode VehiclePropertyChangeMode:STATIC
+ * @access VehiclePropertyAccess:READ
+ */
+ DISABLED_OPTIONAL_FEATURES = (
+ 0x0F06
+ | VehiclePropertyGroup:SYSTEM
+ | VehiclePropertyType:STRING
+ | VehicleArea:GLOBAL),
+
};
/**