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# When ARC is initiated, this port will be used to turn on ARC. 41prop { 42 api_name: "arc_port" 43 type: String 44 scope: Internal 45 access: Readonly 46 prop_name: "ro.hdmi.property_sytem_audio_device_arc_port" 47} 48 49# True means CEC audio device should forward volume keys when system audio mode is off. 50# Default is false. 51prop { 52 api_name: "forward_volume_keys_when_system_audio_mode_off" 53 type: Boolean 54 scope: Internal 55 access: Readonly 56 prop_name: "ro.hdmi.cec_audio_device_forward_volume_keys_system_audio_mode_off" 57} 58 59# True means the current device is a cec switch device. 60# Default is false. 61prop { 62 api_name: "is_switch" 63 type: Boolean 64 scope: Internal 65 access: Readonly 66 prop_name: "ro.hdmi.property_is_device_hdmi_cec_switch" 67} 68 69# Determines playback device action upon receiving routing control messages. 70# <ul> 71# <li><b>none</b> No action taken. 72# <li><b>wake_up_only</b> PowerManager.wakeUp() is called. 73# <li><b>wake_up_and_send_active_source</b> Same as above and additionally <Active Source> is sent. 74# </ul> 75prop { 76 api_name: "playback_device_action_on_routing_control" 77 type: Enum 78 scope: Internal 79 access: Readonly 80 enum_values: "none|wake_up_only|wake_up_and_send_active_source" 81 prop_name: "ro.hdmi.cec.source.playback_device_action_on_routing_control" 82} 83