OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
Ruchi Kandoi [Mon, 19 Jun 2017 16:39:03 +0000 (16:39 +0000)]
Merge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
am: 55f3ddf53b

Change-Id: I206c37983b9508aff0424cd01ba1b0c08c5584a1

7 years agoMerge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
Ruchi Kandoi [Mon, 19 Jun 2017 16:33:33 +0000 (16:33 +0000)]
Merge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev

7 years agoMerge "Include missing headers" am: 1bbe51d0b5
Bailey Forrest [Sat, 17 Jun 2017 00:22:10 +0000 (00:22 +0000)]
Merge "Include missing headers" am: 1bbe51d0b5
am: 9cf1bbb045

Change-Id: I37f592401697c92115eea0ca33eea4170f549712

7 years agoMerge "Include missing headers"
Bailey Forrest [Sat, 17 Jun 2017 00:15:09 +0000 (00:15 +0000)]
Merge "Include missing headers"
am: 1bbe51d0b5

Change-Id: I7e859a2afadd4c5221f07901fdff0d9715e0d285

7 years agoMerge "Include missing headers"
Treehugger Robot [Sat, 17 Jun 2017 00:09:20 +0000 (00:09 +0000)]
Merge "Include missing headers"

7 years agoMerge "Radio Keepalive HAL" am: 95f0176afa
nharold [Fri, 16 Jun 2017 22:43:33 +0000 (22:43 +0000)]
Merge "Radio Keepalive HAL" am: 95f0176afa
am: 3ed4ff9c74

Change-Id: Ie749848ad85b1d35b94f0bd02771dad684117005

7 years agoMerge "Radio Keepalive HAL"
nharold [Fri, 16 Jun 2017 22:41:35 +0000 (22:41 +0000)]
Merge "Radio Keepalive HAL"
am: 95f0176afa

Change-Id: I034a6028efeedcccf94aaefb0a970a8384ae85ae

7 years agoMerge "Radio Keepalive HAL"
nharold [Fri, 16 Jun 2017 22:37:19 +0000 (22:37 +0000)]
Merge "Radio Keepalive HAL"

7 years agoNfc: Vts: modify WriteInvalidAndThenValidCommand am: a915c5a240
Ruchi Kandoi [Fri, 16 Jun 2017 22:35:58 +0000 (22:35 +0000)]
Nfc: Vts: modify WriteInvalidAndThenValidCommand am: a915c5a240
am: fe5dd5731e

Change-Id: I9721de547efb1c3017bb014f6932f1c9c873e9f8

7 years agoNfc: Vts: modify WriteInvalidAndThenValidCommand
Ruchi Kandoi [Fri, 16 Jun 2017 22:33:57 +0000 (22:33 +0000)]
Nfc: Vts: modify WriteInvalidAndThenValidCommand
am: a915c5a240

Change-Id: I4cbaebb15af6c7df3e145b8340936bb43c332468

7 years agoNfc: Vts: modify WriteInvalidAndThenValidCommand
Ruchi Kandoi [Thu, 15 Jun 2017 20:22:51 +0000 (13:22 -0700)]
Nfc: Vts: modify WriteInvalidAndThenValidCommand

Invalid Data packets are ignored by the NFC controller in case there
isn't an active RF Interface. The test expects response for the invalid
data packet without any active RF Interface. This patch modifies the
test to send an invalid command instead which will guarantee a response.

Test: run vts test
Bug: 62400568
Change-Id: I7db1d5209b6ef2240ac248f3aba0e27e0a285018
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoNfc: Vts: modify WriteInvalidAndThenValidCommand
Ruchi Kandoi [Thu, 15 Jun 2017 20:22:51 +0000 (13:22 -0700)]
Nfc: Vts: modify WriteInvalidAndThenValidCommand

Invalid Data packets are ignored by the NFC controller in case there
isn't an active RF Interface. The test expects response for the invalid
data packet without any active RF Interface. This patch modifies the
test to send an invalid command instead which will guarantee a response.

Test: run vts test
Bug: 62400568
Change-Id: I7db1d5209b6ef2240ac248f3aba0e27e0a285018
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
(cherry picked from commit c86df4dcb74224ea7befc2cb610e43d0df6814ae)

