OSDN Git Service

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

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

Change-Id: I2c1a8cd403930270110ca5854aca8c01c9327134

7 years agoRevert "Temporary disable tests failing tests for O"
Kevin Rocard [Sat, 27 May 2017 00:23:07 +0000 (17:23 -0700)]
Revert "Temporary disable tests failing tests for O"

This commit was never intended to be merged in master but it could not
be avoided due to an automerger limitation.

This reverts commit fd297c6f8e722ac834706844fec058ff7b1335c0.
Test: Run VTS
Bug: 36311550

Change-Id: I6ee23a6282c29b125e53cced0cfcc6b697754ce0

7 years agoCamera: fix release fence FD leaks
Yin-Chia Yeh [Fri, 26 May 2017 21:01:32 +0000 (14:01 -0700)]
Camera: fix release fence FD leaks

Test: use sw_sync to fake release fence FDs, GCA, CTS
Bug: 62070085
Change-Id: Iae77a2e112df5363e55e4177656a5dd41b830cbd

7 years agoBluetooth: Remove scheduler-service dependency
Myles Watson [Fri, 26 May 2017 17:09:07 +0000 (10:09 -0700)]
Bluetooth: Remove scheduler-service dependency

Bug: 38178265
Test: Bluetooth enable/disable
      adb shell stop && adb shell VtsHalBluetoothV1_TargetTest

Change-Id: I7f892bad73f72b46b7b1720bda267fdddad21948

7 years agoRemove versioning tests interfaces. am: 1cb1e14fae am: 45b2a58130 am: ca4611d6c2
Steven Moreland [Fri, 26 May 2017 19:20:51 +0000 (19:20 +0000)]
Remove versioning tests interfaces. am: 1cb1e14fae am: 45b2a58130 am: ca4611d6c2
am: 44b99959b0

Change-Id: I064cfb7c33e643bf604e64957d22c380ba18a890

7 years agoRemove versioning tests interfaces. am: 1cb1e14fae am: 45b2a58130
Steven Moreland [Fri, 26 May 2017 19:15:52 +0000 (19:15 +0000)]
Remove versioning tests interfaces. am: 1cb1e14fae am: 45b2a58130
am: ca4611d6c2

Change-Id: Ie6ba94cf1386eedcd1b53d08f697af83c57f39d6

7 years agoRemove versioning tests interfaces. am: 1cb1e14fae
Steven Moreland [Fri, 26 May 2017 19:13:50 +0000 (19:13 +0000)]
Remove versioning tests interfaces. am: 1cb1e14fae
am: 45b2a58130

Change-Id: I4686963cb5744a7b375c509694dc13c77487b273

7 years agoRemove versioning tests interfaces.
Steven Moreland [Fri, 26 May 2017 19:10:23 +0000 (19:10 +0000)]
Remove versioning tests interfaces.
am: 1cb1e14fae

Change-Id: I8d8df3dc8ef933f0e355e35b5699cd5334802652

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 agoRemove versioning tests interfaces.
Steven Moreland [Wed, 24 May 2017 22:29:56 +0000 (15:29 -0700)]
Remove versioning tests interfaces.

These are moved to system/tools/hidl/test in
a form that can have build time tests added
and which don't affect checkbuild time by
adding various Java targets.

Test: none
Bug: 38242758
Change-Id: I747619389e667f5660cdc0bf2cccd9df6bbb8eb4

7 years agoMerge "Camera: Remove binderized todo comment"
TreeHugger Robot [Fri, 26 May 2017 15:23:23 +0000 (15:23 +0000)]
Merge "Camera: Remove binderized todo comment"

7 years agoMerge "Omx vts test." into oc-dev am: 9a9c8da39b
Zhuoyao Zhang [Fri, 26 May 2017 00:28:22 +0000 (00:28 +0000)]
Merge "Omx vts test." into oc-dev am: 9a9c8da39b
am: 77a91e8f08  -s ours

