OSDN Git Service

android-x86/hardware-interfaces.git
6 years agoMark diagnostic values as either being numerically equivalent to OBD2 values, or...
Enrico Granata [Thu, 3 Aug 2017 23:52:32 +0000 (16:52 -0700)]
Mark diagnostic values as either being numerically equivalent to OBD2 values, or providing the equivalent OBD2 value

Test: build
Bug: 64024685
Change-Id: I24ef13514a94e10c599605e6970a023168774049

6 years agoUpdate comments for VtsHalTargetTestDefaults.
Tri Vo [Thu, 3 Aug 2017 23:39:02 +0000 (16:39 -0700)]
Update comments for VtsHalTargetTestDefaults.

Bug: 64040096
Test: only comments added
Change-Id: I4a38aa0ed339c65aa4ffbe5c46489f27c745d5d6

6 years agoMerge "VTS tests now static link to HAL def libs." into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 22:57:50 +0000 (22:57 +0000)]
Merge "VTS tests now static link to HAL def libs." into oc-mr1-dev

6 years agoMerge "Add cc_defaults VtsHalTargetTestDefaults" into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 22:29:24 +0000 (22:29 +0000)]
Merge "Add cc_defaults VtsHalTargetTestDefaults" into oc-mr1-dev

6 years agoSkip direct report test if sensor is not available
Peng Xu [Thu, 3 Aug 2017 21:53:35 +0000 (14:53 -0700)]
Skip direct report test if sensor is not available

Skip SensorsHidlTest.*AshmemDirectReportOperation* tests if sensor
is not available on device.

Bug: 64230704
Test: compiles and test pass for a pixel device with mag sensor
      masked in hal.

Change-Id: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6

6 years agoMerge "Fix a typo in one of the OBD2 ignition monitors" into oc-mr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 21:58:52 +0000 (21:58 +0000)]
Merge "Fix a typo in one of the OBD2 ignition monitors" into oc-mr1-dev

6 years agoVTS tests now static link to HAL def libs.
Tri Vo [Tue, 1 Aug 2017 20:14:53 +0000 (13:14 -0700)]
VTS tests now static link to HAL def libs.

And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: compiles
Merged-In: I3cfb1a64f6abcf3145337a736800b72d92a0b152
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
(cherry picked from commit 6c2bd86f70f526d69c3f262250e8e09afb773a21)

6 years agoAdd cc_defaults VtsHalTargetTestDefaults
Tri Vo [Tue, 1 Aug 2017 20:12:35 +0000 (13:12 -0700)]
Add cc_defaults VtsHalTargetTestDefaults

Makes it easier to control how vts tests link to system libs.
Also, removes a lot of redundant lines in test make rules.

Bug: 64040096
Test: compiles
Merged-In: I10796e3fa8f61a307dbb7edace537a96ec83bea7
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7
(cherry picked from commit 0b19836cea7ee60ac370df2bf0500ee049d38256)

6 years agoImplement missing broadcastradio 1.1 VTS tests.
Tomasz Wasilczyk [Mon, 31 Jul 2017 21:28:04 +0000 (14:28 -0700)]
Implement missing broadcastradio 1.1 VTS tests.

Bug: b/36864490
Test: VTS
Change-Id: Iff25fdd65624db09e6667d32108e479d5eee6964

6 years agonfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0 am: 029633dcd0
Ruchi Kandoi [Thu, 3 Aug 2017 19:10:09 +0000 (19:10 +0000)]
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0 am: 029633dcd0
am: 781ce91bcd

Change-Id: I01ff9b7452ce6a2b5b77cb4cd5a67074c7e372b0

6 years agonfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
Ruchi Kandoi [Thu, 3 Aug 2017 19:04:38 +0000 (19:04 +0000)]
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
am: 029633dcd0

Change-Id: I7377ba90f9fe42f3d2880c5c9e6f494203050213

6 years agoMerge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev
Chia-I Wu [Thu, 3 Aug 2017 17:46:34 +0000 (17:46 +0000)]
Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev
am: d1231716d3

Change-Id: I6dae4a4f7e287abd7438ece780cefca2bf19ac39

6 years agoMerge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev
TreeHugger Robot [Thu, 3 Aug 2017 17:35:26 +0000 (17:35 +0000)]
Merge "graphics: ignore/reduce spurious vsync in VTS" into oc-dr1-dev

6 years agoMerge "Linguistic fixes for broadcastradio 1.1 HAL." into oc-mr1-dev
Tomasz Wasilczyk [Thu, 3 Aug 2017 16:54:54 +0000 (16:54 +0000)]
Merge "Linguistic fixes for broadcastradio 1.1 HAL." into oc-mr1-dev

