Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16dacc10 authored by Hongguang's avatar Hongguang
Browse files

Add some new features to tuner AIDL HAL.

*) Allow section filter version to be optional.
*) Add separate DemuxScAvcIndex for the AVC.
*) Support for secure MediaFilter buffer configuration.
*) Remove duplicated UNDEFINED and NONE from DemuxRecordScIndexType.

Bug: 191825295
Bug: 204807405
Bug: 204178547
Test: atest VtsHalTvTunerTargetTest
Test: atest android.media.tv.tuner.cts
Change-Id: I34af9483b3496099a159ae22360415740dd792c1
parent 8824d6c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,4 +47,5 @@ enum Constant {
  INVALID_FRONTEND_ID = -1,
  INVALID_LNB_ID = -1,
  INVALID_KEYTOKEN = 0,
  INVALID_TABINFO_VERSION = -1,
}
+1 −0
Original line number Diff line number Diff line
@@ -36,4 +36,5 @@ package android.hardware.tv.tuner;
@VintfStability
parcelable DemuxFilterAvSettings {
  boolean isPassthrough;
  boolean isSecureMemory;
}
+1 −1
Original line number Diff line number Diff line
@@ -36,6 +36,6 @@ package android.hardware.tv.tuner;
@VintfStability
parcelable DemuxFilterRecordSettings {
  int tsIndexMask;
  android.hardware.tv.tuner.DemuxRecordScIndexType scIndexType = android.hardware.tv.tuner.DemuxRecordScIndexType.UNDEFINED;
  android.hardware.tv.tuner.DemuxRecordScIndexType scIndexType = android.hardware.tv.tuner.DemuxRecordScIndexType.NONE;
  android.hardware.tv.tuner.DemuxFilterScIndexMask scIndexMask;
}
+1 −0
Original line number Diff line number Diff line
@@ -36,5 +36,6 @@ package android.hardware.tv.tuner;
@VintfStability
union DemuxFilterScIndexMask {
  int scIndex;
  int scAvc;
  int scHevc;
}
+1 −1
Original line number Diff line number Diff line
@@ -38,5 +38,5 @@ enum DemuxRecordScIndexType {
  NONE = 0,
  SC = 1,
  SC_HEVC = 2,
  UNDEFINED = 3,
  SC_AVC = 3,
}
Loading