From 961125f904086ab3dbcfb98db03eda3d6324efd8 Mon Sep 17 00:00:00 2001 From: Amy Zhang Date: Thu, 29 Oct 2020 13:49:34 -0700 Subject: [PATCH] Add some invalid constants in Tuner HAL 1.1 Test: make Bug: 171866656 Change-Id: I799d45c77bab923869107ae178a979b8f55dc330 --- tv/tuner/1.1/types.hal | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tv/tuner/1.1/types.hal b/tv/tuner/1.1/types.hal index 4e677b525b..d4a14f916c 100644 --- a/tv/tuner/1.1/types.hal +++ b/tv/tuner/1.1/types.hal @@ -72,6 +72,18 @@ enum Constant : @1.0::Constant { * IFrontend.linkCiCam. */ INVALID_LTS_ID = 0xFFFFFFFF, + /** + * An invalid frontend ID. + */ + INVALID_FRONTEND_ID = 0xFFFFFFFF, + /** + * An invalid LNB ID. + */ + INVALID_LNB_ID = 0xFFFFFFFF, + /** + * An invalid key token. It is used to remove the current key from the descrambler. + */ + INVALID_KEYTOKEN = 0x00, }; @export