1# Copyright (C) 2019 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15owner: Platform 16module: "android.sysprop.HdmiProperties" 17 18# OEM should override this property 19# Values denotes the device type in HDMI Spec 1.4. 20prop { 21 api_name: "device_type" 22 type: IntegerList 23 scope: Internal 24 access: Readonly 25 prop_name: "ro.hdmi.device_type" 26 deprecated: true 27} 28 29# The HDMI CEC device types supported by this device 30# See HDMI CEC 1.4b Supplement 1 CEC Table 29 Operand Descriptions. 31prop { 32 api_name: "cec_device_types" 33 type: EnumList 34 scope: Internal 35 access: Readonly 36 prop_name: "ro.hdmi.cec_device_types" 37 enum_values: "tv|recording_device|reserved|tuner|playback_device|audio_system|pure_cec_switch|video_processor" 38} 39 40# Set this to true to enable 'Set Menu Language' CEC feature. 41prop { 42 api_name: "set_menu_language_enabled" 43 type: Boolean 44 scope: Internal 45 access: Readonly 46 prop_name: "ro.hdmi.cec.source.set_menu_language.enabled" 47} 48 49# When ARC is initiated, this port will be used to turn on ARC. 50prop { 51 api_name: "arc_port" 52 type: String 53 scope: Internal 54 access: Readonly 55 prop_name: "ro.hdmi.cec.audio.arc_port.config" 56} 57 58# True means enabling muting logic. 59# False means never mute device. 60prop { 61 api_name: "system_audio_mode_muting" 62 type: Boolean 63 scope: Internal 64 access: Readonly 65 prop_name: "ro.hdmi.cec.audio.system_audio_mode_muting.enabled" 66} 67 68# True means CEC audio device should forward volume keys when system audio mode is off. 69# Default is false. 70prop { 71 api_name: "forward_volume_keys_when_system_audio_mode_off" 72 type: Boolean 73 scope: Internal 74 access: Readonly 75 prop_name: "ro.hdmi.cec.audio.forward_volume_keys_when_system_audio_mode_off.enabled" 76} 77 78# True means the current device is a cec switch device. 79# Default is false. 80prop { 81 api_name: "is_switch" 82 type: Boolean 83 scope: Internal 84 access: Readonly 85 prop_name: "ro.hdmi.cec.source.is_switch.enabled." 86} 87