Commit graph

7421 commits

Author SHA1 Message Date
I-Jui (Ray) Sung
7a260bfe8b Test harness for generated tests
am: 2c4e1368e1

Change-Id: I09b70e6439904eb938639f4b2116d7ce707b1293
2017-09-13 20:07:51 +00:00
Treehugger Robot
1b08076ad5 Merge "Interface for hidl forward reference test" 2017-09-13 19:59:05 +00:00
Michael Butler
ca49e42532 Merge "Neuralnetworks HAL cleanup -- hardware/interfaces" into oc-mr1-dev
am: 7f750943fe

Change-Id: I82984896ef174949de6a60f887e9c8a614b06463
2017-09-13 19:44:01 +00:00
Nathan Harold
ee35809840 Merge "Fix docstrings for RIL_CellIdentity" into oc-mr1-dev
am: 2de5e5d01a

Change-Id: I78509bf9573f0d898cf0b3658ceec960e96ed466
2017-09-13 19:43:14 +00:00
Michael Butler
c97678a142 Merge "Make prepareModel asynchronous." into oc-mr1-dev
am: 7621f6f5ed

Change-Id: I60f0d1582ee54ae41d8ddcbf89d5a44a2a410eda
2017-09-13 19:42:20 +00:00
David Gross
a7cdb30b19 Move OEM codes out of NeuralNetworks.h to new file NeuralNetworksOEM.h.
Also remove FAKE_QUANT operation.

Bug: 63905942
Test: nn/runtime/tests, vts

Change-Id: Icfb5e7dbb9c2cca6e719ec2ab6344dbe5d95c86b
2017-09-13 12:31:33 -07:00
Zhuoyao Zhang
754d21772a Merge "Update build for test hal: libhwbinder" 2017-09-13 16:58:17 +00:00
Tomasz Wasilczyk
7c353e9dd8 Merge "Adjust AM/FM region ranges." into oc-mr1-dev 2017-09-13 15:36:09 +00:00
Jeff Vander Stoep
7adaf002be Allow clock_gettime syscall for logging
Addresses:
__kernel_clock_gettime" access failed.

The call flow is as follow:
"configstore -> hidltransport.tryShortenProcessName -> ALOGI ->
__android_log_print -> logdOpen -> netdClientConnect -> clock_gettime".

Bug: 65611466
Test: build and boot sailfish
Change-Id: I9e12c3a0969a7fe67c017d70f39a85792cf10bae
2017-09-13 07:54:45 -07:00
Peng Xu
a7aea2d0f9 Merge "Sensor direct report test - gralloc support" am: b7841f02e2 am: 4ff424ce6c am: 4fb2a83d2c
am: 26db75df1b  -s ours

Change-Id: I2c3ef7b3049da504c5ccac215f0331f8a898f0a8
2017-09-13 09:43:44 +00:00
I-Jui (Ray) Sung
2c4e1368e1 Test harness for generated tests
Created initial test harness for test models and examples from
NNAPI test generator in VtsHalNeuralnetworksV1_0TargetTest. As
an example, also added a test generated from test spec at
frameworks/ml/nn/tools/test_generator/tests/P_vts_full/.

Generated model setup code and examples are from:
frameworks/ml/nn/runtime/test/generated/examples and
frameworks/ml/nn/runtime/test/generated/vts_models respectively.

Bug: 63905942
Bug: 63525563
Test: VtsHalNeuralnetworksV1_0TargetTest with sample driver enabled
      by cherry-pick

Change-Id: Ief029eed9718c8724ef0b64fc6a7f6b9a7bc7b7b
2017-09-13 08:02:05 +00:00
Michael Butler
7f750943fe Merge "Neuralnetworks HAL cleanup -- hardware/interfaces" into oc-mr1-dev 2017-09-13 07:29:43 +00:00
Michael Butler
61ae6edbe6 Neuralnetworks HAL cleanup -- hardware/interfaces
Does three primary cleanups:
1) Removes unused OperandTypes, creates OEM types
2) Creates explicit ErrorStatus; functions return status
3) IDevice::initialize renamed to getCapabilities,
   IDevice::getSupportedSubgraph renamed to getSupportedOperations

Additionally fixes the corresponding VTS tests.

Bug: 63905942
Test: mm, vts
Change-Id: Ib4c61b9b13963ac2367f21dc3c20e5946eb955a9
2017-09-12 22:32:25 -07:00
Timur Iskhakov
67753ea3d7 Interface for hidl forward reference test
Test proofs that forward reference can now be used.
Test contains trie implementation and some forward reference examples.

Bug: 31827278

Test: hidl_test

Change-Id: I55cdde500baea3e70ebf4466c681ad652b6ff9fd
2017-09-12 17:41:13 -07:00
Yin-Chia Yeh
6550022dba Camera: synchronize access to mMemoryMap
Test: stress test on partner device
Bug: 64831570
Change-Id: Ib9ece2f876ccb309c4f1bb8f90242a3e91081f47
2017-09-12 16:35:29 -07:00
Nathan Harold
2de5e5d01a Merge "Fix docstrings for RIL_CellIdentity" into oc-mr1-dev 2017-09-12 22:51:10 +00:00
Peng Xu
26db75df1b Merge "Sensor direct report test - gralloc support" am: b7841f02e2 am: 4ff424ce6c
am: 4fb2a83d2c