7 years agoMerge "Camera: fix camera_metadata address expectation" into oc-dev
Yin-Chia Yeh [Fri, 16 Jun 2017 19:40:12 +0000 (19:40 +0000)]
Merge "Camera: fix camera_metadata address expectation" into oc-dev
am: e812feb56f

Change-Id: I9142f4bb7a55f9c1e6547a038b21f7cbb4e5adba

7 years agoMerge "Camera: fix camera_metadata address expectation" into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 19:22:04 +0000 (19:22 +0000)]
Merge "Camera: fix camera_metadata address expectation" into oc-dev

7 years agoMerge "Support NCI 2.0 for NFC VTS" am: 7b62681f43
Ruchi Kandoi [Fri, 16 Jun 2017 00:13:16 +0000 (00:13 +0000)]
Merge "Support NCI 2.0 for NFC VTS" am: 7b62681f43
am: 8f517e1e56

Change-Id: I7835d8d3213f031b115e838d1e0f819069251ca2

7 years agoMerge "Support NCI 2.0 for NFC VTS"
Ruchi Kandoi [Fri, 16 Jun 2017 00:09:45 +0000 (00:09 +0000)]
Merge "Support NCI 2.0 for NFC VTS"
am: 7b62681f43

Change-Id: Ic46b40b4e9cb053ea9bb8af7a0bbdfe79fdb1a17

7 years agoMerge "Support NCI 2.0 for NFC VTS"
Treehugger Robot [Fri, 16 Jun 2017 00:02:13 +0000 (00:02 +0000)]
Merge "Support NCI 2.0 for NFC VTS"

7 years agoMerge "Support NCI 2.0 for NFC VTS" into oc-dev
Ruchi Kandoi [Thu, 15 Jun 2017 23:06:10 +0000 (23:06 +0000)]
Merge "Support NCI 2.0 for NFC VTS" into oc-dev
am: 5ed63181a9

Change-Id: Ibf9ee2479402f9d2f76d3cdd936ab52df39b3538

7 years agoMerge "Support NCI 2.0 for NFC VTS" into oc-dev
Ruchi Kandoi [Thu, 15 Jun 2017 22:59:23 +0000 (22:59 +0000)]
Merge "Support NCI 2.0 for NFC VTS" into oc-dev

7 years agoCamera: fix camera_metadata address expectation
Yin-Chia Yeh [Thu, 15 Jun 2017 00:29:47 +0000 (17:29 -0700)]
Camera: fix camera_metadata address expectation

On 32bits architecture, binder driver might allocate
non-8 bytes aligned buffers.

Test: compile (problem not reproducible on 64bit SOCs)
Bug: 62637461
Change-Id: I8ef2b3ecba783a8d189ebe18733082d32cff4899

7 years agoRadio Keepalive HAL
Nathan Harold [Thu, 25 May 2017 02:42:40 +0000 (19:42 -0700)]
Radio Keepalive HAL

This adds support for offloading of keepalive packets
to the radio for reduced power consumption.

Bug: 33277538
Test: none
Change-Id: I8e8a841e25f18afeae07f70024c698efa58263e2

7 years agoMerge "Add OWNERS in hardware/interfaces" am: 37e00854d9
Chih-hung Hsieh [Wed, 14 Jun 2017 22:32:59 +0000 (22:32 +0000)]
Merge "Add OWNERS in hardware/interfaces" am: 37e00854d9
am: e79bededad

Change-Id: Icd80852815f954e839702753fa8288b476df9d05

7 years agoMerge "Add OWNERS in hardware/interfaces"
Chih-hung Hsieh [Wed, 14 Jun 2017 22:30:29 +0000 (22:30 +0000)]
Merge "Add OWNERS in hardware/interfaces"
am: 37e00854d9

Change-Id: I3574e1f347368d146812cd86116dbaa85e216e97

7 years agoMerge "Add OWNERS in hardware/interfaces"
Chih-hung Hsieh [Wed, 14 Jun 2017 22:25:55 +0000 (22:25 +0000)]
Merge "Add OWNERS in hardware/interfaces"