Change-Id: I3f0bf20f114aec39ff3a2a88e98c969a8abed327

7 years agoMerge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev am: fd8da20eca
Scott Randolph [Fri, 26 May 2017 00:28:07 +0000 (00:28 +0000)]
Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev am: fd8da20eca
am: 34d7fe47aa

Change-Id: I0b64b1fb1c4c87d7d2ede832c20fa8d173440a2c

7 years agoMerge "Omx vts test." into oc-dev
Zhuoyao Zhang [Fri, 26 May 2017 00:26:02 +0000 (00:26 +0000)]
Merge "Omx vts test." into oc-dev
am: 9a9c8da39b

Change-Id: I4ac6e9ffe3ccd4b473d7355c1c18df14f31cfc3e

7 years agoMerge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev
Scott Randolph [Fri, 26 May 2017 00:25:42 +0000 (00:25 +0000)]
Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev
am: fd8da20eca

Change-Id: I0c1dcb81b0f2afb2d7065ceee72125af9d7980ee

7 years agoMerge "Omx vts test." into oc-dev
Zhuoyao Zhang [Fri, 26 May 2017 00:15:41 +0000 (00:15 +0000)]
Merge "Omx vts test." into oc-dev

7 years agoMerge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 00:14:46 +0000 (00:14 +0000)]
Merge "Fix typos in IEvsEnumerator descriptive comment" into oc-dev

7 years agoOmx vts test.
Ram Mohan M [Thu, 11 May 2017 13:22:47 +0000 (18:52 +0530)]
Omx vts test.

Bug:32023356
Test: make vts.

Merged-In: I83b454b999203fb94bc4cc50c91bd99f788131b3

secure buffer allocation for secure components

As of now, we see a crash in encoder test application on secure components
This is due to nullptr access. setting property media.mediadrmservice.enable
to 1 causes a different crash sigabrt(). In decoder securebufferallocation
call passes but we havent done anything with it. This commit needs more work.

Change-Id: I19127e39ad7daf66ac5277406e3857ec45c99e0a

add debug code

This can come in handy to view the decoded/encoded content or
for computation of psnr

Change-Id: I80e60349c76c02e5098df667223a0227f59b8324

video encoder test with anw input buffer

In this commit, anw buffers are provided as input for encoding
as opposed to byte buffers. In process IOmxNode, IGraphicBufferSource api
calls are tested

Change-Id: I7ec4af0746fe59221de42e56b344852d8fadc4f2

add support for additional color formats

Change-Id: Ia88ef9c95882958a68fee5cc68e146c3502a1b48

add eos and timestamp deviation test to video encoder

Change-Id: I9ebeaa53a986ec3f8a2ef55306877aec808d2add

add metamode support for video decoders

Change-Id: I7d6d6991cdc0ed36241d0e99c7a23675664acb10

add a timeout while processing input buffers

do not wait on input buffers processing to complete for an
indefinite amount of time. wait for a predefined duration and
leave

Change-Id: Icceaf0737a52e62f47bc052367e7ddbdc1868a46

move duplicate code to a library

move routines common across audio, video, component folders to a static
library

Change-Id: I55bf21e47571490e989b52b82c48c6e9a4b23745

add end of stream test for audio encoder

add eos test for audio encoder and some more code cleanup

Change-Id: I9d670ed53f6bba5802f919ec915e67bb0fa83518

Ensure all the buffers allocated are cycled

use all buffers provided by the component (even if it is greater than the
number of buffers needed by the bitstream)

Change-Id: I83b454b999203fb94bc4cc50c91bd99f788131b3

move duplicate code to a library - II

Change-Id: I375603feb9da303adc6a2d75ef59e43a11c3bd6d

Change-Id: I83b454b999203fb94bc4cc50c91bd99f788131b3
(cherry picked from commit 1da607c513c74612127cd18e83dcca53afb2f38f)