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

Commit 2ecfc398 authored by Hongguang's avatar Hongguang Committed by Hongguang Chen
Browse files

Add new features to tuner HAL.

*) Add DTS info to DemuxFilterMediaEvent.
*) Allow to ignore download Id in DemuxFilterDownloadSettings and put
download id into DemuxFilterDownloadEvent.
*) Support dumpsys.
*) Change section data size 64 bits.
*) Support FrontendStatus streamIdList.

Bug: 183583908
Bug: 183024067
Bug: 184017033
Bug: 203181023
Bug: 171540818
Test: atest VtsHalTvTunerTargetTest
Test: atest android.media.tv.tuner.cts
Test: dumpsys android.hardware.tv.tuner.ITuner/default
Change-Id: I7478d008fc50da6700c551ae398dca15f8b350be
parent 8590b861
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ package android.hardware.tv.tuner;
@VintfStability
parcelable DemuxFilterDownloadEvent {
  int itemId;
  int downloadId;
  int mpuSequenceNumber;
  int itemFragmentIndex;
  int lastItemFragmentIndex;
+1 −0
Original line number Diff line number Diff line
@@ -35,5 +35,6 @@ package android.hardware.tv.tuner;
/* @hide */
@VintfStability
parcelable DemuxFilterDownloadSettings {
  boolean useDownloadId;
  int downloadId;
}
+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ parcelable DemuxFilterMediaEvent {
  int streamId;
  boolean isPtsPresent;
  long pts;
  boolean isDtsPresent;
  long dts;
  long dataLength;
  long offset;
  android.hardware.common.NativeHandle avMemory;
+1 −1
Original line number Diff line number Diff line
@@ -38,5 +38,5 @@ parcelable DemuxFilterSectionEvent {
  int tableId;
  int version;
  int sectionNum;
  int dataLength;
  long dataLength;
}
+1 −0
Original line number Diff line number Diff line
@@ -74,4 +74,5 @@ union FrontendStatus {
  boolean isShortFrames;
  android.hardware.tv.tuner.FrontendIsdbtMode isdbtMode;
  android.hardware.tv.tuner.FrontendIsdbtPartialReceptionFlag partialReceptionFlag;
  int[] streamIdList;
}
Loading