7 years agoMerge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
Janis Danisevskis [Wed, 14 Jun 2017 02:32:40 +0000 (02:32 +0000)]
Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
am: bc970b089f

Change-Id: Id40754b5761b2acca8a487d33a4479c3d9fb0c33

7 years agoMerge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 02:22:13 +0000 (02:22 +0000)]
Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev

7 years agoMerge "Fixed flaky RenderScript VTS Test" into oc-dev
Michael Butler [Wed, 14 Jun 2017 01:33:36 +0000 (01:33 +0000)]
Merge "Fixed flaky RenderScript VTS Test" into oc-dev
am: d8e99f75cb

Change-Id: Iedc4ce15dcfec27da4e1b4df5057fd5ab3f8fcc2

7 years agoMerge "Fixed flaky RenderScript VTS Test" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 01:26:29 +0000 (01:26 +0000)]
Merge "Fixed flaky RenderScript VTS Test" into oc-dev

7 years agoRadio Interface changes to allow the modem to query the framework for the key. am...
pkanwar [Tue, 13 Jun 2017 20:38:53 +0000 (20:38 +0000)]
Radio Interface changes to allow the modem to query the framework for the key. am: 1076d5ba87
am: fd603f9274

Change-Id: Ib6bdb9102b9271329c29f6f5caf48a7d1a51b584

7 years agoRadio Interface changes to allow the modem to query the framework for the key.
pkanwar [Tue, 13 Jun 2017 20:30:45 +0000 (20:30 +0000)]
Radio Interface changes to allow the modem to query the framework for the key.
am: 1076d5ba87

Change-Id: I7191109616d9fb51e2aac762f9685c91782f9f6b

7 years agoPurge unsupported RSA key sizes from VTS tests
Janis Danisevskis [Tue, 6 Jun 2017 17:11:07 +0000 (10:11 -0700)]
Purge unsupported RSA key sizes from VTS tests

Support for 256 bit RSA keys are not mandated by keymaster specs and
must not be used in the VTS tests.

Bug: 62581389
Change-Id: If315088db2752ac2efe31fdb95db7ca13c3ce225

7 years agoFixed flaky RenderScript VTS Test
Michael Butler [Tue, 23 May 2017 00:01:24 +0000 (17:01 -0700)]
Fixed flaky RenderScript VTS Test

Added missing synchronization before context destroy

Bug: 62535730
Bug: 38385848
Test: make vts, does not fail with multiple tests
Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc
(cherry picked from commit 076f69aa2bc2301e3c93150503d469c02ed2458c)

7 years agoSupport NCI 2.0 for NFC VTS
Ruchi Kandoi [Thu, 8 Jun 2017 17:27:08 +0000 (10:27 -0700)]
Support NCI 2.0 for NFC VTS

Bug: 62322170
Test: Run vts test
Change-Id: I7ed331dac9d5918675c091620f099b6250e20700
(cherry picked from commit ff8068d160b642c757f29ee56540dff0af468fe7)

7 years agoInclude missing headers
Bailey Forrest [Mon, 12 Jun 2017 23:49:18 +0000 (16:49 -0700)]
Include missing headers

Bug: None
Test: Build
Change-Id: Id4967af4ab48ceda10c45edcb0bc4b856b991fd6

7 years agoSupport NCI 2.0 for NFC VTS
Ruchi Kandoi [Thu, 8 Jun 2017 17:27:08 +0000 (10:27 -0700)]
Support NCI 2.0 for NFC VTS

Bug: 62322170
Test: Run vts test
Change-Id: I7ed331dac9d5918675c091620f099b6250e20700

7 years agoMerge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
Myles Watson [Mon, 12 Jun 2017 22:58:37 +0000 (22:58 +0000)]
Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
am: 32ee110269

Change-Id: Ife84ad26372c42607ba34170d3ebbc7acc79c648

7 years agoMerge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
TreeHugger Robot [Mon, 12 Jun 2017 22:50:33 +0000 (22:50 +0000)]
Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev

7 years agoRadio Interface changes to allow the modem to query the framework
pkanwar [Sun, 21 May 2017 17:22:02 +0000 (10:22 -0700)]
Radio Interface changes to allow the modem to query the framework
for the key.

