Commit Graph

16281 Commits

Author SHA1 Message Date
Michael Butler
a89b02a5cd Merge "Change NNAPI VTS to use TEST_P to iterate across all service instances"
am: b287873b73

Change-Id: I1890ae9f3b34e09926b624aec22c6ceef496b243
2019-09-25 13:22:43 -07:00
Amy Zhang
3c2d9e1fb6 Merge changes from topic "frontend"
am: 6494b4c9a6

Change-Id: I39bdb3fdfb65c63d5fdaba5a56691a3f8e5e49cb
2019-09-25 13:20:19 -07:00
Michael Butler
b287873b73 Merge "Change NNAPI VTS to use TEST_P to iterate across all service instances" 2019-09-25 20:02:20 +00:00
Amy Zhang
6494b4c9a6 Merge changes from topic "frontend"
* changes:
  Playback VTS modulization
  Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support default implementation
  Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support
2019-09-25 19:56:03 +00:00
Max Zhang
b21fd17efe yukawa: adapt different YCC orders
am: 59b31c9b90

Change-Id: I7142f64e5343b24348a49fdd0bfe2b9448a235fe
2019-09-25 11:39:32 -07:00
Amy
df3746daeb Playback VTS modulization
Test: manual
Bug: 135708935
Change-Id: I07c03223703290196a20b0b3f689637063bac202
(cherry picked from commit fda9224f14)
2019-09-24 18:29:24 -07:00
Amy
b9d0c8b33f Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support default implementation
Test: manual
Bug: 135709325
Change-Id: I846c8d1f50ad636e9718cf792a29c8b076246c54
(cherry picked from commit 016b73119c)
2019-09-24 18:28:21 -07:00
Henry Fang
eca50336c3 Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support
bug: 135708935
Test: Manual
Change-Id: I667afbe8f4455ba1c70ae3113a2cd6819aa28156
(cherry picked from commit 0d5c8da338)
2019-09-24 18:26:19 -07:00
Max Zhang
59b31c9b90 yukawa: adapt different YCC orders
The order of the planes doesn't matter, therefore enable mapper
adapter to support YCbCr and YCrCb both.

test: manual
bug: 141006723
Change-Id: Iad0d5159c1b38b12bc90a07f937db002471aad1e
2019-09-24 11:38:07 -07:00
Yi Kong
e38afc37a0 Ignore format-pedantic compiler warning
am: 4321dfea63

Change-Id: I13a71e04d795469016ebde30db73048e42551d04
2019-09-20 15:54:15 -07:00
Yi Kong
4321dfea63 Ignore format-pedantic compiler warning
This warning was turned off globally but it is only needed for few
projects. Move the flag to the individual project blueprint files.

Test: presubmit
Change-Id: I55163067ac5038f1650ad12300bf72a48f179b8e
2019-09-20 13:25:25 -07:00
Michael Butler
ef761b84e5 Merge "Specify NNAPI Burst FMQ read/write requirements"
am: 64fdda5def

Change-Id: I284cc8f13abb1cbbffddf5a0170bad6549e3d226
2019-09-20 11:23:07 -07:00
Michael Butler
0763328464 Change NNAPI VTS to use TEST_P to iterate across all service instances
This CL removes a dependency on the VTS test runner by dynamically
discovering all NN HAL service instances in the gtest binary itself,
and runs through all service instances with parameterized tests.

This CL converts TEST_F cases to TEST_P cases, where the test parameter
is the name of the service instance. For existing TEST_P cases (such as
the generated test cases), the service instance name is made to be the
first test parameter.

This CL enables the NN VTS tests to be more portable, e.g., they can
run directly as a presubmit test.

Fixes: 124540002
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest (with sample-all)
Test: cd $ANDROID_BUILD_TOP/hardware/interfaces/neuralnetworks && atest
Change-Id: I1e301d7c9f9342bb8f35a267bef180f510944b19
Merged-In: I1e301d7c9f9342bb8f35a267bef180f510944b19
(cherry picked from commit 7076f629b7)
2019-09-20 11:20:48 -07:00
Michael Butler
64fdda5def Merge "Specify NNAPI Burst FMQ read/write requirements" 2019-09-20 18:01:51 +00:00
Amy Zhang
b5e3d16439 Merge changes from topic "play"
am: 297193ceed

Change-Id: I022154516e912fd25163009b3f5d2f4d1d1c8639
2019-09-20 10:55:28 -07:00
Amy Zhang
297193ceed Merge changes from topic "play"
* changes:
  Tuner HAL Demux Playback interface VTS
  Tuner HAL Demux Playback interface implementation
  Add record and playback to Tuner HAL
2019-09-20 17:29:24 +00:00
Nathan Harold
ea37be51fa Merge "Use IncrementalResults in InvalidPeriodicity"
am: 9f50a49681

