author | Tellen Yu <tellen.yu@amlogic.com> | 2017-11-07 07:00:46 (GMT) |
---|---|---|
committer | Tellen Yu <tellen.yu@amlogic.com> | 2017-11-07 11:13:35 (GMT) |
commit | 1bb76b1de156394df6e1b89d412850515c1d34cc (patch) | |
tree | 7657c20b80c79bf161194ad4ad9b1e1b179e642b | |
parent | f5c27410e907fdc8ca6ee1357bab76d0d30c13e9 (diff) | |
download | interfaces-ref-o-20171115.zip interfaces-ref-o-20171115.tar.gz interfaces-ref-o-20171115.tar.bz2 |
hdmicec: add callback type to server [3/4]
PD# 152527
when a server has multi clients, it need know the client type
Change-Id: I33c3c4c11f308d5f38103f3c73bd258854cde808
-rw-r--r-- | hdmicec/1.0/IDroidHdmiCEC.hal | 2 | ||||
-rw-r--r-- | hdmicec/1.0/types.hal | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/hdmicec/1.0/IDroidHdmiCEC.hal b/hdmicec/1.0/IDroidHdmiCEC.hal index ec9ad7e..b9ded1e 100644 --- a/hdmicec/1.0/IDroidHdmiCEC.hal +++ b/hdmicec/1.0/IDroidHdmiCEC.hal @@ -159,5 +159,5 @@ interface IDroidHdmiCEC { * previously registered callback must be replaced with this one. */ @entry - setCallback(IDroidHdmiCecCallback callback); + setCallback(IDroidHdmiCecCallback callback, ConnectType type); }; diff --git a/hdmicec/1.0/types.hal b/hdmicec/1.0/types.hal index c7da364..e76af39 100644 --- a/hdmicec/1.0/types.hal +++ b/hdmicec/1.0/types.hal @@ -26,6 +26,15 @@ enum Result : int32_t { }; /** + * connect to server type + */ +enum ConnectType : int32_t { + TYPE_HAL = 0, + TYPE_EXTEND, + TYPE_TOTAL, +}; + +/** * error code used for send_message. */ enum SendMessageResult : int32_t { |