This reverts commit d1d3f70fd3.
Reason for revert:
I5fcd0d4dff55453023a730caa36995f13f074a8f broke the build since the java framework and JNI side of the codes have not been merged yet.
I9b1e2493f1bc93393b634d6b841a56c6d0171542 reverted I5fcd0d4dff55453023a730caa36995f13f074a8f to fix the breakage.
This double revert would be committed with the jni code in the same topic.
Change-Id: Ic5263ea9f18c097c3584356fa113a4f019f08692
This CL will be re-revert once the corresponding JNI and framework CL are ready to commit
This reverts commit b6064e59c7.
Reason for revert: build breakage
Change-Id: I9b1e2493f1bc93393b634d6b841a56c6d0171542
Previously we added scrambling status monitoring.
Now we are merging the configuration of these two monitoring into one.
They are going through the same interface by configuring Filter Event Monitoring Type.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 153595125
Change-Id: I5fcd0d4dff55453023a730caa36995f13f074a8f
The previous linkCicam API does not support local transport stream id
return. Added the support in this CL.
Also added an unlink API to unlink the cicam when needed.
INVALID_LTS_ID will be used on failed operation of linkCicam
and in Tuner java framework as the default value
Test: make android.hardware.tv.tuner@1.1-service
Bug: 158818696
Change-Id: Ief9c5097c667ce41a534b0d1d759869acd79ca7f
A new API would be added in IFrontendCallback 1.1:
onScanMessageExt to receive the extended scan message
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158818695
Change-Id: If12535dada78ee2d2c7282ff17f9ab5f4983c750
In the MediaEvent of AV filters, the AV memory handle is mapped/unmapped on each event.
If the vendor allocates a persistent memory block, and use MediaEvent.offset to access the data,
the mapping change is unnecessary.
To improve this, a new API to get shared AV Memory is introduced.
To pass additional information to Codec2 for AV memory,
the index for Codec2 to setup additional information can be carried in the handle.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 162013047
Bug: 157143515
Bug: 156664393
Change-Id: Ibd4471ff8e19b0a99b8bcbc982dc08dbcc92efcf
Add the cid configuration API in IFilter and some related
enums
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 153595125
Change-Id: I6e43c0f71466192f9fa69c76f9c635ecefe99d5e
This reverts commit 80cb96048b.
Reason for revert: This change is not specifically requested by vendors
Might be unnecessary
Test: make -j44, atest VtsHalTvTunerV1_1TargetTest
Bug: 159058358
Change-Id: I305c17b4778608a59d04d93030f4ec19fa1b7137
parameterized tests.
This test can be disabled on the phone target once there is
a cuttlefish tv target enabled to run the test continuously.
The test will be removed from the exception list afterwards.
Test: make VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I7a2ad0e8a43c6262628354be316c530ab00ac520
Merged-In: I7a2ad0e8a43c6262628354be316c530ab00ac520
This API is mostly for restoring the by-pass mode
Frontend and Cicam connection
Test: make
Bug: 158818696
Change-Id: I62ba19a1c6c531769db6286d3bcd41ab1529bb99
The new FrontendSettingsExt includes more options to configure the
tune and scan action on the IFrontend interface.
This new struct will be used as a parameter in the tune_1_1 and
scan_1_1 APIs of the 1.1 IFrontend.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158818695
Change-Id: Ibe38a0be76969d23255574357d7494188182f467
Previously we added the PTS and the mpuSequenceNumber separately into
the tsRecord and the mmtpRecord filter event data structure.
Now there is a better way that we merge all the new fields into one
new struct to pass as a callback parameter.
With this approach, we can minimize the change in both Tuner JNI and
Tuner HAL implementation side to reuse the 1.0 structure and
implementation.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158816517
Change-Id: Ic4f1dc78f76fb52ee0bc6b90d2d297026a788711
The current implementation does not clear the previous memcopy before
copying the next round of data into the buffer. This CL fixes the issue.
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 159027928
Change-Id: I3399c69ead046630d9c22e8fbe1e816f6ea529f9
parameterized tests
The previous fix in the ag/12249074 added the allowlist funtion
under the .cpp file. But they should be under the .h file where all
the test suite classes are defined.
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I4ad7270c75ec6b30db82b0b120f21e3759ed7b93