6 years agoMerge "Address Broadcast Radio HAL review notes." into oc-mr1-dev
Tomasz Wasilczyk [Thu, 3 Aug 2017 16:52:31 +0000 (16:52 +0000)]
Merge "Address Broadcast Radio HAL review notes." into oc-mr1-dev

6 years agonfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0
Ruchi Kandoi [Wed, 2 Aug 2017 00:30:17 +0000 (17:30 -0700)]
nfc: NCI 2.0: Add CORE_INIT_CMD for NCI 2.0

Bug: 64245250
Test: run vts test
Change-Id: I4ca434fb1fb44a6278942f020ddd02b162d7f605
(cherry picked from commit c901276e6063e739b742435a161e51978c5f4ec5)

6 years agoUpdate makefiles for vndk enabled.
Steven Moreland [Wed, 26 Jul 2017 01:24:40 +0000 (18:24 -0700)]
Update makefiles for vndk enabled.

Test: none
Bug: 63866913
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb

6 years agoUpdate Android.bp HIDL makefiles
Tri Vo [Wed, 2 Aug 2017 22:19:22 +0000 (15:19 -0700)]
Update Android.bp HIDL makefiles

Allow HAL definition libs to be static.

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104

6 years agoMerge "Update HIDL makefiles." into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 22:31:27 +0000 (22:31 +0000)]
Merge "Update HIDL makefiles." into oc-mr1-dev

6 years agoLinguistic fixes for broadcastradio 1.1 HAL.
Tomasz Wasilczyk [Mon, 31 Jul 2017 22:04:35 +0000 (15:04 -0700)]
Linguistic fixes for broadcastradio 1.1 HAL.

Bug: b/64113304
Test: it builds
Change-Id: I5d5d090a44146e327d7b0f69cc2ba97060f3b515

6 years agoUpdate HIDL makefiles.
Steven Moreland [Wed, 26 Jul 2017 17:14:57 +0000 (10:14 -0700)]
Update HIDL makefiles.

Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
(cherry picked from commit 7206708528e1f0393347719f156ddf0bd0b6249c)

6 years agoAdd OWNERS file to Neuralnetworks VTS test directory
Michael Butler [Wed, 2 Aug 2017 07:21:06 +0000 (00:21 -0700)]
Add OWNERS file to Neuralnetworks VTS test directory

Added all six Neuralnetworks team members and two VTS team members

Bug: 63905942
Bug: 63525563
Test: Not needed
Change-Id: I87a2968af5ceec656e8f392cc0291689e66fef5d

6 years agobug fix: output colorformat configuration fixed
Ram Mohan M [Tue, 4 Jul 2017 13:51:19 +0000 (19:21 +0530)]
bug fix: output colorformat configuration fixed

The eColorFormat field in OMX_PARAM_PORTDEFINITIONTYPE structure
has no effect on the component. This has to be configured from
OMX_VIDEO_PARAM_PORTFORMATTYPE. This is corrected. This color format
information is passed to graphic buffer during its allocation

Bug: 63796949
Change-Id: I51b1e59631647d1291ecfac373781ac5e5a0ffd5

6 years agoMerge "Camera: reset callback after test done" into oc-dev am: 72ff9a1e38 -s ours
Yin-Chia Yeh [Wed, 2 Aug 2017 01:23:38 +0000 (01:23 +0000)]
Merge "Camera: reset callback after test done" into oc-dev am: 72ff9a1e38  -s ours
am: e2f3270db5  -s ours

Change-Id: I1007702b75ad0e0065ee14691a2984afe688fbd5

6 years agoMerge "bug fix: handle OMX_EventBufferFlag events" into oc-mr1-dev
TreeHugger Robot [Wed, 2 Aug 2017 01:22:25 +0000 (01:22 +0000)]
Merge "bug fix: handle OMX_EventBufferFlag events" into oc-mr1-dev

6 years agoMerge "Camera: reset callback after test done" into oc-dev
Yin-Chia Yeh [Wed, 2 Aug 2017 01:19:33 +0000 (01:19 +0000)]
Merge "Camera: reset callback after test done" into oc-dev
am: 72ff9a1e38  -s ours

Change-Id: I4cf59eaf2e9583af574d50f9ddb830eb34e3356d

6 years agoresolve merge conflicts of 345a396c to oc-dr1-dev
sqian [Wed, 2 Aug 2017 01:19:32 +0000 (01:19 +0000)]
resolve merge conflicts of 345a396c to oc-dr1-dev
am: a6e57a9647  -s ours