Change-Id: I4e2f90ce020f0522e4f8c7e09bb9356ee5c21b0b
2019-09-19 14:56:16 -07:00
Nathan Harold
9f50a49681 Merge "Use IncrementalResults in InvalidPeriodicity" 2019-09-19 21:40:47 +00:00
Michael Butler
b3c8032b12 Specify NNAPI Burst FMQ read/write requirements
This CL additionally adds missing documentation for timing
information when returning results on the resultChannel.

Bug: 133773876
Test: mma
Change-Id: I1eb1affbb4a912d5fdeab012e2be7e7005deb04d
Merged-In: I1eb1affbb4a912d5fdeab012e2be7e7005deb04d
(cherry picked from commit f99bffd08a)
2019-09-19 13:31:01 -07:00
Amy
8f08c5fb51 Tuner HAL Demux Playback interface VTS
Test: manual
Bug: 135708935
Change-Id: Ifb93bbd5920f7998d9716a55cba983f8a5ace425
2019-09-18 18:36:43 -07:00
Amy
e223baab13 Tuner HAL Demux Playback interface implementation
Test: manual
Bug: 135709325
Change-Id: I0b673159b667c5bde47e9ed285cfa1bdc6c668c6
2019-09-18 18:36:18 -07:00
Henry Fang
00c63bb59c Add record and playback to Tuner HAL
bug: 135708935
Test: Manual
Change-Id: Ibe8a51be31f455cc15b380748a0810e2706e5c1e
2019-09-18 18:35:52 -07:00
Nathan Harold
0fc724e299 Use IncrementalResults in InvalidPeriodicity
Currently tests that check for incremental scan interval
range-checking have incremental scans disabled.
This CL turns on incremental scans for tests where the
invalid interval range checks are being validated.

Set Incremental Results to true for InvalidPeriodicity
Tests in Radio 1.4. This is a spiritual cherry-pick of
the exact same test copied from HAL 1.2.

Related Change-Id: I94874f538d2df70a72913b489d9298f8d1cf9b56
Related Sha: 81c811b895

Bug: 138317383
Test: atest RadioHidlTest_v1_4#startNetworkScan_InvalidPeriodicity1
Test: atest RadioHidlTest_v1_4#startNetworkScan_InvalidPeriodicity2
Change-Id: I20d6423c01dfc1c708514e798589c36666f2c0d4
2019-09-19 00:07:21 +00:00
Ytai Ben-Tsvi
3717558552 HIDL test: update for java bitfields in lists
am: c861055316

Change-Id: Ife035adf83c1165ceb59a64c7742b452660855eb
2019-09-17 18:10:42 -07:00
Ytai Ben-Tsvi
c861055316 HIDL test: update for java bitfields in lists
Bug: 141187928
Test: HIDL's run_all_host_tests.sh

Change-Id: Ib282ed03b85c798b724ed4c44ac2d59ea8dbf420
2019-09-17 14:25:35 -07:00
David Gross
626b2ad612 "successful preparation means successful execution" guarantee neglects bad operation inputs
am: 29d90d1455

Change-Id: I6cf6a66433a145817e845af2d93953244d31594f
2019-09-13 10:52:29 -07:00
David Gross
29d90d1455 "successful preparation means successful execution" guarantee neglects bad operation inputs
Under certain circumstances, we guarantee that a prepared model can be
executed successfully.  In describing those circumstances, we
neglected to specify that operation input operands must have legal
values for the guarantee to hold.  For example, the guarantee doesn't
hold if an ADD operation has an activation input that is not one of
the defined values; or if a RESHAPE operation has a shape input in
which two or more components are -1.

This change modifies the guarantee to apply only when operation input
operands have legal values.  It also documents this guarantee for
burst execution.

Note that if an operation has an input operand that can be proven to
have an illegal value at preparation time (e.g., a constant value that
is illegal), model preparation might (but is not required to) fail for
that reason.

Bug: 135933040

Test: $ cd neuralnetworks ; mma
Change-Id: I8b421550dd89e4bbbdae899e7cb5e9e88a46d2fb
(cherry picked from commit 48544cc38a)
2019-09-12 14:27:35 -07:00
TreeHugger Robot
7b2e2fe15c Merge "Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master" into stage-aosp-master 2019-09-11 20:31:38 +00:00
Michael Butler
672607596f Merge "Consolidate NNAPI VTS utility code"
am: 71cb010ba3

Change-Id: I5bcbe8135d6ecef5f263a46e2b382976d077f87f
2019-09-11 12:30:04 -07:00
Michael Butler
71cb010ba3 Merge "Consolidate NNAPI VTS utility code" 2019-09-11 19:03:06 +00:00
Michael Butler
13b0516e56 Consolidate NNAPI VTS utility code
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
Merged-In: Ic401bb1f1760cc10384ac0d30c0c93409b63a9c7
(cherry picked from commit e16af0a44b)
2019-09-11 11:04:54 -07:00
Colin Cross
84633dea30 Remove unused libcrypto dependency.
am: 5d81a5814b