Change-Id: I1d00e2b7df13c71dfec62d420b0ceed3195ff774
2017-09-12 22:22:20 +00:00
Zhuoyao Zhang
d2e1850a46 Update build for test hal: libhwbinder
* Use cc_default to extract common build rules.
* Static link android.hardware.tests.libhwbinder@1.0 to the impl lib.

Bug: 65483634
Test: make vts
      vts-tradefed run vts-performance

Change-Id: Ia6fc6593e3f833c1a7de91f817fb684280a8b555
2017-09-12 14:51:52 -07:00
Peng Xu
4fb2a83d2c Merge "Sensor direct report test - gralloc support" am: b7841f02e2
am: 4ff424ce6c

Change-Id: If9a7d6b4f11d0ccefde26246747e40192db908bc
2017-09-12 20:19:50 +00:00
Peng Xu
4ff424ce6c Merge "Sensor direct report test - gralloc support"
am: b7841f02e2

Change-Id: I815c61af5b807fd9a8ebd9d7ccf2842a60f1a1f6
2017-09-12 20:09:59 +00:00
Tomasz Wasilczyk
ab70ddf2eb Adjust AM/FM region ranges.
Bug: 64541927
Test: instrumentation
Change-Id: I34ea5b0b426f0c0c73d1cbc2d64cb67e2d4b7bd6
2017-09-12 11:57:09 -07:00
Michael Butler
7621f6f5ed Merge "Make prepareModel asynchronous." into oc-mr1-dev 2017-09-12 18:41:00 +00:00
Peng Xu
b7841f02e2 Merge "Sensor direct report test - gralloc support" 2017-09-12 18:06:24 +00:00
Nathan Harold
8d2d747e9e Fix docstrings for RIL_CellIdentity
Update the documentation to match the current
CTS requirements for Cell Identity reporting
-For LTE, WCDMA, and GSM require that the channel
 number be reported.
-For LTE and WCDMA, require that the correct
 physical channel identifier be reported. Note that
 due to b/32774471 we still cannot require BSIC
 to be reported.

Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
2017-09-12 10:17:53 -07:00
Ahmed ElArabawy
ed8227c738 Merge "Remove default implementation for PowerHal 1.1" into oc-mr1-dev am: 3822ffb138
am: 7bbd5e606f  -s ours

Change-Id: I6143852ccde302bb1ce651f8b5e8415a043d7d6f
2017-09-12 17:00:34 +00:00
Ahmed ElArabawy
7bbd5e606f Merge "Remove default implementation for PowerHal 1.1" into oc-mr1-dev
am: 3822ffb138

Change-Id: Ia168f1165f27dad0221abbcb83ed4e7b1079d471
2017-09-12 16:57:07 +00:00
TreeHugger Robot
3822ffb138 Merge "Remove default implementation for PowerHal 1.1" into oc-mr1-dev 2017-09-12 16:51:33 +00:00
Shawn Willden
f4957cce5b Merge "Don't send more than 2K to addRngEntropy" into oc-dev am: 7eeb6b5079 am: 35e1be70b4 am: cb6c717104
am: 33f4df697c

Change-Id: I8a50f27cf67412e54880f6fb5eac10356138cb6f
2017-09-12 16:42:12 +00:00
Shawn Willden
698946eb34 Merge "Don't send more than 2K to addRngEntropy" into oc-dev am: 7eeb6b5079 am: 35e1be70b4 am: 64978d763d
am: b4766e598b

Change-Id: I58f72f73fbca2274a2d8f726bf5ed50438c992f8
2017-09-12 16:41:53 +00:00
Shawn Willden
33f4df697c Merge "Don't send more than 2K to addRngEntropy" into oc-dev am: 7eeb6b5079 am: 35e1be70b4
am: cb6c717104

Change-Id: I560fa783255e83454fb0e32861ca26f7f79b8a3d
2017-09-12 16:39:02 +00:00
Shawn Willden
b4766e598b Merge "Don't send more than 2K to addRngEntropy" into oc-dev am: 7eeb6b5079 am: 35e1be70b4
am: 64978d763d

Change-Id: I9e3f621fb66a357d7f81975bd7fe14ab79e07013
2017-09-12 16:37:22 +00:00
Shawn Willden
64978d763d Merge "Don't send more than 2K to addRngEntropy" into oc-dev am: 7eeb6b5079
am: 35e1be70b4

Change-Id: Ic1b7023117d6531da2f535a6b6cb145a228259bf
2017-09-12 16:34:52 +00:00
Shawn Willden
cb6c717104 Merge "Don't send more than 2K to addRngEntropy" into oc-dev am: 7eeb6b5079
am: 35e1be70b4

