OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Fix more radio VTS test." into oc-dev
Sanket Padawe [Thu, 25 May 2017 17:14:04 +0000 (17:14 +0000)]
Merge "Fix more radio VTS test." into oc-dev
am: 3cc7c4e314

Change-Id: Id8f41004922cfb7d5622e2a20aa0c7569a46efbe

7 years agoMerge "Fix more radio VTS test." into oc-dev
TreeHugger Robot [Thu, 25 May 2017 17:06:28 +0000 (17:06 +0000)]
Merge "Fix more radio VTS test." into oc-dev

7 years agoMerge "camera.device@3.2 wrapper: Close release fence FDs" into oc-dev
Eino-Ville Talvala [Thu, 25 May 2017 01:55:55 +0000 (01:55 +0000)]
Merge "camera.device@3.2 wrapper: Close release fence FDs" into oc-dev
am: 1c20927f43

Change-Id: I81840052731f509509cde33ba773b5972ed08d66

7 years agoMerge "camera.device@3.2 wrapper: Close release fence FDs" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 01:50:45 +0000 (01:50 +0000)]
Merge "camera.device@3.2 wrapper: Close release fence FDs" into oc-dev

7 years agoMerge "configstore-utils: add feature to cache service handles" am: 03b02609ff am...
Jaesoo Lee [Thu, 25 May 2017 01:24:03 +0000 (01:24 +0000)]
Merge "configstore-utils: add feature to cache service handles" am: 03b02609ff am: fbb8bb0671
am: c028065f5e

Change-Id: I30de198a55d1a283db949498e887a06f9565bbe2

7 years agoMerge "configstore-utils: add feature to cache service handles" am: 03b02609ff
Jaesoo Lee [Thu, 25 May 2017 01:21:01 +0000 (01:21 +0000)]
Merge "configstore-utils: add feature to cache service handles" am: 03b02609ff
am: fbb8bb0671

Change-Id: Ic1cd2c7010fd122e0939bb993bc4211010ff756f

7 years agoMerge "configstore-utils: add feature to cache service handles"
Jaesoo Lee [Thu, 25 May 2017 01:18:01 +0000 (01:18 +0000)]
Merge "configstore-utils: add feature to cache service handles"
am: 03b02609ff

Change-Id: Ide69ff1702216e34d2d753f2da11f52b48032092

7 years agoMerge "configstore-utils: add feature to cache service handles"
Treehugger Robot [Thu, 25 May 2017 01:13:35 +0000 (01:13 +0000)]
Merge "configstore-utils: add feature to cache service handles"

7 years agocamera.device@3.2 wrapper: Close release fence FDs
Eino-Ville Talvala [Wed, 24 May 2017 22:05:56 +0000 (15:05 -0700)]
camera.device@3.2 wrapper: Close release fence FDs

Freeing the native handle isn't enough; we need to close the fence FDs
after sending them to the camera service, since that's the behavior
that the legacy HAL interface requires.

Test: Camera CTS continues to pass.
Bug: 38482274
Change-Id: I879de566dcafecc1b899d79e68b38ea39b91a37e

7 years agoconfigstore-utils: add feature to cache service handles
Jaesoo Lee [Mon, 22 May 2017 06:53:25 +0000 (15:53 +0900)]
configstore-utils: add feature to cache service handles

Previously, the service handle for the configstore needs to be retrieved
for every calls. This change reduces the time for retrieving multiple
configstore items from a same client by caching the service handle per a
configstore interface class.

Bug: 38411900
Test: built and tested on sailfish.
Change-Id: Iaff81e9f2b026aee0bd3865f5d5ed3fb7b6056e0

7 years agoMerge changes from topic 'vintf_compat_mat_update' into oc-dev
Yifan Hong [Tue, 23 May 2017 22:41:04 +0000 (22:41 +0000)]
Merge changes from topic 'vintf_compat_mat_update' into oc-dev
am: 5b14a8823e

Change-Id: I42509f2741042366e0c5bd138ffc6855a72794dc

7 years agoUpdate framework compatibility matrix
Yifan Hong [Tue, 23 May 2017 22:41:00 +0000 (22:41 +0000)]
Update framework compatibility matrix
am: e2aaf8cbb8

Change-Id: Ib7b3d362e4e45e910c062f907f0acafef3bcbef3

7 years agoFix automotive.* hals for oc-dev
Yifan Hong [Tue, 23 May 2017 22:40:56 +0000 (22:40 +0000)]
Fix automotive.* hals for oc-dev
am: ce3aab7bd0

Change-Id: I8537a6f59ff572780814b1f513d957c4b642905d

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 changes from topic 'vintf_compat_mat_update' into oc-dev
Yifan Hong [Tue, 23 May 2017 22:35:10 +0000 (22:35 +0000)]
Merge changes from topic 'vintf_compat_mat_update' into oc-dev

* changes:
  Add <kernel> entry to framework compat mat
  Update framework compatibility matrix
  Fix automotive.* hals for oc-dev
  Add evs and vehicle hal to compatibility matrix

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 agoFix more radio VTS test.
Sanket Padawe [Wed, 10 May 2017 18:29:33 +0000 (11:29 -0700)]
Fix more radio VTS test.

+ Increase timeout to 65s to fix some tests failing because of timeouts.

Bug: 35800570
Test: vts
Change-Id: Idf0204908592eac5f2a954d4425123df75999b1c

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 agoAdd <kernel> entry to framework compat mat
Yifan Hong [Tue, 16 May 2017 01:04:06 +0000 (18:04 -0700)]
Add <kernel> entry to framework compat mat

3.18, 4.4 and 4.9 are the supported kernels in O.

Test: builds
Test: adb shell vintf (RuntimeInfo is compatible with
 framework compat mat)

Bug: 38324908
Change-Id: I8b2c98e8168af651215a309c8b0b93d3c342f97d

7 years agoUpdate framework compatibility matrix
Yifan Hong [Tue, 23 May 2017 00:35:52 +0000 (17:35 -0700)]
Update framework compatibility matrix

Test: builds (compat check passes with assemble_vintf)

Change-Id: I23a8b3ab1db2344c8f246349aabd99ed42a4ac92

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 agoFix automotive.* hals for oc-dev
Yifan Hong [Tue, 23 May 2017 18:16:20 +0000 (11:16 -0700)]
Fix automotive.* hals for oc-dev

Test: builds
Change-Id: I12795a37d3bbd1508e059a79bb61e1b4bc1a9a3f

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