Change-Id: I57e56bcbb1c8cb0e7a437da9694ace9eae981eea
2019-09-10 17:55:35 -07:00
Colin Cross
5d81a5814b Remove unused libcrypto dependency.
libcrypto is unused, which causes problems when boringssl hash
injection is turned on as the code is all stripped and there is
nothing left to inject the hash into.

Bug: 137267623
Test: Ran the following together with the changes from
      http://r.android.com/q/topic:bug137267623_bsslselftest

      m VtsHalDrmV1_{0,1,2}TargetTest \
        VtsHalWifiHostapdV1_{0,1}TargetTest{,Util} \
        VtsHalWifiSupplicantV1_{0,1,2}TargetTest{,Util} \
        VtsHalWifiSupplicantP2pV1_{0,2}TargetTest

      (croot hardware/interfaces/confirmationui ; mma)
      (croot hardware/interfaces/drm ; mma)
      (croot hardware/interfaces/keymaster ; mma)

Change-Id: Ib0607671ef71d99becb483774f810aad9762f4f1
2019-09-10 00:05:33 +01:00
Amy
e5e721311d Tuner HAL Demux Filter VTS
am: 98cf3408af

Change-Id: I9a7ae7103c2ce08873bae02c974d5ba484ee0c33
2019-09-09 10:32:17 -07:00
Xin Li
15be13ea71 Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
Bug: 135460123
Change-Id: Ia07db5c8afeed7fe22a2b18d867a38390f910a81
Merged-In: Ibbd540dbb5baee46360d3fe9469212cfd8f550ba
2019-09-08 13:06:54 -07:00
Amy
f7b2330d86 Tuner HAL Filter APIs default implementation
am: 481066c7ce

Change-Id: Ibbd540dbb5baee46360d3fe9469212cfd8f550ba
2019-09-06 18:47:24 -07:00
Amy
98cf3408af Tuner HAL Demux Filter VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 135708935
Change-Id: I2b6b7e904cb274e7ccd10e481b04dfd9394afe3e
Merged-In: I2b6b7e904cb274e7ccd10e481b04dfd9394afe3e
2019-09-06 22:40:40 +00:00
Amy
481066c7ce Tuner HAL Filter APIs default implementation
Bug: 135709325
Test: manual
Change-Id: If10acac560d3130105079121602be576eb0b225a
Merged-In: If10acac560d3130105079121602be576eb0b225a
2019-09-06 22:40:09 +00:00
Amy Zhang
a843f717c9 Merge changes I1f2c9bfe,I38a92abb
am: aedfe936ef

Change-Id: Ibb403afd42eff9e4d76cf7e8431bea07696e5294
2019-09-06 14:47:09 -07:00
Henry Fang
e24ffe46d1 Merge "Add filter function to Demux interface and Add program info to Descrambler"
am: b1f3e7d8ee

Change-Id: I87eba94337ee6af0082cb8e977119993ddf77e13
2019-09-06 14:40:39 -07:00
Amy Zhang
aedfe936ef Merge changes I1f2c9bfe,I38a92abb
* changes:
  Tuner HAL VTS for Demux and Descrambler Interface.
  Tuner HAL default implementation for Demux and Descrambler Interface.
2019-09-06 21:35:56 +00:00
Treehugger Robot
b1f3e7d8ee Merge "Add filter function to Demux interface and Add program info to Descrambler" 2019-09-06 21:14:23 +00:00
Steven Moreland
8c22c3862f Merge "Remove libhwbinder/libhidltransport deps"
am: 6b62c58a9a

Change-Id: I2efb8333fade5e39775b52334e2913b7e43256b9
2019-09-06 12:51:25 -07:00
Steven Moreland
6b62c58a9a Merge "Remove libhwbinder/libhidltransport deps" 2019-09-06 19:33:26 +00:00
Amy
56cc2ddb28 Merge "Using named pipe as input/output of the CEC hal mock impl"
am: 321f443d65

Change-Id: I613b85d00a10a69d0d773704dcbef31b7ce3e116
2019-09-05 21:15:29 -07:00
Treehugger Robot
321f443d65 Merge "Using named pipe as input/output of the CEC hal mock impl" 2019-09-06 03:47:13 +00:00
Henry Fang
7d01fdb66e Add filter function to Demux interface and Add program info to Descrambler
bug: 135708935
Test: Manual
Change-Id: Iacaebdac6a8ce08ca47ae272be13d51fbd502959
Merged-In: Iacaebdac6a8ce08ca47ae272be13d51fbd502959
2019-09-06 02:55:39 +00:00
Amy Zhang
f01ab481f7 Merge "Add Demux and Descrambler interface to Tuner HAL Test: Manual bug: 135709729"
am: 7048f252cf

Change-Id: I80672a9dd9ae990e80db12bded3ceb83a97b4826
2019-09-05 18:56:14 -07:00
Amy Zhang
7048f252cf Merge "Add Demux and Descrambler interface to Tuner HAL Test: Manual bug: 135709729" 2019-09-06 01:42:09 +00:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00