We will now pass the ImsiEncryptionInfo object which includes mnc/mcc.
BUG: 35606429
Test: manual

Change-Id: Iae18382f1f244be6a756a47753f0345e1925ca4a

7 years agoAdd OWNERS in hardware/interfaces
Chih-Hung Hsieh [Mon, 12 Jun 2017 19:18:07 +0000 (12:18 -0700)]
Add OWNERS in hardware/interfaces

* Owners are selected from top CL approvals or owners.
  They will be suggested to review/approve future CLs.
* OWNERS files are recognized by the new find-owners plugin, see .md files in
  https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/

Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I6df752a2c803d956ab9f21cfce3aa07713cd91a5

7 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Mon, 12 Jun 2017 04:48:29 +0000 (04:48 +0000)]
Merge "Fix vts tests:" into oc-dev
am: 14b34e19d6

Change-Id: Ib2f1a77ece04254a73cdd69c9a46206593c5d4a9

7 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Mon, 12 Jun 2017 04:44:15 +0000 (04:44 +0000)]
Merge "Fix vts tests:" into oc-dev

7 years agoIncrease Timeout for dequeue message
Ram Mohan M [Sat, 10 Jun 2017 05:19:54 +0000 (05:19 +0000)]
Increase Timeout for dequeue message
am: 4e39ff9235

Change-Id: If484fa82b3215380f17057e5cadbb6fb42685f81

7 years agoIncrease Timeout for dequeue message
Ram Mohan M [Sat, 10 Jun 2017 02:55:39 +0000 (08:25 +0530)]
Increase Timeout for dequeue message

In vp9 encoder component, the callback responses are being recevied
after timeout. This is seen only in vp9. Even when no buffer processing
is done, Flush test, state transitions test fail due to slow responses.
This behavior is not seen in other components. This requires deeper
understanding of what is main culprit. But for now increase the timeout

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I08abfefcf0cb38d312a4a2dc10908e24f88c54fd

7 years agoMerge "bug fix: fix encoder input port configuration issues" into oc-dev
Ram Mohan M [Sat, 10 Jun 2017 01:28:45 +0000 (01:28 +0000)]
Merge "bug fix: fix encoder input port configuration issues" into oc-dev
am: 7d1592a732

Change-Id: I82164b85e4ad3d2a3f363c14526fb3645ec47397

7 years agoMerge "bug fix: configure input port format before setInputSurface" into oc-dev
Ram Mohan M [Sat, 10 Jun 2017 01:28:41 +0000 (01:28 +0000)]
Merge "bug fix: configure input port format before setInputSurface" into oc-dev
am: bd5b6f8535

Change-Id: Ic894f1553d826ab1887535e2e70dfce889e715e6

7 years agochoose input color format between 420p, 420sp
Ram Mohan M [Sat, 10 Jun 2017 01:28:36 +0000 (01:28 +0000)]
choose input color format between 420p, 420sp
am: 1d273b3bcf

Change-Id: I6ffeed6b9bba24936e446efb2c508338180c04b9

7 years agoMerge "bug fix: fix encoder input port configuration issues" into oc-dev
TreeHugger Robot [Sat, 10 Jun 2017 01:23:28 +0000 (01:23 +0000)]
Merge "bug fix: fix encoder input port configuration issues" into oc-dev

7 years agoMerge "bug fix: configure input port format before setInputSurface" into oc-dev
TreeHugger Robot [Sat, 10 Jun 2017 01:23:28 +0000 (01:23 +0000)]
Merge "bug fix: configure input port format before setInputSurface" into oc-dev

7 years agoBluetooth: Call vendor cleanup() in Close()
Myles Watson [Thu, 8 Jun 2017 15:38:58 +0000 (08:38 -0700)]
Bluetooth: Call vendor cleanup() in Close()

Bug: 62453652
Test: sailfish and angler start/stop Bluetooth, pair
Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0
(cherry picked from commit 9eee83093faf0edd023920b16f5251a17ae97f00)

7 years agoBluetooth: Call vendor cleanup() in Close() am: 9eee83093f
Myles Watson [Fri, 9 Jun 2017 22:21:23 +0000 (22:21 +0000)]
Bluetooth: Call vendor cleanup() in Close() am: 9eee83093f
am: 58c51ad669

