From d94a7d2df94fffba0bc59221fad40fc32139110b Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Wed, 22 Feb 2017 10:21:27 -0800 Subject: [PATCH] Remove .vts spec files Test: mmma hardware/interfaces Change-Id: Idae97ce60a6368cfa685ae6b2d71b9ad163e8605 --- audio/common/2.0/vts/types.vts | 1954 ------------ automotive/vehicle/2.0/vts/Vehicle.vts | 115 - .../vehicle/2.0/vts/VehicleCallback.vts | 46 - automotive/vehicle/2.0/vts/types.vts | 2780 ----------------- .../2.1/vts/BiometricsFingerprint.vts | 191 -- .../BiometricsFingerprintClientCallback.vts | 126 - biometrics/fingerprint/2.1/vts/types.vts | 262 -- boot/1.0/vts/BootControl.vts | 94 - boot/1.0/vts/types.vts | 42 - contexthub/1.0/vts/Contexthub.vts | 147 - contexthub/1.0/vts/ContexthubCallback.vts | 62 - contexthub/1.0/vts/types.vts | 477 --- gatekeeper/1.0/vts/Gatekeeper.vts | 94 - gatekeeper/1.0/vts/types.vts | 59 - graphics/allocator/2.0/vts/Allocator.vts | 88 - .../allocator/2.0/vts/AllocatorClient.vts | 170 - graphics/allocator/2.0/vts/types.vts | 142 - graphics/composer/2.1/vts/Composer.vts | 89 - .../composer/2.1/vts/ComposerCallback.vts | 73 - graphics/composer/2.1/vts/ComposerClient.vts | 916 ------ graphics/composer/2.1/vts/types.vts | 48 - graphics/mapper/2.0/vts/Mapper.vts | 281 -- graphics/mapper/2.0/vts/types.vts | 139 - light/2.0/vts/Light.vts | 38 - light/2.0/vts/types.vts | 149 - memtrack/1.0/vts/Memtrack.vts | 34 - memtrack/1.0/vts/types.vts | 121 - power/1.0/vts/Power.vts | 58 - power/1.0/vts/types.vts | 129 - sensors/1.0/vts/Sensors.vts | 172 - sensors/1.0/vts/types.vts | 901 ------ thermal/1.0/vts/Thermal.vts | 83 - thermal/1.0/vts/types.vts | 157 - tv/cec/1.0/vts/HdmiCec.vts | 172 - tv/cec/1.0/vts/HdmiCecCallback.vts | 27 - tv/cec/1.0/vts/types.vts | 604 ---- tv/input/1.0/vts/TvInput.vts | 99 - tv/input/1.0/vts/TvInputCallback.vts | 20 - tv/input/1.0/vts/types.vts | 176 -- vibrator/1.0/vts/Vibrator.vts | 31 - vibrator/1.0/vts/types.vts | 24 - vr/1.0/vts/Vr.vts | 37 - 42 files changed, 11427 deletions(-) delete mode 100644 audio/common/2.0/vts/types.vts delete mode 100644 automotive/vehicle/2.0/vts/Vehicle.vts delete mode 100644 automotive/vehicle/2.0/vts/VehicleCallback.vts delete mode 100644 automotive/vehicle/2.0/vts/types.vts delete mode 100644 biometrics/fingerprint/2.1/vts/BiometricsFingerprint.vts delete mode 100644 biometrics/fingerprint/2.1/vts/BiometricsFingerprintClientCallback.vts delete mode 100644 biometrics/fingerprint/2.1/vts/types.vts delete mode 100644 boot/1.0/vts/BootControl.vts delete mode 100644 boot/1.0/vts/types.vts delete mode 100644 contexthub/1.0/vts/Contexthub.vts delete mode 100644 contexthub/1.0/vts/ContexthubCallback.vts delete mode 100644 contexthub/1.0/vts/types.vts delete mode 100644 gatekeeper/1.0/vts/Gatekeeper.vts delete mode 100644 gatekeeper/1.0/vts/types.vts delete mode 100644 graphics/allocator/2.0/vts/Allocator.vts delete mode 100644 graphics/allocator/2.0/vts/AllocatorClient.vts delete mode 100644 graphics/allocator/2.0/vts/types.vts delete mode 100644 graphics/composer/2.1/vts/Composer.vts delete mode 100644 graphics/composer/2.1/vts/ComposerCallback.vts delete mode 100644 graphics/composer/2.1/vts/ComposerClient.vts delete mode 100644 graphics/composer/2.1/vts/types.vts delete mode 100644 graphics/mapper/2.0/vts/Mapper.vts delete mode 100644 graphics/mapper/2.0/vts/types.vts delete mode 100644 light/2.0/vts/Light.vts delete mode 100644 light/2.0/vts/types.vts delete mode 100644 memtrack/1.0/vts/Memtrack.vts delete mode 100644 memtrack/1.0/vts/types.vts delete mode 100644 power/1.0/vts/Power.vts delete mode 100644 power/1.0/vts/types.vts delete mode 100644 sensors/1.0/vts/Sensors.vts delete mode 100644 sensors/1.0/vts/types.vts delete mode 100644 thermal/1.0/vts/Thermal.vts delete mode 100644 thermal/1.0/vts/types.vts delete mode 100644 tv/cec/1.0/vts/HdmiCec.vts delete mode 100644 tv/cec/1.0/vts/HdmiCecCallback.vts delete mode 100644 tv/cec/1.0/vts/types.vts delete mode 100644 tv/input/1.0/vts/TvInput.vts delete mode 100644 tv/input/1.0/vts/TvInputCallback.vts delete mode 100644 tv/input/1.0/vts/types.vts delete mode 100644 vibrator/1.0/vts/Vibrator.vts delete mode 100644 vibrator/1.0/vts/types.vts delete mode 100644 vr/1.0/vts/Vr.vts diff --git a/audio/common/2.0/vts/types.vts b/audio/common/2.0/vts/types.vts deleted file mode 100644 index d790573be5..0000000000 --- a/audio/common/2.0/vts/types.vts +++ /dev/null @@ -1,1954 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "types" - -package: "android.hardware.audio.common" - - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioHandleConsts" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "AUDIO_IO_HANDLE_NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "AUDIO_MODULE_HANDLE_NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "AUDIO_PORT_HANDLE_NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "AUDIO_PATCH_HANDLE_NONE" - scalar_value: { - int32_t: 0 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::Uuid" - type: TYPE_STRUCT - struct_value: { - name: "timeLow" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "timeMid" - type: TYPE_SCALAR - scalar_type: "uint16_t" - } - struct_value: { - name: "versionAndTimeHigh" - type: TYPE_SCALAR - scalar_type: "uint16_t" - } - struct_value: { - name: "variantAndClockSeqHigh" - type: TYPE_SCALAR - scalar_type: "uint16_t" - } - struct_value: { - name: "node" - type: TYPE_ARRAY - vector_size: 6 - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioStreamType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "DEFAULT" - scalar_value: { - int32_t: -1 - } - enumerator: "MIN" - scalar_value: { - int32_t: 0 - } - enumerator: "VOICE_CALL" - scalar_value: { - int32_t: 0 - } - enumerator: "SYSTEM" - scalar_value: { - int32_t: 1 - } - enumerator: "RING" - scalar_value: { - int32_t: 2 - } - enumerator: "MUSIC" - scalar_value: { - int32_t: 3 - } - enumerator: "ALARM" - scalar_value: { - int32_t: 4 - } - enumerator: "NOTIFICATION" - scalar_value: { - int32_t: 5 - } - enumerator: "BLUETOOTH_SCO" - scalar_value: { - int32_t: 6 - } - enumerator: "ENFORCED_AUDIBLE" - scalar_value: { - int32_t: 7 - } - enumerator: "DTMF" - scalar_value: { - int32_t: 8 - } - enumerator: "TTS" - scalar_value: { - int32_t: 9 - } - enumerator: "ACCESSIBILITY" - scalar_value: { - int32_t: 10 - } - enumerator: "REROUTING" - scalar_value: { - int32_t: 11 - } - enumerator: "PATCH" - scalar_value: { - int32_t: 12 - } - enumerator: "PUBLIC_CNT" - scalar_value: { - int32_t: 11 - } - enumerator: "FOR_POLICY_CNT" - scalar_value: { - int32_t: 12 - } - enumerator: "CNT" - scalar_value: { - int32_t: 13 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioSource" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "DEFAULT" - scalar_value: { - int32_t: 0 - } - enumerator: "MIC" - scalar_value: { - int32_t: 1 - } - enumerator: "VOICE_UPLINK" - scalar_value: { - int32_t: 2 - } - enumerator: "VOICE_DOWNLINK" - scalar_value: { - int32_t: 3 - } - enumerator: "VOICE_CALL" - scalar_value: { - int32_t: 4 - } - enumerator: "CAMCORDER" - scalar_value: { - int32_t: 5 - } - enumerator: "VOICE_RECOGNITION" - scalar_value: { - int32_t: 6 - } - enumerator: "VOICE_COMMUNICATION" - scalar_value: { - int32_t: 7 - } - enumerator: "REMOTE_SUBMIX" - scalar_value: { - int32_t: 8 - } - enumerator: "UNPROCESSED" - scalar_value: { - int32_t: 9 - } - enumerator: "CNT" - scalar_value: { - int32_t: 10 - } - enumerator: "MAX" - scalar_value: { - int32_t: 9 - } - enumerator: "FM_TUNER" - scalar_value: { - int32_t: 1998 - } - enumerator: "HOTWORD" - scalar_value: { - int32_t: 1999 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioSessionConsts" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OUTPUT_STAGE" - scalar_value: { - int32_t: -1 - } - enumerator: "OUTPUT_MIX" - scalar_value: { - int32_t: 0 - } - enumerator: "ALLOCATE" - scalar_value: { - int32_t: 0 - } - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioFormat" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "INVALID" - scalar_value: { - uint32_t: 4294967295 - } - enumerator: "DEFAULT" - scalar_value: { - uint32_t: 0 - } - enumerator: "PCM" - scalar_value: { - uint32_t: 0 - } - enumerator: "MP3" - scalar_value: { - uint32_t: 16777216 - } - enumerator: "AMR_NB" - scalar_value: { - uint32_t: 33554432 - } - enumerator: "AMR_WB" - scalar_value: { - uint32_t: 50331648 - } - enumerator: "AAC" - scalar_value: { - uint32_t: 67108864 - } - enumerator: "HE_AAC_V1" - scalar_value: { - uint32_t: 83886080 - } - enumerator: "HE_AAC_V2" - scalar_value: { - uint32_t: 100663296 - } - enumerator: "VORBIS" - scalar_value: { - uint32_t: 117440512 - } - enumerator: "OPUS" - scalar_value: { - uint32_t: 134217728 - } - enumerator: "AC3" - scalar_value: { - uint32_t: 150994944 - } - enumerator: "E_AC3" - scalar_value: { - uint32_t: 167772160 - } - enumerator: "DTS" - scalar_value: { - uint32_t: 184549376 - } - enumerator: "DTS_HD" - scalar_value: { - uint32_t: 201326592 - } - enumerator: "IEC61937" - scalar_value: { - uint32_t: 218103808 - } - enumerator: "DOLBY_TRUEHD" - scalar_value: { - uint32_t: 234881024 - } - enumerator: "EVRC" - scalar_value: { - uint32_t: 268435456 - } - enumerator: "EVRCB" - scalar_value: { - uint32_t: 285212672 - } - enumerator: "EVRCWB" - scalar_value: { - uint32_t: 301989888 - } - enumerator: "EVRCNW" - scalar_value: { - uint32_t: 318767104 - } - enumerator: "AAC_ADIF" - scalar_value: { - uint32_t: 335544320 - } - enumerator: "WMA" - scalar_value: { - uint32_t: 352321536 - } - enumerator: "WMA_PRO" - scalar_value: { - uint32_t: 369098752 - } - enumerator: "AMR_WB_PLUS" - scalar_value: { - uint32_t: 385875968 - } - enumerator: "MP2" - scalar_value: { - uint32_t: 402653184 - } - enumerator: "QCELP" - scalar_value: { - uint32_t: 419430400 - } - enumerator: "DSD" - scalar_value: { - uint32_t: 436207616 - } - enumerator: "FLAC" - scalar_value: { - uint32_t: 452984832 - } - enumerator: "ALAC" - scalar_value: { - uint32_t: 469762048 - } - enumerator: "APE" - scalar_value: { - uint32_t: 486539264 - } - enumerator: "AAC_ADTS" - scalar_value: { - uint32_t: 503316480 - } - enumerator: "SBC" - scalar_value: { - uint32_t: 520093696 - } - enumerator: "APTX" - scalar_value: { - uint32_t: 536870912 - } - enumerator: "APTX_HD" - scalar_value: { - uint32_t: 553648128 - } - enumerator: "AC4" - scalar_value: { - uint32_t: 570425344 - } - enumerator: "LDAC" - scalar_value: { - uint32_t: 587202560 - } - enumerator: "MAIN_MASK" - scalar_value: { - uint32_t: 4278190080 - } - enumerator: "SUB_MASK" - scalar_value: { - uint32_t: 16777215 - } - enumerator: "PCM_SUB_16_BIT" - scalar_value: { - uint32_t: 1 - } - enumerator: "PCM_SUB_8_BIT" - scalar_value: { - uint32_t: 2 - } - enumerator: "PCM_SUB_32_BIT" - scalar_value: { - uint32_t: 3 - } - enumerator: "PCM_SUB_8_24_BIT" - scalar_value: { - uint32_t: 4 - } - enumerator: "PCM_SUB_FLOAT" - scalar_value: { - uint32_t: 5 - } - enumerator: "PCM_SUB_24_BIT_PACKED" - scalar_value: { - uint32_t: 6 - } - enumerator: "MP3_SUB_NONE" - scalar_value: { - uint32_t: 0 - } - enumerator: "AMR_SUB_NONE" - scalar_value: { - uint32_t: 0 - } - enumerator: "AAC_SUB_MAIN" - scalar_value: { - uint32_t: 1 - } - enumerator: "AAC_SUB_LC" - scalar_value: { - uint32_t: 2 - } - enumerator: "AAC_SUB_SSR" - scalar_value: { - uint32_t: 4 - } - enumerator: "AAC_SUB_LTP" - scalar_value: { - uint32_t: 8 - } - enumerator: "AAC_SUB_HE_V1" - scalar_value: { - uint32_t: 16 - } - enumerator: "AAC_SUB_SCALABLE" - scalar_value: { - uint32_t: 32 - } - enumerator: "AAC_SUB_ERLC" - scalar_value: { - uint32_t: 64 - } - enumerator: "AAC_SUB_LD" - scalar_value: { - uint32_t: 128 - } - enumerator: "AAC_SUB_HE_V2" - scalar_value: { - uint32_t: 256 - } - enumerator: "AAC_SUB_ELD" - scalar_value: { - uint32_t: 512 - } - enumerator: "VORBIS_SUB_NONE" - scalar_value: { - uint32_t: 0 - } - enumerator: "PCM_16_BIT" - scalar_value: { - uint32_t: 1 - } - enumerator: "PCM_8_BIT" - scalar_value: { - uint32_t: 2 - } - enumerator: "PCM_32_BIT" - scalar_value: { - uint32_t: 3 - } - enumerator: "PCM_8_24_BIT" - scalar_value: { - uint32_t: 4 - } - enumerator: "PCM_FLOAT" - scalar_value: { - uint32_t: 5 - } - enumerator: "PCM_24_BIT_PACKED" - scalar_value: { - uint32_t: 6 - } - enumerator: "AAC_MAIN" - scalar_value: { - uint32_t: 67108865 - } - enumerator: "AAC_LC" - scalar_value: { - uint32_t: 67108866 - } - enumerator: "AAC_SSR" - scalar_value: { - uint32_t: 67108868 - } - enumerator: "AAC_LTP" - scalar_value: { - uint32_t: 67108872 - } - enumerator: "AAC_HE_V1" - scalar_value: { - uint32_t: 67108880 - } - enumerator: "AAC_SCALABLE" - scalar_value: { - uint32_t: 67108896 - } - enumerator: "AAC_ERLC" - scalar_value: { - uint32_t: 67108928 - } - enumerator: "AAC_LD" - scalar_value: { - uint32_t: 67108992 - } - enumerator: "AAC_HE_V2" - scalar_value: { - uint32_t: 67109120 - } - enumerator: "AAC_ELD" - scalar_value: { - uint32_t: 67109376 - } - enumerator: "AAC_ADTS_MAIN" - scalar_value: { - uint32_t: 503316481 - } - enumerator: "AAC_ADTS_LC" - scalar_value: { - uint32_t: 503316482 - } - enumerator: "AAC_ADTS_SSR" - scalar_value: { - uint32_t: 503316484 - } - enumerator: "AAC_ADTS_LTP" - scalar_value: { - uint32_t: 503316488 - } - enumerator: "AAC_ADTS_HE_V1" - scalar_value: { - uint32_t: 503316496 - } - enumerator: "AAC_ADTS_SCALABLE" - scalar_value: { - uint32_t: 503316512 - } - enumerator: "AAC_ADTS_ERLC" - scalar_value: { - uint32_t: 503316544 - } - enumerator: "AAC_ADTS_LD" - scalar_value: { - uint32_t: 503316608 - } - enumerator: "AAC_ADTS_HE_V2" - scalar_value: { - uint32_t: 503316736 - } - enumerator: "AAC_ADTS_ELD" - scalar_value: { - uint32_t: 503316992 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::FixedChannelCount" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "FCC_2" - scalar_value: { - int32_t: 2 - } - enumerator: "FCC_8" - scalar_value: { - int32_t: 8 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioChannelMask" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "REPRESENTATION_POSITION" - scalar_value: { - uint32_t: 0 - } - enumerator: "REPRESENTATION_INDEX" - scalar_value: { - uint32_t: 2 - } - enumerator: "NONE" - scalar_value: { - uint32_t: 0 - } - enumerator: "INVALID" - scalar_value: { - uint32_t: 3221225472 - } - enumerator: "OUT_FRONT_LEFT" - scalar_value: { - uint32_t: 1 - } - enumerator: "OUT_FRONT_RIGHT" - scalar_value: { - uint32_t: 2 - } - enumerator: "OUT_FRONT_CENTER" - scalar_value: { - uint32_t: 4 - } - enumerator: "OUT_LOW_FREQUENCY" - scalar_value: { - uint32_t: 8 - } - enumerator: "OUT_BACK_LEFT" - scalar_value: { - uint32_t: 16 - } - enumerator: "OUT_BACK_RIGHT" - scalar_value: { - uint32_t: 32 - } - enumerator: "OUT_FRONT_LEFT_OF_CENTER" - scalar_value: { - uint32_t: 64 - } - enumerator: "OUT_FRONT_RIGHT_OF_CENTER" - scalar_value: { - uint32_t: 128 - } - enumerator: "OUT_BACK_CENTER" - scalar_value: { - uint32_t: 256 - } - enumerator: "OUT_SIDE_LEFT" - scalar_value: { - uint32_t: 512 - } - enumerator: "OUT_SIDE_RIGHT" - scalar_value: { - uint32_t: 1024 - } - enumerator: "OUT_TOP_CENTER" - scalar_value: { - uint32_t: 2048 - } - enumerator: "OUT_TOP_FRONT_LEFT" - scalar_value: { - uint32_t: 4096 - } - enumerator: "OUT_TOP_FRONT_CENTER" - scalar_value: { - uint32_t: 8192 - } - enumerator: "OUT_TOP_FRONT_RIGHT" - scalar_value: { - uint32_t: 16384 - } - enumerator: "OUT_TOP_BACK_LEFT" - scalar_value: { - uint32_t: 32768 - } - enumerator: "OUT_TOP_BACK_CENTER" - scalar_value: { - uint32_t: 65536 - } - enumerator: "OUT_TOP_BACK_RIGHT" - scalar_value: { - uint32_t: 131072 - } - enumerator: "OUT_MONO" - scalar_value: { - uint32_t: 1 - } - enumerator: "OUT_STEREO" - scalar_value: { - uint32_t: 3 - } - enumerator: "OUT_2POINT1" - scalar_value: { - uint32_t: 11 - } - enumerator: "OUT_QUAD" - scalar_value: { - uint32_t: 51 - } - enumerator: "OUT_QUAD_BACK" - scalar_value: { - uint32_t: 51 - } - enumerator: "OUT_QUAD_SIDE" - scalar_value: { - uint32_t: 1539 - } - enumerator: "OUT_SURROUND" - scalar_value: { - uint32_t: 263 - } - enumerator: "OUT_PENTA" - scalar_value: { - uint32_t: 55 - } - enumerator: "OUT_5POINT1" - scalar_value: { - uint32_t: 63 - } - enumerator: "OUT_5POINT1_BACK" - scalar_value: { - uint32_t: 63 - } - enumerator: "OUT_5POINT1_SIDE" - scalar_value: { - uint32_t: 1551 - } - enumerator: "OUT_6POINT1" - scalar_value: { - uint32_t: 319 - } - enumerator: "OUT_7POINT1" - scalar_value: { - uint32_t: 1599 - } - enumerator: "OUT_ALL" - scalar_value: { - uint32_t: 262143 - } - enumerator: "IN_LEFT" - scalar_value: { - uint32_t: 4 - } - enumerator: "IN_RIGHT" - scalar_value: { - uint32_t: 8 - } - enumerator: "IN_FRONT" - scalar_value: { - uint32_t: 16 - } - enumerator: "IN_BACK" - scalar_value: { - uint32_t: 32 - } - enumerator: "IN_LEFT_PROCESSED" - scalar_value: { - uint32_t: 64 - } - enumerator: "IN_RIGHT_PROCESSED" - scalar_value: { - uint32_t: 128 - } - enumerator: "IN_FRONT_PROCESSED" - scalar_value: { - uint32_t: 256 - } - enumerator: "IN_BACK_PROCESSED" - scalar_value: { - uint32_t: 512 - } - enumerator: "IN_PRESSURE" - scalar_value: { - uint32_t: 1024 - } - enumerator: "IN_X_AXIS" - scalar_value: { - uint32_t: 2048 - } - enumerator: "IN_Y_AXIS" - scalar_value: { - uint32_t: 4096 - } - enumerator: "IN_Z_AXIS" - scalar_value: { - uint32_t: 8192 - } - enumerator: "IN_VOICE_UPLINK" - scalar_value: { - uint32_t: 16384 - } - enumerator: "IN_VOICE_DNLINK" - scalar_value: { - uint32_t: 32768 - } - enumerator: "IN_MONO" - scalar_value: { - uint32_t: 16 - } - enumerator: "IN_STEREO" - scalar_value: { - uint32_t: 12 - } - enumerator: "IN_FRONT_BACK" - scalar_value: { - uint32_t: 48 - } - enumerator: "IN_6" - scalar_value: { - uint32_t: 252 - } - enumerator: "IN_VOICE_UPLINK_MONO" - scalar_value: { - uint32_t: 16400 - } - enumerator: "IN_VOICE_DNLINK_MONO" - scalar_value: { - uint32_t: 32784 - } - enumerator: "IN_VOICE_CALL_MONO" - scalar_value: { - uint32_t: 49168 - } - enumerator: "IN_ALL" - scalar_value: { - uint32_t: 65532 - } - enumerator: "COUNT_MAX" - scalar_value: { - uint32_t: 30 - } - enumerator: "INDEX_HDR" - scalar_value: { - uint32_t: 2147483648 - } - enumerator: "INDEX_MASK_1" - scalar_value: { - uint32_t: 2147483649 - } - enumerator: "INDEX_MASK_2" - scalar_value: { - uint32_t: 2147483651 - } - enumerator: "INDEX_MASK_3" - scalar_value: { - uint32_t: 2147483655 - } - enumerator: "INDEX_MASK_4" - scalar_value: { - uint32_t: 2147483663 - } - enumerator: "INDEX_MASK_5" - scalar_value: { - uint32_t: 2147483679 - } - enumerator: "INDEX_MASK_6" - scalar_value: { - uint32_t: 2147483711 - } - enumerator: "INDEX_MASK_7" - scalar_value: { - uint32_t: 2147483775 - } - enumerator: "INDEX_MASK_8" - scalar_value: { - uint32_t: 2147483903 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioInterleave" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "LEFT" - scalar_value: { - int32_t: 0 - } - enumerator: "RIGHT" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioMode" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: -2 - } - enumerator: "CURRENT" - scalar_value: { - int32_t: -1 - } - enumerator: "NORMAL" - scalar_value: { - int32_t: 0 - } - enumerator: "RINGTONE" - scalar_value: { - int32_t: 1 - } - enumerator: "IN_CALL" - scalar_value: { - int32_t: 2 - } - enumerator: "IN_COMMUNICATION" - scalar_value: { - int32_t: 3 - } - enumerator: "CNT" - scalar_value: { - int32_t: 4 - } - enumerator: "MAX" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioDevice" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "NONE" - scalar_value: { - uint32_t: 0 - } - enumerator: "BIT_IN" - scalar_value: { - uint32_t: 2147483648 - } - enumerator: "BIT_DEFAULT" - scalar_value: { - uint32_t: 1073741824 - } - enumerator: "OUT_EARPIECE" - scalar_value: { - uint32_t: 1 - } - enumerator: "OUT_SPEAKER" - scalar_value: { - uint32_t: 2 - } - enumerator: "OUT_WIRED_HEADSET" - scalar_value: { - uint32_t: 4 - } - enumerator: "OUT_WIRED_HEADPHONE" - scalar_value: { - uint32_t: 8 - } - enumerator: "OUT_BLUETOOTH_SCO" - scalar_value: { - uint32_t: 16 - } - enumerator: "OUT_BLUETOOTH_SCO_HEADSET" - scalar_value: { - uint32_t: 32 - } - enumerator: "OUT_BLUETOOTH_SCO_CARKIT" - scalar_value: { - uint32_t: 64 - } - enumerator: "OUT_BLUETOOTH_A2DP" - scalar_value: { - uint32_t: 128 - } - enumerator: "OUT_BLUETOOTH_A2DP_HEADPHONES" - scalar_value: { - uint32_t: 256 - } - enumerator: "OUT_BLUETOOTH_A2DP_SPEAKER" - scalar_value: { - uint32_t: 512 - } - enumerator: "OUT_AUX_DIGITAL" - scalar_value: { - uint32_t: 1024 - } - enumerator: "OUT_HDMI" - scalar_value: { - uint32_t: 1024 - } - enumerator: "OUT_ANLG_DOCK_HEADSET" - scalar_value: { - uint32_t: 2048 - } - enumerator: "OUT_DGTL_DOCK_HEADSET" - scalar_value: { - uint32_t: 4096 - } - enumerator: "OUT_USB_ACCESSORY" - scalar_value: { - uint32_t: 8192 - } - enumerator: "OUT_USB_DEVICE" - scalar_value: { - uint32_t: 16384 - } - enumerator: "OUT_REMOTE_SUBMIX" - scalar_value: { - uint32_t: 32768 - } - enumerator: "OUT_TELEPHONY_TX" - scalar_value: { - uint32_t: 65536 - } - enumerator: "OUT_LINE" - scalar_value: { - uint32_t: 131072 - } - enumerator: "OUT_HDMI_ARC" - scalar_value: { - uint32_t: 262144 - } - enumerator: "OUT_SPDIF" - scalar_value: { - uint32_t: 524288 - } - enumerator: "OUT_FM" - scalar_value: { - uint32_t: 1048576 - } - enumerator: "OUT_AUX_LINE" - scalar_value: { - uint32_t: 2097152 - } - enumerator: "OUT_SPEAKER_SAFE" - scalar_value: { - uint32_t: 4194304 - } - enumerator: "OUT_IP" - scalar_value: { - uint32_t: 8388608 - } - enumerator: "OUT_BUS" - scalar_value: { - uint32_t: 16777216 - } - enumerator: "OUT_PROXY" - scalar_value: { - uint32_t: 33554432 - } - enumerator: "OUT_DEFAULT" - scalar_value: { - uint32_t: 1073741824 - } - enumerator: "OUT_ALL" - scalar_value: { - uint32_t: 1140850687 - } - enumerator: "OUT_ALL_A2DP" - scalar_value: { - uint32_t: 896 - } - enumerator: "OUT_ALL_SCO" - scalar_value: { - uint32_t: 112 - } - enumerator: "OUT_ALL_USB" - scalar_value: { - uint32_t: 24576 - } - enumerator: "IN_COMMUNICATION" - scalar_value: { - uint32_t: 2147483649 - } - enumerator: "IN_AMBIENT" - scalar_value: { - uint32_t: 2147483650 - } - enumerator: "IN_BUILTIN_MIC" - scalar_value: { - uint32_t: 2147483652 - } - enumerator: "IN_BLUETOOTH_SCO_HEADSET" - scalar_value: { - uint32_t: 2147483656 - } - enumerator: "IN_WIRED_HEADSET" - scalar_value: { - uint32_t: 2147483664 - } - enumerator: "IN_AUX_DIGITAL" - scalar_value: { - uint32_t: 2147483680 - } - enumerator: "IN_HDMI" - scalar_value: { - uint32_t: 2147483680 - } - enumerator: "IN_VOICE_CALL" - scalar_value: { - uint32_t: 2147483712 - } - enumerator: "IN_TELEPHONY_RX" - scalar_value: { - uint32_t: 2147483712 - } - enumerator: "IN_BACK_MIC" - scalar_value: { - uint32_t: 2147483776 - } - enumerator: "IN_REMOTE_SUBMIX" - scalar_value: { - uint32_t: 2147483904 - } - enumerator: "IN_ANLG_DOCK_HEADSET" - scalar_value: { - uint32_t: 2147484160 - } - enumerator: "IN_DGTL_DOCK_HEADSET" - scalar_value: { - uint32_t: 2147484672 - } - enumerator: "IN_USB_ACCESSORY" - scalar_value: { - uint32_t: 2147485696 - } - enumerator: "IN_USB_DEVICE" - scalar_value: { - uint32_t: 2147487744 - } - enumerator: "IN_FM_TUNER" - scalar_value: { - uint32_t: 2147491840 - } - enumerator: "IN_TV_TUNER" - scalar_value: { - uint32_t: 2147500032 - } - enumerator: "IN_LINE" - scalar_value: { - uint32_t: 2147516416 - } - enumerator: "IN_SPDIF" - scalar_value: { - uint32_t: 2147549184 - } - enumerator: "IN_BLUETOOTH_A2DP" - scalar_value: { - uint32_t: 2147614720 - } - enumerator: "IN_LOOPBACK" - scalar_value: { - uint32_t: 2147745792 - } - enumerator: "IN_IP" - scalar_value: { - uint32_t: 2148007936 - } - enumerator: "IN_BUS" - scalar_value: { - uint32_t: 2148532224 - } - enumerator: "IN_PROXY" - scalar_value: { - uint32_t: 2164260864 - } - enumerator: "IN_DEFAULT" - scalar_value: { - uint32_t: 3221225472 - } - enumerator: "IN_ALL" - scalar_value: { - uint32_t: 3240099839 - } - enumerator: "IN_ALL_SCO" - scalar_value: { - uint32_t: 2147483656 - } - enumerator: "IN_ALL_USB" - scalar_value: { - uint32_t: 2147489792 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioOutputFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "DIRECT" - scalar_value: { - int32_t: 1 - } - enumerator: "PRIMARY" - scalar_value: { - int32_t: 2 - } - enumerator: "FAST" - scalar_value: { - int32_t: 4 - } - enumerator: "DEEP_BUFFER" - scalar_value: { - int32_t: 8 - } - enumerator: "COMPRESS_OFFLOAD" - scalar_value: { - int32_t: 16 - } - enumerator: "NON_BLOCKING" - scalar_value: { - int32_t: 32 - } - enumerator: "HW_AV_SYNC" - scalar_value: { - int32_t: 64 - } - enumerator: "TTS" - scalar_value: { - int32_t: 128 - } - enumerator: "RAW" - scalar_value: { - int32_t: 256 - } - enumerator: "SYNC" - scalar_value: { - int32_t: 512 - } - enumerator: "IEC958_NONAUDIO" - scalar_value: { - int32_t: 1024 - } - enumerator: "DIRECT_PCM" - scalar_value: { - int32_t: 8192 - } - enumerator: "MMAP_NOIRQ" - scalar_value: { - int32_t: 16384 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioInputFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "FAST" - scalar_value: { - int32_t: 1 - } - enumerator: "HW_HOTWORD" - scalar_value: { - int32_t: 2 - } - enumerator: "RAW" - scalar_value: { - int32_t: 4 - } - enumerator: "SYNC" - scalar_value: { - int32_t: 8 - } - enumerator: "MMAP_NOIRQ" - scalar_value: { - int32_t: 16 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioUsage" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UNKNOWN" - scalar_value: { - int32_t: 0 - } - enumerator: "MEDIA" - scalar_value: { - int32_t: 1 - } - enumerator: "VOICE_COMMUNICATION" - scalar_value: { - int32_t: 2 - } - enumerator: "VOICE_COMMUNICATION_SIGNALLING" - scalar_value: { - int32_t: 3 - } - enumerator: "ALARM" - scalar_value: { - int32_t: 4 - } - enumerator: "NOTIFICATION" - scalar_value: { - int32_t: 5 - } - enumerator: "NOTIFICATION_TELEPHONY_RINGTONE" - scalar_value: { - int32_t: 6 - } - enumerator: "NOTIFICATION_COMMUNICATION_REQUEST" - scalar_value: { - int32_t: 7 - } - enumerator: "NOTIFICATION_COMMUNICATION_INSTANT" - scalar_value: { - int32_t: 8 - } - enumerator: "NOTIFICATION_COMMUNICATION_DELAYED" - scalar_value: { - int32_t: 9 - } - enumerator: "NOTIFICATION_EVENT" - scalar_value: { - int32_t: 10 - } - enumerator: "ASSISTANCE_ACCESSIBILITY" - scalar_value: { - int32_t: 11 - } - enumerator: "ASSISTANCE_NAVIGATION_GUIDANCE" - scalar_value: { - int32_t: 12 - } - enumerator: "ASSISTANCE_SONIFICATION" - scalar_value: { - int32_t: 13 - } - enumerator: "GAME" - scalar_value: { - int32_t: 14 - } - enumerator: "VIRTUAL_SOURCE" - scalar_value: { - int32_t: 15 - } - enumerator: "ASSISTANT" - scalar_value: { - int32_t: 16 - } - enumerator: "CNT" - scalar_value: { - int32_t: 17 - } - enumerator: "MAX" - scalar_value: { - int32_t: 16 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioOffloadInfo" - type: TYPE_STRUCT - struct_value: { - name: "sampleRateHz" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "channelMask" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioChannelMask" - } - struct_value: { - name: "format" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioFormat" - } - struct_value: { - name: "streamType" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioStreamType" - } - struct_value: { - name: "bitRatePerSecond" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "durationMicroseconds" - type: TYPE_SCALAR - scalar_type: "int64_t" - } - struct_value: { - name: "hasVideo" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "isStreaming" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "bitWidth" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "bufferSize" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "usage" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioUsage" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioConfig" - type: TYPE_STRUCT - struct_value: { - name: "sampleRateHz" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "channelMask" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioChannelMask" - } - struct_value: { - name: "format" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioFormat" - } - struct_value: { - name: "offloadInfo" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioOffloadInfo" - } - struct_value: { - name: "frameCount" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioGainMode" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "JOINT" - scalar_value: { - uint32_t: 1 - } - enumerator: "CHANNELS" - scalar_value: { - uint32_t: 2 - } - enumerator: "RAMP" - scalar_value: { - uint32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioGain" - type: TYPE_STRUCT - struct_value: { - name: "mode" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioGainMode" - } - struct_value: { - name: "channelMask" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioChannelMask" - } - struct_value: { - name: "minValue" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "maxValue" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "defaultValue" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "stepValue" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "minRampMs" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "maxRampMs" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioGainConfig" - type: TYPE_STRUCT - struct_value: { - name: "index" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "mode" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioGainMode" - } - struct_value: { - name: "channelMask" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioChannelMask" - } - struct_value: { - name: "values" - type: TYPE_ARRAY - vector_size: 32 - vector_value: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - struct_value: { - name: "rampDurationMs" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortRole" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "SOURCE" - scalar_value: { - int32_t: 1 - } - enumerator: "SINK" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "DEVICE" - scalar_value: { - int32_t: 1 - } - enumerator: "MIX" - scalar_value: { - int32_t: 2 - } - enumerator: "SESSION" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortConfigDeviceExt" - type: TYPE_STRUCT - struct_value: { - name: "hwModule" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioDevice" - } - struct_value: { - name: "address" - type: TYPE_ARRAY - vector_size: 32 - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortConfigSessionExt" - type: TYPE_STRUCT - struct_value: { - name: "session" - type: TYPE_SCALAR - scalar_type: "int32_t" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortConfigMask" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "SAMPLE_RATE" - scalar_value: { - uint32_t: 1 - } - enumerator: "CHANNEL_MASK" - scalar_value: { - uint32_t: 2 - } - enumerator: "FORMAT" - scalar_value: { - uint32_t: 4 - } - enumerator: "GAIN" - scalar_value: { - uint32_t: 8 - } - enumerator: "ALL" - scalar_value: { - uint32_t: 15 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortConfig" - type: TYPE_STRUCT - sub_struct: { - name: "::android::hardware::audio::common::V2_0::AudioPortConfig::Ext" - type: TYPE_UNION - sub_union: { - name: "::android::hardware::audio::common::V2_0::AudioPortConfig::Ext::AudioPortConfigMixExt" - type: TYPE_STRUCT - sub_struct: { - name: "::android::hardware::audio::common::V2_0::AudioPortConfig::Ext::AudioPortConfigMixExt::UseCase" - type: TYPE_UNION - union_value: { - name: "stream" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioStreamType" - } - union_value: { - name: "source" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioSource" - } - } - struct_value: { - name: "hwModule" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "ioHandle" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "useCase" - type: TYPE_UNION - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortConfig::Ext::AudioPortConfigMixExt::UseCase" - } - } - union_value: { - name: "device" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortConfigDeviceExt" - } - union_value: { - name: "mix" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortConfig::Ext::AudioPortConfigMixExt" - } - union_value: { - name: "session" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortConfigSessionExt" - } - } - struct_value: { - name: "id" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "configMask" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortConfigMask" - } - struct_value: { - name: "sampleRateHz" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "channelMask" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioChannelMask" - } - struct_value: { - name: "format" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioFormat" - } - struct_value: { - name: "gain" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioGainConfig" - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortType" - } - struct_value: { - name: "role" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortRole" - } - struct_value: { - name: "ext" - type: TYPE_UNION - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortConfig::Ext" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortDeviceExt" - type: TYPE_STRUCT - struct_value: { - name: "hwModule" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioDevice" - } - struct_value: { - name: "address" - type: TYPE_ARRAY - vector_size: 32 - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioMixLatencyClass" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "LOW" - scalar_value: { - int32_t: 0 - } - enumerator: "NORMAL" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortMixExt" - type: TYPE_STRUCT - struct_value: { - name: "hwModule" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "ioHandle" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "latencyClass" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioMixLatencyClass" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPortSessionExt" - type: TYPE_STRUCT - struct_value: { - name: "session" - type: TYPE_SCALAR - scalar_type: "int32_t" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::AudioPort" - type: TYPE_STRUCT - sub_struct: { - name: "::android::hardware::audio::common::V2_0::AudioPort::Ext" - type: TYPE_UNION - union_value: { - name: "device" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortDeviceExt" - } - union_value: { - name: "mix" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortMixExt" - } - union_value: { - name: "session" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortSessionExt" - } - } - struct_value: { - name: "id" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "role" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortRole" - } - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "sampleRates" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - struct_value: { - name: "channelMasks" - type: TYPE_VECTOR - vector_value: { - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioChannelMask" - } - } - struct_value: { - name: "formats" - type: TYPE_VECTOR - vector_value: { - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioFormat" - } - } - struct_value: { - name: "gains" - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioGain" - } - } - struct_value: { - name: "activeConfig" - type: TYPE_STRUCT - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortConfig" - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioPortType" - } - struct_value: { - name: "ext" - type: TYPE_UNION - predefined_type: "::android::hardware::audio::common::V2_0::AudioPort::Ext" - } -} - -attribute: { - name: "::android::hardware::audio::common::V2_0::ThreadInfo" - type: TYPE_STRUCT - struct_value: { - name: "pid" - type: TYPE_SCALAR - scalar_type: "int64_t" - } - struct_value: { - name: "tid" - type: TYPE_SCALAR - scalar_type: "int64_t" - } -} - diff --git a/automotive/vehicle/2.0/vts/Vehicle.vts b/automotive/vehicle/2.0/vts/Vehicle.vts deleted file mode 100644 index aa12f0c959..0000000000 --- a/automotive/vehicle/2.0/vts/Vehicle.vts +++ /dev/null @@ -1,115 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "IVehicle" - -package: "android.hardware.automotive.vehicle" - -import: "android.hardware.automotive.vehicle@2.0::IVehicleCallback" -import: "android.hardware.automotive.vehicle@2.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "getAllPropConfigs" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig" - } - } - } - - api: { - name: "getPropConfigs" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig" - } - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - } - - api: { - name: "get" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode" - } - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue" - } - } - - api: { - name: "set" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue" - } - } - - api: { - name: "subscribe" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode" - } - arg: { - type: TYPE_HIDL_CALLBACK - predefined_type: "::android::hardware::automotive::vehicle::V2_0::IVehicleCallback" - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::SubscribeOptions" - } - } - } - - api: { - name: "unsubscribe" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode" - } - arg: { - type: TYPE_HIDL_CALLBACK - predefined_type: "::android::hardware::automotive::vehicle::V2_0::IVehicleCallback" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "debugDump" - return_type_hidl: { - type: TYPE_STRING - } - } - -} diff --git a/automotive/vehicle/2.0/vts/VehicleCallback.vts b/automotive/vehicle/2.0/vts/VehicleCallback.vts deleted file mode 100644 index e4815d54e8..0000000000 --- a/automotive/vehicle/2.0/vts/VehicleCallback.vts +++ /dev/null @@ -1,46 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "IVehicleCallback" - -package: "android.hardware.automotive.vehicle" - -import: "android.hardware.automotive.vehicle@2.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "onPropertyEvent" - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue" - } - } - } - - api: { - name: "onPropertySet" - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue" - } - } - - api: { - name: "onPropertySetError" - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - -} diff --git a/automotive/vehicle/2.0/vts/types.vts b/automotive/vehicle/2.0/vts/types.vts deleted file mode 100644 index 3868c99621..0000000000 --- a/automotive/vehicle/2.0/vts/types.vts +++ /dev/null @@ -1,2780 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "types" - -package: "android.hardware.automotive.vehicle" - - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropertyType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STRING" - scalar_value: { - int32_t: 1048576 - } - enumerator: "BOOLEAN" - scalar_value: { - int32_t: 2097152 - } - enumerator: "INT32" - scalar_value: { - int32_t: 4194304 - } - enumerator: "INT32_VEC" - scalar_value: { - int32_t: 4259840 - } - enumerator: "INT64" - scalar_value: { - int32_t: 5242880 - } - enumerator: "FLOAT" - scalar_value: { - int32_t: 6291456 - } - enumerator: "FLOAT_VEC" - scalar_value: { - int32_t: 6356992 - } - enumerator: "BYTES" - scalar_value: { - int32_t: 7340032 - } - enumerator: "COMPLEX" - scalar_value: { - int32_t: 14680064 - } - enumerator: "MASK" - scalar_value: { - int32_t: 16711680 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleArea" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "GLOBAL" - scalar_value: { - int32_t: 16777216 - } - enumerator: "ZONE" - scalar_value: { - int32_t: 33554432 - } - enumerator: "WINDOW" - scalar_value: { - int32_t: 50331648 - } - enumerator: "MIRROR" - scalar_value: { - int32_t: 67108864 - } - enumerator: "SEAT" - scalar_value: { - int32_t: 83886080 - } - enumerator: "DOOR" - scalar_value: { - int32_t: 100663296 - } - enumerator: "MASK" - scalar_value: { - int32_t: 251658240 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropertyGroup" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SYSTEM" - scalar_value: { - int32_t: 268435456 - } - enumerator: "VENDOR" - scalar_value: { - int32_t: 536870912 - } - enumerator: "MASK" - scalar_value: { - int32_t: -268435456 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleProperty" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "INFO_VIN" - scalar_value: { - int32_t: 286261504 - } - enumerator: "INFO_MAKE" - scalar_value: { - int32_t: 286261505 - } - enumerator: "INFO_MODEL" - scalar_value: { - int32_t: 286261506 - } - enumerator: "INFO_MODEL_YEAR" - scalar_value: { - int32_t: 289407235 - } - enumerator: "INFO_FUEL_CAPACITY" - scalar_value: { - int32_t: 291504388 - } - enumerator: "PERF_ODOMETER" - scalar_value: { - int32_t: 291504644 - } - enumerator: "PERF_VEHICLE_SPEED" - scalar_value: { - int32_t: 291504647 - } - enumerator: "ENGINE_COOLANT_TEMP" - scalar_value: { - int32_t: 291504897 - } - enumerator: "ENGINE_OIL_TEMP" - scalar_value: { - int32_t: 291504900 - } - enumerator: "ENGINE_RPM" - scalar_value: { - int32_t: 291504901 - } - enumerator: "WHEEL_TICK" - scalar_value: { - int32_t: 291570438 - } - enumerator: "GEAR_SELECTION" - scalar_value: { - int32_t: 289408000 - } - enumerator: "CURRENT_GEAR" - scalar_value: { - int32_t: 289408001 - } - enumerator: "PARKING_BRAKE_ON" - scalar_value: { - int32_t: 287310850 - } - enumerator: "DRIVING_STATUS" - scalar_value: { - int32_t: 289408004 - } - enumerator: "FUEL_LEVEL_LOW" - scalar_value: { - int32_t: 287310853 - } - enumerator: "NIGHT_MODE" - scalar_value: { - int32_t: 287310855 - } - enumerator: "TURN_SIGNAL_STATE" - scalar_value: { - int32_t: 289408008 - } - enumerator: "IGNITION_STATE" - scalar_value: { - int32_t: 289408009 - } - enumerator: "HVAC_FAN_SPEED" - scalar_value: { - int32_t: 306185472 - } - enumerator: "HVAC_FAN_DIRECTION" - scalar_value: { - int32_t: 306185473 - } - enumerator: "HVAC_TEMPERATURE_CURRENT" - scalar_value: { - int32_t: 308282626 - } - enumerator: "HVAC_TEMPERATURE_SET" - scalar_value: { - int32_t: 308282627 - } - enumerator: "HVAC_DEFROSTER" - scalar_value: { - int32_t: 320865540 - } - enumerator: "HVAC_AC_ON" - scalar_value: { - int32_t: 304088325 - } - enumerator: "HVAC_MAX_AC_ON" - scalar_value: { - int32_t: 304088326 - } - enumerator: "HVAC_MAX_DEFROST_ON" - scalar_value: { - int32_t: 304088327 - } - enumerator: "HVAC_RECIRC_ON" - scalar_value: { - int32_t: 304088328 - } - enumerator: "HVAC_DUAL_ON" - scalar_value: { - int32_t: 304088329 - } - enumerator: "HVAC_AUTO_ON" - scalar_value: { - int32_t: 304088330 - } - enumerator: "HVAC_SEAT_TEMPERATURE" - scalar_value: { - int32_t: 356517131 - } - enumerator: "HVAC_SIDE_MIRROR_HEAT" - scalar_value: { - int32_t: 339739916 - } - enumerator: "HVAC_STEERING_WHEEL_TEMP" - scalar_value: { - int32_t: 289408269 - } - enumerator: "HVAC_TEMPERATURE_UNITS" - scalar_value: { - int32_t: 306185486 - } - enumerator: "HVAC_ACTUAL_FAN_SPEED_RPM" - scalar_value: { - int32_t: 306185487 - } - enumerator: "HVAC_FAN_DIRECTION_AVAILABLE" - scalar_value: { - int32_t: 306185489 - } - enumerator: "HVAC_POWER_ON" - scalar_value: { - int32_t: 304088336 - } - enumerator: "ENV_OUTSIDE_TEMPERATURE" - scalar_value: { - int32_t: 291505923 - } - enumerator: "ENV_CABIN_TEMPERATURE" - scalar_value: { - int32_t: 291505924 - } - enumerator: "RADIO_PRESET" - scalar_value: { - int32_t: 289474561 - } - enumerator: "AUDIO_FOCUS" - scalar_value: { - int32_t: 289474816 - } - enumerator: "AUDIO_FOCUS_EXT_SYNC" - scalar_value: { - int32_t: 289474832 - } - enumerator: "AUDIO_VOLUME" - scalar_value: { - int32_t: 289474817 - } - enumerator: "AUDIO_VOLUME_EXT_SYNC" - scalar_value: { - int32_t: 289474833 - } - enumerator: "AUDIO_VOLUME_LIMIT" - scalar_value: { - int32_t: 289474818 - } - enumerator: "AUDIO_ROUTING_POLICY" - scalar_value: { - int32_t: 289474819 - } - enumerator: "AUDIO_HW_VARIANT" - scalar_value: { - int32_t: 289409284 - } - enumerator: "AUDIO_EXT_ROUTING_HINT" - scalar_value: { - int32_t: 289474821 - } - enumerator: "AUDIO_STREAM_STATE" - scalar_value: { - int32_t: 289474822 - } - enumerator: "AUDIO_PARAMETERS" - scalar_value: { - int32_t: 286263559 - } - enumerator: "AP_POWER_STATE" - scalar_value: { - int32_t: 289475072 - } - enumerator: "DISPLAY_BRIGHTNESS" - scalar_value: { - int32_t: 289409537 - } - enumerator: "AP_POWER_BOOTUP_REASON" - scalar_value: { - int32_t: 289409538 - } - enumerator: "HW_KEY_INPUT" - scalar_value: { - int32_t: 289475088 - } - enumerator: "INSTRUMENT_CLUSTER_INFO" - scalar_value: { - int32_t: 289475104 - } - enumerator: "UNIX_TIME" - scalar_value: { - int32_t: 290458160 - } - enumerator: "CURRENT_TIME_IN_SECONDS" - scalar_value: { - int32_t: 289409585 - } - enumerator: "DOOR_POS" - scalar_value: { - int32_t: 373295872 - } - enumerator: "DOOR_MOVE" - scalar_value: { - int32_t: 373295873 - } - enumerator: "DOOR_LOCK" - scalar_value: { - int32_t: 371198722 - } - enumerator: "MIRROR_Z_POS" - scalar_value: { - int32_t: 339741504 - } - enumerator: "MIRROR_Z_MOVE" - scalar_value: { - int32_t: 339741505 - } - enumerator: "MIRROR_Y_POS" - scalar_value: { - int32_t: 339741506 - } - enumerator: "MIRROR_Y_MOVE" - scalar_value: { - int32_t: 339741507 - } - enumerator: "MIRROR_LOCK" - scalar_value: { - int32_t: 287312708 - } - enumerator: "MIRROR_FOLD" - scalar_value: { - int32_t: 287312709 - } - enumerator: "SEAT_MEMORY_SELECT" - scalar_value: { - int32_t: 356518784 - } - enumerator: "SEAT_MEMORY_SET" - scalar_value: { - int32_t: 356518785 - } - enumerator: "SEAT_BELT_BUCKLED" - scalar_value: { - int32_t: 354421634 - } - enumerator: "SEAT_BELT_HEIGHT_POS" - scalar_value: { - int32_t: 356518787 - } - enumerator: "SEAT_BELT_HEIGHT_MOVE" - scalar_value: { - int32_t: 356518788 - } - enumerator: "SEAT_FORE_AFT_POS" - scalar_value: { - int32_t: 356518789 - } - enumerator: "SEAT_FORE_AFT_MOVE" - scalar_value: { - int32_t: 356518790 - } - enumerator: "SEAT_BACKREST_ANGLE_1_POS" - scalar_value: { - int32_t: 356518791 - } - enumerator: "SEAT_BACKREST_ANGLE_1_MOVE" - scalar_value: { - int32_t: 356518792 - } - enumerator: "SEAT_BACKREST_ANGLE_2_POS" - scalar_value: { - int32_t: 356518793 - } - enumerator: "SEAT_BACKREST_ANGLE_2_MOVE" - scalar_value: { - int32_t: 356518794 - } - enumerator: "SEAT_HEIGHT_POS" - scalar_value: { - int32_t: 356518795 - } - enumerator: "SEAT_HEIGHT_MOVE" - scalar_value: { - int32_t: 356518796 - } - enumerator: "SEAT_DEPTH_POS" - scalar_value: { - int32_t: 356518797 - } - enumerator: "SEAT_DEPTH_MOVE" - scalar_value: { - int32_t: 356518798 - } - enumerator: "SEAT_TILT_POS" - scalar_value: { - int32_t: 356518799 - } - enumerator: "SEAT_TILT_MOVE" - scalar_value: { - int32_t: 356518800 - } - enumerator: "SEAT_LUMBAR_FORE_AFT_POS" - scalar_value: { - int32_t: 356518801 - } - enumerator: "SEAT_LUMBAR_FORE_AFT_MOVE" - scalar_value: { - int32_t: 356518802 - } - enumerator: "SEAT_LUMBAR_SIDE_SUPPORT_POS" - scalar_value: { - int32_t: 356518803 - } - enumerator: "SEAT_LUMBAR_SIDE_SUPPORT_MOVE" - scalar_value: { - int32_t: 356518804 - } - enumerator: "SEAT_HEADREST_HEIGHT_POS" - scalar_value: { - int32_t: 289409941 - } - enumerator: "SEAT_HEADREST_HEIGHT_MOVE" - scalar_value: { - int32_t: 356518806 - } - enumerator: "SEAT_HEADREST_ANGLE_POS" - scalar_value: { - int32_t: 356518807 - } - enumerator: "SEAT_HEADREST_ANGLE_MOVE" - scalar_value: { - int32_t: 356518808 - } - enumerator: "SEAT_HEADREST_FORE_AFT_POS" - scalar_value: { - int32_t: 356518809 - } - enumerator: "SEAT_HEADREST_FORE_AFT_MOVE" - scalar_value: { - int32_t: 356518810 - } - enumerator: "WINDOW_POS" - scalar_value: { - int32_t: 289409984 - } - enumerator: "WINDOW_MOVE" - scalar_value: { - int32_t: 289409985 - } - enumerator: "WINDOW_VENT_POS" - scalar_value: { - int32_t: 289409986 - } - enumerator: "WINDOW_VENT_MOVE" - scalar_value: { - int32_t: 289409987 - } - enumerator: "WINDOW_LOCK" - scalar_value: { - int32_t: 287312836 - } - enumerator: "VEHICLE_MAP_SERVICE" - scalar_value: { - int32_t: 299895808 - } - enumerator: "OBD2_LIVE_FRAME" - scalar_value: { - int32_t: 299896064 - } - enumerator: "OBD2_FREEZE_FRAME" - scalar_value: { - int32_t: 299896065 - } - enumerator: "OBD2_FREEZE_FRAME_INFO" - scalar_value: { - int32_t: 299896066 - } - enumerator: "OBD2_FREEZE_FRAME_CLEAR" - scalar_value: { - int32_t: 299896067 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleHvacFanDirection" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "FACE" - scalar_value: { - int32_t: 1 - } - enumerator: "FLOOR" - scalar_value: { - int32_t: 2 - } - enumerator: "FACE_AND_FLOOR" - scalar_value: { - int32_t: 3 - } - enumerator: "DEFROST" - scalar_value: { - int32_t: 4 - } - enumerator: "DEFROST_AND_FLOOR" - scalar_value: { - int32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleRadioConstants" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "VEHICLE_RADIO_PRESET_MIN_VALUE" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioFocusRequest" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "REQUEST_GAIN" - scalar_value: { - int32_t: 1 - } - enumerator: "REQUEST_GAIN_TRANSIENT" - scalar_value: { - int32_t: 2 - } - enumerator: "REQUEST_GAIN_TRANSIENT_MAY_DUCK" - scalar_value: { - int32_t: 3 - } - enumerator: "REQUEST_GAIN_TRANSIENT_NO_DUCK" - scalar_value: { - int32_t: 4 - } - enumerator: "REQUEST_RELEASE" - scalar_value: { - int32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioFocusState" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STATE_GAIN" - scalar_value: { - int32_t: 1 - } - enumerator: "STATE_GAIN_TRANSIENT" - scalar_value: { - int32_t: 2 - } - enumerator: "STATE_LOSS_TRANSIENT_CAN_DUCK" - scalar_value: { - int32_t: 3 - } - enumerator: "STATE_LOSS_TRANSIENT" - scalar_value: { - int32_t: 4 - } - enumerator: "STATE_LOSS" - scalar_value: { - int32_t: 5 - } - enumerator: "STATE_LOSS_TRANSIENT_EXLCUSIVE" - scalar_value: { - int32_t: 6 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioStreamFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STREAM0_FLAG" - scalar_value: { - int32_t: 1 - } - enumerator: "STREAM1_FLAG" - scalar_value: { - int32_t: 2 - } - enumerator: "STREAM2_FLAG" - scalar_value: { - int32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioStream" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STREAM0" - scalar_value: { - int32_t: 0 - } - enumerator: "STREAM1" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioExtFocusFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE_FLAG" - scalar_value: { - int32_t: 0 - } - enumerator: "PERMANENT_FLAG" - scalar_value: { - int32_t: 1 - } - enumerator: "TRANSIENT_FLAG" - scalar_value: { - int32_t: 2 - } - enumerator: "PLAY_ONLY_FLAG" - scalar_value: { - int32_t: 4 - } - enumerator: "MUTE_MEDIA_FLAG" - scalar_value: { - int32_t: 8 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioFocusIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "FOCUS" - scalar_value: { - int32_t: 0 - } - enumerator: "STREAMS" - scalar_value: { - int32_t: 1 - } - enumerator: "EXTERNAL_FOCUS_STATE" - scalar_value: { - int32_t: 2 - } - enumerator: "AUDIO_CONTEXTS" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioContextFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "MUSIC_FLAG" - scalar_value: { - int32_t: 1 - } - enumerator: "NAVIGATION_FLAG" - scalar_value: { - int32_t: 2 - } - enumerator: "VOICE_COMMAND_FLAG" - scalar_value: { - int32_t: 4 - } - enumerator: "CALL_FLAG" - scalar_value: { - int32_t: 8 - } - enumerator: "ALARM_FLAG" - scalar_value: { - int32_t: 16 - } - enumerator: "NOTIFICATION_FLAG" - scalar_value: { - int32_t: 32 - } - enumerator: "UNKNOWN_FLAG" - scalar_value: { - int32_t: 64 - } - enumerator: "SAFETY_ALERT_FLAG" - scalar_value: { - int32_t: 128 - } - enumerator: "CD_ROM_FLAG" - scalar_value: { - int32_t: 256 - } - enumerator: "AUX_AUDIO_FLAG" - scalar_value: { - int32_t: 512 - } - enumerator: "SYSTEM_SOUND_FLAG" - scalar_value: { - int32_t: 1024 - } - enumerator: "RADIO_FLAG" - scalar_value: { - int32_t: 2048 - } - enumerator: "EXT_SOURCE_FLAG" - scalar_value: { - int32_t: 4096 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioVolumeCapabilityFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "PERSISTENT_STORAGE" - scalar_value: { - int32_t: 1 - } - enumerator: "MASTER_VOLUME_ONLY" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioVolumeState" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STATE_OK" - scalar_value: { - int32_t: 0 - } - enumerator: "LIMIT_REACHED" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioVolumeIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INDEX_STREAM" - scalar_value: { - int32_t: 0 - } - enumerator: "INDEX_VOLUME" - scalar_value: { - int32_t: 1 - } - enumerator: "INDEX_STATE" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioVolumeLimitIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STREAM" - scalar_value: { - int32_t: 0 - } - enumerator: "MAX_VOLUME" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioRoutingPolicyIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STREAM" - scalar_value: { - int32_t: 0 - } - enumerator: "CONTEXTS" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAudioHwVariantConfigFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INTERNAL_RADIO_FLAG" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleApPowerStateConfigFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ENABLE_DEEP_SLEEP_FLAG" - scalar_value: { - int32_t: 1 - } - enumerator: "CONFIG_SUPPORT_TIMER_POWER_ON_FLAG" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleApPowerState" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OFF" - scalar_value: { - int32_t: 0 - } - enumerator: "DEEP_SLEEP" - scalar_value: { - int32_t: 1 - } - enumerator: "ON_DISP_OFF" - scalar_value: { - int32_t: 2 - } - enumerator: "ON_FULL" - scalar_value: { - int32_t: 3 - } - enumerator: "SHUTDOWN_PREPARE" - scalar_value: { - int32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleApPowerStateShutdownParam" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SHUTDOWN_IMMEDIATELY" - scalar_value: { - int32_t: 1 - } - enumerator: "CAN_SLEEP" - scalar_value: { - int32_t: 2 - } - enumerator: "SHUTDOWN_ONLY" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleApPowerSetState" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "BOOT_COMPLETE" - scalar_value: { - int32_t: 1 - } - enumerator: "DEEP_SLEEP_ENTRY" - scalar_value: { - int32_t: 2 - } - enumerator: "DEEP_SLEEP_EXIT" - scalar_value: { - int32_t: 3 - } - enumerator: "SHUTDOWN_POSTPONE" - scalar_value: { - int32_t: 4 - } - enumerator: "SHUTDOWN_START" - scalar_value: { - int32_t: 5 - } - enumerator: "DISPLAY_OFF" - scalar_value: { - int32_t: 6 - } - enumerator: "DISPLAY_ON" - scalar_value: { - int32_t: 7 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleApPowerStateIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STATE" - scalar_value: { - int32_t: 0 - } - enumerator: "ADDITIONAL" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleApPowerBootupReason" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "USER_POWER_ON" - scalar_value: { - int32_t: 0 - } - enumerator: "USER_UNLOCK" - scalar_value: { - int32_t: 1 - } - enumerator: "TIMER" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleHwKeyInputAction" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ACTION_DOWN" - scalar_value: { - int32_t: 0 - } - enumerator: "ACTION_UP" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleDisplay" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "MAIN" - scalar_value: { - int32_t: 0 - } - enumerator: "INSTRUMENT_CLUSTER" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleInstrumentClusterType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "HAL_INTERFACE" - scalar_value: { - int32_t: 1 - } - enumerator: "EXTERNAL_DISPLAY" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleUnit" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SHOULD_NOT_USE" - scalar_value: { - int32_t: 0 - } - enumerator: "METER_PER_SEC" - scalar_value: { - int32_t: 1 - } - enumerator: "RPM" - scalar_value: { - int32_t: 2 - } - enumerator: "HERTZ" - scalar_value: { - int32_t: 3 - } - enumerator: "PERCENTILE" - scalar_value: { - int32_t: 16 - } - enumerator: "MILLIMETER" - scalar_value: { - int32_t: 32 - } - enumerator: "METER" - scalar_value: { - int32_t: 33 - } - enumerator: "KILOMETER" - scalar_value: { - int32_t: 35 - } - enumerator: "CELSIUS" - scalar_value: { - int32_t: 48 - } - enumerator: "FAHRENHEIT" - scalar_value: { - int32_t: 49 - } - enumerator: "KELVIN" - scalar_value: { - int32_t: 50 - } - enumerator: "MILLILITER" - scalar_value: { - int32_t: 64 - } - enumerator: "NANO_SECS" - scalar_value: { - int32_t: 80 - } - enumerator: "SECS" - scalar_value: { - int32_t: 83 - } - enumerator: "YEAR" - scalar_value: { - int32_t: 89 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropertyChangeMode" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STATIC" - scalar_value: { - int32_t: 0 - } - enumerator: "ON_CHANGE" - scalar_value: { - int32_t: 1 - } - enumerator: "CONTINUOUS" - scalar_value: { - int32_t: 2 - } - enumerator: "POLL" - scalar_value: { - int32_t: 3 - } - enumerator: "ON_SET" - scalar_value: { - int32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropertyAccess" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "READ" - scalar_value: { - int32_t: 1 - } - enumerator: "WRITE" - scalar_value: { - int32_t: 2 - } - enumerator: "READ_WRITE" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleDrivingStatus" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UNRESTRICTED" - scalar_value: { - int32_t: 0 - } - enumerator: "NO_VIDEO" - scalar_value: { - int32_t: 1 - } - enumerator: "NO_KEYBOARD_INPUT" - scalar_value: { - int32_t: 2 - } - enumerator: "NO_VOICE_INPUT" - scalar_value: { - int32_t: 4 - } - enumerator: "NO_CONFIG" - scalar_value: { - int32_t: 8 - } - enumerator: "LIMIT_MESSAGE_LEN" - scalar_value: { - int32_t: 16 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleGear" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "GEAR_NEUTRAL" - scalar_value: { - int32_t: 1 - } - enumerator: "GEAR_REVERSE" - scalar_value: { - int32_t: 2 - } - enumerator: "GEAR_PARK" - scalar_value: { - int32_t: 4 - } - enumerator: "GEAR_DRIVE" - scalar_value: { - int32_t: 8 - } - enumerator: "GEAR_LOW" - scalar_value: { - int32_t: 16 - } - enumerator: "GEAR_1" - scalar_value: { - int32_t: 16 - } - enumerator: "GEAR_2" - scalar_value: { - int32_t: 32 - } - enumerator: "GEAR_3" - scalar_value: { - int32_t: 64 - } - enumerator: "GEAR_4" - scalar_value: { - int32_t: 128 - } - enumerator: "GEAR_5" - scalar_value: { - int32_t: 256 - } - enumerator: "GEAR_6" - scalar_value: { - int32_t: 512 - } - enumerator: "GEAR_7" - scalar_value: { - int32_t: 1024 - } - enumerator: "GEAR_8" - scalar_value: { - int32_t: 2048 - } - enumerator: "GEAR_9" - scalar_value: { - int32_t: 4096 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAreaZone" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ROW_1_LEFT" - scalar_value: { - int32_t: 1 - } - enumerator: "ROW_1_CENTER" - scalar_value: { - int32_t: 2 - } - enumerator: "ROW_1_RIGHT" - scalar_value: { - int32_t: 4 - } - enumerator: "ROW_1" - scalar_value: { - int32_t: 8 - } - enumerator: "ROW_2_LEFT" - scalar_value: { - int32_t: 16 - } - enumerator: "ROW_2_CENTER" - scalar_value: { - int32_t: 32 - } - enumerator: "ROW_2_RIGHT" - scalar_value: { - int32_t: 64 - } - enumerator: "ROW_2" - scalar_value: { - int32_t: 128 - } - enumerator: "ROW_3_LEFT" - scalar_value: { - int32_t: 256 - } - enumerator: "ROW_3_CENTER" - scalar_value: { - int32_t: 512 - } - enumerator: "ROW_3_RIGHT" - scalar_value: { - int32_t: 1024 - } - enumerator: "ROW_3" - scalar_value: { - int32_t: 2048 - } - enumerator: "ROW_4_LEFT" - scalar_value: { - int32_t: 4096 - } - enumerator: "ROW_4_CENTER" - scalar_value: { - int32_t: 8192 - } - enumerator: "ROW_4_RIGHT" - scalar_value: { - int32_t: 16384 - } - enumerator: "ROW_4" - scalar_value: { - int32_t: 32768 - } - enumerator: "WHOLE_CABIN" - scalar_value: { - int32_t: -2147483648 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAreaSeat" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ROW_1_LEFT" - scalar_value: { - int32_t: 1 - } - enumerator: "ROW_1_CENTER" - scalar_value: { - int32_t: 2 - } - enumerator: "ROW_1_RIGHT" - scalar_value: { - int32_t: 4 - } - enumerator: "ROW_2_LEFT" - scalar_value: { - int32_t: 16 - } - enumerator: "ROW_2_CENTER" - scalar_value: { - int32_t: 32 - } - enumerator: "ROW_2_RIGHT" - scalar_value: { - int32_t: 64 - } - enumerator: "ROW_3_LEFT" - scalar_value: { - int32_t: 256 - } - enumerator: "ROW_3_CENTER" - scalar_value: { - int32_t: 512 - } - enumerator: "ROW_3_RIGHT" - scalar_value: { - int32_t: 1024 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAreaWindow" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "FRONT_WINDSHIELD" - scalar_value: { - int32_t: 1 - } - enumerator: "REAR_WINDSHIELD" - scalar_value: { - int32_t: 2 - } - enumerator: "ROOF_TOP" - scalar_value: { - int32_t: 4 - } - enumerator: "ROW_1_LEFT" - scalar_value: { - int32_t: 16 - } - enumerator: "ROW_1_RIGHT" - scalar_value: { - int32_t: 32 - } - enumerator: "ROW_2_LEFT" - scalar_value: { - int32_t: 256 - } - enumerator: "ROW_2_RIGHT" - scalar_value: { - int32_t: 512 - } - enumerator: "ROW_3_LEFT" - scalar_value: { - int32_t: 4096 - } - enumerator: "ROW_3_RIGHT" - scalar_value: { - int32_t: 8192 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAreaDoor" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ROW_1_LEFT" - scalar_value: { - int32_t: 1 - } - enumerator: "ROW_1_RIGHT" - scalar_value: { - int32_t: 4 - } - enumerator: "ROW_2_LEFT" - scalar_value: { - int32_t: 16 - } - enumerator: "ROW_2_RIGHT" - scalar_value: { - int32_t: 64 - } - enumerator: "ROW_3_LEFT" - scalar_value: { - int32_t: 256 - } - enumerator: "ROW_3_RIGHT" - scalar_value: { - int32_t: 1024 - } - enumerator: "HOOD" - scalar_value: { - int32_t: 268435456 - } - enumerator: "REAR" - scalar_value: { - int32_t: 536870912 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAreaMirror" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "DRIVER_LEFT" - scalar_value: { - int32_t: 1 - } - enumerator: "DRIVER_RIGHT" - scalar_value: { - int32_t: 2 - } - enumerator: "DRIVER_CENTER" - scalar_value: { - int32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleTurnSignal" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "RIGHT" - scalar_value: { - int32_t: 1 - } - enumerator: "LEFT" - scalar_value: { - int32_t: 2 - } - enumerator: "EMERGENCY" - scalar_value: { - int32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleAreaConfig" - type: TYPE_STRUCT - struct_value: { - name: "areaId" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "minInt32Value" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "maxInt32Value" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "minInt64Value" - type: TYPE_SCALAR - scalar_type: "int64_t" - } - struct_value: { - name: "maxInt64Value" - type: TYPE_SCALAR - scalar_type: "int64_t" - } - struct_value: { - name: "minFloatValue" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "maxFloatValue" - type: TYPE_SCALAR - scalar_type: "float_t" - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig" - type: TYPE_STRUCT - struct_value: { - name: "prop" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "access" - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropertyAccess" - } - struct_value: { - name: "changeMode" - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropertyChangeMode" - } - struct_value: { - name: "supportedAreas" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "areaConfigs" - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehicleAreaConfig" - } - } - struct_value: { - name: "configFlags" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "configArray" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - struct_value: { - name: "configString" - type: TYPE_STRING - } - struct_value: { - name: "minSampleRate" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "maxSampleRate" - type: TYPE_SCALAR - scalar_type: "float_t" - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue" - type: TYPE_STRUCT - sub_struct: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue::RawValue" - type: TYPE_STRUCT - struct_value: { - name: "int32Values" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - struct_value: { - name: "floatValues" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "float_t" - } - } - struct_value: { - name: "int64Values" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "int64_t" - } - } - struct_value: { - name: "bytes" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - struct_value: { - name: "stringValue" - type: TYPE_STRING - } - } - struct_value: { - name: "prop" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "timestamp" - type: TYPE_SCALAR - scalar_type: "int64_t" - } - struct_value: { - name: "areaId" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "value" - type: TYPE_STRUCT - predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue::RawValue" - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehicleIgnitionState" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UNDEFINED" - scalar_value: { - int32_t: 0 - } - enumerator: "LOCK" - scalar_value: { - int32_t: 1 - } - enumerator: "OFF" - scalar_value: { - int32_t: 2 - } - enumerator: "ACC" - scalar_value: { - int32_t: 3 - } - enumerator: "ON" - scalar_value: { - int32_t: 4 - } - enumerator: "START" - scalar_value: { - int32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VehiclePropertyOperation" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "GENERIC" - scalar_value: { - int32_t: 0 - } - enumerator: "SET" - scalar_value: { - int32_t: 1 - } - enumerator: "GET" - scalar_value: { - int32_t: 2 - } - enumerator: "SUBSCRIBE" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::SubscribeFlags" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UNDEFINED" - scalar_value: { - int32_t: 0 - } - enumerator: "HAL_EVENT" - scalar_value: { - int32_t: 1 - } - enumerator: "SET_CALL" - scalar_value: { - int32_t: 2 - } - enumerator: "DEFAULT" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::SubscribeOptions" - type: TYPE_STRUCT - struct_value: { - name: "propId" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "vehicleAreas" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "sampleRate" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "flags" - type: TYPE_ENUM - predefined_type: "::android::hardware::automotive::vehicle::V2_0::SubscribeFlags" - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::StatusCode" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OK" - scalar_value: { - int32_t: 0 - } - enumerator: "TRY_AGAIN" - scalar_value: { - int32_t: 1 - } - enumerator: "INVALID_ARG" - scalar_value: { - int32_t: 2 - } - enumerator: "NOT_AVAILABLE" - scalar_value: { - int32_t: 3 - } - enumerator: "ACCESS_DENIED" - scalar_value: { - int32_t: 4 - } - enumerator: "INTERNAL_ERROR" - scalar_value: { - int32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::FuelSystemStatus" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OPEN_INSUFFICIENT_ENGINE_TEMPERATURE" - scalar_value: { - int32_t: 1 - } - enumerator: "CLOSED_LOOP" - scalar_value: { - int32_t: 2 - } - enumerator: "OPEN_ENGINE_LOAD_OR_DECELERATION" - scalar_value: { - int32_t: 4 - } - enumerator: "OPEN_SYSTEM_FAILURE" - scalar_value: { - int32_t: 8 - } - enumerator: "CLOSED_LOOP_BUT_FEEDBACK_FAULT" - scalar_value: { - int32_t: 16 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::IgnitionMonitorKind" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SPARK" - scalar_value: { - int32_t: 0 - } - enumerator: "COMPRESSION" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::CommonIgnitionMonitors" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "COMPONENTS_AVAILABLE" - scalar_value: { - int32_t: 1 - } - enumerator: "COMPONENTS_INCOMPLETE" - scalar_value: { - int32_t: 2 - } - enumerator: "FUEL_SYSTEM_AVAILABLE" - scalar_value: { - int32_t: 4 - } - enumerator: "FUEL_SYSTEM_INCOMPLETE" - scalar_value: { - int32_t: 8 - } - enumerator: "MISFIRE_AVAILABLE" - scalar_value: { - int32_t: 16 - } - enumerator: "MISFIRE_INCOMPLETE" - scalar_value: { - int32_t: 32 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::SparkIgnitionMonitors" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "COMPONENTS_AVAILABLE" - scalar_value: { - int32_t: 1 - } - enumerator: "COMPONENTS_INCOMPLETE" - scalar_value: { - int32_t: 2 - } - enumerator: "FUEL_SYSTEM_AVAILABLE" - scalar_value: { - int32_t: 4 - } - enumerator: "FUEL_SYSTEM_INCOMPLETE" - scalar_value: { - int32_t: 8 - } - enumerator: "MISFIRE_AVAILABLE" - scalar_value: { - int32_t: 16 - } - enumerator: "MISFIRE_INCOMPLETE" - scalar_value: { - int32_t: 32 - } - enumerator: "EGR_AVAILABLE" - scalar_value: { - int32_t: 64 - } - enumerator: "EGR_INCOMPLETE" - scalar_value: { - int32_t: 128 - } - enumerator: "OXYGEN_SENSOR_HEATER_AVAILABLE" - scalar_value: { - int32_t: 256 - } - enumerator: "OXYGEN_SENSOR_HEATER_INCOMPLETE" - scalar_value: { - int32_t: 512 - } - enumerator: "OXYGEN_SENSOR_AVAILABLE" - scalar_value: { - int32_t: 1024 - } - enumerator: "OXYGEN_SENSOR_INCOMPLETE" - scalar_value: { - int32_t: 2048 - } - enumerator: "AC_REFRIGERANT_AVAILABLE" - scalar_value: { - int32_t: 4096 - } - enumerator: "AC_REFRIGERANT_INCOMPLETE" - scalar_value: { - int32_t: 8192 - } - enumerator: "SECONDARY_AIR_SYSTEM_AVAILABLE" - scalar_value: { - int32_t: 16384 - } - enumerator: "SECONDARY_AIR_SYSTEM_INCOMPLETE" - scalar_value: { - int32_t: 32768 - } - enumerator: "EVAPORATIVE_SYSTEM_AVAILABLE" - scalar_value: { - int32_t: 65536 - } - enumerator: "EVAPORATIVE_SYSTEM_INCOMPLETE" - scalar_value: { - int32_t: 131072 - } - enumerator: "HEATED_CATALYST_AVAILABLE" - scalar_value: { - int32_t: 262144 - } - enumerator: "HEATED_CATALYST_INCOMPLETE" - scalar_value: { - int32_t: 524288 - } - enumerator: "CATALYST_AVAILABLE" - scalar_value: { - int32_t: 1048576 - } - enumerator: "CATALYST_INCOMPLETE" - scalar_value: { - int32_t: 2097152 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::CompressionIgnitionMonitors" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "COMPONENTS_AVAILABLE" - scalar_value: { - int32_t: 1 - } - enumerator: "COMPONENTS_INCOMPLETE" - scalar_value: { - int32_t: 2 - } - enumerator: "FUEL_SYSTEM_AVAILABLE" - scalar_value: { - int32_t: 4 - } - enumerator: "FUEL_SYSTEM_INCOMPLETE" - scalar_value: { - int32_t: 8 - } - enumerator: "MISFIRE_AVAILABLE" - scalar_value: { - int32_t: 16 - } - enumerator: "MISFIRE_INCOMPLETE" - scalar_value: { - int32_t: 32 - } - enumerator: "EGR_OR_VVT_AVAILABLE" - scalar_value: { - int32_t: 64 - } - enumerator: "EGR_OR_VVT_INCOMPLETE" - scalar_value: { - int32_t: 128 - } - enumerator: "PM_FILTER_AVAILABLE" - scalar_value: { - int32_t: 256 - } - enumerator: "PM_FILTER_INCOMPLETE" - scalar_value: { - int32_t: 512 - } - enumerator: "EXHAUST_GAS_SENSOR_AVAILABLE" - scalar_value: { - int32_t: 1024 - } - enumerator: "EXHAUST_GAS_SENSOR_INCOMPLETE" - scalar_value: { - int32_t: 2048 - } - enumerator: "BOOST_PRESSURE_AVAILABLE" - scalar_value: { - int32_t: 4096 - } - enumerator: "BOOST_PRESSURE_INCOMPLETE" - scalar_value: { - int32_t: 8192 - } - enumerator: "NOx_SCR__AVAILABLE" - scalar_value: { - int32_t: 16384 - } - enumerator: "NOx_SCR_INCOMPLETE" - scalar_value: { - int32_t: 32768 - } - enumerator: "NMHC_CATALYST_AVAILABLE" - scalar_value: { - int32_t: 65536 - } - enumerator: "NMHC_CATALYST_INCOMPLETE" - scalar_value: { - int32_t: 131072 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::Wheel" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UNKNOWN" - scalar_value: { - int32_t: 0 - } - enumerator: "LEFT_FRONT" - scalar_value: { - int32_t: 1 - } - enumerator: "RIGHT_FRONT" - scalar_value: { - int32_t: 2 - } - enumerator: "LEFT_REAR" - scalar_value: { - int32_t: 4 - } - enumerator: "RIGHT_REAR" - scalar_value: { - int32_t: 8 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::SecondaryAirStatus" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UPSTREAM" - scalar_value: { - int32_t: 1 - } - enumerator: "DOWNSTREAM_OF_CATALYCIC_CONVERTER" - scalar_value: { - int32_t: 2 - } - enumerator: "FROM_OUTSIDE_OR_OFF" - scalar_value: { - int32_t: 4 - } - enumerator: "PUMP_ON_FOR_DIAGNOSTICS" - scalar_value: { - int32_t: 8 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::FuelType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NOT_AVAILABLE" - scalar_value: { - int32_t: 0 - } - enumerator: "GASOLINE" - scalar_value: { - int32_t: 1 - } - enumerator: "METHANOL" - scalar_value: { - int32_t: 2 - } - enumerator: "ETHANOL" - scalar_value: { - int32_t: 3 - } - enumerator: "DIESEL" - scalar_value: { - int32_t: 4 - } - enumerator: "LPG" - scalar_value: { - int32_t: 5 - } - enumerator: "CNG" - scalar_value: { - int32_t: 6 - } - enumerator: "PROPANE" - scalar_value: { - int32_t: 7 - } - enumerator: "ELECTRIC" - scalar_value: { - int32_t: 8 - } - enumerator: "BIFUEL_RUNNING_GASOLINE" - scalar_value: { - int32_t: 9 - } - enumerator: "BIFUEL_RUNNING_METHANOL" - scalar_value: { - int32_t: 10 - } - enumerator: "BIFUEL_RUNNING_ETHANOL" - scalar_value: { - int32_t: 11 - } - enumerator: "BIFUEL_RUNNING_LPG" - scalar_value: { - int32_t: 12 - } - enumerator: "BIFUEL_RUNNING_CNG" - scalar_value: { - int32_t: 13 - } - enumerator: "BIFUEL_RUNNING_PROPANE" - scalar_value: { - int32_t: 14 - } - enumerator: "BIFUEL_RUNNING_ELECTRIC" - scalar_value: { - int32_t: 15 - } - enumerator: "BIFUEL_RUNNING_ELECTRIC_AND_COMBUSTION" - scalar_value: { - int32_t: 16 - } - enumerator: "HYBRID_GASOLINE" - scalar_value: { - int32_t: 17 - } - enumerator: "HYBRID_ETHANOL" - scalar_value: { - int32_t: 18 - } - enumerator: "HYBRID_DIESEL" - scalar_value: { - int32_t: 19 - } - enumerator: "HYBRID_ELECTRIC" - scalar_value: { - int32_t: 20 - } - enumerator: "HYBRID_RUNNING_ELECTRIC_AND_COMBUSTION" - scalar_value: { - int32_t: 21 - } - enumerator: "HYBRID_REGENERATIVE" - scalar_value: { - int32_t: 22 - } - enumerator: "BIFUEL_RUNNING_DIESEL" - scalar_value: { - int32_t: 23 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::Obd2IntegerSensorIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "FUEL_SYSTEM_STATUS" - scalar_value: { - int32_t: 0 - } - enumerator: "MALFUNCTION_INDICATOR_LIGHT_ON" - scalar_value: { - int32_t: 1 - } - enumerator: "IGNITION_MONITORS_SUPPORTED" - scalar_value: { - int32_t: 2 - } - enumerator: "IGNITION_SPECIFIC_MONITORS" - scalar_value: { - int32_t: 3 - } - enumerator: "INTAKE_AIR_TEMPERATURE" - scalar_value: { - int32_t: 4 - } - enumerator: "COMMANDED_SECONDARY_AIR_STATUS" - scalar_value: { - int32_t: 5 - } - enumerator: "NUM_OXYGEN_SENSORS_PRESENT" - scalar_value: { - int32_t: 6 - } - enumerator: "RUNTIME_SINCE_ENGINE_START" - scalar_value: { - int32_t: 7 - } - enumerator: "DISTANCE_TRAVELED_WITH_MALFUNCTION_INDICATOR_LIGHT_ON" - scalar_value: { - int32_t: 8 - } - enumerator: "WARMUPS_SINCE_CODES_CLEARED" - scalar_value: { - int32_t: 9 - } - enumerator: "DISTANCE_TRAVELED_SINCE_CODES_CLEARED" - scalar_value: { - int32_t: 10 - } - enumerator: "ABSOLUTE_BAROMETRIC_PRESSURE" - scalar_value: { - int32_t: 11 - } - enumerator: "CONTROL_MODULE_VOLTAGE" - scalar_value: { - int32_t: 12 - } - enumerator: "AMBIENT_AIR_TEMPERATURE" - scalar_value: { - int32_t: 13 - } - enumerator: "TIME_WITH_MALFUNCTION_LIGHT_ON" - scalar_value: { - int32_t: 14 - } - enumerator: "TIME_SINCE_TROUBLE_CODES_CLEARED" - scalar_value: { - int32_t: 15 - } - enumerator: "MAX_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 16 - } - enumerator: "MAX_OXYGEN_SENSOR_VOLTAGE" - scalar_value: { - int32_t: 17 - } - enumerator: "MAX_OXYGEN_SENSOR_CURRENT" - scalar_value: { - int32_t: 18 - } - enumerator: "MAX_INTAKE_MANIFOLD_ABSOLUTE_PRESSURE" - scalar_value: { - int32_t: 19 - } - enumerator: "MAX_AIR_FLOW_RATE_FROM_MASS_AIR_FLOW_SENSOR" - scalar_value: { - int32_t: 20 - } - enumerator: "FUEL_TYPE" - scalar_value: { - int32_t: 21 - } - enumerator: "FUEL_RAIL_ABSOLUTE_PRESSURE" - scalar_value: { - int32_t: 22 - } - enumerator: "ENGINE_OIL_TEMPERATURE" - scalar_value: { - int32_t: 23 - } - enumerator: "DRIVER_DEMAND_PERCENT_TORQUE" - scalar_value: { - int32_t: 24 - } - enumerator: "ENGINE_ACTUAL_PERCENT_TORQUE" - scalar_value: { - int32_t: 25 - } - enumerator: "ENGINE_REFERENCE_PERCENT_TORQUE" - scalar_value: { - int32_t: 26 - } - enumerator: "ENGINE_PERCENT_TORQUE_DATA_IDLE" - scalar_value: { - int32_t: 27 - } - enumerator: "ENGINE_PERCENT_TORQUE_DATA_POINT1" - scalar_value: { - int32_t: 28 - } - enumerator: "ENGINE_PERCENT_TORQUE_DATA_POINT2" - scalar_value: { - int32_t: 29 - } - enumerator: "ENGINE_PERCENT_TORQUE_DATA_POINT3" - scalar_value: { - int32_t: 30 - } - enumerator: "ENGINE_PERCENT_TORQUE_DATA_POINT4" - scalar_value: { - int32_t: 31 - } - enumerator: "LAST_SYSTEM_INDEX" - scalar_value: { - int32_t: 31 - } - enumerator: "VENDOR_START_INDEX" - scalar_value: { - int32_t: 32 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::Obd2FloatSensorIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "CALCULATED_ENGINE_LOAD" - scalar_value: { - int32_t: 0 - } - enumerator: "ENGINE_COOLANT_TEMPERATURE" - scalar_value: { - int32_t: 1 - } - enumerator: "SHORT_TERM_FUEL_TRIM_BANK1" - scalar_value: { - int32_t: 2 - } - enumerator: "LONG_TERM_FUEL_TRIM_BANK1" - scalar_value: { - int32_t: 3 - } - enumerator: "SHORT_TERM_FUEL_TRIM_BANK2" - scalar_value: { - int32_t: 4 - } - enumerator: "LONG_TERM_FUEL_TRIM_BANK2" - scalar_value: { - int32_t: 5 - } - enumerator: "FUEL_PRESSURE" - scalar_value: { - int32_t: 6 - } - enumerator: "INTAKE_MANIFOLD_ABSOLUTE_PRESSURE" - scalar_value: { - int32_t: 7 - } - enumerator: "ENGINE_RPM" - scalar_value: { - int32_t: 8 - } - enumerator: "VEHICLE_SPEED" - scalar_value: { - int32_t: 9 - } - enumerator: "TIMING_ADVANCE" - scalar_value: { - int32_t: 10 - } - enumerator: "MAF_AIR_FLOW_RATE" - scalar_value: { - int32_t: 11 - } - enumerator: "THROTTLE_POSITION" - scalar_value: { - int32_t: 12 - } - enumerator: "OXYGEN_SENSOR1_VOLTAGE" - scalar_value: { - int32_t: 13 - } - enumerator: "OXYGEN_SENSOR1_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 14 - } - enumerator: "OXYGEN_SENSOR1_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 15 - } - enumerator: "OXYGEN_SENSOR2_VOLTAGE" - scalar_value: { - int32_t: 16 - } - enumerator: "OXYGEN_SENSOR2_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 17 - } - enumerator: "OXYGEN_SENSOR2_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 18 - } - enumerator: "OXYGEN_SENSOR3_VOLTAGE" - scalar_value: { - int32_t: 19 - } - enumerator: "OXYGEN_SENSOR3_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 20 - } - enumerator: "OXYGEN_SENSOR3_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 21 - } - enumerator: "OXYGEN_SENSOR4_VOLTAGE" - scalar_value: { - int32_t: 22 - } - enumerator: "OXYGEN_SENSOR4_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 23 - } - enumerator: "OXYGEN_SENSOR4_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 24 - } - enumerator: "OXYGEN_SENSOR5_VOLTAGE" - scalar_value: { - int32_t: 25 - } - enumerator: "OXYGEN_SENSOR5_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 26 - } - enumerator: "OXYGEN_SENSOR5_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 27 - } - enumerator: "OXYGEN_SENSOR6_VOLTAGE" - scalar_value: { - int32_t: 28 - } - enumerator: "OXYGEN_SENSOR6_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 29 - } - enumerator: "OXYGEN_SENSOR6_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 30 - } - enumerator: "OXYGEN_SENSOR7_VOLTAGE" - scalar_value: { - int32_t: 31 - } - enumerator: "OXYGEN_SENSOR7_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 32 - } - enumerator: "OXYGEN_SENSOR7_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 33 - } - enumerator: "OXYGEN_SENSOR8_VOLTAGE" - scalar_value: { - int32_t: 34 - } - enumerator: "OXYGEN_SENSOR8_SHORT_TERM_FUEL_TRIM" - scalar_value: { - int32_t: 35 - } - enumerator: "OXYGEN_SENSOR8_FUEL_AIR_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 36 - } - enumerator: "FUEL_RAIL_PRESSURE" - scalar_value: { - int32_t: 37 - } - enumerator: "FUEL_RAIL_GAUGE_PRESSURE" - scalar_value: { - int32_t: 38 - } - enumerator: "COMMANDED_EXHAUST_GAS_RECIRCULATION" - scalar_value: { - int32_t: 39 - } - enumerator: "EXHAUST_GAS_RECIRCULATION_ERROR" - scalar_value: { - int32_t: 40 - } - enumerator: "COMMANDED_EVAPORATIVE_PURGE" - scalar_value: { - int32_t: 41 - } - enumerator: "FUEL_TANK_LEVEL_INPUT" - scalar_value: { - int32_t: 42 - } - enumerator: "EVAPORATION_SYSTEM_VAPOR_PRESSURE" - scalar_value: { - int32_t: 43 - } - enumerator: "CATALYST_TEMPERATURE_BANK1_SENSOR1" - scalar_value: { - int32_t: 44 - } - enumerator: "CATALYST_TEMPERATURE_BANK2_SENSOR1" - scalar_value: { - int32_t: 45 - } - enumerator: "CATALYST_TEMPERATURE_BANK1_SENSOR2" - scalar_value: { - int32_t: 46 - } - enumerator: "CATALYST_TEMPERATURE_BANK2_SENSOR2" - scalar_value: { - int32_t: 47 - } - enumerator: "ABSOLUTE_LOAD_VALUE" - scalar_value: { - int32_t: 48 - } - enumerator: "FUEL_AIR_COMMANDED_EQUIVALENCE_RATIO" - scalar_value: { - int32_t: 49 - } - enumerator: "RELATIVE_THROTTLE_POSITION" - scalar_value: { - int32_t: 50 - } - enumerator: "ABSOLUTE_THROTTLE_POSITION_B" - scalar_value: { - int32_t: 51 - } - enumerator: "ABSOLUTE_THROTTLE_POSITION_C" - scalar_value: { - int32_t: 52 - } - enumerator: "ACCELERATOR_PEDAL_POSITION_D" - scalar_value: { - int32_t: 53 - } - enumerator: "ACCELERATOR_PEDAL_POSITION_E" - scalar_value: { - int32_t: 54 - } - enumerator: "ACCELERATOR_PEDAL_POSITION_F" - scalar_value: { - int32_t: 55 - } - enumerator: "COMMANDED_THROTTLE_ACTUATOR" - scalar_value: { - int32_t: 56 - } - enumerator: "ETHANOL_FUEL_PERCENTAGE" - scalar_value: { - int32_t: 57 - } - enumerator: "ABSOLUTE_EVAPORATION_SYSTEM_VAPOR_PRESSURE" - scalar_value: { - int32_t: 58 - } - enumerator: "SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1" - scalar_value: { - int32_t: 59 - } - enumerator: "SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2" - scalar_value: { - int32_t: 60 - } - enumerator: "SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3" - scalar_value: { - int32_t: 61 - } - enumerator: "SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4" - scalar_value: { - int32_t: 62 - } - enumerator: "LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1" - scalar_value: { - int32_t: 63 - } - enumerator: "LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2" - scalar_value: { - int32_t: 64 - } - enumerator: "LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3" - scalar_value: { - int32_t: 65 - } - enumerator: "LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4" - scalar_value: { - int32_t: 66 - } - enumerator: "RELATIVE_ACCELERATOR_PEDAL_POSITION" - scalar_value: { - int32_t: 67 - } - enumerator: "HYBRID_BATTERY_PACK_REMAINING_LIFE" - scalar_value: { - int32_t: 68 - } - enumerator: "FUEL_INJECTION_TIMING" - scalar_value: { - int32_t: 69 - } - enumerator: "ENGINE_FUEL_RATE" - scalar_value: { - int32_t: 70 - } - enumerator: "LAST_SYSTEM_INDEX" - scalar_value: { - int32_t: 70 - } - enumerator: "VENDOR_START_INDEX" - scalar_value: { - int32_t: 71 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VmsMessageType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SUBSCRIBE" - scalar_value: { - int32_t: 1 - } - enumerator: "UNSUBSCRIBE" - scalar_value: { - int32_t: 2 - } - enumerator: "DATA" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::automotive::vehicle::V2_0::VmsMessageIntegerValuesIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "VMS_MESSAGE_TYPE" - scalar_value: { - int32_t: 1 - } - enumerator: "VMS_LAYER_ID" - scalar_value: { - int32_t: 2 - } - enumerator: "VMS_LAYER_VERSION" - scalar_value: { - int32_t: 3 - } - } -} - diff --git a/biometrics/fingerprint/2.1/vts/BiometricsFingerprint.vts b/biometrics/fingerprint/2.1/vts/BiometricsFingerprint.vts deleted file mode 100644 index 0581da0b2f..0000000000 --- a/biometrics/fingerprint/2.1/vts/BiometricsFingerprint.vts +++ /dev/null @@ -1,191 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.1 -component_name: "IBiometricsFingerprint" - -package: "android.hardware.biometrics.fingerprint" - -import: "android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprintClientCallback" -import: "android.hardware.biometrics.fingerprint@2.1::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "setNotify" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_HIDL_CALLBACK - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::IBiometricsFingerprintClientCallback" - } - callflow: { - next: "setActiveGroup" - } - callflow: { - entry: true - } - } - - api: { - name: "preEnroll" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "enroll" - next: "postEnroll" - } - } - - api: { - name: "enroll" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - } - arg: { - type: TYPE_ARRAY - vector_size: 69 - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "cancel" - next: "enroll" - next: "postEnroll" - next: "remove" - } - } - - api: { - name: "postEnroll" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - } - callflow: { - next: "authenticate" - next: "setActiveGroup" - next: "enumerate" - next: "remove" - } - } - - api: { - name: "getAuthenticatorId" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "authenticate" - } - } - - api: { - name: "cancel" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - } - callflow: { - next: "authenticate" - next: "enroll" - next: "enumerate" - next: "remove" - next: "setActiveGroup" - } - } - - api: { - name: "enumerate" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - } - callflow: { - next: "remove" - next: "enroll" - next: "authenticate" - next: "setActiveGroup" - } - } - - api: { - name: "remove" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "enumerate" - next: "authenticate" - next: "cancel" - next: "getAuthenticatorId" - next: "setActiveGroup" - } - } - - api: { - name: "setActiveGroup" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_STRING - } - callflow: { - next: "authenticate" - next: "preEnroll" - next: "enumerate" - next: "remove" - } - } - - api: { - name: "authenticate" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "cancel" - next: "preEnroll" - next: "remove" - } - } - -} diff --git a/biometrics/fingerprint/2.1/vts/BiometricsFingerprintClientCallback.vts b/biometrics/fingerprint/2.1/vts/BiometricsFingerprintClientCallback.vts deleted file mode 100644 index dedda65b58..0000000000 --- a/biometrics/fingerprint/2.1/vts/BiometricsFingerprintClientCallback.vts +++ /dev/null @@ -1,126 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.1 -component_name: "IBiometricsFingerprintClientCallback" - -package: "android.hardware.biometrics.fingerprint" - -import: "android.hardware.biometrics.fingerprint@2.1::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "onEnrollResult" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "onAcquired" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquiredInfo" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "onAuthenticated" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - } - - api: { - name: "onError" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintError" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "onRemoved" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "onEnumerate" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - -} diff --git a/biometrics/fingerprint/2.1/vts/types.vts b/biometrics/fingerprint/2.1/vts/types.vts deleted file mode 100644 index 9f9fd37919..0000000000 --- a/biometrics/fingerprint/2.1/vts/types.vts +++ /dev/null @@ -1,262 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.1 -component_name: "types" - -package: "android.hardware.biometrics.fingerprint" - - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SYS_UNKNOWN" - scalar_value: { - int32_t: 1 - } - enumerator: "SYS_OK" - scalar_value: { - int32_t: 0 - } - enumerator: "SYS_ENOENT" - scalar_value: { - int32_t: -2 - } - enumerator: "SYS_EINTR" - scalar_value: { - int32_t: -4 - } - enumerator: "SYS_EIO" - scalar_value: { - int32_t: -5 - } - enumerator: "SYS_EAGAIN" - scalar_value: { - int32_t: -11 - } - enumerator: "SYS_ENOMEM" - scalar_value: { - int32_t: -12 - } - enumerator: "SYS_EACCES" - scalar_value: { - int32_t: -13 - } - enumerator: "SYS_EFAULT" - scalar_value: { - int32_t: -14 - } - enumerator: "SYS_EBUSY" - scalar_value: { - int32_t: -16 - } - enumerator: "SYS_EINVAL" - scalar_value: { - int32_t: -22 - } - enumerator: "SYS_ENOSPC" - scalar_value: { - int32_t: -28 - } - enumerator: "SYS_ETIMEDOUT" - scalar_value: { - int32_t: -110 - } - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintError" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ERROR_NO_ERROR" - scalar_value: { - int32_t: 0 - } - enumerator: "ERROR_HW_UNAVAILABLE" - scalar_value: { - int32_t: 1 - } - enumerator: "ERROR_UNABLE_TO_PROCESS" - scalar_value: { - int32_t: 2 - } - enumerator: "ERROR_TIMEOUT" - scalar_value: { - int32_t: 3 - } - enumerator: "ERROR_NO_SPACE" - scalar_value: { - int32_t: 4 - } - enumerator: "ERROR_CANCELED" - scalar_value: { - int32_t: 5 - } - enumerator: "ERROR_UNABLE_TO_REMOVE" - scalar_value: { - int32_t: 6 - } - enumerator: "ERROR_LOCKOUT" - scalar_value: { - int32_t: 7 - } - enumerator: "ERROR_VENDOR" - scalar_value: { - int32_t: 8 - } - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquiredInfo" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ACQUIRED_GOOD" - scalar_value: { - int32_t: 0 - } - enumerator: "ACQUIRED_PARTIAL" - scalar_value: { - int32_t: 1 - } - enumerator: "ACQUIRED_INSUFFICIENT" - scalar_value: { - int32_t: 2 - } - enumerator: "ACQUIRED_IMAGER_DIRTY" - scalar_value: { - int32_t: 3 - } - enumerator: "ACQUIRED_TOO_SLOW" - scalar_value: { - int32_t: 4 - } - enumerator: "ACQUIRED_TOO_FAST" - scalar_value: { - int32_t: 5 - } - enumerator: "ACQUIRED_VENDOR" - scalar_value: { - int32_t: 6 - } - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId" - type: TYPE_STRUCT - struct_value: { - name: "gid" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "fid" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintEnroll" - type: TYPE_STRUCT - struct_value: { - name: "finger" - type: TYPE_STRUCT - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId" - } - struct_value: { - name: "samplesRemaining" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "msg" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintIterator" - type: TYPE_STRUCT - struct_value: { - name: "finger" - type: TYPE_STRUCT - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId" - } - struct_value: { - name: "remainingTemplates" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquired" - type: TYPE_STRUCT - struct_value: { - name: "acquiredInfo" - type: TYPE_ENUM - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquiredInfo" - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAuthenticated" - type: TYPE_STRUCT - struct_value: { - name: "finger" - type: TYPE_STRUCT - predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId" - } - struct_value: { - name: "hat" - type: TYPE_ARRAY - vector_size: 69 - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintMsgType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ERROR" - scalar_value: { - int32_t: -1 - } - enumerator: "ACQUIRED" - scalar_value: { - int32_t: 1 - } - enumerator: "TEMPLATE_ENROLLING" - scalar_value: { - int32_t: 3 - } - enumerator: "TEMPLATE_REMOVED" - scalar_value: { - int32_t: 4 - } - enumerator: "AUTHENTICATED" - scalar_value: { - int32_t: 5 - } - enumerator: "TEMPLATE_ENUMERATING" - scalar_value: { - int32_t: 6 - } - } -} - diff --git a/boot/1.0/vts/BootControl.vts b/boot/1.0/vts/BootControl.vts deleted file mode 100644 index b400f0e9a7..0000000000 --- a/boot/1.0/vts/BootControl.vts +++ /dev/null @@ -1,94 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IBootControl" - -package: "android.hardware.boot" - -import: "android.hardware.boot@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "getNumberSlots" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "getCurrentSlot" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "markBootSuccessful" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::boot::V1_0::CommandResult" - } - } - - api: { - name: "setActiveBootSlot" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::boot::V1_0::CommandResult" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "setSlotAsUnbootable" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::boot::V1_0::CommandResult" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "isSlotBootable" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::boot::V1_0::BoolResult" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "isSlotMarkedSuccessful" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::boot::V1_0::BoolResult" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "getSuffix" - return_type_hidl: { - type: TYPE_STRING - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - -} diff --git a/boot/1.0/vts/types.vts b/boot/1.0/vts/types.vts deleted file mode 100644 index ebeaa60dde..0000000000 --- a/boot/1.0/vts/types.vts +++ /dev/null @@ -1,42 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.boot" - - -attribute: { - name: "::android::hardware::boot::V1_0::CommandResult" - type: TYPE_STRUCT - struct_value: { - name: "success" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "errMsg" - type: TYPE_STRING - } -} - -attribute: { - name: "::android::hardware::boot::V1_0::BoolResult" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "FALSE" - scalar_value: { - int32_t: 0 - } - enumerator: "TRUE" - scalar_value: { - int32_t: 1 - } - enumerator: "INVALID_SLOT" - scalar_value: { - int32_t: -1 - } - } -} - diff --git a/contexthub/1.0/vts/Contexthub.vts b/contexthub/1.0/vts/Contexthub.vts deleted file mode 100644 index a5cdc81f6e..0000000000 --- a/contexthub/1.0/vts/Contexthub.vts +++ /dev/null @@ -1,147 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IContexthub" - -package: "android.hardware.contexthub" - -import: "android.hardware.contexthub@1.0::IContexthubCallback" -import: "android.hardware.contexthub@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "getHubs" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::contexthub::V1_0::ContextHub" - } - } - } - - api: { - name: "registerCallback" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_HIDL_CALLBACK - predefined_type: "::android::hardware::contexthub::V1_0::IContexthubCallback" - } - } - - api: { - name: "sendMessageToHub" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::contexthub::V1_0::ContextHubMsg" - } - } - - api: { - name: "loadNanoApp" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::contexthub::V1_0::NanoAppBinary" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "unloadNanoApp" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "enableNanoApp" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "disableNanoApp" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "queryApps" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - -} diff --git a/contexthub/1.0/vts/ContexthubCallback.vts b/contexthub/1.0/vts/ContexthubCallback.vts deleted file mode 100644 index 59ff2febda..0000000000 --- a/contexthub/1.0/vts/ContexthubCallback.vts +++ /dev/null @@ -1,62 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IContexthubCallback" - -package: "android.hardware.contexthub" - -import: "android.hardware.contexthub@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "handleClientMsg" - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::contexthub::V1_0::ContextHubMsg" - } - } - - api: { - name: "handleTxnResult" - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::TransactionResult" - } - } - - api: { - name: "handleHubEvent" - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::AsyncEventType" - } - } - - api: { - name: "handleAppAbort" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "handleAppsInfo" - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::contexthub::V1_0::HubAppInfo" - } - } - } - -} diff --git a/contexthub/1.0/vts/types.vts b/contexthub/1.0/vts/types.vts deleted file mode 100644 index 4f5dfcf3fb..0000000000 --- a/contexthub/1.0/vts/types.vts +++ /dev/null @@ -1,477 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.contexthub" - - -attribute: { - name: "::android::hardware::contexthub::V1_0::Result" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "OK" - scalar_value: { - uint32_t: 0 - } - enumerator: "UNKNOWN_FAILURE" - scalar_value: { - uint32_t: 1 - } - enumerator: "BAD_PARAMS" - scalar_value: { - uint32_t: 2 - } - enumerator: "NOT_INIT" - scalar_value: { - uint32_t: 3 - } - enumerator: "TRANSACTION_FAILED" - scalar_value: { - uint32_t: 4 - } - enumerator: "TRANSACTION_PENDING" - scalar_value: { - uint32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::NanoAppFlags" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "SIGNED" - scalar_value: { - uint32_t: 1 - } - enumerator: "ENCRYPTED" - scalar_value: { - uint32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::NanoAppBinary" - type: TYPE_STRUCT - struct_value: { - name: "appId" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "appVersion" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "flags" - type: TYPE_MASK - scalar_type: "uint32_t" - predefined_type: "::android::hardware::contexthub::V1_0::NanoAppFlags" - } - struct_value: { - name: "targetChreApiMajorVersion" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - struct_value: { - name: "targetChreApiMinorVersion" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - struct_value: { - name: "customBinary" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::SensorType" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "RESERVED" - scalar_value: { - uint32_t: 0 - } - enumerator: "ACCELEROMETER" - scalar_value: { - uint32_t: 1 - } - enumerator: "GYROSCOPE" - scalar_value: { - uint32_t: 2 - } - enumerator: "MAGNETOMETER" - scalar_value: { - uint32_t: 3 - } - enumerator: "BAROMETER" - scalar_value: { - uint32_t: 4 - } - enumerator: "PROXIMITY_SENSOR" - scalar_value: { - uint32_t: 5 - } - enumerator: "AMBIENT_LIGHT_SENSOR" - scalar_value: { - uint32_t: 6 - } - enumerator: "STATIONARY_DETECT" - scalar_value: { - uint32_t: 7 - } - enumerator: "INSTANT_MOTION_DETECT" - scalar_value: { - uint32_t: 8 - } - enumerator: "GPS" - scalar_value: { - uint32_t: 256 - } - enumerator: "WIFI" - scalar_value: { - uint32_t: 512 - } - enumerator: "AUDIO" - scalar_value: { - uint32_t: 768 - } - enumerator: "CAMERA" - scalar_value: { - uint32_t: 1024 - } - enumerator: "BLE" - scalar_value: { - uint32_t: 1280 - } - enumerator: "WWAN" - scalar_value: { - uint32_t: 1536 - } - enumerator: "PRIVATE_SENSOR_BASE" - scalar_value: { - uint32_t: 65536 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::PhysicalSensor" - type: TYPE_STRUCT - struct_value: { - name: "sensorType" - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::SensorType" - } - struct_value: { - name: "type" - type: TYPE_STRING - } - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "vendor" - type: TYPE_STRING - } - struct_value: { - name: "version" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "fifoReservedCount" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "fifoMaxCount" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "minDelayMs" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "maxDelayMs" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "peakPowerMw" - type: TYPE_SCALAR - scalar_type: "float_t" - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::ContextHub" - type: TYPE_STRUCT - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "vendor" - type: TYPE_STRING - } - struct_value: { - name: "toolchain" - type: TYPE_STRING - } - struct_value: { - name: "platformVersion" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "toolchainVersion" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "hubId" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "peakMips" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "stoppedPowerDrawMw" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "sleepPowerDrawMw" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "peakPowerDrawMw" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "connectedSensors" - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::contexthub::V1_0::PhysicalSensor" - } - } - struct_value: { - name: "maxSupportedMsgLen" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "chrePlatformId" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "chreApiMajorVersion" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - struct_value: { - name: "chreApiMinorVersion" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - struct_value: { - name: "chrePatchVersion" - type: TYPE_SCALAR - scalar_type: "uint16_t" - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::HostEndPoint" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint16_t" - - enumerator: "BROADCAST" - scalar_value: { - uint16_t: 65535 - } - enumerator: "UNSPECIFIED" - scalar_value: { - uint16_t: 65534 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::ContextHubMsg" - type: TYPE_STRUCT - struct_value: { - name: "appName" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "hostEndPoint" - type: TYPE_SCALAR - scalar_type: "uint16_t" - } - struct_value: { - name: "msgType" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "msg" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::HubMemoryType" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "MAIN" - scalar_value: { - uint32_t: 0 - } - enumerator: "SECONDARY" - scalar_value: { - uint32_t: 1 - } - enumerator: "TCM" - scalar_value: { - uint32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::HubMemoryFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "READ" - scalar_value: { - uint32_t: 1 - } - enumerator: "WRITE" - scalar_value: { - uint32_t: 2 - } - enumerator: "EXEC" - scalar_value: { - uint32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::MemRange" - type: TYPE_STRUCT - struct_value: { - name: "totalBytes" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "freeBytes" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::contexthub::V1_0::HubMemoryType" - } - struct_value: { - name: "flags" - type: TYPE_MASK - scalar_type: "uint32_t" - predefined_type: "::android::hardware::contexthub::V1_0::HubMemoryFlag" - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::AsyncEventType" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "RESTARTED" - scalar_value: { - uint32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::TransactionResult" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SUCCESS" - scalar_value: { - int32_t: 0 - } - enumerator: "FAILURE" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::contexthub::V1_0::HubAppInfo" - type: TYPE_STRUCT - struct_value: { - name: "appId" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "version" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "memUsage" - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::contexthub::V1_0::MemRange" - } - } - struct_value: { - name: "enabled" - type: TYPE_SCALAR - scalar_type: "bool_t" - } -} - diff --git a/gatekeeper/1.0/vts/Gatekeeper.vts b/gatekeeper/1.0/vts/Gatekeeper.vts deleted file mode 100644 index 9e63488339..0000000000 --- a/gatekeeper/1.0/vts/Gatekeeper.vts +++ /dev/null @@ -1,94 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IGatekeeper" - -package: "android.hardware.gatekeeper" - -import: "android.hardware.gatekeeper@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "enroll" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - } - - api: { - name: "verify" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - } - - api: { - name: "deleteUser" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "deleteAllUsers" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse" - } - } - -} diff --git a/gatekeeper/1.0/vts/types.vts b/gatekeeper/1.0/vts/types.vts deleted file mode 100644 index 3de9a148e6..0000000000 --- a/gatekeeper/1.0/vts/types.vts +++ /dev/null @@ -1,59 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.gatekeeper" - - -attribute: { - name: "::android::hardware::gatekeeper::V1_0::GatekeeperStatusCode" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STATUS_REENROLL" - scalar_value: { - int32_t: 1 - } - enumerator: "STATUS_OK" - scalar_value: { - int32_t: 0 - } - enumerator: "ERROR_GENERAL_FAILURE" - scalar_value: { - int32_t: -1 - } - enumerator: "ERROR_RETRY_TIMEOUT" - scalar_value: { - int32_t: -2 - } - enumerator: "ERROR_NOT_IMPLEMENTED" - scalar_value: { - int32_t: -3 - } - } -} - -attribute: { - name: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse" - type: TYPE_STRUCT - struct_value: { - name: "code" - type: TYPE_ENUM - predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperStatusCode" - } - struct_value: { - name: "timeout" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "data" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - diff --git a/graphics/allocator/2.0/vts/Allocator.vts b/graphics/allocator/2.0/vts/Allocator.vts deleted file mode 100644 index b26876dd1d..0000000000 --- a/graphics/allocator/2.0/vts/Allocator.vts +++ /dev/null @@ -1,88 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "IAllocator" - -package: "android.hardware.graphics.allocator" - -import: "android.hardware.graphics.allocator@2.0::IAllocatorClient" -import: "android.hardware.graphics.allocator@2.0::types" -import: "android.hardware.graphics.common@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - attribute: { - name: "::android::hardware::graphics::allocator::V2_0::IAllocator::Capability" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "TEST_ALLOCATE" - scalar_value: { - int32_t: 1 - } - enumerator: "LAYERED_BUFFERS" - scalar_value: { - int32_t: 2 - } - } - } - - api: { - name: "getCapabilities" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::IAllocator::Capability" - } - } - callflow: { - entry: true - } - callflow: { - exit: true - } - callflow: { - next: "*" - } - } - - api: { - name: "dumpDebugInfo" - return_type_hidl: { - type: TYPE_STRING - } - callflow: { - entry: true - } - callflow: { - exit: true - } - callflow: { - next: "*" - } - } - - api: { - name: "createClient" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_HIDL_INTERFACE - predefined_type: "::android::hardware::graphics::allocator::V2_0::IAllocatorClient" - } - callflow: { - entry: true - } - callflow: { - next: "*" - } - } - -} diff --git a/graphics/allocator/2.0/vts/AllocatorClient.vts b/graphics/allocator/2.0/vts/AllocatorClient.vts deleted file mode 100644 index 585c36c054..0000000000 --- a/graphics/allocator/2.0/vts/AllocatorClient.vts +++ /dev/null @@ -1,170 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "IAllocatorClient" - -package: "android.hardware.graphics.allocator" - -import: "android.hardware.graphics.allocator@2.0::types" -import: "android.hardware.graphics.common@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - attribute: { - name: "::android::hardware::graphics::allocator::V2_0::IAllocatorClient::BufferDescriptorInfo" - type: TYPE_STRUCT - struct_value: { - name: "width" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "height" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "layerCount" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "format" - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" - } - struct_value: { - name: "producerUsageMask" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "consumerUsageMask" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - } - - api: { - name: "createDescriptor" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::graphics::allocator::V2_0::IAllocatorClient::BufferDescriptorInfo" - } - callflow: { - entry: true - } - callflow: { - next: "*" - } - } - - api: { - name: "destroyDescriptor" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - exit: true - } - callflow: { - next: "*" - } - } - - api: { - name: "testAllocate" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - } - callflow: { - next: "allocate" - } - } - - api: { - name: "allocate" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - } - callflow: { - next: "exportHandle" - } - } - - api: { - name: "free" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - exit: true - } - callflow: { - next: "*" - } - } - - api: { - name: "exportHandle" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_HANDLE - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "free" - } - } - -} diff --git a/graphics/allocator/2.0/vts/types.vts b/graphics/allocator/2.0/vts/types.vts deleted file mode 100644 index 4a8376ca6a..0000000000 --- a/graphics/allocator/2.0/vts/types.vts +++ /dev/null @@ -1,142 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "types" - -package: "android.hardware.graphics.allocator" - - -attribute: { - name: "::android::hardware::graphics::allocator::V2_0::Error" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "BAD_DESCRIPTOR" - scalar_value: { - int32_t: 1 - } - enumerator: "BAD_BUFFER" - scalar_value: { - int32_t: 2 - } - enumerator: "BAD_VALUE" - scalar_value: { - int32_t: 3 - } - enumerator: "NOT_SHARED" - scalar_value: { - int32_t: 4 - } - enumerator: "NO_RESOURCES" - scalar_value: { - int32_t: 5 - } - enumerator: "UNDEFINED" - scalar_value: { - int32_t: 6 - } - enumerator: "UNSUPPORTED" - scalar_value: { - int32_t: 7 - } - } -} - -attribute: { - name: "::android::hardware::graphics::allocator::V2_0::ProducerUsage" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint64_t" - - enumerator: "CPU_READ" - scalar_value: { - uint64_t: 2 - } - enumerator: "CPU_READ_OFTEN" - scalar_value: { - uint64_t: 4 - } - enumerator: "CPU_WRITE" - scalar_value: { - uint64_t: 32 - } - enumerator: "CPU_WRITE_OFTEN" - scalar_value: { - uint64_t: 64 - } - enumerator: "GPU_RENDER_TARGET" - scalar_value: { - uint64_t: 512 - } - enumerator: "PROTECTED" - scalar_value: { - uint64_t: 16384 - } - enumerator: "CAMERA" - scalar_value: { - uint64_t: 131072 - } - enumerator: "VIDEO_DECODER" - scalar_value: { - uint64_t: 4194304 - } - enumerator: "SENSOR_DIRECT_DATA" - scalar_value: { - uint64_t: 8388608 - } - } -} - -attribute: { - name: "::android::hardware::graphics::allocator::V2_0::ConsumerUsage" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint64_t" - - enumerator: "CPU_READ" - scalar_value: { - uint64_t: 2 - } - enumerator: "CPU_READ_OFTEN" - scalar_value: { - uint64_t: 4 - } - enumerator: "GPU_TEXTURE" - scalar_value: { - uint64_t: 256 - } - enumerator: "HWCOMPOSER" - scalar_value: { - uint64_t: 2048 - } - enumerator: "CLIENT_TARGET" - scalar_value: { - uint64_t: 4096 - } - enumerator: "CURSOR" - scalar_value: { - uint64_t: 32768 - } - enumerator: "VIDEO_ENCODER" - scalar_value: { - uint64_t: 65536 - } - enumerator: "CAMERA" - scalar_value: { - uint64_t: 262144 - } - enumerator: "RENDERSCRIPT" - scalar_value: { - uint64_t: 1048576 - } - enumerator: "GPU_DATA_BUFFER" - scalar_value: { - uint64_t: 8388608 - } - } -} - diff --git a/graphics/composer/2.1/vts/Composer.vts b/graphics/composer/2.1/vts/Composer.vts deleted file mode 100644 index e60e39c54b..0000000000 --- a/graphics/composer/2.1/vts/Composer.vts +++ /dev/null @@ -1,89 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.1 -component_name: "IComposer" - -package: "android.hardware.graphics.composer" - -import: "android.hardware.graphics.common@1.0::types" -import: "android.hardware.graphics.composer@2.1::IComposerCallback" -import: "android.hardware.graphics.composer@2.1::IComposerClient" -import: "android.hardware.graphics.composer@2.1::types" -import: "android.hidl.base@1.0::types" - -interface: { - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposer::Capability" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "SIDEBAND_STREAM" - scalar_value: { - int32_t: 1 - } - enumerator: "SKIP_CLIENT_COLOR_TRANSFORM" - scalar_value: { - int32_t: 2 - } - } - } - - api: { - name: "getCapabilities" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposer::Capability" - } - } - callflow: { - entry: true - } - callflow: { - exit: true - } - callflow: { - next: "*" - } - } - - api: { - name: "dumpDebugInfo" - return_type_hidl: { - type: TYPE_STRING - } - callflow: { - entry: true - } - callflow: { - exit: true - } - callflow: { - next: "*" - } - } - - api: { - name: "createClient" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_HIDL_INTERFACE - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient" - } - callflow: { - entry: true - } - callflow: { - next: "*" - } - } - -} diff --git a/graphics/composer/2.1/vts/ComposerCallback.vts b/graphics/composer/2.1/vts/ComposerCallback.vts deleted file mode 100644 index b83cf947e3..0000000000 --- a/graphics/composer/2.1/vts/ComposerCallback.vts +++ /dev/null @@ -1,73 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.1 -component_name: "IComposerCallback" - -package: "android.hardware.graphics.composer" - -import: "android.hardware.graphics.composer@2.1::types" -import: "android.hidl.base@1.0::types" - -interface: { - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerCallback::Connection" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "CONNECTED" - scalar_value: { - int32_t: 1 - } - enumerator: "DISCONNECTED" - scalar_value: { - int32_t: 2 - } - } - } - - api: { - name: "onHotplug" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerCallback::Connection" - } - callflow: { - next: "*" - } - } - - api: { - name: "onRefresh" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "onVsync" - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int64_t" - } - callflow: { - next: "*" - } - } - -} diff --git a/graphics/composer/2.1/vts/ComposerClient.vts b/graphics/composer/2.1/vts/ComposerClient.vts deleted file mode 100644 index ac1d7fb0c9..0000000000 --- a/graphics/composer/2.1/vts/ComposerClient.vts +++ /dev/null @@ -1,916 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.1 -component_name: "IComposerClient" - -package: "android.hardware.graphics.composer" - -import: "android.hardware.graphics.common@1.0::types" -import: "android.hardware.graphics.composer@2.1::IComposerCallback" -import: "android.hardware.graphics.composer@2.1::types" -import: "android.hidl.base@1.0::types" - -interface: { - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Attribute" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "WIDTH" - scalar_value: { - int32_t: 1 - } - enumerator: "HEIGHT" - scalar_value: { - int32_t: 2 - } - enumerator: "VSYNC_PERIOD" - scalar_value: { - int32_t: 3 - } - enumerator: "DPI_X" - scalar_value: { - int32_t: 4 - } - enumerator: "DPI_Y" - scalar_value: { - int32_t: 5 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayRequest" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "FLIP_CLIENT_TARGET" - scalar_value: { - uint32_t: 1 - } - enumerator: "WRITE_CLIENT_TARGET_TO_OUTPUT" - scalar_value: { - uint32_t: 2 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::LayerRequest" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "CLEAR_CLIENT_TARGET" - scalar_value: { - uint32_t: 1 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::PowerMode" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OFF" - scalar_value: { - int32_t: 0 - } - enumerator: "DOZE" - scalar_value: { - int32_t: 1 - } - enumerator: "DOZE_SUSPEND" - scalar_value: { - int32_t: 3 - } - enumerator: "ON" - scalar_value: { - int32_t: 2 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Vsync" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "ENABLE" - scalar_value: { - int32_t: 1 - } - enumerator: "DISABLE" - scalar_value: { - int32_t: 2 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::BlendMode" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "NONE" - scalar_value: { - int32_t: 1 - } - enumerator: "PREMULTIPLIED" - scalar_value: { - int32_t: 2 - } - enumerator: "COVERAGE" - scalar_value: { - int32_t: 3 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Composition" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "CLIENT" - scalar_value: { - int32_t: 1 - } - enumerator: "DEVICE" - scalar_value: { - int32_t: 2 - } - enumerator: "SOLID_COLOR" - scalar_value: { - int32_t: 3 - } - enumerator: "CURSOR" - scalar_value: { - int32_t: 4 - } - enumerator: "SIDEBAND" - scalar_value: { - int32_t: 5 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "PHYSICAL" - scalar_value: { - int32_t: 1 - } - enumerator: "VIRTUAL" - scalar_value: { - int32_t: 2 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::HandleIndex" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "EMPTY" - scalar_value: { - int32_t: -1 - } - enumerator: "CACHED" - scalar_value: { - int32_t: -2 - } - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Rect" - type: TYPE_STRUCT - struct_value: { - name: "left" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "top" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "right" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "bottom" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::FRect" - type: TYPE_STRUCT - struct_value: { - name: "left" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "top" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "right" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "bottom" - type: TYPE_SCALAR - scalar_type: "float_t" - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Color" - type: TYPE_STRUCT - struct_value: { - name: "r" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - struct_value: { - name: "g" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - struct_value: { - name: "b" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - struct_value: { - name: "a" - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } - - attribute: { - name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Command" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "LENGTH_MASK" - scalar_value: { - int32_t: 65535 - } - enumerator: "OPCODE_SHIFT" - scalar_value: { - int32_t: 16 - } - enumerator: "OPCODE_MASK" - scalar_value: { - int32_t: -65536 - } - enumerator: "SELECT_DISPLAY" - scalar_value: { - int32_t: 0 - } - enumerator: "SELECT_LAYER" - scalar_value: { - int32_t: 65536 - } - enumerator: "SET_ERROR" - scalar_value: { - int32_t: 16777216 - } - enumerator: "SET_CHANGED_COMPOSITION_TYPES" - scalar_value: { - int32_t: 16842752 - } - enumerator: "SET_DISPLAY_REQUESTS" - scalar_value: { - int32_t: 16908288 - } - enumerator: "SET_PRESENT_FENCE" - scalar_value: { - int32_t: 16973824 - } - enumerator: "SET_RELEASE_FENCES" - scalar_value: { - int32_t: 17039360 - } - enumerator: "SET_COLOR_TRANSFORM" - scalar_value: { - int32_t: 33554432 - } - enumerator: "SET_CLIENT_TARGET" - scalar_value: { - int32_t: 33619968 - } - enumerator: "SET_OUTPUT_BUFFER" - scalar_value: { - int32_t: 33685504 - } - enumerator: "VALIDATE_DISPLAY" - scalar_value: { - int32_t: 33751040 - } - enumerator: "ACCEPT_DISPLAY_CHANGES" - scalar_value: { - int32_t: 33816576 - } - enumerator: "PRESENT_DISPLAY" - scalar_value: { - int32_t: 33882112 - } - enumerator: "SET_LAYER_CURSOR_POSITION" - scalar_value: { - int32_t: 50331648 - } - enumerator: "SET_LAYER_BUFFER" - scalar_value: { - int32_t: 50397184 - } - enumerator: "SET_LAYER_SURFACE_DAMAGE" - scalar_value: { - int32_t: 50462720 - } - enumerator: "SET_LAYER_BLEND_MODE" - scalar_value: { - int32_t: 67108864 - } - enumerator: "SET_LAYER_COLOR" - scalar_value: { - int32_t: 67174400 - } - enumerator: "SET_LAYER_COMPOSITION_TYPE" - scalar_value: { - int32_t: 67239936 - } - enumerator: "SET_LAYER_DATASPACE" - scalar_value: { - int32_t: 67305472 - } - enumerator: "SET_LAYER_DISPLAY_FRAME" - scalar_value: { - int32_t: 67371008 - } - enumerator: "SET_LAYER_PLANE_ALPHA" - scalar_value: { - int32_t: 67436544 - } - enumerator: "SET_LAYER_SIDEBAND_STREAM" - scalar_value: { - int32_t: 67502080 - } - enumerator: "SET_LAYER_SOURCE_CROP" - scalar_value: { - int32_t: 67567616 - } - enumerator: "SET_LAYER_TRANSFORM" - scalar_value: { - int32_t: 67633152 - } - enumerator: "SET_LAYER_VISIBLE_REGION" - scalar_value: { - int32_t: 67698688 - } - enumerator: "SET_LAYER_Z_ORDER" - scalar_value: { - int32_t: 67764224 - } - } - } - - api: { - name: "registerCallback" - arg: { - type: TYPE_HIDL_CALLBACK - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerCallback" - } - callflow: { - entry: true - } - callflow: { - next: "*" - } - } - - api: { - name: "getMaxVirtualDisplayCount" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "createVirtualDisplay" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "destroyVirtualDisplay" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "createLayer" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "destroyLayer" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getActiveConfig" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getClientTargetSupport" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::Dataspace" - } - callflow: { - next: "*" - } - } - - api: { - name: "getColorModes" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::ColorMode" - } - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getDisplayAttribute" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::Attribute" - } - callflow: { - next: "*" - } - } - - api: { - name: "getDisplayConfigs" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getDisplayName" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_STRING - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getDisplayType" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayType" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getDozeSupport" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getHdrCapabilities" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::Hdr" - } - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "float_t" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "float_t" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "float_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "setClientTargetSlotCount" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "setActiveConfig" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "setColorMode" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::ColorMode" - } - callflow: { - next: "*" - } - } - - api: { - name: "setPowerMode" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::PowerMode" - } - callflow: { - next: "*" - } - } - - api: { - name: "setVsyncEnabled" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::Vsync" - } - callflow: { - next: "*" - } - } - - api: { - name: "setInputCommandQueue" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - arg: { - type: TYPE_FMQ_SYNC - fmq_value: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - callflow: { - next: "*" - } - } - - api: { - name: "getOutputCommandQueue" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_FMQ_SYNC - fmq_value: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - callflow: { - next: "*" - } - } - - api: { - name: "executeCommands" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::composer::V2_1::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_HANDLE - } - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_HANDLE - } - } - callflow: { - next: "*" - } - } - -} diff --git a/graphics/composer/2.1/vts/types.vts b/graphics/composer/2.1/vts/types.vts deleted file mode 100644 index ccbd9d8f0f..0000000000 --- a/graphics/composer/2.1/vts/types.vts +++ /dev/null @@ -1,48 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.1 -component_name: "types" - -package: "android.hardware.graphics.composer" - - -attribute: { - name: "::android::hardware::graphics::composer::V2_1::Error" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "BAD_CONFIG" - scalar_value: { - int32_t: 1 - } - enumerator: "BAD_DISPLAY" - scalar_value: { - int32_t: 2 - } - enumerator: "BAD_LAYER" - scalar_value: { - int32_t: 3 - } - enumerator: "BAD_PARAMETER" - scalar_value: { - int32_t: 4 - } - enumerator: "NO_RESOURCES" - scalar_value: { - int32_t: 6 - } - enumerator: "NOT_VALIDATED" - scalar_value: { - int32_t: 7 - } - enumerator: "UNSUPPORTED" - scalar_value: { - int32_t: 8 - } - } -} - diff --git a/graphics/mapper/2.0/vts/Mapper.vts b/graphics/mapper/2.0/vts/Mapper.vts deleted file mode 100644 index baf95dc111..0000000000 --- a/graphics/mapper/2.0/vts/Mapper.vts +++ /dev/null @@ -1,281 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "IMapper" - -package: "android.hardware.graphics.mapper" - -import: "android.hardware.graphics.allocator@2.0::types" -import: "android.hardware.graphics.common@1.0::types" -import: "android.hardware.graphics.mapper@2.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - attribute: { - name: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect" - type: TYPE_STRUCT - struct_value: { - name: "left" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "top" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "width" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "height" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "retain" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - entry: true - } - callflow: { - next: "*" - } - } - - api: { - name: "release" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - exit: true - } - } - - api: { - name: "getDimensions" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - - api: { - name: "getFormat" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - - api: { - name: "getLayerCount" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - - api: { - name: "getProducerUsageMask" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - - api: { - name: "getConsumerUsageMask" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - - api: { - name: "getBackingStore" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - - api: { - name: "getStride" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - - api: { - name: "lock" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_POINTER - } - arg: { - type: TYPE_HANDLE - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "unlock" - } - } - - api: { - name: "lockFlex" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexLayout" - } - arg: { - type: TYPE_HANDLE - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect" - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "unlock" - } - } - - api: { - name: "unlock" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::allocator::V2_0::Error" - } - return_type_hidl: { - type: TYPE_HANDLE - } - arg: { - type: TYPE_HANDLE - } - callflow: { - next: "*" - } - } - -} diff --git a/graphics/mapper/2.0/vts/types.vts b/graphics/mapper/2.0/vts/types.vts deleted file mode 100644 index fee8535172..0000000000 --- a/graphics/mapper/2.0/vts/types.vts +++ /dev/null @@ -1,139 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "types" - -package: "android.hardware.graphics.mapper" - - -attribute: { - name: "::android::hardware::graphics::mapper::V2_0::FlexComponent" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "Y" - scalar_value: { - int32_t: 1 - } - enumerator: "CB" - scalar_value: { - int32_t: 2 - } - enumerator: "CR" - scalar_value: { - int32_t: 4 - } - enumerator: "R" - scalar_value: { - int32_t: 1024 - } - enumerator: "G" - scalar_value: { - int32_t: 2048 - } - enumerator: "B" - scalar_value: { - int32_t: 4096 - } - enumerator: "A" - scalar_value: { - int32_t: 1073741824 - } - } -} - -attribute: { - name: "::android::hardware::graphics::mapper::V2_0::FlexFormat" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INVALID" - scalar_value: { - int32_t: 0 - } - enumerator: "Y" - scalar_value: { - int32_t: 1 - } - enumerator: "YCBCR" - scalar_value: { - int32_t: 7 - } - enumerator: "YCBCRA" - scalar_value: { - int32_t: 1073741831 - } - enumerator: "RGB" - scalar_value: { - int32_t: 7168 - } - enumerator: "RGBA" - scalar_value: { - int32_t: 1073748992 - } - } -} - -attribute: { - name: "::android::hardware::graphics::mapper::V2_0::FlexPlane" - type: TYPE_STRUCT - struct_value: { - name: "topLeft" - type: TYPE_POINTER - } - struct_value: { - name: "component" - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexComponent" - } - struct_value: { - name: "bitsPerComponent" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "bitsUsed" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "hIncrement" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "vIncrement" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "hSubsampling" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "vSubsampling" - type: TYPE_SCALAR - scalar_type: "int32_t" - } -} - -attribute: { - name: "::android::hardware::graphics::mapper::V2_0::FlexLayout" - type: TYPE_STRUCT - struct_value: { - name: "format" - type: TYPE_ENUM - predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexFormat" - } - struct_value: { - name: "planes" - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexPlane" - } - } -} - diff --git a/light/2.0/vts/Light.vts b/light/2.0/vts/Light.vts deleted file mode 100644 index 163405fe57..0000000000 --- a/light/2.0/vts/Light.vts +++ /dev/null @@ -1,38 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "ILight" - -package: "android.hardware.light" - -import: "android.hardware.light@2.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "setLight" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::light::V2_0::Status" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::light::V2_0::Type" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::light::V2_0::LightState" - } - } - - api: { - name: "getSupportedTypes" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_ENUM - predefined_type: "::android::hardware::light::V2_0::Type" - } - } - } - -} diff --git a/light/2.0/vts/types.vts b/light/2.0/vts/types.vts deleted file mode 100644 index a9c8cabd8a..0000000000 --- a/light/2.0/vts/types.vts +++ /dev/null @@ -1,149 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 2.0 -component_name: "types" - -package: "android.hardware.light" - - -attribute: { - name: "::android::hardware::light::V2_0::Status" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SUCCESS" - scalar_value: { - int32_t: 0 - } - enumerator: "LIGHT_NOT_SUPPORTED" - scalar_value: { - int32_t: 1 - } - enumerator: "BRIGHTNESS_NOT_SUPPORTED" - scalar_value: { - int32_t: 2 - } - enumerator: "UNKNOWN" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::light::V2_0::Flash" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NONE" - scalar_value: { - int32_t: 0 - } - enumerator: "TIMED" - scalar_value: { - int32_t: 1 - } - enumerator: "HARDWARE" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::light::V2_0::Brightness" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "USER" - scalar_value: { - int32_t: 0 - } - enumerator: "SENSOR" - scalar_value: { - int32_t: 1 - } - enumerator: "LOW_PERSISTENCE" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::light::V2_0::Type" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "BACKLIGHT" - scalar_value: { - int32_t: 0 - } - enumerator: "KEYBOARD" - scalar_value: { - int32_t: 1 - } - enumerator: "BUTTONS" - scalar_value: { - int32_t: 2 - } - enumerator: "BATTERY" - scalar_value: { - int32_t: 3 - } - enumerator: "NOTIFICATIONS" - scalar_value: { - int32_t: 4 - } - enumerator: "ATTENTION" - scalar_value: { - int32_t: 5 - } - enumerator: "BLUETOOTH" - scalar_value: { - int32_t: 6 - } - enumerator: "WIFI" - scalar_value: { - int32_t: 7 - } - enumerator: "COUNT" - scalar_value: { - int32_t: 8 - } - } -} - -attribute: { - name: "::android::hardware::light::V2_0::LightState" - type: TYPE_STRUCT - struct_value: { - name: "color" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "flashMode" - type: TYPE_ENUM - predefined_type: "::android::hardware::light::V2_0::Flash" - } - struct_value: { - name: "flashOnMs" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "flashOffMs" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "brightnessMode" - type: TYPE_ENUM - predefined_type: "::android::hardware::light::V2_0::Brightness" - } -} - diff --git a/memtrack/1.0/vts/Memtrack.vts b/memtrack/1.0/vts/Memtrack.vts deleted file mode 100644 index 42a422e4f6..0000000000 --- a/memtrack/1.0/vts/Memtrack.vts +++ /dev/null @@ -1,34 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IMemtrack" - -package: "android.hardware.memtrack" - -import: "android.hardware.memtrack@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "getMemory" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::memtrack::V1_0::MemtrackStatus" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::memtrack::V1_0::MemtrackRecord" - } - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::memtrack::V1_0::MemtrackType" - } - } - -} diff --git a/memtrack/1.0/vts/types.vts b/memtrack/1.0/vts/types.vts deleted file mode 100644 index bec090fd66..0000000000 --- a/memtrack/1.0/vts/types.vts +++ /dev/null @@ -1,121 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.memtrack" - - -attribute: { - name: "::android::hardware::memtrack::V1_0::MemtrackFlag" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "SMAPS_ACCOUNTED" - scalar_value: { - uint32_t: 2 - } - enumerator: "SMAPS_UNACCOUNTED" - scalar_value: { - uint32_t: 4 - } - enumerator: "SHARED" - scalar_value: { - uint32_t: 8 - } - enumerator: "SHARED_PSS" - scalar_value: { - uint32_t: 16 - } - enumerator: "PRIVATE" - scalar_value: { - uint32_t: 32 - } - enumerator: "SYSTEM" - scalar_value: { - uint32_t: 64 - } - enumerator: "DEDICATED" - scalar_value: { - uint32_t: 128 - } - enumerator: "NONSECURE" - scalar_value: { - uint32_t: 256 - } - enumerator: "SECURE" - scalar_value: { - uint32_t: 512 - } - } -} - -attribute: { - name: "::android::hardware::memtrack::V1_0::MemtrackType" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "OTHER" - scalar_value: { - uint32_t: 0 - } - enumerator: "GL" - scalar_value: { - uint32_t: 1 - } - enumerator: "GRAPHICS" - scalar_value: { - uint32_t: 2 - } - enumerator: "MULTIMEDIA" - scalar_value: { - uint32_t: 3 - } - enumerator: "CAMERA" - scalar_value: { - uint32_t: 4 - } - enumerator: "NUM_TYPES" - scalar_value: { - uint32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::memtrack::V1_0::MemtrackStatus" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "SUCCESS" - scalar_value: { - uint32_t: 0 - } - enumerator: "MEMORY_TRACKING_NOT_SUPPORTED" - scalar_value: { - uint32_t: 1 - } - enumerator: "TYPE_NOT_SUPPORTED" - scalar_value: { - uint32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::memtrack::V1_0::MemtrackRecord" - type: TYPE_STRUCT - struct_value: { - name: "sizeInBytes" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "flags" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } -} - diff --git a/power/1.0/vts/Power.vts b/power/1.0/vts/Power.vts deleted file mode 100644 index 4d3d4ffb84..0000000000 --- a/power/1.0/vts/Power.vts +++ /dev/null @@ -1,58 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IPower" - -package: "android.hardware.power" - -import: "android.hardware.power@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "setInteractive" - arg: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - } - - api: { - name: "powerHint" - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::power::V1_0::PowerHint" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "setFeature" - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::power::V1_0::Feature" - } - arg: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - } - - api: { - name: "getPlatformLowPowerStats" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::power::V1_0::PowerStatePlatformSleepState" - } - } - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::power::V1_0::Status" - } - } - -} diff --git a/power/1.0/vts/types.vts b/power/1.0/vts/types.vts deleted file mode 100644 index 5724946574..0000000000 --- a/power/1.0/vts/types.vts +++ /dev/null @@ -1,129 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.power" - - -attribute: { - name: "::android::hardware::power::V1_0::PowerHint" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "VSYNC" - scalar_value: { - uint32_t: 1 - } - enumerator: "INTERACTION" - scalar_value: { - uint32_t: 2 - } - enumerator: "VIDEO_ENCODE" - scalar_value: { - uint32_t: 3 - } - enumerator: "VIDEO_DECODE" - scalar_value: { - uint32_t: 4 - } - enumerator: "LOW_POWER" - scalar_value: { - uint32_t: 5 - } - enumerator: "SUSTAINED_PERFORMANCE" - scalar_value: { - uint32_t: 6 - } - enumerator: "VR_MODE" - scalar_value: { - uint32_t: 7 - } - enumerator: "LAUNCH" - scalar_value: { - uint32_t: 8 - } - } -} - -attribute: { - name: "::android::hardware::power::V1_0::Feature" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "POWER_FEATURE_DOUBLE_TAP_TO_WAKE" - scalar_value: { - uint32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::power::V1_0::Status" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "SUCCESS" - scalar_value: { - uint32_t: 0 - } - enumerator: "FILESYSTEM_ERROR" - scalar_value: { - uint32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::power::V1_0::PowerStateVoter" - type: TYPE_STRUCT - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "totalTimeInMsecVotedForSinceBoot" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "totalNumberOfTimesVotedSinceBoot" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } -} - -attribute: { - name: "::android::hardware::power::V1_0::PowerStatePlatformSleepState" - type: TYPE_STRUCT - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "residencyInMsecSinceBoot" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "totalTransitions" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "supportedOnlyInSuspend" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "voters" - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::power::V1_0::PowerStateVoter" - } - } -} - diff --git a/sensors/1.0/vts/Sensors.vts b/sensors/1.0/vts/Sensors.vts deleted file mode 100644 index 558c36dfec..0000000000 --- a/sensors/1.0/vts/Sensors.vts +++ /dev/null @@ -1,172 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "ISensors" - -package: "android.hardware.sensors" - -import: "android.hardware.sensors@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "getSensorsList" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::SensorInfo" - } - } - } - - api: { - name: "setOperationMode" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::OperationMode" - } - } - - api: { - name: "activate" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - } - - api: { - name: "poll" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::Event" - } - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::SensorInfo" - } - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "batch" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int64_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int64_t" - } - } - - api: { - name: "flush" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "injectSensorData" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::Event" - } - } - - api: { - name: "registerDirectChannel" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::SharedMemInfo" - } - } - - api: { - name: "unregisterDirectChannel" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - - api: { - name: "configDirectReport" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::Result" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::RateLevel" - } - } - -} diff --git a/sensors/1.0/vts/types.vts b/sensors/1.0/vts/types.vts deleted file mode 100644 index bc8782359a..0000000000 --- a/sensors/1.0/vts/types.vts +++ /dev/null @@ -1,901 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.sensors" - - -attribute: { - name: "::android::hardware::sensors::V1_0::Result" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OK" - scalar_value: { - int32_t: 0 - } - enumerator: "PERMISSION_DENIED" - scalar_value: { - int32_t: -1 - } - enumerator: "NO_MEMORY" - scalar_value: { - int32_t: -12 - } - enumerator: "BAD_VALUE" - scalar_value: { - int32_t: -22 - } - enumerator: "INVALID_OPERATION" - scalar_value: { - int32_t: -38 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::OperationMode" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "NORMAL" - scalar_value: { - int32_t: 0 - } - enumerator: "DATA_INJECTION" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SensorType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "META_DATA" - scalar_value: { - int32_t: 0 - } - enumerator: "ACCELEROMETER" - scalar_value: { - int32_t: 1 - } - enumerator: "MAGNETIC_FIELD" - scalar_value: { - int32_t: 2 - } - enumerator: "ORIENTATION" - scalar_value: { - int32_t: 3 - } - enumerator: "GYROSCOPE" - scalar_value: { - int32_t: 4 - } - enumerator: "LIGHT" - scalar_value: { - int32_t: 5 - } - enumerator: "PRESSURE" - scalar_value: { - int32_t: 6 - } - enumerator: "TEMPERATURE" - scalar_value: { - int32_t: 7 - } - enumerator: "PROXIMITY" - scalar_value: { - int32_t: 8 - } - enumerator: "GRAVITY" - scalar_value: { - int32_t: 9 - } - enumerator: "LINEAR_ACCELERATION" - scalar_value: { - int32_t: 10 - } - enumerator: "ROTATION_VECTOR" - scalar_value: { - int32_t: 11 - } - enumerator: "RELATIVE_HUMIDITY" - scalar_value: { - int32_t: 12 - } - enumerator: "AMBIENT_TEMPERATURE" - scalar_value: { - int32_t: 13 - } - enumerator: "MAGNETIC_FIELD_UNCALIBRATED" - scalar_value: { - int32_t: 14 - } - enumerator: "GAME_ROTATION_VECTOR" - scalar_value: { - int32_t: 15 - } - enumerator: "GYROSCOPE_UNCALIBRATED" - scalar_value: { - int32_t: 16 - } - enumerator: "SIGNIFICANT_MOTION" - scalar_value: { - int32_t: 17 - } - enumerator: "STEP_DETECTOR" - scalar_value: { - int32_t: 18 - } - enumerator: "STEP_COUNTER" - scalar_value: { - int32_t: 19 - } - enumerator: "GEOMAGNETIC_ROTATION_VECTOR" - scalar_value: { - int32_t: 20 - } - enumerator: "HEART_RATE" - scalar_value: { - int32_t: 21 - } - enumerator: "TILT_DETECTOR" - scalar_value: { - int32_t: 22 - } - enumerator: "WAKE_GESTURE" - scalar_value: { - int32_t: 23 - } - enumerator: "GLANCE_GESTURE" - scalar_value: { - int32_t: 24 - } - enumerator: "PICK_UP_GESTURE" - scalar_value: { - int32_t: 25 - } - enumerator: "WRIST_TILT_GESTURE" - scalar_value: { - int32_t: 26 - } - enumerator: "DEVICE_ORIENTATION" - scalar_value: { - int32_t: 27 - } - enumerator: "POSE_6DOF" - scalar_value: { - int32_t: 28 - } - enumerator: "STATIONARY_DETECT" - scalar_value: { - int32_t: 29 - } - enumerator: "MOTION_DETECT" - scalar_value: { - int32_t: 30 - } - enumerator: "HEART_BEAT" - scalar_value: { - int32_t: 31 - } - enumerator: "DYNAMIC_SENSOR_META" - scalar_value: { - int32_t: 32 - } - enumerator: "ADDITIONAL_INFO" - scalar_value: { - int32_t: 33 - } - enumerator: "LOW_LATENCY_OFFBODY_DETECT" - scalar_value: { - int32_t: 34 - } - enumerator: "ACCELEROMETER_UNCALIBRATED" - scalar_value: { - int32_t: 35 - } - enumerator: "DEVICE_PRIVATE_BASE" - scalar_value: { - int32_t: 65536 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SensorFlagBits" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "WAKE_UP" - scalar_value: { - uint32_t: 1 - } - enumerator: "CONTINUOUS_MODE" - scalar_value: { - uint32_t: 0 - } - enumerator: "ON_CHANGE_MODE" - scalar_value: { - uint32_t: 2 - } - enumerator: "ONE_SHOT_MODE" - scalar_value: { - uint32_t: 4 - } - enumerator: "SPECIAL_REPORTING_MODE" - scalar_value: { - uint32_t: 6 - } - enumerator: "DATA_INJECTION" - scalar_value: { - uint32_t: 16 - } - enumerator: "DYNAMIC_SENSOR" - scalar_value: { - uint32_t: 32 - } - enumerator: "ADDITIONAL_INFO" - scalar_value: { - uint32_t: 64 - } - enumerator: "DIRECT_CHANNEL_ASHMEM" - scalar_value: { - uint32_t: 1024 - } - enumerator: "DIRECT_CHANNEL_GRALLOC" - scalar_value: { - uint32_t: 2048 - } - enumerator: "MASK_REPORTING_MODE" - scalar_value: { - uint32_t: 14 - } - enumerator: "MASK_DIRECT_REPORT" - scalar_value: { - uint32_t: 896 - } - enumerator: "MASK_DIRECT_CHANNEL" - scalar_value: { - uint32_t: 3072 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SensorFlagShift" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint8_t" - - enumerator: "REPORTING_MODE" - scalar_value: { - uint8_t: 1 - } - enumerator: "DATA_INJECTION" - scalar_value: { - uint8_t: 4 - } - enumerator: "DYNAMIC_SENSOR" - scalar_value: { - uint8_t: 5 - } - enumerator: "ADDITIONAL_INFO" - scalar_value: { - uint8_t: 6 - } - enumerator: "DIRECT_REPORT" - scalar_value: { - uint8_t: 7 - } - enumerator: "DIRECT_CHANNEL" - scalar_value: { - uint8_t: 10 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SensorInfo" - type: TYPE_STRUCT - struct_value: { - name: "sensorHandle" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "vendor" - type: TYPE_STRING - } - struct_value: { - name: "version" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::SensorType" - } - struct_value: { - name: "typeAsString" - type: TYPE_STRING - } - struct_value: { - name: "maxRange" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "resolution" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "power" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "minDelay" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "fifoReservedEventCount" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "fifoMaxEventCount" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "requiredPermission" - type: TYPE_STRING - } - struct_value: { - name: "maxDelay" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "flags" - type: TYPE_MASK - scalar_type: "uint32_t" - predefined_type: "::android::hardware::sensors::V1_0::SensorFlagBits" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SensorStatus" - type: TYPE_ENUM - enum_value: { - scalar_type: "int8_t" - - enumerator: "NO_CONTACT" - scalar_value: { - int8_t: -1 - } - enumerator: "UNRELIABLE" - scalar_value: { - int8_t: 0 - } - enumerator: "ACCURACY_LOW" - scalar_value: { - int8_t: 1 - } - enumerator: "ACCURACY_MEDIUM" - scalar_value: { - int8_t: 2 - } - enumerator: "ACCURACY_HIGH" - scalar_value: { - int8_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::Vec3" - type: TYPE_STRUCT - struct_value: { - name: "x" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "y" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "z" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "status" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::SensorStatus" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::Vec4" - type: TYPE_STRUCT - struct_value: { - name: "x" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "y" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "z" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "w" - type: TYPE_SCALAR - scalar_type: "float_t" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::Uncal" - type: TYPE_STRUCT - struct_value: { - name: "x" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "y" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "z" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "x_bias" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "y_bias" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "z_bias" - type: TYPE_SCALAR - scalar_type: "float_t" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::HeartRate" - type: TYPE_STRUCT - struct_value: { - name: "bpm" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "status" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::SensorStatus" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::MetaDataEventType" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "META_DATA_FLUSH_COMPLETE" - scalar_value: { - uint32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::MetaData" - type: TYPE_STRUCT - struct_value: { - name: "what" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::MetaDataEventType" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::DynamicSensorInfo" - type: TYPE_STRUCT - struct_value: { - name: "connected" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "sensorHandle" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "uuid" - type: TYPE_ARRAY - vector_size: 16 - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::AdditionalInfoType" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "AINFO_BEGIN" - scalar_value: { - uint32_t: 0 - } - enumerator: "AINFO_END" - scalar_value: { - uint32_t: 1 - } - enumerator: "AINFO_UNTRACKED_DELAY" - scalar_value: { - uint32_t: 65536 - } - enumerator: "AINFO_INTERNAL_TEMPERATURE" - scalar_value: { - uint32_t: 65537 - } - enumerator: "AINFO_VEC3_CALIBRATION" - scalar_value: { - uint32_t: 65538 - } - enumerator: "AINFO_SENSOR_PLACEMENT" - scalar_value: { - uint32_t: 65539 - } - enumerator: "AINFO_SAMPLING" - scalar_value: { - uint32_t: 65540 - } - enumerator: "AINFO_CHANNEL_NOISE" - scalar_value: { - uint32_t: 131072 - } - enumerator: "AINFO_CHANNEL_SAMPLER" - scalar_value: { - uint32_t: 131073 - } - enumerator: "AINFO_CHANNEL_FILTER" - scalar_value: { - uint32_t: 131074 - } - enumerator: "AINFO_CHANNEL_LINEAR_TRANSFORM" - scalar_value: { - uint32_t: 131075 - } - enumerator: "AINFO_CHANNEL_NONLINEAR_MAP" - scalar_value: { - uint32_t: 131076 - } - enumerator: "AINFO_CHANNEL_RESAMPLER" - scalar_value: { - uint32_t: 131077 - } - enumerator: "AINFO_LOCAL_GEOMAGNETIC_FIELD" - scalar_value: { - uint32_t: 196608 - } - enumerator: "AINFO_LOCAL_GRAVITY" - scalar_value: { - uint32_t: 196609 - } - enumerator: "AINFO_DOCK_STATE" - scalar_value: { - uint32_t: 196610 - } - enumerator: "AINFO_HIGH_PERFORMANCE_MODE" - scalar_value: { - uint32_t: 196611 - } - enumerator: "AINFO_MAGNETIC_FIELD_CALIBRATION" - scalar_value: { - uint32_t: 196612 - } - enumerator: "AINFO_CUSTOM_START" - scalar_value: { - uint32_t: 268435456 - } - enumerator: "AINFO_DEBUGGING_START" - scalar_value: { - uint32_t: 1073741824 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::AdditionalInfo" - type: TYPE_STRUCT - sub_struct: { - name: "::android::hardware::sensors::V1_0::AdditionalInfo::Payload" - type: TYPE_UNION - union_value: { - name: "data_int32" - type: TYPE_ARRAY - vector_size: 14 - vector_value: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - } - union_value: { - name: "data_float" - type: TYPE_ARRAY - vector_size: 14 - vector_value: { - type: TYPE_SCALAR - scalar_type: "float_t" - } - } - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::AdditionalInfoType" - } - struct_value: { - name: "serial" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "u" - type: TYPE_UNION - predefined_type: "::android::hardware::sensors::V1_0::AdditionalInfo::Payload" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::EventPayload" - type: TYPE_UNION - union_value: { - name: "vec3" - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::Vec3" - } - union_value: { - name: "vec4" - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::Vec4" - } - union_value: { - name: "uncal" - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::Uncal" - } - union_value: { - name: "meta" - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::MetaData" - } - union_value: { - name: "scalar" - type: TYPE_SCALAR - scalar_type: "float_t" - } - union_value: { - name: "stepCount" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - union_value: { - name: "heartRate" - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::HeartRate" - } - union_value: { - name: "pose6DOF" - type: TYPE_ARRAY - vector_size: 15 - vector_value: { - type: TYPE_SCALAR - scalar_type: "float_t" - } - } - union_value: { - name: "dynamic" - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::DynamicSensorInfo" - } - union_value: { - name: "additional" - type: TYPE_STRUCT - predefined_type: "::android::hardware::sensors::V1_0::AdditionalInfo" - } - union_value: { - name: "data" - type: TYPE_ARRAY - vector_size: 16 - vector_value: { - type: TYPE_SCALAR - scalar_type: "float_t" - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::Event" - type: TYPE_STRUCT - struct_value: { - name: "timestamp" - type: TYPE_SCALAR - scalar_type: "int64_t" - } - struct_value: { - name: "sensorHandle" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "sensorType" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::SensorType" - } - struct_value: { - name: "u" - type: TYPE_UNION - predefined_type: "::android::hardware::sensors::V1_0::EventPayload" - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::RateLevel" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "STOP" - scalar_value: { - int32_t: 0 - } - enumerator: "NORMAL" - scalar_value: { - int32_t: 1 - } - enumerator: "FAST" - scalar_value: { - int32_t: 2 - } - enumerator: "VERY_FAST" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SharedMemType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "ASHMEM" - scalar_value: { - int32_t: 1 - } - enumerator: "GRALLOC" - scalar_value: { - int32_t: 2 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SharedMemFormat" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SENSORS_EVENT" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SensorsEventFormatOffset" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint16_t" - - enumerator: "SIZE_FIELD" - scalar_value: { - uint16_t: 0 - } - enumerator: "REPORT_TOKEN" - scalar_value: { - uint16_t: 4 - } - enumerator: "SENSOR_TYPE" - scalar_value: { - uint16_t: 8 - } - enumerator: "ATOMIC_COUNTER" - scalar_value: { - uint16_t: 12 - } - enumerator: "TIMESTAMP" - scalar_value: { - uint16_t: 16 - } - enumerator: "DATA" - scalar_value: { - uint16_t: 24 - } - enumerator: "RESERVED" - scalar_value: { - uint16_t: 88 - } - enumerator: "TOTAL_LENGTH" - scalar_value: { - uint16_t: 104 - } - } -} - -attribute: { - name: "::android::hardware::sensors::V1_0::SharedMemInfo" - type: TYPE_STRUCT - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::SharedMemType" - } - struct_value: { - name: "format" - type: TYPE_ENUM - predefined_type: "::android::hardware::sensors::V1_0::SharedMemFormat" - } - struct_value: { - name: "size" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "memoryHandle" - type: TYPE_HANDLE - } -} - diff --git a/thermal/1.0/vts/Thermal.vts b/thermal/1.0/vts/Thermal.vts deleted file mode 100644 index 46119242ab..0000000000 --- a/thermal/1.0/vts/Thermal.vts +++ /dev/null @@ -1,83 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IThermal" - -package: "android.hardware.thermal" - -import: "android.hardware.thermal@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "getTemperatures" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::thermal::V1_0::Temperature" - } - } - callflow: { - next: "*" - } - callflow: { - entry: true - } - callflow: { - exit: true - } - } - - api: { - name: "getCpuUsages" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::thermal::V1_0::CpuUsage" - } - } - callflow: { - next: "*" - } - callflow: { - entry: true - } - callflow: { - exit: true - } - } - - api: { - name: "getCoolingDevices" - return_type_hidl: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::thermal::V1_0::CoolingDevice" - } - } - callflow: { - next: "*" - } - callflow: { - entry: true - } - callflow: { - exit: true - } - } - -} diff --git a/thermal/1.0/vts/types.vts b/thermal/1.0/vts/types.vts deleted file mode 100644 index f004bd8889..0000000000 --- a/thermal/1.0/vts/types.vts +++ /dev/null @@ -1,157 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.thermal" - - -attribute: { - name: "::android::hardware::thermal::V1_0::TemperatureType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UNKNOWN" - scalar_value: { - int32_t: -1 - } - enumerator: "CPU" - scalar_value: { - int32_t: 0 - } - enumerator: "GPU" - scalar_value: { - int32_t: 1 - } - enumerator: "BATTERY" - scalar_value: { - int32_t: 2 - } - enumerator: "SKIN" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::thermal::V1_0::CoolingType" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "FAN_RPM" - scalar_value: { - uint32_t: 0 - } - } -} - -attribute: { - name: "::android::hardware::thermal::V1_0::Temperature" - type: TYPE_STRUCT - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::thermal::V1_0::TemperatureType" - } - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "currentValue" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "throttlingThreshold" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "shutdownThreshold" - type: TYPE_SCALAR - scalar_type: "float_t" - } - struct_value: { - name: "vrThrottlingThreshold" - type: TYPE_SCALAR - scalar_type: "float_t" - } -} - -attribute: { - name: "::android::hardware::thermal::V1_0::CoolingDevice" - type: TYPE_STRUCT - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::thermal::V1_0::CoolingType" - } - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "currentValue" - type: TYPE_SCALAR - scalar_type: "float_t" - } -} - -attribute: { - name: "::android::hardware::thermal::V1_0::CpuUsage" - type: TYPE_STRUCT - struct_value: { - name: "name" - type: TYPE_STRING - } - struct_value: { - name: "active" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "total" - type: TYPE_SCALAR - scalar_type: "uint64_t" - } - struct_value: { - name: "isOnline" - type: TYPE_SCALAR - scalar_type: "bool_t" - } -} - -attribute: { - name: "::android::hardware::thermal::V1_0::ThermalStatusCode" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "SUCCESS" - scalar_value: { - uint32_t: 0 - } - enumerator: "FAILURE" - scalar_value: { - uint32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::thermal::V1_0::ThermalStatus" - type: TYPE_STRUCT - struct_value: { - name: "code" - type: TYPE_ENUM - predefined_type: "::android::hardware::thermal::V1_0::ThermalStatusCode" - } - struct_value: { - name: "debugMessage" - type: TYPE_STRING - } -} - diff --git a/tv/cec/1.0/vts/HdmiCec.vts b/tv/cec/1.0/vts/HdmiCec.vts deleted file mode 100644 index 6e71d24ed9..0000000000 --- a/tv/cec/1.0/vts/HdmiCec.vts +++ /dev/null @@ -1,172 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IHdmiCec" - -package: "android.hardware.tv.cec" - -import: "android.hardware.tv.cec@1.0::IHdmiCecCallback" -import: "android.hardware.tv.cec@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "addLogicalAddress" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::Result" - } - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::CecLogicalAddress" - } - callflow: { - next: "*" - } - } - - api: { - name: "clearLogicalAddress" - callflow: { - next: "addLogicalAddress" - } - callflow: { - exit: true - } - } - - api: { - name: "getPhysicalAddress" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::Result" - } - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint16_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "sendMessage" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::SendMessageResult" - } - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::tv::cec::V1_0::CecMessage" - } - callflow: { - next: "*" - } - } - - api: { - name: "setCallback" - arg: { - type: TYPE_HIDL_CALLBACK - predefined_type: "::android::hardware::tv::cec::V1_0::IHdmiCecCallback" - } - callflow: { - next: "addLogicalAddress" - } - callflow: { - entry: true - } - } - - api: { - name: "getCecVersion" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getVendorId" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "getPortInfo" - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::tv::cec::V1_0::HdmiPortInfo" - } - } - callflow: { - next: "*" - } - } - - api: { - name: "setOption" - arg: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::OptionKey" - } - arg: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "setLanguage" - arg: { - type: TYPE_STRING - } - callflow: { - next: "*" - } - } - - api: { - name: "enableAudioReturnChannel" - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - callflow: { - next: "*" - } - } - - api: { - name: "isConnected" - return_type_hidl: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - callflow: { - next: "*" - } - } - -} diff --git a/tv/cec/1.0/vts/HdmiCecCallback.vts b/tv/cec/1.0/vts/HdmiCecCallback.vts deleted file mode 100644 index a98db06bad..0000000000 --- a/tv/cec/1.0/vts/HdmiCecCallback.vts +++ /dev/null @@ -1,27 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IHdmiCecCallback" - -package: "android.hardware.tv.cec" - -import: "android.hardware.tv.cec@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "onCecMessage" - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::tv::cec::V1_0::CecMessage" - } - } - - api: { - name: "onHotplugEvent" - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::tv::cec::V1_0::HotplugEvent" - } - } - -} diff --git a/tv/cec/1.0/vts/types.vts b/tv/cec/1.0/vts/types.vts deleted file mode 100644 index ae972a5155..0000000000 --- a/tv/cec/1.0/vts/types.vts +++ /dev/null @@ -1,604 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.tv.cec" - - -attribute: { - name: "::android::hardware::tv::cec::V1_0::MaxLength" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "MESSAGE_BODY" - scalar_value: { - int32_t: 15 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::CecDeviceType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INACTIVE" - scalar_value: { - int32_t: -1 - } - enumerator: "TV" - scalar_value: { - int32_t: 0 - } - enumerator: "RECORDER" - scalar_value: { - int32_t: 1 - } - enumerator: "TUNER" - scalar_value: { - int32_t: 3 - } - enumerator: "PLAYBACK" - scalar_value: { - int32_t: 4 - } - enumerator: "AUDIO_SYSTEM" - scalar_value: { - int32_t: 5 - } - enumerator: "MAX" - scalar_value: { - int32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::CecLogicalAddress" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "TV" - scalar_value: { - int32_t: 0 - } - enumerator: "RECORDER_1" - scalar_value: { - int32_t: 1 - } - enumerator: "RECORDER_2" - scalar_value: { - int32_t: 2 - } - enumerator: "TUNER_1" - scalar_value: { - int32_t: 3 - } - enumerator: "PLAYBACK_1" - scalar_value: { - int32_t: 4 - } - enumerator: "AUDIO_SYSTEM" - scalar_value: { - int32_t: 5 - } - enumerator: "TUNER_2" - scalar_value: { - int32_t: 6 - } - enumerator: "TUNER_3" - scalar_value: { - int32_t: 7 - } - enumerator: "PLAYBACK_2" - scalar_value: { - int32_t: 8 - } - enumerator: "RECORDER_3" - scalar_value: { - int32_t: 9 - } - enumerator: "TUNER_4" - scalar_value: { - int32_t: 10 - } - enumerator: "PLAYBACK_3" - scalar_value: { - int32_t: 11 - } - enumerator: "FREE_USE" - scalar_value: { - int32_t: 14 - } - enumerator: "UNREGISTERED" - scalar_value: { - int32_t: 15 - } - enumerator: "BROADCAST" - scalar_value: { - int32_t: 15 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::CecMessageType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "FEATURE_ABORT" - scalar_value: { - int32_t: 0 - } - enumerator: "IMAGE_VIEW_ON" - scalar_value: { - int32_t: 4 - } - enumerator: "TUNER_STEP_INCREMENT" - scalar_value: { - int32_t: 5 - } - enumerator: "TUNER_STEP_DECREMENT" - scalar_value: { - int32_t: 6 - } - enumerator: "TUNER_DEVICE_STATUS" - scalar_value: { - int32_t: 7 - } - enumerator: "GIVE_TUNER_DEVICE_STATUS" - scalar_value: { - int32_t: 8 - } - enumerator: "RECORD_ON" - scalar_value: { - int32_t: 9 - } - enumerator: "RECORD_STATUS" - scalar_value: { - int32_t: 10 - } - enumerator: "RECORD_OFF" - scalar_value: { - int32_t: 11 - } - enumerator: "TEXT_VIEW_ON" - scalar_value: { - int32_t: 13 - } - enumerator: "RECORD_TV_SCREEN" - scalar_value: { - int32_t: 15 - } - enumerator: "GIVE_DECK_STATUS" - scalar_value: { - int32_t: 26 - } - enumerator: "DECK_STATUS" - scalar_value: { - int32_t: 27 - } - enumerator: "SET_MENU_LANGUAGE" - scalar_value: { - int32_t: 50 - } - enumerator: "CLEAR_ANALOG_TIMER" - scalar_value: { - int32_t: 51 - } - enumerator: "SET_ANALOG_TIMER" - scalar_value: { - int32_t: 52 - } - enumerator: "TIMER_STATUS" - scalar_value: { - int32_t: 53 - } - enumerator: "STANDBY" - scalar_value: { - int32_t: 54 - } - enumerator: "PLAY" - scalar_value: { - int32_t: 65 - } - enumerator: "DECK_CONTROL" - scalar_value: { - int32_t: 66 - } - enumerator: "TIMER_CLEARED_STATUS" - scalar_value: { - int32_t: 67 - } - enumerator: "USER_CONTROL_PRESSED" - scalar_value: { - int32_t: 68 - } - enumerator: "USER_CONTROL_RELEASED" - scalar_value: { - int32_t: 69 - } - enumerator: "GIVE_OSD_NAME" - scalar_value: { - int32_t: 70 - } - enumerator: "SET_OSD_NAME" - scalar_value: { - int32_t: 71 - } - enumerator: "SET_OSD_STRING" - scalar_value: { - int32_t: 100 - } - enumerator: "SET_TIMER_PROGRAM_TITLE" - scalar_value: { - int32_t: 103 - } - enumerator: "SYSTEM_AUDIO_MODE_REQUEST" - scalar_value: { - int32_t: 112 - } - enumerator: "GIVE_AUDIO_STATUS" - scalar_value: { - int32_t: 113 - } - enumerator: "SET_SYSTEM_AUDIO_MODE" - scalar_value: { - int32_t: 114 - } - enumerator: "REPORT_AUDIO_STATUS" - scalar_value: { - int32_t: 122 - } - enumerator: "GIVE_SYSTEM_AUDIO_MODE_STATUS" - scalar_value: { - int32_t: 125 - } - enumerator: "SYSTEM_AUDIO_MODE_STATUS" - scalar_value: { - int32_t: 126 - } - enumerator: "ROUTING_CHANGE" - scalar_value: { - int32_t: 128 - } - enumerator: "ROUTING_INFORMATION" - scalar_value: { - int32_t: 129 - } - enumerator: "ACTIVE_SOURCE" - scalar_value: { - int32_t: 130 - } - enumerator: "GIVE_PHYSICAL_ADDRESS" - scalar_value: { - int32_t: 131 - } - enumerator: "REPORT_PHYSICAL_ADDRESS" - scalar_value: { - int32_t: 132 - } - enumerator: "REQUEST_ACTIVE_SOURCE" - scalar_value: { - int32_t: 133 - } - enumerator: "SET_STREAM_PATH" - scalar_value: { - int32_t: 134 - } - enumerator: "DEVICE_VENDOR_ID" - scalar_value: { - int32_t: 135 - } - enumerator: "VENDOR_COMMAND" - scalar_value: { - int32_t: 137 - } - enumerator: "VENDOR_REMOTE_BUTTON_DOWN" - scalar_value: { - int32_t: 138 - } - enumerator: "VENDOR_REMOTE_BUTTON_UP" - scalar_value: { - int32_t: 139 - } - enumerator: "GIVE_DEVICE_VENDOR_ID" - scalar_value: { - int32_t: 140 - } - enumerator: "MENU_REQUEST" - scalar_value: { - int32_t: 141 - } - enumerator: "MENU_STATUS" - scalar_value: { - int32_t: 142 - } - enumerator: "GIVE_DEVICE_POWER_STATUS" - scalar_value: { - int32_t: 143 - } - enumerator: "REPORT_POWER_STATUS" - scalar_value: { - int32_t: 144 - } - enumerator: "GET_MENU_LANGUAGE" - scalar_value: { - int32_t: 145 - } - enumerator: "SELECT_ANALOG_SERVICE" - scalar_value: { - int32_t: 146 - } - enumerator: "SELECT_DIGITAL_SERVICE" - scalar_value: { - int32_t: 147 - } - enumerator: "SET_DIGITAL_TIMER" - scalar_value: { - int32_t: 151 - } - enumerator: "CLEAR_DIGITAL_TIMER" - scalar_value: { - int32_t: 153 - } - enumerator: "SET_AUDIO_RATE" - scalar_value: { - int32_t: 154 - } - enumerator: "INACTIVE_SOURCE" - scalar_value: { - int32_t: 157 - } - enumerator: "CEC_VERSION" - scalar_value: { - int32_t: 158 - } - enumerator: "GET_CEC_VERSION" - scalar_value: { - int32_t: 159 - } - enumerator: "VENDOR_COMMAND_WITH_ID" - scalar_value: { - int32_t: 160 - } - enumerator: "CLEAR_EXTERNAL_TIMER" - scalar_value: { - int32_t: 161 - } - enumerator: "SET_EXTERNAL_TIMER" - scalar_value: { - int32_t: 162 - } - enumerator: "INITIATE_ARC" - scalar_value: { - int32_t: 192 - } - enumerator: "REPORT_ARC_INITIATED" - scalar_value: { - int32_t: 193 - } - enumerator: "REPORT_ARC_TERMINATED" - scalar_value: { - int32_t: 194 - } - enumerator: "REQUEST_ARC_INITIATION" - scalar_value: { - int32_t: 195 - } - enumerator: "REQUEST_ARC_TERMINATION" - scalar_value: { - int32_t: 196 - } - enumerator: "TERMINATE_ARC" - scalar_value: { - int32_t: 197 - } - enumerator: "ABORT" - scalar_value: { - int32_t: 255 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::AbortReason" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "UNRECOGNIZED_MODE" - scalar_value: { - int32_t: 0 - } - enumerator: "NOT_IN_CORRECT_MODE" - scalar_value: { - int32_t: 1 - } - enumerator: "CANNOT_PROVIDE_SOURCE" - scalar_value: { - int32_t: 2 - } - enumerator: "INVALID_OPERAND" - scalar_value: { - int32_t: 3 - } - enumerator: "REFUSED" - scalar_value: { - int32_t: 4 - } - enumerator: "UNABLE_TO_DETERMINE" - scalar_value: { - int32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::Result" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SUCCESS" - scalar_value: { - int32_t: 0 - } - enumerator: "FAILURE_UNKNOWN" - scalar_value: { - int32_t: 1 - } - enumerator: "FAILURE_INVALID_ARGS" - scalar_value: { - int32_t: 2 - } - enumerator: "FAILURE_INVALID_STATE" - scalar_value: { - int32_t: 3 - } - enumerator: "FAILURE_NOT_SUPPORTED" - scalar_value: { - int32_t: 4 - } - enumerator: "FAILURE_BUSY" - scalar_value: { - int32_t: 5 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::SendMessageResult" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "SUCCESS" - scalar_value: { - int32_t: 0 - } - enumerator: "NACK" - scalar_value: { - int32_t: 1 - } - enumerator: "BUSY" - scalar_value: { - int32_t: 2 - } - enumerator: "FAIL" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::HdmiPortType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "INPUT" - scalar_value: { - int32_t: 0 - } - enumerator: "OUTPUT" - scalar_value: { - int32_t: 1 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::OptionKey" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "WAKEUP" - scalar_value: { - int32_t: 1 - } - enumerator: "ENABLE_CEC" - scalar_value: { - int32_t: 2 - } - enumerator: "SYSTEM_CEC_CONTROL" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::CecMessage" - type: TYPE_STRUCT - struct_value: { - name: "initiator" - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::CecLogicalAddress" - } - struct_value: { - name: "destination" - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::CecLogicalAddress" - } - struct_value: { - name: "body" - type: TYPE_VECTOR - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::HotplugEvent" - type: TYPE_STRUCT - struct_value: { - name: "connected" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "portId" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } -} - -attribute: { - name: "::android::hardware::tv::cec::V1_0::HdmiPortInfo" - type: TYPE_STRUCT - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::cec::V1_0::HdmiPortType" - } - struct_value: { - name: "portId" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "cecSupported" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "arcSupported" - type: TYPE_SCALAR - scalar_type: "bool_t" - } - struct_value: { - name: "physicalAddress" - type: TYPE_SCALAR - scalar_type: "uint16_t" - } -} - diff --git a/tv/input/1.0/vts/TvInput.vts b/tv/input/1.0/vts/TvInput.vts deleted file mode 100644 index f049fc1bce..0000000000 --- a/tv/input/1.0/vts/TvInput.vts +++ /dev/null @@ -1,99 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "ITvInput" - -package: "android.hardware.tv.input" - -import: "android.hardware.audio.common@2.0::types" -import: "android.hardware.tv.input@1.0::ITvInputCallback" -import: "android.hardware.tv.input@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "setCallback" - arg: { - type: TYPE_HIDL_CALLBACK - predefined_type: "::android::hardware::tv::input::V1_0::ITvInputCallback" - } - callflow: { - entry: true - } - callflow: { - exit: true - } - callflow: { - next: "getStreamConfigurations" - } - } - - api: { - name: "getStreamConfigurations" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::input::V1_0::Result" - } - return_type_hidl: { - type: TYPE_VECTOR - vector_value: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::tv::input::V1_0::TvStreamConfig" - } - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - callflow: { - next: "openStream" - next: "getStreamConfigurations" - next: "closeStream" - } - } - - api: { - name: "openStream" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::input::V1_0::Result" - } - return_type_hidl: { - type: TYPE_HANDLE - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - callflow: { - next: "closeStream" - next: "getStreamConfigurations" - next: "openStream" - } - } - - api: { - name: "closeStream" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::input::V1_0::Result" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - arg: { - type: TYPE_SCALAR - scalar_type: "int32_t" - } - callflow: { - next: "getStreamConfigurations" - next: "openStream" - next: "closeStream" - } - } - -} diff --git a/tv/input/1.0/vts/TvInputCallback.vts b/tv/input/1.0/vts/TvInputCallback.vts deleted file mode 100644 index 8082b9f7a0..0000000000 --- a/tv/input/1.0/vts/TvInputCallback.vts +++ /dev/null @@ -1,20 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "ITvInputCallback" - -package: "android.hardware.tv.input" - -import: "android.hardware.audio.common@2.0::types" -import: "android.hardware.tv.input@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "notify" - arg: { - type: TYPE_STRUCT - predefined_type: "::android::hardware::tv::input::V1_0::TvInputEvent" - } - } - -} diff --git a/tv/input/1.0/vts/types.vts b/tv/input/1.0/vts/types.vts deleted file mode 100644 index cb1d4725dc..0000000000 --- a/tv/input/1.0/vts/types.vts +++ /dev/null @@ -1,176 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.tv.input" - -import: "android.hardware.audio.common@2.0::types" - -attribute: { - name: "::android::hardware::tv::input::V1_0::Result" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OK" - scalar_value: { - int32_t: 0 - } - enumerator: "UNKNOWN" - scalar_value: { - int32_t: 1 - } - enumerator: "NO_RESOURCE" - scalar_value: { - int32_t: 2 - } - enumerator: "INVALID_ARGUMENTS" - scalar_value: { - int32_t: 3 - } - enumerator: "INVALID_STATE" - scalar_value: { - int32_t: 4 - } - } -} - -attribute: { - name: "::android::hardware::tv::input::V1_0::TvInputType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "OTHER" - scalar_value: { - int32_t: 1 - } - enumerator: "TUNER" - scalar_value: { - int32_t: 2 - } - enumerator: "COMPOSITE" - scalar_value: { - int32_t: 3 - } - enumerator: "SVIDEO" - scalar_value: { - int32_t: 4 - } - enumerator: "SCART" - scalar_value: { - int32_t: 5 - } - enumerator: "COMPONENT" - scalar_value: { - int32_t: 6 - } - enumerator: "VGA" - scalar_value: { - int32_t: 7 - } - enumerator: "DVI" - scalar_value: { - int32_t: 8 - } - enumerator: "HDMI" - scalar_value: { - int32_t: 9 - } - enumerator: "DISPLAY_PORT" - scalar_value: { - int32_t: 10 - } - } -} - -attribute: { - name: "::android::hardware::tv::input::V1_0::TvInputDeviceInfo" - type: TYPE_STRUCT - struct_value: { - name: "deviceId" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::input::V1_0::TvInputType" - } - struct_value: { - name: "portId" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "audioType" - type: TYPE_ENUM - predefined_type: "::android::hardware::audio::common::V2_0::AudioDevice" - } - struct_value: { - name: "audioAddress" - type: TYPE_ARRAY - vector_size: 32 - vector_value: { - type: TYPE_SCALAR - scalar_type: "uint8_t" - } - } -} - -attribute: { - name: "::android::hardware::tv::input::V1_0::TvInputEventType" - type: TYPE_ENUM - enum_value: { - scalar_type: "int32_t" - - enumerator: "DEVICE_AVAILABLE" - scalar_value: { - int32_t: 1 - } - enumerator: "DEVICE_UNAVAILABLE" - scalar_value: { - int32_t: 2 - } - enumerator: "STREAM_CONFIGURATIONS_CHANGED" - scalar_value: { - int32_t: 3 - } - } -} - -attribute: { - name: "::android::hardware::tv::input::V1_0::TvInputEvent" - type: TYPE_STRUCT - struct_value: { - name: "type" - type: TYPE_ENUM - predefined_type: "::android::hardware::tv::input::V1_0::TvInputEventType" - } - struct_value: { - name: "deviceInfo" - type: TYPE_STRUCT - predefined_type: "::android::hardware::tv::input::V1_0::TvInputDeviceInfo" - } -} - -attribute: { - name: "::android::hardware::tv::input::V1_0::TvStreamConfig" - type: TYPE_STRUCT - struct_value: { - name: "streamId" - type: TYPE_SCALAR - scalar_type: "int32_t" - } - struct_value: { - name: "maxVideoWidth" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - struct_value: { - name: "maxVideoHeight" - type: TYPE_SCALAR - scalar_type: "uint32_t" - } -} - diff --git a/vibrator/1.0/vts/Vibrator.vts b/vibrator/1.0/vts/Vibrator.vts deleted file mode 100644 index 07ec30e0e8..0000000000 --- a/vibrator/1.0/vts/Vibrator.vts +++ /dev/null @@ -1,31 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IVibrator" - -package: "android.hardware.vibrator" - -import: "android.hardware.vibrator@1.0::types" -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "on" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::vibrator::V1_0::Status" - } - arg: { - type: TYPE_SCALAR - scalar_type: "uint32_t" - } - } - - api: { - name: "off" - return_type_hidl: { - type: TYPE_ENUM - predefined_type: "::android::hardware::vibrator::V1_0::Status" - } - } - -} diff --git a/vibrator/1.0/vts/types.vts b/vibrator/1.0/vts/types.vts deleted file mode 100644 index d1bf1e1469..0000000000 --- a/vibrator/1.0/vts/types.vts +++ /dev/null @@ -1,24 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "types" - -package: "android.hardware.vibrator" - - -attribute: { - name: "::android::hardware::vibrator::V1_0::Status" - type: TYPE_ENUM - enum_value: { - scalar_type: "uint32_t" - - enumerator: "OK" - scalar_value: { - uint32_t: 0 - } - enumerator: "ERR" - scalar_value: { - uint32_t: 1 - } - } -} - diff --git a/vr/1.0/vts/Vr.vts b/vr/1.0/vts/Vr.vts deleted file mode 100644 index fdc4a5cc2e..0000000000 --- a/vr/1.0/vts/Vr.vts +++ /dev/null @@ -1,37 +0,0 @@ -component_class: HAL_HIDL -component_type_version: 1.0 -component_name: "IVr" - -package: "android.hardware.vr" - -import: "android.hidl.base@1.0::types" - -interface: { - api: { - name: "init" - callflow: { - next: "*" - } - callflow: { - entry: true - } - callflow: { - exit: true - } - } - - api: { - name: "setVrMode" - arg: { - type: TYPE_SCALAR - scalar_type: "bool_t" - } - callflow: { - next: "*" - } - callflow: { - exit: true - } - } - -}