Change-Id: I20dc609d760162f16780115f3af2c8635662f1b5

6 years agobug fix: android list management in dequeueMsg()
Ram Mohan M [Tue, 1 Aug 2017 10:23:15 +0000 (15:53 +0530)]
bug fix: android list management in dequeueMsg()

1. use erase() to update iterator as it is safer
2. correct abstime (delayUs) for waitRelative() call

Bug: 63796949
Change-Id: I3aece23a6bf4bd33aebfeecd070214911b58c75b

6 years agoFix a typo in one of the OBD2 ignition monitors
Enrico Granata [Tue, 1 Aug 2017 23:58:51 +0000 (16:58 -0700)]
Fix a typo in one of the OBD2 ignition monitors

Test: build
Bug: 64024685
Change-Id: Iab438e53ef71e61a4f58af48171bb0151a602fd6

6 years agoMerge changes from topic 'nnapi_hal_move' into oc-mr1-dev
Michael Butler [Tue, 1 Aug 2017 23:28:18 +0000 (23:28 +0000)]
Merge changes from topic 'nnapi_hal_move' into oc-mr1-dev

* changes:
  Initial VTS tests for Neural Networks HAL.
  Move neuralnetworks HAL to hardware/interfaces

6 years agoAddress Broadcast Radio HAL review notes.
Tomasz Wasilczyk [Tue, 1 Aug 2017 17:52:18 +0000 (10:52 -0700)]
Address Broadcast Radio HAL review notes.

Bug: b/64229617
Test: instrumentation, VTS
Change-Id: I4009b33eaea6df585f514711f22dfb7fec5ad379

6 years agoMerge "Camera: reset callback after test done" into oc-dev
TreeHugger Robot [Tue, 1 Aug 2017 21:40:35 +0000 (21:40 +0000)]
Merge "Camera: reset callback after test done" into oc-dev

6 years agoresolve merge conflicts of 345a396c to oc-dr1-dev
sqian [Tue, 1 Aug 2017 19:21:55 +0000 (12:21 -0700)]
resolve merge conflicts of 345a396c to oc-dr1-dev

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5d816e17b2c8b113d07bf5e827d8c9378af761d9
Merged-In: I5d816e17b2c8b113d07bf5e827d8c9378af761d9

6 years agoUpdate VTS tests so that more tests pass for O.
Sanket Padawe [Tue, 1 Aug 2017 16:53:44 +0000 (09:53 -0700)]
Update VTS tests so that more tests pass for O.

Cherry picked from ag/2562201

Bug: b/62926561
Test: vts tests

Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60

6 years agoMerge "Add owners for radio vts." into oc-mr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 18:05:37 +0000 (18:05 +0000)]
Merge "Add owners for radio vts." into oc-mr1-dev

6 years agoMerge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev
Shuo Qian [Tue, 1 Aug 2017 17:55:32 +0000 (17:55 +0000)]
Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev

6 years agoMerge "Add EMPTY_RECORD for getDeviceIdentity" into oc-mr1-dev
Shuo Qian [Tue, 1 Aug 2017 17:00:06 +0000 (17:00 +0000)]
Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-mr1-dev

6 years agoGuard against racy ComposerClient reconnection
Steven Thomas [Fri, 7 Jul 2017 19:34:20 +0000 (12:34 -0700)]
Guard against racy ComposerClient reconnection

The hardware composer service has a rule that only one client can be
connected at a time. The surface flinger process, when transitioning
composer ownership from surface flinger to vr flinger, will destroy the
current client on one thread and create a new client on another
thread. Although surface flinger ensures that these events happen in the
expected sequence (delete then create), the requests sometimes land in
the hardware composer service in inverted order, causing the creation
request to fail with an error.

Instead of failing with an error, block for a brief period (1 second)
until the existing client is removed, then proceed to initialize the new
client. This gives us enough time to ensure an inverted
creation/destruction order doesn't cause client creation to fail, while
avoiding a deadlock if the existing client is never destroyed.

Bug: 62925812

Test: - Transitioned to/from vr flinger hundreds of times, and confirmed
I no longer see sporadic composer client creation failure due to an
already existing client.

- Ran the vts graphics composer tests and confirmed they all pass.

Change-Id: I40be1fb0cb3d42ddb5a9fc159188886e9f5b6267

6 years agoAdd EMPTY_RECORD for getDeviceIdentity
sqian [Fri, 28 Jul 2017 18:28:27 +0000 (11:28 -0700)]
Add EMPTY_RECORD for getDeviceIdentity