Change-Id: I33fb722609665638c866da062babaae3fcba0c6d

7 years agoBluetooth: Call vendor cleanup() in Close()
Myles Watson [Fri, 9 Jun 2017 22:18:21 +0000 (22:18 +0000)]
Bluetooth: Call vendor cleanup() in Close()
am: 9eee83093f

Change-Id: I477fa2049642e2025e2ea5a2a5c9c1be10d5c8f6

7 years agoFix vts tests:
sqian [Fri, 9 Jun 2017 16:24:26 +0000 (09:24 -0700)]
Fix vts tests:

- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim

Apply ag/2373104/ to prevent merge conflicts

Will update .hal file seperately.

Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
Merged-In: I651af50f122f37721778b1088df40fa6e12ac6e4

7 years agochoose input color format between 420p, 420sp
Ram Mohan M [Thu, 8 Jun 2017 15:31:03 +0000 (21:01 +0530)]
choose input color format between 420p, 420sp

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I5fc2f5c69ca545f2ca0b444ce89a8c970f2ff98e

7 years agoMerge "AudioDec Test: Ignore output port configuration" into oc-dev
Ram Mohan M [Fri, 9 Jun 2017 03:17:20 +0000 (03:17 +0000)]
Merge "AudioDec Test: Ignore output port configuration" into oc-dev
am: 11e9b588c4

Change-Id: Ib50f2f61385a5382d7f9f24608c93682594dfa1e

7 years agoMerge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
Ram Mohan M [Fri, 9 Jun 2017 03:17:16 +0000 (03:17 +0000)]
Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
am: 452fe6aef2

Change-Id: I9c89448a47eb1c0280a0282b9534911886279179

7 years agoMerge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
Ram Mohan M [Fri, 9 Jun 2017 03:17:13 +0000 (03:17 +0000)]
Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
am: a12a573955

Change-Id: I437d8e59167209e86d1f8679e7ff2486fbf81c1a

7 years agoMerge "AudioDec Test: Ignore output port configuration" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "AudioDec Test: Ignore output port configuration" into oc-dev

7 years agoMerge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev

7 years agoMerge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev

7 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Fri, 9 Jun 2017 02:13:08 +0000 (02:13 +0000)]
Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: If80eae601d647f2fd943e98ddd411206375ec969

7 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Fri, 9 Jun 2017 02:07:34 +0000 (02:07 +0000)]
Merge "Fix vts tests:" into oc-dev

7 years agobug fix: configure input port format before setInputSurface
Ram Mohan M [Thu, 8 Jun 2017 16:11:05 +0000 (21:41 +0530)]
bug fix: configure input port format before setInputSurface

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I7b48bf240a243b0b25c1c5e0f36c858b04271194

7 years agobug fix: fix encoder input port configuration issues
Ram Mohan M [Thu, 8 Jun 2017 16:05:18 +0000 (21:35 +0530)]
bug fix: fix encoder input port configuration issues

1. Number of P frames being INT_MAX - 1 is misleading few components.
avoid this value
2. enumerate level: The level information is obtained from
enumerateProfileandLevel. Now the component supports up to this level
or 1 step below this level is unclear. This is causing few problems in
the configuration of input port.
3. Disable few error checks for index types that are not universally
supported

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I0c3220ec8d17d3527fa5fdae1a2f9c5add11a5de

