From a3d508a576d6dacaca2b616b7fefb617fd961e5d Mon Sep 17 00:00:00 2001 From: Henry Fang Date: Tue, 8 Jan 2019 15:10:19 -0800 Subject: [PATCH] Patch cec@1.0 hal to add two Cec message types Missing two CecMessageTypes that are in CEC Spec 1.4b, but were not added in the original interface. Test: manual Bug: 122273961 Change-Id: Ifd3648544c8dcc85c23b4e2f88606a9347025f95 --- current.txt | 1 + tv/cec/1.0/types.hal | 2 ++ 2 files changed, 3 insertions(+) diff --git a/current.txt b/current.txt index 3f124ae017..c063f3e73d 100644 --- a/current.txt +++ b/current.txt @@ -401,5 +401,6 @@ e22e8135d061d0e9c4c1a70c25c19fdba10f4d3cda9795ef25b6392fc520317c android.hardwar 271187e261b30c01a33011aea257c07a2d2f05b72943ebee89e973e997849973 android.hardware.radio@1.0::types 1d19720d4fd38b1095f0f555a4bd92b3b12c9b1d0f560b0e9a474cd6dcc20db6 android.hardware.radio@1.2::IRadio e78cf871f9fd1c072874e481e06e18e2681763cf2aa38c1fd777d53bab4eb69b android.hardware.sensors@1.0::types +3d01e29e8129186f7567c4f9c8bee7480a0768e587b1be9b28adb0a6cbec6bf2 android.hardware.tv.cec@1.0::types 1722ad002317b1fae1400de709e90f442d94ef22864e05f7a12af48c32e8edc8 android.hardware.usb@1.1::types 29c8da7a13c40d488f569c812441d5754ee45bdcdb8ce6564f524b708d10a057 android.hardware.vibrator@1.1::types diff --git a/tv/cec/1.0/types.hal b/tv/cec/1.0/types.hal index c734c4d7ad..ebe65ae9d0 100644 --- a/tv/cec/1.0/types.hal +++ b/tv/cec/1.0/types.hal @@ -114,6 +114,8 @@ enum CecMessageType : int32_t { VENDOR_COMMAND_WITH_ID = 0xA0, CLEAR_EXTERNAL_TIMER = 0xA1, SET_EXTERNAL_TIMER = 0xA2, + REPORT_SHORT_AUDIO_DESCRIPTOR = 0xA3, + REQUEST_SHORT_AUDIO_DESCRIPTOR = 0xA4, INITIATE_ARC = 0xC0, REPORT_ARC_INITIATED = 0xC1, REPORT_ARC_TERMINATED = 0xC2,