Commit Graph

16413 Commits

Author SHA1 Message Date
Nathan Harold
2d6b0741e7 Merge "Use IncrementalResults in InvalidPeriodicity" am: 9f50a49681
am: ea37be51fa

Change-Id: If861132e66fe38aa1a4d4a1c4b011ea444b2e033
2019-09-19 15:01:47 -07: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
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
2c52eb6e27 HIDL test: update for java bitfields in lists am: c861055316
am: 3717558552

Change-Id: I755e3d2483543e46d37179eeb3ed097e71809b5b
2019-09-17 18:16:41 -07: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
f64a5de98d "successful preparation means successful execution" guarantee neglects bad operation inputs am: 29d90d1455
am: 626b2ad612

Change-Id: Ib6b3bfcaf0afae75af6708ab6f2cf6fd8ecbdcd8
2019-09-13 10:59:31 -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
Robert Shih
8afe496239 [automerger skipped] default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE] am: d22f1447fe am: 756f134fcc am: f6e7c9ed25 -s ours am: fe72b76df1 -s ours am: 5cfbc4ba16
am: 7063ed4b46

Change-Id: I1ba4d33ea39a1c8f93e6dc2c19c1d00761d8a07b
2019-09-11 21:43:14 -07:00
Robert Shih
7063ed4b46 [automerger skipped] default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE] am: d22f1447fe am: 756f134fcc am: f6e7c9ed25 -s ours am: fe72b76df1 -s ours
am: 5cfbc4ba16

Change-Id: I73333d50cf52fd9e9a2a429587d78ebc85dd82fe
2019-09-11 21:37:14 -07:00
Robert Shih
103efe8c40 default hidl CryptoPlugin: security fixes am: 1e18883b72 am: 02ef6a6283
am: 4d3b73ee5e

Change-Id: I984dbf4463f731bced310342b5763a14ad0cdc4d
2019-09-11 21:30:09 -07:00
Robert Shih
5cfbc4ba16 [automerger skipped] default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE] am: d22f1447fe am: 756f134fcc am: f6e7c9ed25 -s ours
am: fe72b76df1 -s ours
am skip reason: subject contains skip directive

Change-Id: I29ffdf3a7520a251d28502514f1f5b1ba44520ae
2019-09-11 21:30:08 -07:00
Robert Shih
4d3b73ee5e default hidl CryptoPlugin: security fixes am: 1e18883b72
am: 02ef6a6283

Change-Id: I19a3ea993f954db12008af47d0f14f97962d92fb
2019-09-11 21:23:06 -07:00
Robert Shih
fe72b76df1 [automerger skipped] default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE] am: d22f1447fe am: 756f134fcc
am: f6e7c9ed25 -s ours
am skip reason: subject contains skip directive

Change-Id: I526b0d9b4c77ffcf144788317ff78ec431c97405
2019-09-11 21:23:04 -07:00
Robert Shih
f6e7c9ed25 default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE] am: d22f1447fe
am: 756f134fcc

Change-Id: I4289e38c6eab3e8cac9e489a08f74b3efcf008f9
2019-09-11 21:18:04 -07:00
Robert Shih
756f134fcc default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE]
am: d22f1447fe

Change-Id: I480b83a0c4ffd752637ff5357b30d6f5c1916b4b
2019-09-11 21:10:00 -07:00
Robert Shih
02ef6a6283 default hidl CryptoPlugin: security fixes
am: 1e18883b72

Change-Id: Ifbbc3cf6c827085046259365808d962ad192c55a
2019-09-11 21:09:00 -07:00
Xin Li
5848abafed [automerger skipped] Merge "Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master" into stage-aosp-master
am: 7b2e2fe15c -s ours
am skip reason: change_id Ibbd540dbb5baee46360d3fe9469212cfd8f550ba with SHA1 f7b2330d86 is in history

Change-Id: I0ab1111fb9895f53deacd723e2131c88057e488b
2019-09-11 15:52:39 -07:00
Robert Shih
d22f1447fe default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE]
* reject native handle output for clearkey
* validate subsample sizes

Bug: 137370777
Test: cryptopoc
Change-Id: I2a81f2a00ebf7954b16fb10d2af586ce0da801ed
2019-09-11 22:08:28 +00:00
Robert Shih
1e18883b72 default hidl CryptoPlugin: security fixes
* reject native handle output for clearkey
* validate subsample sizes