7 years agoMerge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
Mikhail Naganov [Thu, 8 Jun 2017 22:54:52 +0000 (22:54 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
am: 80e9912183

Change-Id: Ic211f5bfb3d5762e972f3801686aeb20ed086f8a

7 years agoMerge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 22:47:01 +0000 (22:47 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev

7 years agoBluetooth: Call vendor cleanup() in Close()
Myles Watson [Thu, 8 Jun 2017 15:38:58 +0000 (08:38 -0700)]
Bluetooth: Call vendor cleanup() in Close()

Bug: 62453652
Test: sailfish and angler start/stop Bluetooth, pair
Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0

7 years agoFix vts tests:
sqian [Thu, 1 Jun 2017 19:39:22 +0000 (12:39 -0700)]
Fix vts tests:

Fixed with QC updated documentation:
- setGsmBroadcastConfig
- getGsmBroadcastConfig
- setGsmBroadcastActivation
- getImsRegistrationState
- pullLceData
- deleteSmsOnSim
- deleteSmsOnRuim
- sendDtmf
- startDtmf
- stopDtmf
- sendBurstDtmf

Try to increase timeout to 75 to fix (suggest by QC in b/35671595 #62):
- dial

Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 3567159535800570
Change-Id: Idd50bf71ae4c4490722d88d7cba0485b9d49073b

7 years agoMerge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:29:00 +0000 (16:29 +0000)]
Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
am: 6fe8953866

Change-Id: If733f379b1433fc1c86754a9cba772cdf2034f12

7 years agoMerge "Omx vts tests" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:28:23 +0000 (16:28 +0000)]
Merge "Omx vts tests" into oc-dev
am: 2e2e255125

Change-Id: I47b2613f0cfaf1f237bbdc432262b46fc3de3b9f

7 years agoMerge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:22:38 +0000 (16:22 +0000)]
Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev

7 years agoMerge "Omx vts tests" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:22:27 +0000 (16:22 +0000)]
Merge "Omx vts tests" into oc-dev

7 years agoAudioDec Test: Ignore output port configuration
Ram Mohan M [Thu, 8 Jun 2017 06:13:59 +0000 (11:43 +0530)]
AudioDec Test: Ignore output port configuration

audio dec components vorbis, opus and raw undergo auto output port
configuration and donot allow client to configure. By pass output port
configuration for these components

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: Ib1539b36589db5bdf1b6d82fcd0c50ba420a0299

7 years agoVideoEnc Test: extend lockYCbCr() to hal yuv formats
Ram Mohan M [Wed, 7 Jun 2017 12:07:42 +0000 (17:37 +0530)]
VideoEnc Test: extend lockYCbCr() to hal yuv formats

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I4661f41a92aac44e8a8d2721dfebbd25045fbe1c

7 years agoVts AudioDec Test: Disable EOSTest_M
Ram Mohan M [Thu, 8 Jun 2017 11:26:55 +0000 (16:56 +0530)]
Vts AudioDec Test: Disable EOSTest_M

Sending first buffer as EOS, is not supported across all components.
We will revisit this fixture at a later stage

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: Ic9f59f7b0a5291710bc50710ef054b0c0c49ca98

7 years agoFix expected attestation version.
Janis Danisevskis [Thu, 8 Jun 2017 01:55:37 +0000 (01:55 +0000)]
Fix expected attestation version.
am: 538b7d85ef

Change-Id: I5ba0326f7e2f1547a1e08c2f44055a8938414ae4

7 years agoVts Omx Tests: Disable test that are not IOMX compatible
Ram Mohan M [Wed, 7 Jun 2017 15:49:47 +0000 (21:19 +0530)]
Vts Omx Tests: Disable test that are not IOMX compatible

Android IOMX differs slightly from OMX. Disable tests that are not
needed (for now). We will revisit them at a later stage

Bug:32023356
Bug:37501531

Test: make vts.

Change-Id: Iad71d72a4a66d621f415731d2c0e1a3794ed3524

7 years agoOmx vts tests
Ram Mohan M [Fri, 2 Jun 2017 06:28:53 +0000 (11:58 +0530)]
Omx vts tests

Bug:32023356
Test: make vts.

cleanup: move duplicate code to common

moved code shared across application to common and
removed duplicate code

Change-Id: I2dacb9d72bdf545addd2cc377dd4342c92f50f11

restrict secure component testing to VTS*ComponentTest

Change-Id: I1d2878408df2e4cbe31b3b47a3d6500a90692a7a

Master Test: test component node alloc/dealloc

Change-Id: I89ef853cf5a9f6b0a0af9e25ef484968aec614f6

Component Test: fix dispatchMsg test fixture

Change-Id: Ie1068a5d73a3a573e552cf023c9c7dc78a43ea59

AudioDec Test : missing csd in opus resource files

opus decoder test resource files have a missing csd. This is causing
timestamp list empty test to fail. This is fixed

