OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoAdd evs and vehicle hal to compatibility matrix
Scott Randolph [Tue, 23 May 2017 22:40:52 +0000 (22:40 +0000)]
Add evs and vehicle hal to compatibility matrix
am: 47d88d6eeb

Change-Id: Id61586007d132ed62a0391f000a9c359326884e4

7 years agoMerge "Temporary disable tests failing tests for O" into oc-dev
Kevin Rocard [Tue, 23 May 2017 21:48:04 +0000 (21:48 +0000)]
Merge "Temporary disable tests failing tests for O" into oc-dev
am: ed8c71e480

Change-Id: Ib0681b212b0e9e568004c6b07e66a61bb31ea371

7 years agoMerge "Temporary disable tests failing tests for O" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 21:39:10 +0000 (21:39 +0000)]
Merge "Temporary disable tests failing tests for O" into oc-dev

7 years agoMerge "Increase poll max size, avoid performance issue when batching" into oc-dev
Peng Xu [Tue, 23 May 2017 20:48:21 +0000 (20:48 +0000)]
Merge "Increase poll max size, avoid performance issue when batching" into oc-dev
am: 538fa39cf8

Change-Id: I834c6e72498963bbe48299903e12f79b29a7479b

7 years agoMerge "Increase poll max size, avoid performance issue when batching" into oc-dev
Peng Xu [Tue, 23 May 2017 20:33:28 +0000 (20:33 +0000)]
Merge "Increase poll max size, avoid performance issue when batching" into oc-dev

7 years agoIncrease poll max size, avoid performance issue when batching
Peng Xu [Thu, 4 May 2017 23:36:37 +0000 (16:36 -0700)]
Increase poll max size, avoid performance issue when batching

Vts polls sensor events with max size of 1, which can cause
performance issue when batching. Increase it to 64 to help eliminate
potential performance issue.

Note this CL has no change in behavior of test.

Test: VTS target test pass on several devices
Bug: 62027156
Change-Id: I04a6791f407ec0a54eb6cd8df4d4ef41e8a89c12
Merged-In: I04a6791f407ec0a54eb6cd8df4d4ef41e8a89c12
(cherry picked from commit e337dfe3d250dabcbdc9d4c8e9620f76b96b4562)

7 years agoAdd evs and vehicle hal to compatibility matrix
Scott Randolph [Thu, 11 May 2017 17:16:12 +0000 (10:16 -0700)]
Add evs and vehicle hal to compatibility matrix

Test: builds
Change-Id: I61dcc985d1d4dde4b4b53e36b0de1d4dcff8d3f4
Merged-In: I61dcc985d1d4dde4b4b53e36b0de1d4dcff8d3f4

7 years agoFixed flaky RenderScript VTS Test am: 076f69aa2b am: c12c5abf68
Michael Butler [Tue, 23 May 2017 17:52:57 +0000 (17:52 +0000)]
Fixed flaky RenderScript VTS Test am: 076f69aa2b am: c12c5abf68
am: abb2a62271

Change-Id: Icc6c8ea54f3e61a54ef7faa5f37e3f209035ee6d

7 years agoFixed flaky RenderScript VTS Test am: 076f69aa2b
Michael Butler [Tue, 23 May 2017 17:50:47 +0000 (17:50 +0000)]
Fixed flaky RenderScript VTS Test am: 076f69aa2b
am: c12c5abf68

Change-Id: Iffca0f29077c804125d3bf185e165e453a206c72

7 years agoFixed flaky RenderScript VTS Test
Michael Butler [Tue, 23 May 2017 17:48:43 +0000 (17:48 +0000)]
Fixed flaky RenderScript VTS Test
am: 076f69aa2b

Change-Id: I17ae8017893c4c9d374a956417e7e18f06188a39

7 years agoMerge "wifi(vts): Add retry for HAL start" into oc-dev
Roshan Pius [Tue, 23 May 2017 00:45:05 +0000 (00:45 +0000)]
Merge "wifi(vts): Add retry for HAL start" into oc-dev
am: 4197ba0208

Change-Id: I6552049f92cafa2544bd5d24e806f5dd45ea9627

7 years agoMerge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev
Pawin Vongmasa [Tue, 23 May 2017 00:44:48 +0000 (00:44 +0000)]
Merge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev
am: daa038e999  -s ours

Change-Id: I1680ef5a697825ce2639e5bc29e80a35d4bd01cc

7 years agoFixed flaky RenderScript VTS Test
Michael Butler [Tue, 23 May 2017 00:01:24 +0000 (17:01 -0700)]
Fixed flaky RenderScript VTS Test

Added missing synchronization before context destroy

