OSDN Git Service

android-x86/hardware-interfaces.git
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 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

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:34:35 +0000 (23:34 +0000)]
Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev am: 827e291043
am: 0fd82f993e

Change-Id: I2d5240836e75f47342894c33dca5866afeca4037

7 years agoVTS: USB: vts target test for USB 1_1 HAL interface.
Badhri Jagan Sridharan [Wed, 31 May 2017 03:26:13 +0000 (20:26 -0700)]
VTS: USB: vts target test for USB 1_1 HAL interface.

Bug: 38034141
Test: Tested by manually pushing the native test.
Change-Id: Iabb7f13a63ed166f9e6d449e777f6de3b2ed55e3

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 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>
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 am: 5abb15e987
Mikhail Naganov [Fri, 2 Jun 2017 18:31:08 +0000 (18:31 +0000)]
VTS Audio Effect: Do not check the result of IEffect::offload method am: 5abb15e987
am: dd5605c4fb

Change-Id: I98d3bd958af9266b97830c098d282f4760974cef

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

7 years agoAdd TICK constant to vibrator HAL.
Michael Wright [Tue, 23 May 2017 19:46:45 +0000 (20:46 +0100)]
Add TICK constant to vibrator HAL.

Because we're extending an existing enum, we need to bump the minor
version of the HAL as well.

Bug: 38417655
Test: vts
Change-Id: I4d402efa8bf29517452cc3e259c2ddee146b15c7

7 years agoVTS Audio Effect: Do not check the result of IEffect::offload method
Mikhail Naganov [Thu, 1 Jun 2017 16:58:06 +0000 (09:58 -0700)]
VTS Audio Effect: Do not check the result of IEffect::offload method

HAL may not support offloading, and a call to IEffect::offload
is allowed to return an error code.

Update the test to only check that the call to the method doesn't
crash.

Bug: 38437110
Test: still passes
Change-Id: I6cfd25998edb9c68d2e585e572ba8ba3a3427e98

7 years agoMerge "Compile manager-lib shared library" into oc-dev am: fe4705facb
Alex Yakavenka [Thu, 1 Jun 2017 22:27:40 +0000 (22:27 +0000)]
Merge "Compile manager-lib shared library" into oc-dev am: fe4705facb
am: a7e01d7d71

Change-Id: Idd8e57a67a2eabf0169681881d930a38a79c331c

7 years agoMerge "Compile manager-lib shared library" into oc-dev
Alex Yakavenka [Thu, 1 Jun 2017 22:21:33 +0000 (22:21 +0000)]
Merge "Compile manager-lib shared library" into oc-dev
am: fe4705facb

Change-Id: Ia54a09338625ddd4006b4c831e6000317ce69ede

7 years agoMerge "Compile manager-lib shared library" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 22:07:00 +0000 (22:07 +0000)]
Merge "Compile manager-lib shared library" into oc-dev

7 years agoMerge "Audio: Add XML schema for audio policy configuration" into oc-dev am: 49f3b03348
Eric Laurent [Thu, 1 Jun 2017 20:28:10 +0000 (20:28 +0000)]
Merge "Audio: Add XML schema for audio policy configuration" into oc-dev am: 49f3b03348
am: e18fdf9ea7

Change-Id: I91958de424207ceac6bb3a8a3f662e6f814b6e84

7 years agoMerge "Audio: Add XML schema for audio policy configuration" into oc-dev
Eric Laurent [Thu, 1 Jun 2017 20:01:20 +0000 (20:01 +0000)]
Merge "Audio: Add XML schema for audio policy configuration" into oc-dev
am: 49f3b03348

Change-Id: Ifc0584bb4c03deb9ed2139f9b5f9b5c5df1c6782

7 years agoMerge "Audio: Add XML schema for audio policy configuration" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 19:56:20 +0000 (19:56 +0000)]
Merge "Audio: Add XML schema for audio policy configuration" into oc-dev

7 years agoMerge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc...
Mikhail Naganov [Thu, 1 Jun 2017 16:40:08 +0000 (16:40 +0000)]
Merge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev am: 5482fe026c
am: f652c9e031

Change-Id: I7de1922316cb85789cc4cbf13fe70509de61032e

7 years agoMerge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev
Mikhail Naganov [Thu, 1 Jun 2017 16:37:07 +0000 (16:37 +0000)]
Merge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev
am: 5482fe026c

Change-Id: I2a0d9aa82ec5cc2d6c593ae08f7b58ca91747860

7 years agoMerge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 16:32:28 +0000 (16:32 +0000)]
Merge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev

7 years agoAnnotate DeleteKey test with bug number. am: abcd323019
Shawn Willden [Thu, 1 Jun 2017 15:29:01 +0000 (15:29 +0000)]
Annotate DeleteKey test with bug number. am: abcd323019
am: 392db77668

Change-Id: If2800344b883ae35e8372d977cc63abdf1832e0d