Change-Id: I6ae3b241fbf3e384943a0e6e80838a45c1fc6687

Change-Id: Ie7775456542f12d5f5d87dded4b0a57fd0723037

7 years agoFix build, put back 'this' capture
Yi Kong [Wed, 7 Jun 2017 21:19:01 +0000 (14:19 -0700)]
Fix build, put back 'this' capture

'this' capture is not unused, need to put back.

This was due to a bad manual merge.

Test: build
Change-Id: I35f7ddbe7bf8a3b57ea8a83f334afee2156109f6

7 years agoRemove unused lambda capture
Chih-Hung Hsieh [Mon, 15 May 2017 19:31:25 +0000 (12:31 -0700)]
Remove unused lambda capture

New clang compiler gives warning to unused lambda captures.
Apply clang-format.

Bug: 37423073
Test: Build

Change-Id: Icdf019df1a6c9dcadeb35551377d7afa09eebb3e
(cherry picked from commit 7eb57b60ab1825afbec3da3786678f548dc58e32)

7 years agoFix expected attestation version.
Janis Danisevskis [Wed, 7 Jun 2017 18:31:23 +0000 (11:31 -0700)]
Fix expected attestation version.

The attestation version cannot be infered from the keymaster version
because we provide software attestation for legacy keymaster 1 keys.
This patch changes the attestation test to expect either attestation
version 1 or 2.

Bug: 37351644
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I4db83a543db20191d288b2ca8308aa6597cd8e22

7 years agoMerge "Omx vts tests." into oc-dev
Zhuoyao Zhang [Tue, 6 Jun 2017 18:36:48 +0000 (18:36 +0000)]
Merge "Omx vts tests." into oc-dev
am: 89ed70727d

Change-Id: I83ae4865778f42a768a556bebfc6524cbfbc0918

7 years agoMerge "Omx vts tests." into oc-dev
Zhuoyao Zhang [Tue, 6 Jun 2017 18:29:14 +0000 (18:29 +0000)]
Merge "Omx vts tests." into oc-dev

7 years agoMerge "contexthub: Handle service death" into oc-dev
Brian Duddie [Tue, 6 Jun 2017 16:49:48 +0000 (16:49 +0000)]
Merge "contexthub: Handle service death" into oc-dev
am: bbcf199e93

Change-Id: Icdb7d82550743333a373bdc08b061751999dc54b

7 years agoMerge "contexthub: Handle service death" into oc-dev
Brian Duddie [Tue, 6 Jun 2017 16:28:37 +0000 (16:28 +0000)]
Merge "contexthub: Handle service death" into oc-dev

7 years agoMerge changes from topic 'vts-validate-policy-conf' into oc-dev
Kevin Rocard [Tue, 6 Jun 2017 04:52:40 +0000 (04:52 +0000)]
Merge changes from topic 'vts-validate-policy-conf' into oc-dev
am: 024e0cd27d  -s ours

Change-Id: If42bf61dbaac6796b46cc1cc80c138003cb093c6

7 years agoMerge changes from topic 'vts-validate-policy-conf' into oc-dev
Kevin Rocard [Tue, 6 Jun 2017 02:55:22 +0000 (02:55 +0000)]
Merge changes from topic 'vts-validate-policy-conf' into oc-dev

* changes:
  Audio VTS: Enforce policy configuration format
  Audio VTS: Test now use Android.mk

7 years agoAudio VTS: Enforce policy configuration format
Kevin Rocard [Wed, 31 May 2017 00:15:28 +0000 (17:15 -0700)]
Audio VTS: Enforce policy configuration format

Validate the audio_policy_configuration.xml supplied in /vendor against
the format schema.

Test: Run the VTS test on target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 35700978
Change-Id: I800e692a6ff4f64655007c33af7e34d879ee1132
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 06a2a403098a2f1874539cd0e5d25bef9674a01c)

7 years agoFix some stk api Radio Vts tests.
Sanket Padawe [Mon, 5 Jun 2017 23:13:48 +0000 (23:13 +0000)]
Fix some stk api Radio Vts tests.
am: 2ab0ec0626

Change-Id: Ib4063e3c10dbf161c9e8fa479dc6bb8c2345a6ac