Bug: 38385848
Test: make vts, does not fail with multiple tests
Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc

7 years agoMerge "wifi(vts): Add retry for HAL start" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 00:25:30 +0000 (00:25 +0000)]
Merge "wifi(vts): Add retry for HAL start" into oc-dev

7 years agoMove media_profiles_V1_0.dtd to hardware/interfaces
Pawin Vongmasa [Tue, 23 May 2017 00:06:18 +0000 (00:06 +0000)]
Move media_profiles_V1_0.dtd to hardware/interfaces
am: d30c749adb  -s ours

Change-Id: I5e55718118df98a6936bcb2ca56b446ecf2ebb32

7 years agoMerge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev
TreeHugger Robot [Mon, 22 May 2017 23:53:33 +0000 (23:53 +0000)]
Merge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev

7 years agowifi(vts): Add retry for HAL start
Roshan Pius [Mon, 22 May 2017 21:16:06 +0000 (14:16 -0700)]
wifi(vts): Add retry for HAL start

Port of the retry logic added in HalDeviceManager for temporary IWifi.start()
failures when invoked immediately after IWifi.stop().

Bug: 38342536
Test: Run VTS tests
Change-Id: Ie58a08c45979bafa0c61fa1c8536a2c0a0cd8ed9

7 years agoUpdate makefiles. (2/2)
Steven Moreland [Mon, 22 May 2017 17:15:20 +0000 (17:15 +0000)]
Update makefiles. (2/2)
am: 76cfb84140

Change-Id: I24d21438a5b2f447d2160929c6ff6e17b2b66820

7 years agoUpdate makefiles.
Steven Moreland [Mon, 22 May 2017 17:15:19 +0000 (17:15 +0000)]
Update makefiles.
am: e4d318948a  -s ours

Change-Id: I3bc995be0dbcaedceac63f9dee9120288a84a2e4

7 years agoMerge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev-plus-aosp
TreeHugger Robot [Sat, 20 May 2017 04:05:37 +0000 (04:05 +0000)]
Merge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev-plus-aosp

7 years agoMerge "Update makefiles." am: 9119d4ccd1 am: 242b2288d7
Steven Moreland [Sat, 20 May 2017 00:19:40 +0000 (00:19 +0000)]
Merge "Update makefiles." am: 9119d4ccd1 am: 242b2288d7
am: c6da54569f

Change-Id: Ib7f7a9cdb64985d545443edac5bb8e9c169fc592

7 years agoMerge "Update makefiles." am: 9119d4ccd1
Steven Moreland [Sat, 20 May 2017 00:17:07 +0000 (00:17 +0000)]
Merge "Update makefiles." am: 9119d4ccd1
am: 242b2288d7

Change-Id: I2fbb70483533b0f9be4c2c661c44986ea2dd6850

7 years agoMerge "Update makefiles."
Steven Moreland [Sat, 20 May 2017 00:13:11 +0000 (00:13 +0000)]
Merge "Update makefiles."
am: 9119d4ccd1

Change-Id: Icf060b16975695c0d8b6bbf2ba2d20f1c728eb65

7 years agoMerge "Update makefiles."
Treehugger Robot [Sat, 20 May 2017 00:05:49 +0000 (00:05 +0000)]
Merge "Update makefiles."

7 years agoUpdate makefiles. (2/2)
Steven Moreland [Fri, 19 May 2017 22:52:22 +0000 (15:52 -0700)]
Update makefiles. (2/2)

Adds default configuration for all hals.

Bug: 38415912
Test: pass
Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e

7 years agoUpdate makefiles.
Steven Moreland [Thu, 18 May 2017 23:14:16 +0000 (16:14 -0700)]
Update makefiles.

Adds default configuration to all hals.

Test: pass
Merged-In: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856

7 years agoMerge "VTS Audio Effect: Allow 'NOT_SUPPORTED' from IEffect::offload method" into...
Mikhail Naganov [Fri, 19 May 2017 20:35:34 +0000 (20:35 +0000)]
Merge "VTS Audio Effect: Allow 'NOT_SUPPORTED' from IEffect::offload method" into oc-dev
am: 2bb2add8a9

Change-Id: I4002f571964e615ec0e8357468cbf037fbdb0a43

7 years agoMerge "VTS Audio Effect: Allow 'NOT_SUPPORTED' from IEffect::offload method" into...
TreeHugger Robot [Fri, 19 May 2017 20:28:08 +0000 (20:28 +0000)]
Merge "VTS Audio Effect: Allow 'NOT_SUPPORTED' from IEffect::offload method" into oc-dev