Remove same unit test case with arguments "","0" for:
- sendEnvelope
- sendTerminalResponseToSim
- sendEnvelopeWithStatus

Test: verified by vendor, treehuger
Bug: 62926561
Change-Id: I5f535bdfc5821275a7ea2571d411374e0d7a8822
Merged-In: I5f535bdfc5821275a7ea2571d411374e0d7a8822

6 years agoAdd EMPTY_RECORD for getDeviceIdentity
sqian [Mon, 31 Jul 2017 17:57:14 +0000 (10:57 -0700)]
Add EMPTY_RECORD for getDeviceIdentity

Remove same unit test case with arguments "","0" for:
- sendEnvelope
- sendTerminalResponseToSim
- sendEnvelopeWithStatus

Test: verified by vendor, treehuger
Bug: 62926561
Change-Id: I5f535bdfc5821275a7ea2571d411374e0d7a8822
Merged-In: I5f535bdfc5821275a7ea2571d411374e0d7a8822

6 years agoInitial VTS tests for Neural Networks HAL.
Michael Butler [Sat, 29 Jul 2017 02:53:28 +0000 (19:53 -0700)]
Initial VTS tests for Neural Networks HAL.

This CL has the basic framework for the NNAPI VTS tests with one
positive function test for each HAL function. This CL is being uploaded
now because the NN API HAL files are being moved to hardware/interfaces.

Bug: 63905942
Bug: 63525563
Test: mm -j40
Test: vts-tradefed runs and passes
Change-Id: I8f3d606ec50a6a6d110c89132e6fb89f53f3bf48

6 years agoMerge "Improvements to the documentation for the OBD2 properties" into oc-mr1-dev
TreeHugger Robot [Tue, 1 Aug 2017 00:40:56 +0000 (00:40 +0000)]
Merge "Improvements to the documentation for the OBD2 properties" into oc-mr1-dev