7 years agocontexthub: Handle service death
Brian Duddie [Fri, 2 Jun 2017 01:51:22 +0000 (18:51 -0700)]
contexthub: Handle service death

Register for notification of service death for callbacks registered with
the context hub HAL. Upon this notification, unregister the callback to
avoid crashing if an event occurs prior to the service coming back up.

Bug: 36202367
Test: adb shell stop, confirm death notification received via log;
  vts-tradefed run commandAndExit vts --module VtsHalContexthubV1_0Target
Change-Id: I3c25229806cb9f2a116007939c752841edbf0985

7 years agoFix some stk api Radio Vts tests.
Sanket Padawe [Wed, 31 May 2017 23:06:04 +0000 (16:06 -0700)]
Fix some stk api Radio Vts tests.

Bug: 37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
Merged-in: Idd9a1fd38413aed89aaa152cb9a91c001f18b339

7 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation...
Miao Wang [Fri, 2 Jun 2017 23:45:50 +0000 (23:45 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." am: 292cddf6be am: 0a8c6b55cf
am: 4c9037094a  -s ours

Change-Id: Ibbbf9dc4780190850214b6431d9be0a9eb849375

7 years agoAudio VTS: Enforce policy configuration format
Kevin Rocard [Wed, 24 May 2017 18:01:34 +0000 (11:01 -0700)]
Audio VTS: Enforce policy configuration format

Validate the audio_policy_configuration.xml supplied in /vendor against
the format schema.

Test: Run the VTS test on target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 35700978
Change-Id: I800e692a6ff4f64655007c33af7e34d879ee1132
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAudio VTS: Test now use Android.mk
Kevin Rocard [Wed, 31 May 2017 00:15:28 +0000 (17:15 -0700)]
Audio VTS: Test now use Android.mk

To validate the audio_policy_configuration.xml against a schema,
libxml2 is used.
Unfortunately, libxml2 uses Android.mk in oc-dev thus can not be used
from the tests which uses Android.bp.

It has been deemed safer to transform the tests to use Android.mk rather
than backporting the Android.bp patch from master.

Test: Compile
Bug: 35700978
Merged-In: I800e692a6ff4f64655007c33af7e34d879ee1132
Change-Id: Ie3f2069d60be369b4c37c27e9c1cf9372323a19c
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation...
Miao Wang [Fri, 2 Jun 2017 23:28:07 +0000 (23:28 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev
am: 827e291043

Change-Id: I1b6548be61440b195d283b929792a2342810120d

7 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation...
Miao Wang [Fri, 2 Jun 2017 23:27:26 +0000 (23:27 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." am: 292cddf6be
am: 0a8c6b55cf

Change-Id: I1d455bd66ac297518c6521348f86200fbc5d4642

7 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."
Miao Wang [Fri, 2 Jun 2017 23:24:13 +0000 (23:24 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."
am: 292cddf6be

Change-Id: Ia0792574c4ecc6120cf1ff85af38f3325933245d

7 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation...
Miao Wang [Fri, 2 Jun 2017 23:20:57 +0000 (23:20 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev

7 years ago[RenderScript] Use OVERRIDE_RS_DRIVER string in the default
Miao Wang [Tue, 16 May 2017 22:36:54 +0000 (15:36 -0700)]
[RenderScript] Use OVERRIDE_RS_DRIVER string in the default
implementation.

Bug: 37035983
Test: mm
Test: manually push to sailfish & angler, verify GPU driver successfully
load, and tests are passing.

Change-Id: Ic55c74228e7eae599702365c513009aa3454656b
Merged-In: Ic55c74228e7eae599702365c513009aa3454656b

7 years agoMerge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."
Miao Wang [Fri, 2 Jun 2017 23:16:05 +0000 (23:16 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."

7 years agoVTS Audio Effect: Do not check the result of IEffect::offload method
Mikhail Naganov [Fri, 2 Jun 2017 18:23:54 +0000 (18:23 +0000)]
VTS Audio Effect: Do not check the result of IEffect::offload method
am: 5abb15e987

Change-Id: I266ac43808d0e9002822ea4d589d17bfc9995d84