7 years agoAnnotate DeleteKey test with bug number.
Shawn Willden [Thu, 1 Jun 2017 15:26:30 +0000 (15:26 +0000)]
Annotate DeleteKey test with bug number.
am: abcd323019

Change-Id: I1e3eb2b93c0054fb48fc8dbd9e844a74736afe46

7 years agoAnnotate DeleteKey test with bug number.
Shawn Willden [Mon, 24 Apr 2017 16:48:16 +0000 (10:48 -0600)]
Annotate DeleteKey test with bug number.

Bug: 37623742
Change-Id: I2cb4bb39bacb3aabf5fff7937f60c7355c9636e3
Test: VTS test, manually run

7 years agoGenerate serial number randomly in VTS unit test am: fcc6118882 -s ours
sqian [Thu, 1 Jun 2017 07:05:14 +0000 (07:05 +0000)]
Generate serial number randomly in VTS unit test am: fcc6118882  -s ours
am: d8256c6a85  -s ours

Change-Id: I28061300d3833b312899624117ac3bcfbac6d6a7

7 years agoresolve merge conflicts of 0e50326a to oc-dev-plus-aosp
sqian [Thu, 1 Jun 2017 07:05:00 +0000 (07:05 +0000)]
resolve merge conflicts of 0e50326a to oc-dev-plus-aosp
am: 4e49d8d43b  -s ours

Change-Id: Idd8c317168378c37e698d3a6f69ffafeace96469

7 years agoGenerate serial number randomly in VTS unit test
sqian [Thu, 1 Jun 2017 07:02:29 +0000 (07:02 +0000)]
Generate serial number randomly in VTS unit test
am: fcc6118882  -s ours

Change-Id: Ie549cb60e50e05006302e1766f3d751aff7a27b9

7 years agoaudiohal: Prevent logspam when calling get_presentation_position
Mikhail Naganov [Fri, 19 May 2017 23:46:28 +0000 (16:46 -0700)]
audiohal: Prevent logspam when calling get_presentation_position

get_presentation_position can return ENODATA if the stream
has stopped but the write is still querying the position.

Bug: 38376424
Change-Id: I9d516a19fb347843a8ec8e8e9a0f5eab0b0798e6
Test: no log messages from StreamHAL about get_presentation_position
(cherry picked from commit 96a3a19beda45bef7c34fc06a0048174f3a7e362)

7 years agoMerge "Put correct user/group in EVS mock driver .rc file"
TreeHugger Robot [Wed, 31 May 2017 22:36:07 +0000 (22:36 +0000)]
Merge "Put correct user/group in EVS mock driver .rc file"

7 years agoAudio: Add XML schema for audio policy configuration
Eric Laurent [Thu, 18 May 2017 01:32:36 +0000 (18:32 -0700)]
Audio: Add XML schema for audio policy configuration

The schema describes the XML format for audio policy
configuration.
It will be enforced in a follow up vts test.

Bug: 35700978
Test: schema is parsed with xmllint with no errors
Test: xmllint  --xinclude --noout --schema audio_policy_configuration.xsd  out/target/product/sailfish/vendor/etc/audio_policy_configuration.xml

Change-Id: Ic6830446b54b3e02e4bca9b0a392523a8fb359e1
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoresolve merge conflicts of 0e50326a to oc-dev-plus-aosp
sqian [Wed, 31 May 2017 22:27:25 +0000 (15:27 -0700)]
resolve merge conflicts of 0e50326a to oc-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I91fb2abbee5db431e8dc5dbfc8fc9fe0b9179b0c

7 years agoMerge "Generate serial number randomly in VTS unit test" am: 0c49ae609f
sqian [Wed, 31 May 2017 21:39:50 +0000 (21:39 +0000)]
Merge "Generate serial number randomly in VTS unit test" am: 0c49ae609f
am: 63724d3555

Change-Id: I54fc99af3346af269719ac802b081fa5ad3b26da

7 years agoMerge "Generate serial number randomly in VTS unit test"
sqian [Wed, 31 May 2017 21:38:19 +0000 (21:38 +0000)]
Merge "Generate serial number randomly in VTS unit test"
am: 0c49ae609f

Change-Id: Ie1b1a3bcb2ae5f2412c75f09bdab4c50bc50e715

7 years agoMerge "Generate serial number randomly in VTS unit test"
Treehugger Robot [Wed, 31 May 2017 21:26:30 +0000 (21:26 +0000)]
Merge "Generate serial number randomly in VTS unit test"

7 years agoGenerate serial number randomly in VTS unit test
sqian [Wed, 31 May 2017 21:04:36 +0000 (14:04 -0700)]
Generate serial number randomly in VTS unit test

Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.

Applying this to all the unit tests serial number.

Cherry-pick from:
  https://googleplex-android-review.git.corp.google.com/#/c/2330821/

Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253
(cherry picked from commit 0e8a3be41c7c0b0a8de9740524b8cac49c685c99)