OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev am: a12a573955
Ram Mohan M [Fri, 9 Jun 2017 03:19:13 +0000 (03:19 +0000)]
Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev am: a12a573955
am: 2e6a7a08f7

Change-Id: I2fcbc3d21c880cef90b938eb4e4517e0ff6bf963

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 "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 "Merge "Fix vts tests:" into oc-dev am: dda2e8cdc2 am: 50c1bfdb0c" into oc...
Android Build Merger (Role) [Fri, 9 Jun 2017 02:15:28 +0000 (02:15 +0000)]
Merge "Merge "Fix vts tests:" into oc-dev am: dda2e8cdc2 am: 50c1bfdb0c" into oc-dr1-dev-plus-aosp

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

Change-Id: I83a561ffaadf1eff25bca495d9d522bbe1774c5b

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

Change-Id: Ic5623b62f1478b620a10fb0ed70678e93585edad

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: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
Yifan Hong [Fri, 9 Jun 2017 00:50:55 +0000 (00:50 +0000)]
Merge "Use different versions for framework compatibility matrix" into oc-dr1-dev
am: 40834bbf0e

Change-Id: Ibd360d250a3e6684450ab10180a22840f79a4267

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 agoMerge "audiohal: Prevent logspam when calling get_presentation_position" into oc...
Mikhail Naganov [Thu, 8 Jun 2017 22:58:52 +0000 (22:58 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev am: 80e9912183
am: e1af2bc940

Change-Id: I26306705714975d57ae454b60fed6ef9606e9467

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...
Mikhail Naganov [Thu, 8 Jun 2017 22:54:51 +0000 (22:54 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev am: 80e9912183
am: 8699602bf3

Change-Id: I11d0e68805cf108151d1cf86223b0f09cbe19b74

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 am:...
Zhuoyao Zhang [Thu, 8 Jun 2017 16:35:04 +0000 (16:35 +0000)]
Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev am: 6fe8953866
am: d56b3083dd

Change-Id: Ie8eed658a7082b3f925cfbf9ff6f3fae6661b191

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

Change-Id: I32f02135a3f911bdb3a9ccc027bbb768720be026

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

Change-Id: Ic894f601c410064eca340e7f81463b4cd6d573be

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

Change-Id: Ib13cbec2f5c93eddc4cb80334f5971ac5bbad951

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 "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: I47b2613f0cfaf1f237bbdc432262b46fc3de3b9f

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 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:32:18 +0000 (05:32 +0000)]
Merge "[AWARE] Fix validity check on PMK + export PASSPHRASE lengths" into oc-dr1-dev
am: b243fb5ca3

Change-Id: Ib81d4e7757dda185311c3ba30155b5c5cc3594b0

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. am: 538b7d85ef
Janis Danisevskis [Thu, 8 Jun 2017 02:02:16 +0000 (02:02 +0000)]
Fix expected attestation version. am: 538b7d85ef
am: d4c2e5d8a5

Change-Id: Ifcfc71174c58820066315d77581679da30c377a5

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 agoFix expected attestation version. am: 538b7d85ef
Janis Danisevskis [Thu, 8 Jun 2017 01:52:46 +0000 (01:52 +0000)]
Fix expected attestation version. am: 538b7d85ef
am: db5b71c924

Change-Id: I65916750483228b74b4b65a5379fdf0ec06f4816

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 agoFix build, put back 'this' capture
Yi Kong [Wed, 7 Jun 2017 21:35:05 +0000 (21:35 +0000)]
Fix build, put back 'this' capture
am: 15ec48374b

Change-Id: I2e72433b463595265744d19ee1bfcc67d518924f

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 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 agoRemove unused lambda capture
Chih-Hung Hsieh [Wed, 7 Jun 2017 20:08:48 +0000 (20:08 +0000)]
Remove unused lambda capture
am: d3bc681f26

Change-Id: Ie4ee47c803eea93220c3b78225b8369de54bb700

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