6 years agoMerge "Add corresponding error code to fix vts test" into oc-dev am: 417af3a797 ...
Shuo Qian [Tue, 1 Aug 2017 00:27:53 +0000 (00:27 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dev am: 417af3a797  -s ours
am: ec37054b9e  -s ours

Change-Id: I8f854a94599c2ef407093859da15abd7d12adae9

6 years agoMerge "Add corresponding error code to fix vts test" into oc-dev
Shuo Qian [Tue, 1 Aug 2017 00:25:20 +0000 (00:25 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dev
am: 417af3a797  -s ours

Change-Id: I98205a431af725626f8f692d9b69d4c4c1f6fe5b

6 years agoMerge "Add corresponding error code to fix vts test" into oc-dr1-dev
Shuo Qian [Tue, 1 Aug 2017 00:25:20 +0000 (00:25 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dr1-dev
am: a20caf7720  -s ours

Change-Id: Ia6bc616f91773496324f3e4a4bf3d01551519ff4

6 years agoMerge "Add corresponding error code to fix vts test" into oc-dev
Shuo Qian [Tue, 1 Aug 2017 00:19:48 +0000 (00:19 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dev

6 years agoMerge "Add corresponding error code to fix vts test" into oc-dr1-dev
Shuo Qian [Tue, 1 Aug 2017 00:19:33 +0000 (00:19 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dr1-dev

6 years agoMerge "Audio policy config xsd: add missing gains and address in ports" into oc-dev...
Kevin Rocard [Tue, 1 Aug 2017 00:08:46 +0000 (00:08 +0000)]
Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev am: 90e68d31cf
am: e93e38a91d

Change-Id: I9c1c4929b4edeebd8e3d1173312e07f62ad29fc0

6 years agoMerge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
Kevin Rocard [Tue, 1 Aug 2017 00:05:16 +0000 (00:05 +0000)]
Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
am: 90e68d31cf

Change-Id: I0aa31b2996c8aae97d0b7ba16d9943f47d70a1fe

6 years agoMerge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
TreeHugger Robot [Mon, 31 Jul 2017 23:56:02 +0000 (23:56 +0000)]
Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev

6 years agoMerge "Rename and Redoc VMS HAL defs." into oc-mr1-dev
TreeHugger Robot [Mon, 31 Jul 2017 23:30:13 +0000 (23:30 +0000)]
Merge "Rename and Redoc VMS HAL defs." into oc-mr1-dev

6 years agoAdd owners for radio vts.
Sanket Padawe [Mon, 31 Jul 2017 21:18:09 +0000 (14:18 -0700)]
Add owners for radio vts.

Test: vts
Fix: 64220334
Change-Id: I255d4fd9ed4416254c6897b0f314f65feacb04d6

6 years agoMerge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev
Sohani Rao [Mon, 31 Jul 2017 19:59:30 +0000 (19:59 +0000)]
Merge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev
am: cf43256fa9

Change-Id: I4c6a33f61d9278edc8640564bb151a347f69c17f

6 years agoMerge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev
TreeHugger Robot [Mon, 31 Jul 2017 19:52:44 +0000 (19:52 +0000)]
Merge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev

6 years agoMerge "Add corresponding error code to fix vts test" into oc-mr1-dev
Shuo Qian [Mon, 31 Jul 2017 17:40:52 +0000 (17:40 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-mr1-dev

6 years agoMerge "Refine broadcastradio HAL comments." into oc-mr1-dev
Tomasz Wasilczyk [Mon, 31 Jul 2017 17:12:06 +0000 (17:12 +0000)]
Merge "Refine broadcastradio HAL comments." into oc-mr1-dev

6 years agoRename and Redoc VMS HAL defs.
Asaf Rosenfeld [Thu, 27 Jul 2017 06:30:15 +0000 (23:30 -0700)]
Rename and Redoc VMS HAL defs.

Test: All tests has been adjusted to post review names and pass.
Bug: 64093467
Change-Id: I7b5646b179030b59b87abc23ffe6a2a81e1b74b2

6 years agoMerge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev am...
Emilian Peev [Mon, 31 Jul 2017 16:31:15 +0000 (16:31 +0000)]
Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev am: 456dc6cc86  -s ours
am: 7bf57e857b  -s ours

Change-Id: Icc0eee8c4b944bb09c95eb9842db25f5206dde85

6 years agoMerge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
Emilian Peev [Mon, 31 Jul 2017 16:28:15 +0000 (16:28 +0000)]
Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
am: 456dc6cc86  -s ours

Change-Id: I10d00cc7a42127f5235a97dc72f76e608dfb5fea

6 years agoMerge "Camera: Update stream consumer usage flag" into oc-dr1-dev
Emilian Peev [Mon, 31 Jul 2017 16:28:15 +0000 (16:28 +0000)]
Merge "Camera: Update stream consumer usage flag" into oc-dr1-dev
am: 48e25765d1  -s ours

Change-Id: Ie7acfad590d5069717373f2a79c1cbe5372bee0d

6 years agoMerge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
TreeHugger Robot [Mon, 31 Jul 2017 16:22:23 +0000 (16:22 +0000)]
Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev

6 years agoMerge "Camera: Update stream consumer usage flag" into oc-dr1-dev
TreeHugger Robot [Mon, 31 Jul 2017 16:21:44 +0000 (16:21 +0000)]
Merge "Camera: Update stream consumer usage flag" into oc-dr1-dev

6 years agoCamera: fix various VTS issues am: a0dd95d45d -s ours
Yin-Chia Yeh [Mon, 31 Jul 2017 08:58:46 +0000 (08:58 +0000)]
Camera: fix various VTS issues am: a0dd95d45d  -s ours
am: 63a9a98152  -s ours

Change-Id: I5a30edc586f326874304762b93cb1158ecb4ff5e

6 years agoCamera: fix various VTS issues
Yin-Chia Yeh [Mon, 31 Jul 2017 08:55:46 +0000 (08:55 +0000)]
Camera: fix various VTS issues
am: a0dd95d45d  -s ours

Change-Id: Ib438269494c5c25f1759f7ec016cbca97bec9072

6 years agoNO PARTIAL RERUN Camera: Update stream consumer usage flag
Emilian Peev [Wed, 26 Jul 2017 08:46:38 +0000 (09:46 +0100)]
NO PARTIAL RERUN Camera: Update stream consumer usage flag

It is possible that the current default consumer usage
flag may not be supported by some provider implementations.
Use either HW composer or some other flag that is appropriate
for the specific use case.

Merged-In: I04f89bf67166805191d6d40e5bd93c15ebc97ea6
Bug: 63913159
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I04f89bf67166805191d6d40e5bd93c15ebc97ea6

6 years agoMerge "Camera: Update stream consumer usage flag" into oc-mr1-dev
TreeHugger Robot [Mon, 31 Jul 2017 07:55:04 +0000 (07:55 +0000)]
Merge "Camera: Update stream consumer usage flag" into oc-mr1-dev

6 years agoRefine broadcastradio HAL comments.
Tomasz Wasilczyk [Thu, 27 Jul 2017 17:30:23 +0000 (10:30 -0700)]
Refine broadcastradio HAL comments.

Bug: b/64113304
Test: it builds
Change-Id: I42c1d32dbe436c97f0a05b4fdb88f60f11ceb0a1

6 years agoMake virtual radio space generic, not only FM-exclusive.
Tomasz Wasilczyk [Fri, 28 Jul 2017 17:08:46 +0000 (10:08 -0700)]
Make virtual radio space generic, not only FM-exclusive.

Bug: b/36864090
Test: VTS, instrumentalization
Change-Id: I2764d09f56a397a1b80914a2634d6bad4b3bd3d2

6 years agoRemove a hack for 1.0/1.1 bitmap compatibility.
Tomasz Wasilczyk [Thu, 27 Jul 2017 20:17:07 +0000 (13:17 -0700)]
Remove a hack for 1.0/1.1 bitmap compatibility.

Instead, implement it correctly.
This hack was a quick jury-rigging before O MR1 FC.

Bug: b/36864090
Test: VTS
Change-Id: Ia9caff9228518ec573a85437e9070db777057359

6 years agoImplement closing default radio implementation by invalidating all future calls.
Tomasz Wasilczyk [Tue, 25 Jul 2017 21:55:49 +0000 (14:55 -0700)]
Implement closing default radio implementation by invalidating all future calls.

Also, use the new hidl_vec range constructor.

Bug: b/36864090
Test: VTS
Change-Id: I92a22ab7f263edd39e42abb65bc25b3d3dc33a1e

6 years agoMove neuralnetworks HAL to hardware/interfaces
Michael Butler [Fri, 28 Jul 2017 01:28:20 +0000 (18:28 -0700)]
Move neuralnetworks HAL to hardware/interfaces

The neuralnetworks hal was placed in
frameworks/ml/nn/hardware/interfaces while VTS tests were being
developed.

This CL moves it to hardware/interfaces and another CL removes
it from frameworks/ml/nn/hardware/interfaces.

VTS tests included in a sibling CL in this topic.

Bug: 63905942
Test: mm -j40
Change-Id: I0e6c84de72a763edbaef3e9b3063c3ecca216337

6 years agoRadioV1_1 VTS Tests: startKeepalive, stopKeepalive
Nathan Harold [Sat, 29 Jul 2017 01:03:00 +0000 (01:03 +0000)]
RadioV1_1 VTS Tests: startKeepalive, stopKeepalive
am: 64aae865f0

Change-Id: Ie49223b634fd0260c89b0cb44e762f719311f474

6 years agoUpdate IRadioResponse.hal to add new error codes.
Sanket Padawe [Mon, 24 Jul 2017 21:05:05 +0000 (14:05 -0700)]
Update IRadioResponse.hal to add new error codes.

Bug: 62926561
Test: Only build test as its only doc update.
Change-Id: Ia94aa11a8a4bb8672811158c5daf80a1ae1470da

6 years agoRadioV1_1 VTS Tests: startKeepalive, stopKeepalive
Nathan Harold [Wed, 19 Jul 2017 23:48:44 +0000 (16:48 -0700)]
RadioV1_1 VTS Tests: startKeepalive, stopKeepalive

VTS tests for the initial implementaion of NATT
Keepalive support in the V1_1 HAL.

Bug:63530561
Test: this
Change-Id: Iafabd4b0f8a8f4da78f65bf4061d47f4bfd69a7a

6 years agoImprovements to the documentation for the OBD2 properties
Enrico Granata [Tue, 25 Jul 2017 01:07:04 +0000 (18:07 -0700)]
Improvements to the documentation for the OBD2 properties

Addition of a flag to the configuration for OBD2_FREEZE_FRAME_CLEAR
to indicate support for deletion of individual freeze frames.

Test: build
Bug: 64024685
Change-Id: I43cc448c801a5d59095be03d8056530364860ef5

6 years agoMerge "Rename the enums that are supposed to match OBD2 values to have an Obd2 prefix...
Enrico Granata [Fri, 28 Jul 2017 20:32:22 +0000 (20:32 +0000)]
Merge "Rename the enums that are supposed to match OBD2 values to have an Obd2 prefix Rename the enums that contain a list of sensors and don't directly map to OBD2 to have a Diagnostic prefix" into oc-mr1-dev

6 years agoCamera: fix various VTS issues
Yin-Chia Yeh [Wed, 26 Jul 2017 23:53:20 +0000 (16:53 -0700)]
Camera: fix various VTS issues

Also fix wrong return values for processCaptureRequest in default
wrapper.

Test: running camera VTS
Bug: 64041692
Change-Id: I397390af7c85a776713f6287bef1c4d11c721c9a
Merged-In: I397390af7c85a776713f6287bef1c4d11c721c9a

6 years agoAdd corresponding error code to fix vts test
sqian [Mon, 24 Jul 2017 20:51:24 +0000 (13:51 -0700)]
Add corresponding error code to fix vts test

Test: run vts
Bug: 63152815
Bug: 62989786
Bug: 64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab

6 years agoAdd corresponding error code to fix vts test
sqian [Fri, 28 Jul 2017 19:28:51 +0000 (12:28 -0700)]
Add corresponding error code to fix vts test

Test: run vts
Bug: 63152815
Bug: 62989786
Bug: 64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab

6 years agoMerge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev
Shuo Qian [Fri, 28 Jul 2017 19:20:36 +0000 (19:20 +0000)]
Merge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev
am: e7acb1f8cf

Change-Id: I314af896791d66040133bfc76974dd0a75b838f1

6 years agoMerge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev
Shuo Qian [Fri, 28 Jul 2017 19:15:45 +0000 (19:15 +0000)]
Merge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev

6 years agoBroadcast Radio default implementation: analog forced switch.
Tomasz Wasilczyk [Tue, 25 Jul 2017 17:53:50 +0000 (10:53 -0700)]
Broadcast Radio default implementation: analog forced switch.

Bug: b/36864090
Test: VTS
Change-Id: I2b7bcf2bb3ad7075f39280ab72b32bff5bf166a3

6 years agobug fix: handle OMX_EventBufferFlag events
Ram Mohan M [Thu, 27 Jul 2017 10:20:47 +0000 (15:50 +0530)]
bug fix: handle OMX_EventBufferFlag events

OMX_EventBufferFlag event is sent when the component has processed a buffer
with its EOS flag set. This event is not sent by soft omx components.
Vendor components can send this. From IOMX point of view, this event is
not sent for processing

bug:64102197
Merged-In: I3a978a885b1e4446f82f2356ae677f70ea6f8150
Change-Id: I3a978a885b1e4446f82f2356ae677f70ea6f8150

6 years agoCamera: Update stream consumer usage flag
Emilian Peev [Fri, 28 Jul 2017 09:07:50 +0000 (10:07 +0100)]
Camera: Update stream consumer usage flag

It is possible that the current default consumer usage
flag may not be supported by some provider implementations.
Use either HW composer or some other flag that is appropriate
for the specific use case.

Bug: 63913159
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I04f89bf67166805191d6d40e5bd93c15ebc97ea6

6 years agoMerge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev
Roshan Pius [Fri, 28 Jul 2017 02:51:57 +0000 (02:51 +0000)]
Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev
am: dda74bcf77

Change-Id: I504fe9096b855c6270c50c1e46b4e5ee26b9ea67

6 years agoMerge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 02:47:05 +0000 (02:47 +0000)]
Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev

6 years agoMerge "Camera: fix various VTS issues" into oc-dr1-dev
Yin-Chia Yeh [Thu, 27 Jul 2017 23:17:52 +0000 (23:17 +0000)]
Merge "Camera: fix various VTS issues" into oc-dr1-dev
am: 5311547c05  -s ours

Change-Id: Id7da647c4b3a8e839826e56a0657e03fb3e91d31

6 years agoMerge "Camera: fix various VTS issues" into oc-dr1-dev
Yin-Chia Yeh [Thu, 27 Jul 2017 23:08:56 +0000 (23:08 +0000)]
Merge "Camera: fix various VTS issues" into oc-dr1-dev

6 years agoAudio policy config xsd: add missing gains and address in ports
Kevin Rocard [Thu, 27 Jul 2017 18:41:53 +0000 (11:41 -0700)]
Audio policy config xsd: add missing gains and address in ports

No nexus/pixel device uses port gains and their configuration were taken
as reference for the xsd creation.

Gains in mixPort and devicePort are supported by the code and use by
oem. As a result the xsd should allow them.

For validation of this path, the xsd was run against the example xml in
the audiopolicy source. Several other misalignment were found. They will
be fix in an other patch.

The address is also an optional field that was forgotten for the same
reason.

Bug: b/63827061
Test: -noout xmllint --schema hardware/interfaces/audio/2.0/config/audio_policy_configuration.xsd frameworks/av/services/audiopolicy/config/audio_policy_configuration.xml
Test: the above command fails for some other xml node unrelated to this bug
Test: this is tracked by b/38184704
Change-Id: I8dae15eb85a6a6d43c87aa747daf92a88d3fdcc0
Signed-off-by: Kevin Rocard <krocard@google.com>
6 years agoMerge "Camera: reset callback after test done" into oc-mr1-dev
Yin-Chia Yeh [Thu, 27 Jul 2017 22:09:12 +0000 (22:09 +0000)]
Merge "Camera: reset callback after test done" into oc-mr1-dev

6 years agoMerge "Camera: fix various VTS issues" into oc-mr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 22:04:59 +0000 (22:04 +0000)]
Merge "Camera: fix various VTS issues" into oc-mr1-dev

6 years agoAdd vts test for setCarrierInfoForImsiEncryption
sqian [Thu, 27 Jul 2017 21:59:38 +0000 (14:59 -0700)]
Add vts test for setCarrierInfoForImsiEncryption

Currently there is no implementation for this api by vendor code.
So we should check only for REQUEST_NOT_SUPPPORTED or NONE
as error returned at present.

Test: run vts
Bug: 64073713
Change-Id: I27f544cf6521d2f913f97e1b8f662a05166ddc11

6 years agowifi(hidl): Modify the SAR power levels interface
Roshan Pius [Tue, 25 Jul 2017 15:48:08 +0000 (08:48 -0700)]
wifi(hidl): Modify the SAR power levels interface

Modifying the interface used to lower the tx power level for meeting SAR
requirements based on recommendation from the nexus hardware team. The
previous interface passed in a single power value in dBm for meeting SAR
requirements. However, the SAR requirements are more complex than that.
Based on the connection mode (802.11 a,b,g,n,ac) and the number of
streams that are active (MIMO), the SAR power levels are very
different. Using the previous interface would mean that we will have to
use the lowest power level among all the connection modes to meet the SAR
requirements. This would however result in us lowering the power much
more than needed (~2 dBm) for many connection modes.
Instead, we're switching to a more generic interface where the framework
informs the wifi chip that we're entering a special tx power mode scenario
(today, there is only 1 for voice call). The chip can then lookup the
extensive table of power levels for different connection modes which are
pre-populated by the OEM's in the BDF file to set the power level (depending
on the scenario framework sends and the active connection mode).

Bug: 62437848
Test: Manual tests
Change-Id: I5ee3f0d2c130958dbeb352e3b5ad9407f432624f

6 years agoMerge "Camera: add camera owners" into oc-mr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 20:51:42 +0000 (20:51 +0000)]
Merge "Camera: add camera owners" into oc-mr1-dev

6 years agoAdd corresponding error code to fix vts test
sqian [Mon, 24 Jul 2017 21:05:29 +0000 (14:05 -0700)]
Add corresponding error code to fix vts test

Test: run vts
Bug: 63152815
Bug: 62989786
Bug: 64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab

6 years agoMerge "Fix remaining broadcastradio 1.1 VTS TODOs." into oc-mr1-dev
Tomasz Wasilczyk [Thu, 27 Jul 2017 19:59:01 +0000 (19:59 +0000)]
Merge "Fix remaining broadcastradio 1.1 VTS TODOs." into oc-mr1-dev

6 years agoCamera: fix various VTS issues
Yin-Chia Yeh [Wed, 26 Jul 2017 23:53:20 +0000 (16:53 -0700)]
Camera: fix various VTS issues

Also fix wrong return values for processCaptureRequest in default
wrapper.

Test: running camera VTS
Bug: 64041692
Change-Id: I397390af7c85a776713f6287bef1c4d11c721c9a
Merged-In: I397390af7c85a776713f6287bef1c4d11c721c9a

6 years agoCamera: fix various VTS issues
Yin-Chia Yeh [Thu, 27 Jul 2017 18:36:44 +0000 (11:36 -0700)]
Camera: fix various VTS issues

Also fix wrong return values for processCaptureRequest in default
wrapper.

Test: running camera VTS
Bug: 64041692
Change-Id: I397390af7c85a776713f6287bef1c4d11c721c9a

6 years agoCamera: add camera owners
Yin-Chia Yeh [Tue, 25 Jul 2017 19:54:35 +0000 (12:54 -0700)]
Camera: add camera owners

Test: none
Change-Id: I1a221feea480139d78c9b10dcd6c7c88955901bd
Merged-In: I1a221feea480139d78c9b10dcd6c7c88955901bd
(cherry picked from commit 14a5810a2ef2bd0373ebff129902302f3f959920)

6 years agoMerge "Camera: reset callback after test done" into oc-dr1-dev
Yin-Chia Yeh [Thu, 27 Jul 2017 01:15:25 +0000 (01:15 +0000)]
Merge "Camera: reset callback after test done" into oc-dr1-dev
am: eba1407b55  -s ours

Change-Id: Ia0b6863fa82f33d03903f6e17739f8ad339246c5