OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoZero uninitialized field in conversion and fix vts bug
Peng Xu [Tue, 20 Jun 2017 00:08:44 +0000 (00:08 +0000)]
Zero uninitialized field in conversion and fix vts bug
am: 36665b1b3d

Change-Id: I9c3aa0350b90f52abb12b4c88f10ab43e82ab65b

7 years agoMerge "Cleaner VTS for wider use" into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 21:01:38 +0000 (21:01 +0000)]
Merge "Cleaner VTS for wider use" into oc-dr1-dev

7 years agoZero uninitialized field in conversion and fix vts bug
Peng Xu [Mon, 19 Jun 2017 18:43:24 +0000 (11:43 -0700)]
Zero uninitialized field in conversion and fix vts bug

Zero uninitialized sensor event field to zero to avoid undefined
value being passed to framework.

Correct sensor report type check bug in vts.

Bug: 37793558
Bug: 37710268
Test: sensor vts passes
Change-Id: I5042975fea8fe28ae130367ba083a4e4f4e5657e

7 years agoRevert "Load the gralloc module at library load"
Jesse Hall [Mon, 19 Jun 2017 18:48:09 +0000 (11:48 -0700)]
Revert "Load the gralloc module at library load"

This reverts commit 33c08a53ac641c9a9e5a6a1ed75cfb924c95258f. Some
gralloc implementations apparently have library initializers (executed
on dlopen) which create anonymous sockets, open device nodes, etc.
which Zygote and some other non-Zygote-child processes that use libui
don't have permissions to do. When the library initializer fails, it
crashes the process.

Reverting this until this initialization code can be made lazy (on
first use of gralloc).

Bug: 62732270
Test: boot fugu to launcher

7 years agoMerge "Update makefiles (vibrator open)." into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 17:45:18 +0000 (17:45 +0000)]
Merge "Update makefiles (vibrator open)." into oc-dr1-dev

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

Change-Id: I4a925e2c92572b20e85b8a6604d3af6e7f8f30ea

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 agoUpdate makefiles (vibrator open).
Steven Moreland [Sat, 17 Jun 2017 02:52:49 +0000 (19:52 -0700)]
Update makefiles (vibrator open).

Vibrator was missing default module flags.

Test: none
Change-Id: I77594843a876f9e424f201174e220a6d3b45b271

7 years agoMerge "Load the gralloc module at library load" into oc-dr1-dev
Jesse Hall [Fri, 16 Jun 2017 22:45:37 +0000 (22:45 +0000)]
Merge "Load the gralloc module at library load" into oc-dr1-dev

7 years agoCleaner VTS for wider use
Wyatt Riley [Fri, 16 Jun 2017 00:16:24 +0000 (17:16 -0700)]
Cleaner VTS for wider use

Better start/stop testing

Change-Id: I4f50fd6a9aaecac3455590f100f15117336993c9
Fixes: 35810250
Test: VTS passes on 2 different device variants

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:37:00 +0000 (19:37 +0000)]
Merge "Camera: fix camera_metadata address expectation" into oc-dev
am: e812feb56f

Change-Id: Id3e433048cf25e8c50aa20e97dca6e3112f0fb57

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 agoLoad the gralloc module at library load
Jesse Hall [Wed, 7 Jun 2017 21:37:34 +0000 (14:37 -0700)]
Load the gralloc module at library load

In the a.h.graphics.mapper default implementation, load the gralloc
module in a static constructor that runs when the library is loaded.
This causes Zygote to load the gralloc module and its dependencies
when it loads a.h.graphics.mapper, so that it doesn't have to be
loaded during each activity launch.

Bug: 62353585
Test: boot to launcher, run calculator, confirm gralloc library is in
      /proc/`pid zygote64`/maps

Change-Id: I56defd76b0ba0fba71dea48e2b0d338511563d1f

7 years agoMerge "[AWARE] Actually shut-down functionality when destroying NAN iface" into oc...
TreeHugger Robot [Fri, 16 Jun 2017 00:04:36 +0000 (00:04 +0000)]
Merge "[AWARE] Actually shut-down functionality when destroying NAN iface" into oc-dr1-dev

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

Change-Id: I65cd9c3d9818871130eea5351f02d655bac44988

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 ago[AWARE] Actually shut-down functionality when destroying NAN iface
Etan Cohen [Thu, 15 Jun 2017 15:39:23 +0000 (08:39 -0700)]
[AWARE] Actually shut-down functionality when destroying NAN iface

Destroying the interface doesn't actually execute any functions on
the legacy HAL - i.e. on the HAL side. This may leave state around -
a problem when next "re-enabling" the interface as well as possibly
a power issue.

Add code to actually disable Aware and to destroy interfaces. There
is no need to check on current status since calls will simply fail
quietly if there's nothing to disable and nothing to destroy.

