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.set_menu_language" 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.property_sytem_audio_device_arc_port" 56} 57 58# True means CEC audio device should forward volume keys when system audio mode is off. 59# Default is false. 60prop { 61 api_name: "forward_volume_keys_when_system_audio_mode_off" 62 type: Boolean 63 scope: Internal 64 access: Readonly 65 prop_name: "ro.hdmi.cec_audio_device_forward_volume_keys_system_audio_mode_off" 66} 67 68# True means the current device is a cec switch device. 69# Default is false. 70prop { 71 api_name: "is_switch" 72 type: Boolean 73 scope: Internal 74 access: Readonly 75 prop_name: "ro.hdmi.property_is_device_hdmi_cec_switch" 76} 77 78# Determines playback device action upon receiving routing control messages. 79# <ul> 80# <li><b>none</b> No action taken. 81# <li><b>wake_up_only</b> PowerManager.wakeUp() is called. 82# <li><b>wake_up_and_send_active_source</b> Same as above and additionally <Active Source> is sent. 83# </ul> 84prop { 85 api_name: "playback_device_action_on_routing_control" 86 type: Enum 87 scope: Internal 88 access: Readonly 89 enum_values: "none|wake_up_only|wake_up_and_send_active_source" 90 prop_name: "ro.hdmi.cec.source.playback_device_action_on_routing_control" 91} 92