OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoFix build, put back 'this' capture am: 15ec48374b
Yi Kong [Wed, 7 Jun 2017 21:43:31 +0000 (21:43 +0000)]
Fix build, put back 'this' capture am: 15ec48374b
am: b37a40891c

Change-Id: I0d7dce794e1dd8cf0a6543e5e1d5573d51c42112

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

Change-Id: I542840eacd31640cf5da37cf967854e9d8deed6c

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

7 years agoGenerate serial number randomly in VTS unit test
sqian [Wed, 24 May 2017 22:57:31 +0000 (15:57 -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

7 years agoRevert "audiohal: Add diagnostics to investigate HAL call crashes"
Mikhail Naganov [Wed, 31 May 2017 19:59:21 +0000 (19:59 +0000)]
Revert "audiohal: Add diagnostics to investigate HAL call crashes"

This reverts commit 6c0f76a684bc58eb10181f71d9f45c5799ca7c6a.

Since the root cause of the crash has been established, there is no need to keep this code around.

Bug: 36225019
Change-Id: I74e570e863a0cdec5d9029f1672e2e8066c246b5

7 years agoOmx vts tests.
Ram Mohan M [Mon, 29 May 2017 13:20:01 +0000 (18:50 +0530)]
Omx vts tests.

Bug:32023356
Test: make vts.

bug fix : fix issues in port reconfiguration

soft and vendor omx components communicate differently. The existing
design doesnt cover this. This is now fixed

Change-Id: I898e60c93961f468e749ab5f13db996c5fd53967

add support for additional color formats

tested encoder for bgra & 420sp color format inputs.
added code to get/set encoder latency.
some more necessary code cleanup.

Change-Id: I05b79d0a7706e20afaf91c88caf3e523c98b4540

IOmxBufferSource callback tests

Change-Id: I2826597c6ab110a0bf52290e3c52ff3fb3c6ea23

7 years agoMerge "Validate certificate names."
TreeHugger Robot [Wed, 31 May 2017 19:42:24 +0000 (19:42 +0000)]
Merge "Validate certificate names."

7 years agoMerge "Verify that attestation root is a valid self-signed cert."
TreeHugger Robot [Wed, 31 May 2017 19:24:58 +0000 (19:24 +0000)]
Merge "Verify that attestation root is a valid self-signed cert."

7 years agoMerge "Check HAL return codes."
TreeHugger Robot [Wed, 31 May 2017 19:19:03 +0000 (19:19 +0000)]
Merge "Check HAL return codes."

7 years agoMerge "Revert "Temporary disable tests failing tests for O""
Kevin Rocard [Wed, 31 May 2017 17:28:39 +0000 (17:28 +0000)]
Merge "Revert "Temporary disable tests failing tests for O""

7 years agoMerge "configstore-utils: vendor_available" into oc-dev am: 3dca679b80 -s ours
Jayant Chowdhary [Wed, 31 May 2017 04:25:18 +0000 (04:25 +0000)]
Merge "configstore-utils: vendor_available" into oc-dev am: 3dca679b80  -s ours
am: d40b89d117  -s ours

Change-Id: I770e5dd74698ef5dc10158e2664ac9fd847db813

7 years agoMerge "configstore-utils: vendor_available" into oc-dev
Jayant Chowdhary [Wed, 31 May 2017 04:14:07 +0000 (04:14 +0000)]
Merge "configstore-utils: vendor_available" into oc-dev
am: 3dca679b80  -s ours

Change-Id: Ic88ab64c96a097bbaa032f4ac6ce82cfc2c669db

7 years agoconfigstore-utils: vendor_available am: 632579d979 -s ours
Steven Moreland [Wed, 31 May 2017 04:12:15 +0000 (04:12 +0000)]
configstore-utils: vendor_available am: 632579d979  -s ours
am: ecb931ab78  -s ours

Change-Id: Ia1fcc648e4826ad18ace8ff1c24b8562a5b2799a

7 years agoMerge "GNSS HAL radio group for E911 SUPL" into oc-dev am: 2888555e9f
Wyatt Riley [Wed, 31 May 2017 04:07:31 +0000 (04:07 +0000)]
Merge "GNSS HAL radio group for E911 SUPL" into oc-dev am: 2888555e9f
am: 22d5682994  -s ours

Change-Id: I0b550579cf28e3ff668375cb39b1a8a399d5f503

7 years agoconfigstore-utils: vendor_available
Steven Moreland [Wed, 31 May 2017 04:05:11 +0000 (04:05 +0000)]
configstore-utils: vendor_available
am: 632579d979  -s ours

Change-Id: I2e05066b5e95a7abf46e17ac1a658775f5f7d366

7 years agoMerge "GNSS HAL radio group for E911 SUPL" into oc-dev
Wyatt Riley [Wed, 31 May 2017 04:03:35 +0000 (04:03 +0000)]
Merge "GNSS HAL radio group for E911 SUPL" into oc-dev
am: 2888555e9f

Change-Id: I4de153702f9df1a34fedaa4267192ae35e2498d4

7 years agoMerge "configstore-utils: vendor_available" into oc-dev
Jayant Chowdhary [Wed, 31 May 2017 03:59:44 +0000 (03:59 +0000)]
Merge "configstore-utils: vendor_available" into oc-dev

7 years agoMerge "GNSS HAL radio group for E911 SUPL" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 03:56:10 +0000 (03:56 +0000)]
Merge "GNSS HAL radio group for E911 SUPL" into oc-dev

7 years agoPut correct user/group in EVS mock driver .rc file
Scott Randolph [Fri, 26 May 2017 18:58:10 +0000 (11:58 -0700)]
Put correct user/group in EVS mock driver .rc file

If this module is included on a target platform, it will start at boot
time (but not very early) since it isn't actually need for backing up a
real car.  This makes it available for testing.

Test: build gordon_peak
Change-Id: I79bc2dafa1a8db579a1c3cc801bac8e4e1d01872

7 years agoconfigstore-utils: vendor_available
Steven Moreland [Fri, 28 Apr 2017 01:32:39 +0000 (18:32 -0700)]
configstore-utils: vendor_available

Test: with BOARD_VNDK_VERSION := current

(cherry picked from commit 65af0612ce5bd5f8d86e489b83971c2bd17badb2)

Merged-In: Ied49d6affe69099bc08a58e1d5e38052d018a2e8
Change-Id: I6278d659957829bce4ebdf44615ad25b371658d8

7 years agoMerge "Generate serial number randomly in VTS unit test"
TreeHugger Robot [Wed, 31 May 2017 01:44:58 +0000 (01:44 +0000)]
Merge "Generate serial number randomly in VTS unit test"

7 years agoMerge "Compile manager-lib shared library"
TreeHugger Robot [Wed, 31 May 2017 01:44:54 +0000 (01:44 +0000)]
Merge "Compile manager-lib shared library"

7 years agoGenerate serial number randomly in VTS unit test
sqian [Tue, 30 May 2017 20:30:08 +0000 (13:30 -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.

Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253

7 years agoMerge "Camera: fix release fence FD leaks" into oc-dev am: 6e7ca4e166
Yin-Chia Yeh [Tue, 30 May 2017 22:47:14 +0000 (22:47 +0000)]
Merge "Camera: fix release fence FD leaks" into oc-dev am: 6e7ca4e166
am: a9576758e2

Change-Id: I3fe086caa15f5ab3fd065cba312b6693f8da828d

7 years agoMerge "Camera: fix release fence FD leaks" into oc-dev
Yin-Chia Yeh [Tue, 30 May 2017 22:39:03 +0000 (22:39 +0000)]
Merge "Camera: fix release fence FD leaks" into oc-dev
am: 6e7ca4e166

Change-Id: I82df851760e0d85890fcc85496afb302f38d3ed7

7 years agoMerge "Camera: fix release fence FD leaks" into oc-dev
TreeHugger Robot [Tue, 30 May 2017 22:27:58 +0000 (22:27 +0000)]
Merge "Camera: fix release fence FD leaks" into oc-dev

7 years agoCompile manager-lib shared library
Alex Yakavenka [Fri, 12 May 2017 00:18:13 +0000 (17:18 -0700)]
Compile manager-lib shared library

bug: 38424350
Test: Local build
Change-Id: Idd03b8bac365f17b7fc418016d2c250a199384fe

7 years agoMove utility classes in a separate static target
Daniel Nicoara [Tue, 30 May 2017 19:38:30 +0000 (15:38 -0400)]
Move utility classes in a separate static target

Split up utility classes that can be re-used in other IComposer related
tests (such as the IVrComposerClient tests).

Changes:
 * Move GraphicsComposerCallback into separate module
 * Extract TestCommandReader in separate module
 * Extract Composer::execute() from test class

Bug: 38203529
Test: Compiled
Change-Id: I0d1193469e9dd94c477a63058f98111c162dfa99

7 years agoMerge "GNSS HAL radio group for E911 SUPL"
TreeHugger Robot [Tue, 30 May 2017 19:30:41 +0000 (19:30 +0000)]
Merge "GNSS HAL radio group for E911 SUPL"

7 years agoGNSS HAL radio group for E911 SUPL
Wyatt Riley [Tue, 2 May 2017 00:07:26 +0000 (17:07 -0700)]
GNSS HAL radio group for E911 SUPL

Bug: 37730994
Test: Builds, boots, basic GPS works
Change-Id: I2ceda822d6414348f61c183765f68068764d36cc
Merged-In: I2ceda822d6414348f61c183765f68068764d36cc

7 years agoGNSS HAL radio group for E911 SUPL
Wyatt Riley [Tue, 2 May 2017 00:07:26 +0000 (17:07 -0700)]
GNSS HAL radio group for E911 SUPL

Bug: 37730994
Test: Builds, boots, basic GPS works
Change-Id: I2ceda822d6414348f61c183765f68068764d36cc

7 years agoBluetooth: Remove scheduler-service dependency am: 8c71c85252
Myles Watson [Sat, 27 May 2017 02:26:13 +0000 (02:26 +0000)]
Bluetooth: Remove scheduler-service dependency am: 8c71c85252
am: 0af2996160

Change-Id: I12db4cbe34af45bbd7b67daa3ec9340db57a5549