Bug: 62632805
Test: integration non-concurrence test cases NonConcurrencyTest
Change-Id: I11e5bd6f3ed47f6d709ff360c9f4adf5f40234a5

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: Id5c16a9a8a2ff95e18254da4b8568d68e15e5834

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:34:05 +0000 (01:34 +0000)]
Merge "Fixed flaky RenderScript VTS Test" into oc-dev
am: d8e99f75cb

Change-Id: Ib8bc975063564100258bef9f805aff6e6832db56

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 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 agoMerge "graphics: fix gralloc1 usage flags in default impl" into oc-dr1-dev
Chia-I Wu [Tue, 13 Jun 2017 16:21:10 +0000 (16:21 +0000)]
Merge "graphics: fix gralloc1 usage flags in default impl" into oc-dr1-dev

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 agoMerge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
Myles Watson [Mon, 12 Jun 2017 22:59:29 +0000 (22:59 +0000)]
Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
am: 32ee110269

Change-Id: I6e361c5cb186730ff25ff17d0418c9f01b944359

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 agographics: fix gralloc1 usage flags in default impl
Chia-I Wu [Mon, 12 Jun 2017 22:14:37 +0000 (15:14 -0700)]
graphics: fix gralloc1 usage flags in default impl

BufferUsage::SENSOR_DIRECT_DATA should be filtered out for consumer
usage.  BufferUsage::GPU_DATA_BUFFER should be filtered out for
producer usage and be translated to
GRALLOC1_CONSUMER_USAGE_GPU_DATA_BUFFER for consumer usage.

Bug: 62491483
Test: boots
Change-Id: I171712adf45ae80dadeed7997fb9872ff176fa1a

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

Change-Id: I20b62dd5c93feb863ddfcb042aa55ff7020dccf0

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 agoMerge "Fix vts tests:" into oc-dr1-dev
Shuo Qian [Mon, 12 Jun 2017 03:41:00 +0000 (03:41 +0000)]
Merge "Fix vts tests:" into oc-dr1-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: Ia6fc966e66668b944c4a484ea413f0bc0982082f

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:44 +0000 (01:28 +0000)]
Merge "bug fix: fix encoder input port configuration issues" into oc-dev
am: 7d1592a732

Change-Id: I697e916574fc20e1bb9cad79d1e948854078f6bf

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

Change-Id: If5ee86d7d1203019b565743057c77baf1ffb96a8

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: I95ff1be5ec0e0f2b99a5fc21329b45b87a0f0077

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 agoFix vts tests:
sqian [Sat, 10 Jun 2017 01:01:29 +0000 (18:01 -0700)]
Fix vts tests:

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

Will update .hal file seperately.

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

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 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: Ic9b93340791209553374de705101a2e02aed4d09

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: I67002961c875a6caaa8f3ffde78ca68ded46471f

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: I90035e92beb470f7910f1f43cc203c4e84d43e29

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: I48640bc1b6225e39309f2832613986fce4a43754

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 agoMerge "Use different versions for framework compatibility matrix" into oc-dr1-dev
TreeHugger Robot [Fri, 9 Jun 2017 00:46:18 +0000 (00:46 +0000)]
Merge "Use different versions for framework compatibility matrix" into oc-dr1-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:52:52 +0000 (22:52 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
am: 80e9912183

Change-Id: I112ef606ce564c9cf53e67a2c84ded5e6958da88

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 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:28:44 +0000 (16:28 +0000)]
Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
am: 6fe8953866

Change-Id: Ia9804c27bcec133b8570c7f180bce591a7a41bd3

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: Ifcf78ffd3c042e3eeab90016dc822b747a9cadc1

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 agoMerge "[AWARE] Fix validity check on PMK + export PASSPHRASE lengths" into oc-dr1-dev
Etan Cohen [Thu, 8 Jun 2017 05:26:13 +0000 (05:26 +0000)]
Merge "[AWARE] Fix validity check on PMK + export PASSPHRASE lengths" into oc-dr1-dev

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

Change-Id: I35fd340baa71984a9aa5b1db6d8df1b09cda7a6c

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 ago[AWARE] Fix validity check on PMK + export PASSPHRASE lengths
Etan Cohen [Wed, 7 Jun 2017 00:02:11 +0000 (17:02 -0700)]
[AWARE] Fix validity check on PMK + export PASSPHRASE lengths

Bug: 62376042
Test: unit tests + integrated (sl4a) tests
Change-Id: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb

7 years agoUse different versions for framework compatibility matrix
Yifan Hong [Fri, 26 May 2017 22:43:26 +0000 (15:43 -0700)]
Use different versions for framework compatibility matrix

Keyed on MATRIX_LEVEL_OVERRIDE, FULL_TREBLE, SHIPPING_API_LEVEL,
and SDK_VERSION.

Bug: 62136051

Test: m system_compatibility_matrix.xml -j; \
    grep -e"gatekeeper" -B1 $OUT/system/compatibility_matrix.xml; \
    grep -e"oemlock" -B1 $OUT/system/compatibility_matrix.xml