Bug: 137370777
Test: cryptopoc
Change-Id: Idf075e1a297fe1ab3ea3e1621806dd46b4a51e35
2019-09-11 22:08:19 +00:00
Xin Li
2697cb4659 [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
am: 15be13ea71 -s ours
am skip reason: change_id Ibbd540dbb5baee46360d3fe9469212cfd8f550ba with SHA1 f7b2330d86 is in history

Change-Id: I530bcab2183ed178f8d6ac596abc63889765f704
2019-09-11 14:04:19 -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
59e0f264f5 Merge "Consolidate NNAPI VTS utility code" am: 71cb010ba3
am: 672607596f

Change-Id: Ia5c2c6af241430e700731b8b2de6f668a7778f76
2019-09-11 12:37:04 -07: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
45cd136049 Remove unused libcrypto dependency. am: 5d81a5814b
am: 84633dea30

Change-Id: I660b0423d97e6402de84be904e0e84c6763518a3
2019-09-10 18:02:04 -07:00
Colin Cross
84633dea30 Remove unused libcrypto dependency.
am: 5d81a5814b

Change-Id: I57e56bcbb1c8cb0e7a437da9694ace9eae981eea
2019-09-10 17:55:35 -07:00
Pawin Vongmasa
0be2a64b31 [automerger skipped] OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740 am: d660d03f7c am: 099b914599 am: d86c5a905a -s ours am: 222d825ea0 -s ours am: 955548eec1 -s ours
am: 84cd010990 -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 a54bf6ed5a is in history

Change-Id: I4bc2c37885f0996c6a9afc8d5b0bd3b9c4ac8e14
2019-09-09 22:11:44 -07:00
Pawin Vongmasa
84cd010990 [automerger skipped] OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740 am: d660d03f7c am: 099b914599 am: d86c5a905a -s ours am: 222d825ea0 -s ours
am: 955548eec1 -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 a54bf6ed5a is in history

Change-Id: I123f0bbd4f2fd3ada053deed69f588cc7132b6b8
2019-09-09 22:04:42 -07:00
Pawin Vongmasa
955548eec1 [automerger skipped] OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740 am: d660d03f7c am: 099b914599 am: d86c5a905a -s ours
am: 222d825ea0 -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 a54bf6ed5a is in history

Change-Id: I4a95fb531f7300d5ab7269165dfcf4d8a37b3c74
2019-09-09 21:58:17 -07:00
Pawin Vongmasa
222d825ea0 [automerger skipped] OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740 am: d660d03f7c am: 099b914599
am: d86c5a905a -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 e27878153c is in history

Change-Id: Ibba3c3f9955530eab60873cc11de51120a1d8136
2019-09-09 21:52:16 -07:00
Pawin Vongmasa
c33f07fd71 [automerger skipped] Merge "OMX VTS: Move device resource files to data/local/tmp" into pie-vts-dev am: 0571e8e8dd am: 493686b38e -s ours am: bdc642a346 -s ours
am: e3d5eefd71 -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 a54bf6ed5a is in history

Change-Id: Ida79381774f8de17f6f6450989eb0aa14324b837
2019-09-09 18:55:47 -07:00
Pawin Vongmasa
e3d5eefd71 [automerger skipped] Merge "OMX VTS: Move device resource files to data/local/tmp" into pie-vts-dev am: 0571e8e8dd am: 493686b38e -s ours
am: bdc642a346 -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 a54bf6ed5a is in history

Change-Id: I17e0c22c3d32ff905890093451705a056908e802
2019-09-09 18:48:46 -07:00
Pawin Vongmasa
bdc642a346 [automerger skipped] Merge "OMX VTS: Move device resource files to data/local/tmp" into pie-vts-dev am: 0571e8e8dd
am: 493686b38e -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 a54bf6ed5a is in history

Change-Id: I69985a36fdf1738a7f621748556c27b720c683e2
2019-09-09 18:41:46 -07:00
Pawin Vongmasa
493686b38e Merge "OMX VTS: Move device resource files to data/local/tmp" into pie-vts-dev
am: 0571e8e8dd

Change-Id: I5de1ac66f949e92dba331526f8b188f4f9740976
2019-09-09 18:34:49 -07:00
Treehugger Robot
0571e8e8dd Merge "OMX VTS: Move device resource files to data/local/tmp" into pie-vts-dev 2019-09-10 00:18:37 +00:00
Pawin Vongmasa
d86c5a905a OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740 am: d660d03f7c
am: 099b914599

Change-Id: I32255d6790be1f66e0c0b92c1a4bc8ff010b485e
2019-09-09 16:56:52 -07:00
Pawin Vongmasa
099b914599 OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740
am: d660d03f7c

Change-Id: Ie39f06d2c162bfad204944a4c45a65950464e672
2019-09-09 16:50:51 -07:00
Pawin Vongmasa
d660d03f7c OMX VTS: Move device resource files to data/local/tmp
am: 8799bcc740

Change-Id: I8023a2690ea6a66b9fa0832307c94df43b3d50ec
2019-09-09 16:42:17 -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
2dc1efc33d Tuner HAL Demux Filter VTS am: 98cf3408af
am: e5e721311d

Change-Id: Ia5ed40be7ea07bf36d2689cd3dd203ddd03296ed
2019-09-09 10:39:17 -07: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
a4d427220f Tuner HAL Filter APIs default implementation am: 481066c7ce
am: f7b2330d86

Change-Id: I6e121e4c66416ecb32b597c77d116353ebda2d3c
2019-09-06 18:54:25 -07:00
Amy
f7b2330d86 Tuner HAL Filter APIs default implementation
am: 481066c7ce

Change-Id: Ibbd540dbb5baee46360d3fe9469212cfd8f550ba
2019-09-06 18:47:24 -07:00
Amy Zhang
42eaeb4824 Merge changes I1f2c9bfe,I38a92abb am: aedfe936ef
am: a843f717c9

Change-Id: Iff0aa535bcc024bb819168fed1f9d3a8f05dae40
2019-09-06 15:56:46 -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