7 years agoVTS Audio Effect: Allow 'NOT_SUPPORTED' from IEffect::offload method
Mikhail Naganov [Fri, 19 May 2017 17:55:17 +0000 (10:55 -0700)]
VTS Audio Effect: Allow 'NOT_SUPPORTED' from 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 accept either OK or NOT_SUPPORTED.

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

7 years agoMerge "Add <interface> / <instance> to fwk compat mat" into oc-dev
Yifan Hong [Fri, 19 May 2017 16:41:46 +0000 (16:41 +0000)]
Merge "Add <interface> / <instance> to fwk compat mat" into oc-dev
am: 0fefa392f7

Change-Id: I4f698299be7e3b4fdf94aa5497c9eb748c419e45

7 years agoMerge "Add <interface> / <instance> to fwk compat mat" into oc-dev
Yifan Hong [Fri, 19 May 2017 16:36:14 +0000 (16:36 +0000)]
Merge "Add <interface> / <instance> to fwk compat mat" into oc-dev

7 years agoMerge "[WIFI] Remove dependency on vendor-specific library" am: 294340e1d4 am: ee9e5b843a
Etan Cohen [Fri, 19 May 2017 16:07:18 +0000 (16:07 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library" am: 294340e1d4 am: ee9e5b843a
am: 664584f74e

Change-Id: Ie99267431e980e008b3b27b1f93a58377d94e648

7 years agoMerge "[WIFI] Remove dependency on vendor-specific library" am: 294340e1d4
Etan Cohen [Fri, 19 May 2017 16:02:25 +0000 (16:02 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library" am: 294340e1d4
am: ee9e5b843a

Change-Id: If233628bbc5e269353c1fd5c130d4391cb66fa61

7 years agoMerge "[WIFI] Remove dependency on vendor-specific library"
Etan Cohen [Fri, 19 May 2017 15:58:47 +0000 (15:58 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library"
am: 294340e1d4

Change-Id: I9af0a65579ce93ff59357e8df9848f40a94e0211

7 years agoMerge "[WIFI] Remove dependency on vendor-specific library"
Etan Cohen [Fri, 19 May 2017 15:52:18 +0000 (15:52 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library"

7 years agoMove media_profiles_V1_0.dtd to hardware/interfaces
Pawin Vongmasa [Thu, 18 May 2017 11:07:59 +0000 (04:07 -0700)]
Move media_profiles_V1_0.dtd to hardware/interfaces

Test: media_profiles_V1_0.dtd exists in system/etc
Bug: 36430270
Merged-In: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67
Change-Id: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67

7 years agoMove media_profiles_V1_0.dtd to hardware/interfaces
Pawin Vongmasa [Thu, 18 May 2017 11:07:59 +0000 (04:07 -0700)]
Move media_profiles_V1_0.dtd to hardware/interfaces

Test: media_profiles_V1_0.dtd exists in system/etc
Bug: 36430270
Merged-In: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67
Change-Id: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67

7 years agoUpdate makefiles.
Steven Moreland [Thu, 18 May 2017 23:14:16 +0000 (16:14 -0700)]
Update makefiles.

Adds default configuration to all hals.

Test: pass
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856

7 years agoMerge changes from topic 'fix-vts-test' into oc-dev
Shuo Qian [Thu, 18 May 2017 22:59:25 +0000 (22:59 +0000)]
Merge changes from topic 'fix-vts-test' into oc-dev
am: a64eb7c698

Change-Id: I3ed89c13301ce07e5fc8ac0be59f33dbf4be492b

7 years agoMerge changes from topic 'fix-vts-test' into oc-dev
Shuo Qian [Thu, 18 May 2017 22:56:14 +0000 (22:56 +0000)]
Merge changes from topic 'fix-vts-test' into oc-dev

* changes:
  update .hal file to fix vts test
  Fix vts tests

7 years agoupdate .hal file to fix vts test
sqian [Wed, 17 May 2017 03:29:19 +0000 (20:29 -0700)]
update .hal file to fix vts test

Test: Manual
Bug: 35671595
Change-Id: Ic97cc8e9a713bfa22f9986c18ddb5af624142b17

7 years agoFix vts tests
sqian [Tue, 16 May 2017 20:01:20 +0000 (13:01 -0700)]
Fix vts tests

- apduReq

(with QC UIM document)
- handleStkCallSetupRequestFromSim
- supplyNetworkDepersonalization

Test: make vts; vts-tradefed; run vts -m VtsHalRadioV1_0Target
Bug: 35671595
Change-Id: Ie7427e027eb93e89a9790260cfdbbb2d01c50cc1

7 years agoAdd <interface> / <instance> to fwk compat mat
Yifan Hong [Thu, 18 May 2017 20:46:57 +0000 (13:46 -0700)]
Add <interface> / <instance> to fwk compat mat

Test: bullhead, m manifest.xml -j
Test: marlin, m manifest.xml -j
Test: new devices, m manifest.xml -j
(for marlin and new devices, assemble_vintf
is invoked to check compatibility)

Bug: 38395193
Change-Id: I4201bec4753e7efe41678a736dd0a124b995fbf9

7 years agoMerge "audio HAL: fix getParameters status check." into oc-dev
Eric Laurent [Thu, 18 May 2017 17:37:02 +0000 (17:37 +0000)]
Merge "audio HAL: fix getParameters status check." into oc-dev
am: af7bc59c0a

Change-Id: Icd5926031ace47bc0dc1b1f24cb48e107851fcd7

7 years agoMerge "audio HAL: fix getParameters status check." into oc-dev
TreeHugger Robot [Thu, 18 May 2017 17:24:29 +0000 (17:24 +0000)]
Merge "audio HAL: fix getParameters status check." into oc-dev

7 years agoaudio HAL: fix getParameters status check.
Eric Laurent [Thu, 18 May 2017 01:32:36 +0000 (18:32 -0700)]
audio HAL: fix getParameters status check.

Bug: 38326193
Test: VTS tests for module VtsHalAudioV2_0TargetTest.

Change-Id: If4109cea68120d722a3b1084ad583170e950cfa0

7 years agoTemporary disable tests failing tests for O
Kevin Rocard [Fri, 12 May 2017 22:25:09 +0000 (15:25 -0700)]
Temporary disable tests failing tests for O

Those tests are failing because their fix
(I0ea1a4bf952527ac0711ed3cdd31c6aa53db4d2e) is dangerous to merge in O
so close to the final release.

The fix implements a rejection feature for unsupported audio format.
This rejection is required by the hal interface
but was only partially implemented in the hal.
The problem is that the framework was never tested with a hal supporting
this behavior nor some calls implemented with this requirement.
As a result I do not feel confident in merging it in oc-dev,
it might complex, hard to detect bugs.

The fix will be merged in master thus will be part of mr1.
The current patch will be reverted in master after the fix is merged.

Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug: 36311550
Change-Id: Ia9e1dcec5442e2755f0bcb13d8d502663f507dbe
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agosound trigger VTS: used default HAL service name
Eric Laurent [Wed, 17 May 2017 22:09:06 +0000 (22:09 +0000)]
sound trigger VTS: used default HAL service name
am: f0b981a42a

Change-Id: I354258222b45e4f62cad91a95becd6eca142cf1d

7 years agosound trigger VTS: used default HAL service name
Eric Laurent [Wed, 17 May 2017 19:50:15 +0000 (12:50 -0700)]
sound trigger VTS: used default HAL service name

Bug: 37864311
Test: run VTS for module VtsHalSoundtriggerV2_0Target on marlin
Change-Id: If727dcc5921742ece6252dff839ce8100f24ccd1

7 years agoAdd the new RIL requests to start/stop network scan am: 872518a234 am: a586895e0d
yinxu [Wed, 17 May 2017 17:32:41 +0000 (17:32 +0000)]
Add the new RIL requests to start/stop network scan am: 872518a234 am: a586895e0d
am: c09e15172c

Change-Id: I666b02d375bc9a49c5117f2c000a947bf6c38fc2

7 years agoAdd the new RIL requests to start/stop network scan
yinxu [Fri, 21 Apr 2017 22:04:15 +0000 (15:04 -0700)]
Add the new RIL requests to start/stop network scan

The CL defines the RIL API including the methods and structs which will
be used start and stop the network scan.

Test: Telephony Sanity Test
Bug: 30954762

Merged-in: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
(cherry picked from commit b187e9f95e52f4a10a656a56c8a1a3a8722bb029)
(cherry picked from commit 872518a234169030f591b683570c76437e3b49f2)

7 years agoAdd the new RIL requests to start/stop network scan am: 872518a234
yinxu [Tue, 16 May 2017 23:21:43 +0000 (23:21 +0000)]
Add the new RIL requests to start/stop network scan am: 872518a234
am: a586895e0d

Change-Id: I9492ec84107ce60f95c2ce56c833d269e54b0224

7 years agoAdd the new RIL requests to start/stop network scan
yinxu [Tue, 16 May 2017 23:11:34 +0000 (23:11 +0000)]
Add the new RIL requests to start/stop network scan
am: 872518a234

Change-Id: I54de141d12b99b682b579b5002e75b2665f112f7

7 years agoAdd the new RIL requests to start/stop network scan
yinxu [Fri, 21 Apr 2017 22:04:15 +0000 (15:04 -0700)]
Add the new RIL requests to start/stop network scan

The CL defines the RIL API including the methods and structs which will
be used start and stop the network scan.

Test: Telephony Sanity Test
Bug: 30954762

Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
(cherry picked from commit b187e9f95e52f4a10a656a56c8a1a3a8722bb029)

7 years agoMerge "Support different SIM power states" am: f94eb06d32 am: b6e91f51f6
Grace Chen [Tue, 16 May 2017 19:58:53 +0000 (19:58 +0000)]
Merge "Support different SIM power states" am: f94eb06d32 am: b6e91f51f6
am: 22facb038d

Change-Id: Ib45036bead4fe35323f39fa7fa9bc882b73dd0de

7 years agoMerge "Support different SIM power states" am: f94eb06d32
Grace Chen [Tue, 16 May 2017 19:50:51 +0000 (19:50 +0000)]
Merge "Support different SIM power states" am: f94eb06d32
am: b6e91f51f6

Change-Id: Iee77b290f446423624b83526e332b668e358256a

7 years agoMerge "Support different SIM power states"
Grace Chen [Tue, 16 May 2017 19:42:46 +0000 (19:42 +0000)]
Merge "Support different SIM power states"
am: f94eb06d32

Change-Id: I31103f6a6de332ab8a68df4f7d13cbb097a72e28

7 years agoMerge "Support different SIM power states"
Grace Chen [Tue, 16 May 2017 19:30:25 +0000 (19:30 +0000)]
Merge "Support different SIM power states"

7 years agoMerge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
Kevin Rocard [Tue, 16 May 2017 19:13:11 +0000 (19:13 +0000)]
Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
am: c558ddf3fa

Change-Id: I15868923cdfd165e20468d1c885a256fefd0eeca

7 years agoMerge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
TreeHugger Robot [Tue, 16 May 2017 18:52:39 +0000 (18:52 +0000)]
Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev

* changes:
  Audio HAL: A speech volume outside of [0,1] is an error
  Audio HAL VTS: Some methods are not optional

7 years agoMerge "Revert "Fix resource leaks in drm hal"" into oc-dev
Jeff Tinker [Tue, 16 May 2017 18:50:29 +0000 (18:50 +0000)]
Merge "Revert "Fix resource leaks in drm hal"" into oc-dev
am: db15c4b6ee

Change-Id: Ib2b3078f95637fe3c4f4f6e0bd73498374f945f5

7 years agoAdd HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2 am: 8acff9a619
Howard Chen [Tue, 16 May 2017 18:30:21 +0000 (18:30 +0000)]
Add HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2 am: 8acff9a619
am: c57ac16490

Change-Id: I3471b2ff91acc53005fc391224de121c069437de

7 years agoAdd IScheduleTest for VTS libhwbinder scheduler test am: 35ae446548 am: 5a42dc1812
Howard Chen [Tue, 16 May 2017 18:30:19 +0000 (18:30 +0000)]
Add IScheduleTest for VTS libhwbinder scheduler test am: 35ae446548 am: 5a42dc1812
am: 80080bf2df  -s ours

Change-Id: Id5a06a05a2cdff43623ecd7975274b8ca9adc809

7 years agoAdd HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2
Howard Chen [Tue, 16 May 2017 18:26:49 +0000 (18:26 +0000)]
Add HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2
am: 8acff9a619

Change-Id: I3ba552765de4332f97367efc223457c0b641c084

7 years agoAdd IScheduleTest for VTS libhwbinder scheduler test am: 35ae446548
Howard Chen [Tue, 16 May 2017 18:26:47 +0000 (18:26 +0000)]
Add IScheduleTest for VTS libhwbinder scheduler test am: 35ae446548
am: 5a42dc1812

Change-Id: I00a873e7233d6f29dd6c71bbac9d145d23038214

7 years agoMerge "Revert "Fix resource leaks in drm hal"" into oc-dev
Jeff Tinker [Tue, 16 May 2017 18:25:50 +0000 (18:25 +0000)]
Merge "Revert "Fix resource leaks in drm hal"" into oc-dev

7 years agoAdd HIDL_FETCH_IScheduleTest declaration
Howard Chen [Tue, 16 May 2017 18:24:18 +0000 (18:24 +0000)]
Add HIDL_FETCH_IScheduleTest declaration
am: 82ddb247b2

Change-Id: Idb6e9dca36c6e7b455c62dbc66d09def5f51fd65

7 years agoAdd IScheduleTest for VTS libhwbinder scheduler test
Howard Chen [Tue, 16 May 2017 18:24:16 +0000 (18:24 +0000)]
Add IScheduleTest for VTS libhwbinder scheduler test
am: 35ae446548

Change-Id: I6e9b9866c0e7ab9e9beccd6137226a43dd33c858

7 years agoRevert "Fix resource leaks in drm hal"
Jeff Tinker [Tue, 16 May 2017 18:21:39 +0000 (18:21 +0000)]
Revert "Fix resource leaks in drm hal"

This caused b/38343526 which is a chase list issue, reverting for now.

This reverts commit 4e1fe736af1b88485bba762b11bc0c11a447819c.

Change-Id: Ib9ffcd11e575e3f05f54cbea17fda2f2eb3780b5

7 years agoSupport different SIM power states
Grace Chen [Wed, 26 Apr 2017 01:41:20 +0000 (18:41 -0700)]
Support different SIM power states

Test: Verify SIM power states
Bug:  35844036
Merged-In: I769f7eada97286680cb516c63d28da11bb69db4d
Change-Id: I769f7eada97286680cb516c63d28da11bb69db4d

7 years agoAdd HIDL_FETCH_IScheduleTest declaration
Howard Chen [Mon, 8 May 2017 06:04:05 +0000 (14:04 +0800)]
Add HIDL_FETCH_IScheduleTest declaration

Fix the bug that makes the registerAsServer fail.
sp<IScheduleTest> server =
IScheduleTest::getService(serviceName, true);
status_t status = server->registerAsService(serviceName);

Bug:38099333
Test: oc-dev on pixel sailfish with a vts test case
  "libhwbinder_latency -i 1"
Change-Id: I892835a25ef7df56a6424da41c0fc477b3a532d8

7 years agoAdd IScheduleTest for VTS libhwbinder scheduler test
Howard Chen [Fri, 7 Apr 2017 12:15:28 +0000 (20:15 +0800)]
Add IScheduleTest for VTS libhwbinder scheduler test

Add IScheduleTest.hal:
    send(cfg, callerSta)
cfg: 1 for verbose output
caller_status:  (caller_rt_priority <<16 )| caller_cpu

with the return value defined as:
((1 if no priority inheritance)<<16) | (1 if no cpu sync)
The implementation is in ScheduleTest.cpp

Bug:36705188
Test: sailfish/prebuilt kernel/oc-dev with the libhwbinder_latency
  vts test case
Merged-In: Ie2a837c8d0d4fa95c6fd0ebd50e76412cb808df8

Change-Id: Ic0498bc2b036cedced906963bb8e489dcca47a1a

7 years agoMerge "Omx vts tests." into oc-dev
Zhuoyao Zhang [Tue, 16 May 2017 00:08:54 +0000 (00:08 +0000)]
Merge "Omx vts tests." into oc-dev
am: 1d619f743d

Change-Id: I80b3c97d186f56210b761e1cd642c209e5071358

7 years agoMerge "Omx vts tests." into oc-dev
Zhuoyao Zhang [Mon, 15 May 2017 23:10:36 +0000 (23:10 +0000)]
Merge "Omx vts tests." into oc-dev

7 years agoNFC: vts: Add commands to reset the NFC controller before other commands
Ruchi Kandoi [Mon, 15 May 2017 22:24:47 +0000 (22:24 +0000)]
NFC: vts: Add commands to reset the NFC controller before other commands
am: 8e3c66e28b

Change-Id: Icc9fad4989d4d9e1b862f98bfcf3527476738366

7 years agoAudio HAL: A speech volume outside of [0,1] is an error
Kevin Rocard [Tue, 9 May 2017 00:08:11 +0000 (17:08 -0700)]
Audio HAL: A speech volume outside of [0,1] is an error

Hals are supposed to received normalized volumes, between 0 and 1.
Previously volumes outside [0,1] were clamp to this range.
This clamping has the capability to hide bugs thus return an error if
such volume is received.

Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug: 36311550
Change-Id: Iab70f9c651540ea2434d10939d28c1c842db19e0
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoNFC: vts: Add commands to reset the NFC controller before other commands
Ruchi Kandoi [Fri, 12 May 2017 21:19:25 +0000 (14:19 -0700)]
NFC: vts: Add commands to reset the NFC controller before other commands

Bandwidth and WriteInvalidAndThenValidCommand test assumes that the NFC
controller will be initialized before the test. This is not necessarily
true for all devices. Send CORE_RESET_CMD and CORE_INIT_CMD before
creating a loop-back connection.

CORE_RESET_RSP doesn't necessary return the configuration that was sent
in CORE_RESET_CMD. For instance, if CORE_RESET_CMD requested keeping
the configuration, and if the controller doesn't support that, the
configuration will be resetted and CORE_RESET_RSP will reflect that.

Bug: 38267593
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
      --primary-abi-only --skip-preconditions
      --module VtsHalNfcV1_0Target -l INFO
Change-Id: I65ae9746054ca767b928bdd461faa02f03719aea
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
(cherry picked from commit 209a274c31f8654000561b080f64ee84dd221ed9)

7 years agoMerge "Fix resource leaks in drm hal" into oc-dev
Jeff Tinker [Mon, 15 May 2017 20:03:22 +0000 (20:03 +0000)]
Merge "Fix resource leaks in drm hal" into oc-dev
am: 14b91049a7

Change-Id: Iedefddb99f498e968a22b50fe09c589f43907ff6

7 years agoMerge "Fix resource leaks in drm hal" into oc-dev
TreeHugger Robot [Mon, 15 May 2017 19:54:09 +0000 (19:54 +0000)]
Merge "Fix resource leaks in drm hal" into oc-dev

7 years agoNFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c...
Ruchi Kandoi [Mon, 15 May 2017 17:27:27 +0000 (17:27 +0000)]
NFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c31 am: cd825026ca
am: b5beef1765

Change-Id: I70dc4ec91c3ea52dec1bfddf6fc55634250b28fe

7 years agoNFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c31
Ruchi Kandoi [Mon, 15 May 2017 17:20:24 +0000 (17:20 +0000)]
NFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c31
am: cd825026ca

Change-Id: I743c32a2b475540ba9df2137d90415c11222ea7d

7 years agoNFC: vts: Add commands to reset the NFC controller before other commands
Ruchi Kandoi [Mon, 15 May 2017 17:17:55 +0000 (17:17 +0000)]
NFC: vts: Add commands to reset the NFC controller before other commands
am: 209a274c31

Change-Id: I6d8cf3abf2dca69c984b313c593a01b282b23dd1

7 years agoNFC: vts: Add commands to reset the NFC controller before other commands
Ruchi Kandoi [Fri, 12 May 2017 21:19:25 +0000 (14:19 -0700)]
NFC: vts: Add commands to reset the NFC controller before other commands

Bandwidth and WriteInvalidAndThenValidCommand test assumes that the NFC
controller will be initialized before the test. This is not necessarily
true for all devices. Send CORE_RESET_CMD and CORE_INIT_CMD before
creating a loop-back connection.

CORE_RESET_RSP doesn't necessary return the configuration that was sent
in CORE_RESET_CMD. For instance, if CORE_RESET_CMD requested keeping
the configuration, and if the controller doesn't support that, the
configuration will be resetted and CORE_RESET_RSP will reflect that.

Bug: 38267593
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
      --primary-abi-only --skip-preconditions
      --module VtsHalNfcV1_0Target -l INFO
Change-Id: I65ae9746054ca767b928bdd461faa02f03719aea
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoOmx vts tests.
Ram Mohan M [Fri, 28 Apr 2017 06:48:35 +0000 (12:18 +0530)]
Omx vts tests.

Bug: 32023356
Test: make vts.

cover basic encoder & decoder test to all components

Till the previous commit, few components went untested.
This commit covers all softomx components.

Test: tested on softomx components

Change-Id: I4c996a3743a6190d9c6d4c835aa89daefdc14658

enumerate profile and level for encoder components

Change-Id: I4b9d3b3106d33a0241a7e36bd7189c1b3ef40ef0

bug fix: omx android compile as 32bit on 64bit platforms

thanks lajos

Change-Id: If11b20eeb6a75319f9e0cd6a62524dadab2ba8af

Add more VTS tests for IOmxStore and IOmxNode

Change-Id: I3401025b4f0b821f469222707c75b49fe4f0b0c5

avoid false flagging of errors

If testing of the given component is not supported application do not flag
an error, instead exit gracefully.

Change-Id: Ic91a92614d18b204cc50b7d8f6dc1a0ca81ff782

Add support for g711, gsm and raw audio decoder components

Change-Id: Ied70abdabb397a7a63e13293a8b35365a6b23e4f

split eos test

the eos test in decoders handles three different cases. These are now
separated in to different test fixtures.

Change-Id: I30c102109ce60a345f878d03d481337462fc817f

Change-Id: I3401025b4f0b821f469222707c75b49fe4f0b0c5

7 years agoAudio HAL VTS: Some methods are not optional
Kevin Rocard [Wed, 3 May 2017 18:16:05 +0000 (11:16 -0700)]
Audio HAL VTS: Some methods are not optional

Some mandatory methods were allowed to return NOT_SUPPORTED
although their implementations is mandatory.

Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug: 36311550
Change-Id: Ibe4b3cf73257309975ed11269a38315051fa9064
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoMerge "Update makefiles from anywhere." am: a24592b396 am: 1ad1c673db
Steven Moreland [Fri, 12 May 2017 21:55:18 +0000 (21:55 +0000)]
Merge "Update makefiles from anywhere." am: a24592b396 am: 1ad1c673db
am: 40699c4d25

Change-Id: I8ac3efdf6efa470fc21d301ecb2410ef22f85337

7 years agoMerge "Update makefiles from anywhere." am: a24592b396
Steven Moreland [Fri, 12 May 2017 21:49:39 +0000 (21:49 +0000)]
Merge "Update makefiles from anywhere." am: a24592b396
am: 1ad1c673db

Change-Id: I40076615df8cd0b520f19c496e5d8ee8de5f6094

7 years agoMerge "Update makefiles from anywhere."
Steven Moreland [Fri, 12 May 2017 21:43:29 +0000 (21:43 +0000)]
Merge "Update makefiles from anywhere."
am: a24592b396

Change-Id: I48f496f85a7da83e4506634ee9b90792471fac6c

7 years agoMerge "Update makefiles from anywhere."
Steven Moreland [Fri, 12 May 2017 21:33:36 +0000 (21:33 +0000)]
Merge "Update makefiles from anywhere."

7 years agoMerge "graphics: set maxThreads to 4 for the composer" into oc-dev
Chia-I Wu [Fri, 12 May 2017 19:59:18 +0000 (19:59 +0000)]
Merge "graphics: set maxThreads to 4 for the composer" into oc-dev
am: 15e33c6d17

Change-Id: I4e5c759f467d6085e9dc1d57ca65db0273343eef

7 years agoMerge "graphics: set maxThreads to 4 for the composer" into oc-dev
Chia-I Wu [Fri, 12 May 2017 19:50:55 +0000 (19:50 +0000)]
Merge "graphics: set maxThreads to 4 for the composer" into oc-dev

7 years agoMerge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5 am: 31f6040908
Myles Watson [Fri, 12 May 2017 18:15:30 +0000 (18:15 +0000)]
Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5 am: 31f6040908
am: f56e2909f9

Change-Id: Icd6191fb8f079126c1a4991683d9ee6b1015f18c

7 years agoMerge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5
Myles Watson [Fri, 12 May 2017 18:10:27 +0000 (18:10 +0000)]
Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5
am: 31f6040908

Change-Id: I4fb1e8f7a8d011b4c1cb59245dce5c9d20a05b2d

7 years agoMerge "Bluetooth: Add a second thread for the scheduler"
Myles Watson [Fri, 12 May 2017 18:08:28 +0000 (18:08 +0000)]
Merge "Bluetooth: Add a second thread for the scheduler"
am: 2709c56ad5

Change-Id: I0375940ba054d6b12d00957e96e0de860625c273

7 years agoMerge "Bluetooth: Add a second thread for the scheduler"
Treehugger Robot [Fri, 12 May 2017 18:03:54 +0000 (18:03 +0000)]
Merge "Bluetooth: Add a second thread for the scheduler"

7 years agoBluetooth: Add a second thread for the scheduler
Myles Watson [Fri, 12 May 2017 18:01:57 +0000 (18:01 +0000)]
Bluetooth: Add a second thread for the scheduler
am: 33f36706d0

Change-Id: I4730416f799b0947690d4a4544be41bfed191afb

7 years agographics: set maxThreads to 4 for the composer
Chia-I Wu [Thu, 11 May 2017 22:20:10 +0000 (15:20 -0700)]
graphics: set maxThreads to 4 for the composer

There are implmentations that can dead lock when calling certain
functions in certain states.  It works fine before HIDL because
SurfaceFlinger calls those functions in another thread.  We allow
for 4 hwbinder threads in this commit to simulate how SurfaceFlinger
calls hwcomposer.

Bug: 38183197
Test: camera, videos, multi windows, screencap, screenrecord
Change-Id: Ie05b2ca349b8c1ed9a3ac962981434f2efee92d9

7 years agoMerge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
Kevin Rocard [Fri, 12 May 2017 06:57:47 +0000 (06:57 +0000)]
Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
am: 257c2f1a43

Change-Id: Ic8850d915b5672e7529f99e7d57845b2de44857a

7 years agoconfigstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7 am...
Jaesoo Lee [Fri, 12 May 2017 05:16:36 +0000 (05:16 +0000)]
configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7 am: 4b1848247f
am: d21a105380

Change-Id: I1a674bd0827b0dccdb01fded168cf3122de81afa

7 years agoconfigstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7
Jaesoo Lee [Fri, 12 May 2017 05:12:35 +0000 (05:12 +0000)]
configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7
am: 4b1848247f

Change-Id: I7563d66174d3fd5c6c7a35389bb5d5ed78c7ac3c