bullhead: gatekeeper is optional, no oemlock (legacy.xml)
marlin without COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        no oemlock (26.xml)
marlin with COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        oemlock exists (current.xml)
new devices with COMP_LEVEL_OVERRIDE: same as above.

Change-Id: I2ccfa9b0132bf98cc2da8f0500bea992b5fa83d0

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 "Move utility classes in a separate static target"
TreeHugger Robot [Tue, 6 Jun 2017 20:21:40 +0000 (20:21 +0000)]
Merge "Move utility classes in a separate static target"

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

Change-Id: I76809e1d9e2fb9e39abfbc2a6f6a1e1cbf035233

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 am: bbcf199e93
Brian Duddie [Tue, 6 Jun 2017 17:03:39 +0000 (17:03 +0000)]
Merge "contexthub: Handle service death" into oc-dev am: bbcf199e93
am: 7e4e4f57ca

Change-Id: I5c4985e367d29303356788c7ff1837af02eef83f

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 "Implemented VTS for Dumpstate HIDL."
TreeHugger Robot [Tue, 6 Jun 2017 16:24:23 +0000 (16:24 +0000)]
Merge "Implemented VTS for Dumpstate HIDL."

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

Change-Id: I93070815310fd288c14046209f8f08e9f6a0e490

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 agoAudio VTS: Enforce policy configuration format
Kevin Rocard [Tue, 6 Jun 2017 04:51:08 +0000 (04:51 +0000)]
Audio VTS: Enforce policy configuration format
am: cbf9c08116  -s ours

Change-Id: I6d2e11aaac4ff0e0e8a2dca7226a811ef30b3197

7 years agoMerge "Update internal makefiles."
TreeHugger Robot [Tue, 6 Jun 2017 04:43:12 +0000 (04:43 +0000)]
Merge "Update internal makefiles."

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 agoUpdate internal makefiles.
Steven Moreland [Tue, 6 Jun 2017 00:47:36 +0000 (17:47 -0700)]
Update internal makefiles.

These makefiles are not in dev topic branches
or AOSP currently so they were not updated. This
update adds hidl-generated-module defaults.

Test: pass
Change-Id: Ie52c54877d795bf5358aa600e6d1a13a4f166d25

7 years agoMerge "Audio VTS: Create utility lib"
Kevin Rocard [Mon, 5 Jun 2017 23:51:19 +0000 (23:51 +0000)]
Merge "Audio VTS: Create utility lib"

7 years agoFix some stk api Radio Vts tests. am: 2ab0ec0626
Sanket Padawe [Mon, 5 Jun 2017 23:22:32 +0000 (23:22 +0000)]
Fix some stk api Radio Vts tests. am: 2ab0ec0626
am: 1c87d14016  -s ours

Change-Id: I534b1dc2da99d4da03c85c6f33cafd28c0a0c6a1

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 agoMerge "VTS: USB: vts target test for USB 1_1 HAL interface."
TreeHugger Robot [Mon, 5 Jun 2017 22:28:41 +0000 (22:28 +0000)]
Merge "VTS: USB: vts target test for USB 1_1 HAL interface."

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 agoMerge "Audio VTS: Enforce policy configuration format"
Kevin Rocard [Mon, 5 Jun 2017 21:15:12 +0000 (21:15 +0000)]
Merge "Audio VTS: Enforce policy configuration format"

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 agoFix some stk api Radio Vts tests.
Sanket Padawe [Mon, 5 Jun 2017 19:04:19 +0000 (12:04 -0700)]
Fix some stk api Radio Vts tests.

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

7 years agoAudio VTS: Create utility lib
Kevin Rocard [Fri, 2 Jun 2017 18:44:06 +0000 (11:44 -0700)]
Audio VTS: Create utility lib

Move code that can be reuse between audio tests of the HIDL interface in
an utility library.

Test: run vts tests
Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Bug: 35700978

Change-Id: Ia930ad2b0a3ca31628b2cb767b265d54b210756b
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoMerge "Add TICK constant to vibrator HAL."
TreeHugger Robot [Mon, 5 Jun 2017 16:40:52 +0000 (16:40 +0000)]
Merge "Add TICK constant to vibrator HAL."

7 years agoImplemented VTS for Dumpstate HIDL.
Felipe Leme [Fri, 26 May 2017 21:55:14 +0000 (14:55 -0700)]
Implemented VTS for Dumpstate HIDL.

Test: adb shell /data/nativetest64/VtsHalDumpstateV1_0TargetTest/VtsHalDumpstateV1_0TargetTest
Test: adb shell /data/nativetest/VtsHalDumpstateV1_0TargetTest/VtsHalDumpstateV1_0TargetTest

Fixes: 35915971

Change-Id: I2508699da9a36612961899a100c273f3a5d62cc6

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

Change-Id: Ia4cc8dce74176fcd37b8fa3f034f40fae459e928

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