Change-Id: I626faecd254e3e543308143cfe69d1393e1f9267
2017-09-12 16:34:52 +00:00
Shawn Willden
35e1be70b4 Merge "Don't send more than 2K to addRngEntropy" into oc-dev
am: 7eeb6b5079

Change-Id: Id0ee0e3f22ee4f2d2b730054043d28c01ac19c6f
2017-09-12 16:31:32 +00:00
TreeHugger Robot
7eeb6b5079 Merge "Don't send more than 2K to addRngEntropy" into oc-dev 2017-09-12 16:28:44 +00:00
Ahmed ElArabawy
4497a5fe33 Remove default implementation for PowerHal 1.1
Default implementation in powerHAL 1.1 is not used by any device
Devices using powerHal 1.1 have their own implementation in their
device/<vendor>/<devicename> while older devices don't use 1.1 at all.
This CL removes the default implementation for the PowerHAL 1.1

Bug: 65453628
Test: Build successfully (code not used anyway)
Merged-In: I695348683c6e2e504a523897082543274dc239aa

Change-Id: I695348683c6e2e504a523897082543274dc239aa
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2017-09-12 16:05:50 +00:00
Shawn Willden
b5048b4d0b Merge "Merge "Reduce max keymaster message size to 2K" into oc-dev am: 42d61ce03a am: ac06f7576e am: e5266362e9" into oc-mr1-dev-plus-aosp
am: d6cb9a969b

Change-Id: If557073a55d5464ec8347471fdd108264a3df983
2017-09-12 07:00:08 +00:00
Shawn Willden
151a6b5179 Merge "Reduce max keymaster message size to 2K" into oc-dev am: 42d61ce03a am: ac06f7576e am: 859db2ba9e
am: cbbb5b2e9d

Change-Id: I999f6841d8e88980d622a0c5726fda7e98fc357c
2017-09-12 06:59:47 +00:00
Android Build Merger (Role)
d6cb9a969b Merge "Merge "Reduce max keymaster message size to 2K" into oc-dev am: 42d61ce03a am: ac06f7576e am: e5266362e9" into oc-mr1-dev-plus-aosp 2017-09-12 06:56:36 +00:00
Shawn Willden
5f3f34910c Merge "Reduce max keymaster message size to 2K" into oc-dev am: 42d61ce03a am: ac06f7576e
am: e5266362e9

Change-Id: I8d6b8a288a4fb906adad78c056e4a3b066110da6
2017-09-12 06:56:24 +00:00
Shawn Willden
cbbb5b2e9d Merge "Reduce max keymaster message size to 2K" into oc-dev am: 42d61ce03a am: ac06f7576e
am: 859db2ba9e

Change-Id: I5fac1f89c6eed68e803a7887a51efd027f342cef
2017-09-12 06:56:17 +00:00
Shawn Willden
859db2ba9e Merge "Reduce max keymaster message size to 2K" into oc-dev am: 42d61ce03a
am: ac06f7576e

Change-Id: I219c56653ec9051d35a4c7c8f012c9c06e555881
2017-09-12 06:53:16 +00:00
Shawn Willden
e5266362e9 Merge "Reduce max keymaster message size to 2K" into oc-dev am: 42d61ce03a
am: ac06f7576e

Change-Id: Ib6e0f30a2ca4d6b075bdc4c232cbf47c6febc82e
2017-09-12 06:53:16 +00:00
Shawn Willden
ac06f7576e Merge "Reduce max keymaster message size to 2K" into oc-dev
am: 42d61ce03a

Change-Id: Ia2915bb4305268e5048689ef3e4cf6cf9793d483
2017-09-12 06:50:47 +00:00
TreeHugger Robot
42d61ce03a Merge "Reduce max keymaster message size to 2K" into oc-dev 2017-09-12 06:46:22 +00:00
TreeHugger Robot
6f53db667b Merge "Add 'vendor.' prefix to a vendor HAL service name" 2017-09-12 06:34:56 +00:00
Michael Butler
e9dc1674f0 Make prepareModel asynchronous.
Updated the corresponding VTS tests.

Bug: 63905942
Test: mm, vts
Change-Id: Ie520af845f491dbdd93ea66fd643d77cfb4703f7
2017-09-11 23:17:21 -07:00
David Gross
0fc542ca3c Merge "Fix bug in the way an Event handles a bound thread." into oc-mr1-dev am: 2b395216c3
am: 02d85f977d

Change-Id: If88aa7b2e0a137925c31d3ca6325415689a56f43
2017-09-12 04:10:11 +00:00
David Gross
02d85f977d Merge "Fix bug in the way an Event handles a bound thread." into oc-mr1-dev
am: 2b395216c3

Change-Id: I03d19bae08fe09da29d27e6297b443d07ee970e2
2017-09-12 04:07:33 +00:00
David Gross
2b395216c3 Merge "Fix bug in the way an Event handles a bound thread." into oc-mr1-dev 2017-09-12 04:02:53 +00:00