* changes:
Tuner HAL Demux Filter VTS
Tuner HAL Filter APIs default implementation
Add filter function to Demux interface and Add program info to Descrambler
Sets up a unit test file that can be used to unit test the HalProxy. The
unit tests will eventually end up containing code that injects the fake
SensorsSubHal implementation into the HalProxy and verifies various
parts of the implementation. This will likely require some modifications
to the SensorsSubHal class to modify it during test execution, but it's
better that the same implementation is shared between unit / manual
integration testing.
Test: Run atest android.hardware.sensors@2.0-halproxy-unit-tests
Bug: 136511617
Change-Id: I7b6865564ea41ab3c58f77d3168366c95e3289e5
This CL does additional NNAPI VTS test cleanup, including consolidating
duplicate functionality. Specifically, this CL:
* consolidates the createPreparedModel function, removing the duplicate
* consolidates the std::out ErrorStatus and DeviceStatus code into Utils
* changes non-null constant pointers to constant references
* removes redudant leading namespace specifiers (V1_0::, ::testing, etc.)
* makes the Valdiation tests free functions
* renames device to kDevice and mTestModel to kTestModel
Bug: N/A
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest (with sample-all)
Change-Id: Ic401bb1f1760cc10384ac0d30c0c93409b63a9c7
am: 9b79387e48 -s ours
am skip reason: change_id I023997d8686ca65223858eed3a0881f5444ed2d6 with SHA1 bbe5dad266 is in history
Change-Id: Ife8c7925b30d3b05ecbee5899231bf710ee8440f
am: f35dc87458 -s ours
am skip reason: change_id I45d1320a9edae73cde7d9ccaca57b5b9519b0210 with SHA1 c7cdd550a0 is in history
Change-Id: I83d38dbb9ea0fe4a9e7245b6e83b53353757f2a2
am: 3d3e6be52c -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I7cbefdd87f5a5ad71c06e97bef73095cad983a02
am: 4149337a7a -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: If63db4e9d0435c13592835f424dcda31810e48e8
am: ddc9e74a77 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I8bc4d659190a7f1e785c89131bf5dd741a72d5be
am: 004027ac60 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I2533c5194469667aeaeb9829dc063a366aa91f98
am: 1da618f210 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I9bf9b0fa11de35ccb0d5db2865421d03b5c1d3db
am: 6c232ced93 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I6a827e23694912b0698a0c2fc800e7a83bd8aeff
am: 32ecb053a9 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: Ia39e231f93e97229a3ab9241e8b2bb9eb1c7205a
am: c19af4a907 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I14a37d75839322e6e99833886f86ecb1fc4d98e1
am: 32ecb053a9 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I6e5518a3f1a0f383dbc28dcfb8138966b3e8d7c6
am: eac8d9acc9 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history
Change-Id: I02fe7d1fe9f6068432723a3812a7b7a5a6f6bcbd
Previously, NoStaleEvents was treating any timestamps it dealt with as
if they were in microseconds, but sensors.minDelay is in microseconds
and Event timestamps are in nanoseconds. This uses std::chrono helpers
to ensure the correct time is used when deciding how long to sleep
during the test so that if waitForEvents never passes, the test doesn't
time out.
Bug: 136736906
Test: Run VTS and verify VtsHalSensorsV2_0Target doesn't finish as an
incomplete module.
Change-Id: Ibba59dbf9312f97d7275e5aa8cd36547ab09e328
Merged-In: Ibba59dbf9312f97d7275e5aa8cd36547ab09e328
am: d2a6e568f1 -s ours
am skip reason: change_id Ib93d159dc657eaf292d16140ebdd9de3b0f5f1d3 with SHA1 72227f3ef8 is in history
Change-Id: Ifeafb87512fb207438f48dab97c53c352c7addf3
am: 9f15880696 -s ours
am skip reason: change_id I65274b5f72def815ff238a8d8df10c9d014afc44 with SHA1 f7a8f03e3d is in history
Change-Id: I40c750649bfc76b97a67b804675c3d0a7a1bb508
am: e6aabcd0e0 -s ours
am skip reason: change_id I0129378c87637b33bb145ec93307634273a9d2fd with SHA1 cbfa6b998e is in history
Change-Id: Ifbf6d666ec7b918f7dd4bb8540809e9a5d80d154
am: 5db066d298 -s ours
am skip reason: change_id I539e75585b2cc01d153565814491361adfa048be with SHA1 9e2b97b83c is in history
Change-Id: I49518e0f5e302d13f186ccb0fd400c48980caa3c