OSDN Git Service

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

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

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

Change-Id: I1f13401266f3c2f78c627088b09c79cd7c8d0276

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

Change-Id: I1e8af8e118bd977b11b462dc0f5c9e408abd8918

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
Pawin Vongmasa [Sat, 20 May 2017 04:08:59 +0000 (04:08 +0000)]
Merge "Move media_profiles_V1_0.dtd to hardware/interfaces" into oc-dev-plus-aosp
am: b56e3fa494

Change-Id: Id44d5e78f1c83ad45845e62d00f28a2dedfde919

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 "Revert "Figure out what error returned in getLastCallFailCause""
TreeHugger Robot [Sat, 20 May 2017 01:15:04 +0000 (01:15 +0000)]
Merge "Revert "Figure out what error returned in getLastCallFailCause""

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

Change-Id: I8462abc85f4f87840c4cee13361290e42746ce82

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 agoRevert "Figure out what error returned in getLastCallFailCause"
Shuo Qian [Fri, 19 May 2017 21:15:11 +0000 (21:15 +0000)]
Revert "Figure out what error returned in getLastCallFailCause"

This reverts commit 3bfbed5a07de59c8c0120baf17dac8144f7d4e30.

Change-Id: I8020844be7ce737ff4f76fe8ef4d60492ad32804

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

Change-Id: Ibc558b4ca5af3e03c7eddff43450779c2026b118

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 am: 0fefa392f7
Yifan Hong [Fri, 19 May 2017 16:47:44 +0000 (16:47 +0000)]
Merge "Add <interface> / <instance> to fwk compat mat" into oc-dev am: 0fefa392f7
am: 8c25616954

Change-Id: I66e3b7be3dff6d156e6667856369374335860a19

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: ee9e5b...
Etan Cohen [Fri, 19 May 2017 16:12:16 +0000 (16:12 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library" am: 294340e1d4 am: ee9e5b843a am: 664584f74e
am: b45e3db44d  -s ours

Change-Id: Ib72bb0d680f9a20436c39f6579595fae1e61426b

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 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 am: a64eb7c698
Shuo Qian [Thu, 18 May 2017 23:03:25 +0000 (23:03 +0000)]
Merge changes from topic 'fix-vts-test' into oc-dev am: a64eb7c698
am: 8d0e10f08d

Change-Id: Ic2a67dc296c9f85f51925ce10e684acdb140fd6e

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 am: af7bc59c0a
Eric Laurent [Thu, 18 May 2017 17:47:36 +0000 (17:47 +0000)]
Merge "audio HAL: fix getParameters status check." into oc-dev am: af7bc59c0a
am: 7f7a0a880c

Change-Id: Ib1663485edb5abf7322ad0ef197e821ba5e21ba8

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 agoMerge "configstore: configstore HAL is up-revisioned to 1.1"
Jaesoo Lee [Thu, 18 May 2017 13:05:35 +0000 (13:05 +0000)]
Merge "configstore: configstore HAL is up-revisioned to 1.1"

7 years agoMerge changes from topic 'ese vintf'
Andrew Scull [Thu, 18 May 2017 09:31:37 +0000 (09:31 +0000)]
Merge changes from topic 'ese vintf'

* changes:
  Add OemLock to the compatibility matrix.
  Add Weaver to the compatibility matrix.

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 agosound trigger VTS: used default HAL service name am: f0b981a42a
Eric Laurent [Wed, 17 May 2017 22:19:21 +0000 (22:19 +0000)]
sound trigger VTS: used default HAL service name am: f0b981a42a
am: 86afc395bd

Change-Id: If3980e14a11dc36b64a3bcca32c726ea2ca23e54

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 18:20:38 +0000 (18:20 +0000)]
Add the new RIL requests to start/stop network scan am: 872518a234 am: a586895e0d am: c09e15172c
am: 523a75e029

Change-Id: Ie79797556eb2ec352b6cb581e539ac7f9ac616e7

7 years agoAdd the new RIL requests to start/stop network scan
yinxu [Wed, 17 May 2017 18:17:42 +0000 (18:17 +0000)]
Add the new RIL requests to start/stop network scan
am: 62890ef7b2  -s ours

Change-Id: Ic5d3f6e737531fe3f96aa549c42e0553012ffa21

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 OemLock to the compatibility matrix.
Andrew Scull [Wed, 17 May 2017 14:23:51 +0000 (15:23 +0100)]
Add OemLock to the compatibility matrix.

Bug: 38173042
Test: Build and boot
Change-Id: I8d3d0474af4f121e6524f662a2d7ad478cecd190

7 years agoAdd Weaver to the compatibility matrix.
Andrew Scull [Wed, 17 May 2017 14:21:41 +0000 (15:21 +0100)]
Add Weaver to the compatibility matrix.

Bug: 38173757
Test: Build and boot
Change-Id: I9e014ff773eaadc5fdc7e5e6cc56b264d7b67ebe

7 years agoconfigstore: configstore HAL is up-revisioned to 1.1
Jaesoo Lee [Fri, 28 Apr 2017 09:29:40 +0000 (18:29 +0900)]
configstore: configstore HAL is up-revisioned to 1.1

This change provides a reference implementation of the configstore HAL
v1.1.

Bug: 37727469
Test: Built sailfish-userdebug and configstore-1.1 works
Change-Id: I75e7fd1da8e90ae48d779a3ba28957c5a93a5529

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 agoMerge "Update makefiles."
TreeHugger Robot [Wed, 17 May 2017 03:16:04 +0000 (03:16 +0000)]
Merge "Update makefiles."

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 am: 22facb038d
Grace Chen [Tue, 16 May 2017 20:08:27 +0000 (20:08 +0000)]
Merge "Support different SIM power states" am: f94eb06d32 am: b6e91f51f6 am: 22facb038d
am: a442f2873f  -s ours

Change-Id: I34bb5526fc8800431e1562c12f0a444163475349

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 changes from topic 'audio-primary-hal-vts-fix' into oc-dev am: c558ddf3fa
Kevin Rocard [Tue, 16 May 2017 19:33:39 +0000 (19:33 +0000)]
Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev am: c558ddf3fa
am: cdf142d8dd

Change-Id: I3429df38464282106bef8464a4852bd5b29f763d

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

Change-Id: Iab79f9667ed22427c11e133da60b3371723239bb

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 am: c57ac16490
Howard Chen [Tue, 16 May 2017 18:33:43 +0000 (18:33 +0000)]
Add HIDL_FETCH_IScheduleTest declaration am: 82ddb247b2 am: 8acff9a619 am: c57ac16490
am: ff3e874519

Change-Id: Icd2999a5f0d39ce4eb5295c56ce60c11e1b52d71

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

Change-Id: Iae37fa2c80d86e4e0fd95321ffef7349c89ffbe0

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 agoMerge "Remove unused lambda capture"
TreeHugger Robot [Tue, 16 May 2017 17:56:16 +0000 (17:56 +0000)]
Merge "Remove unused lambda capture"

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 agoMerge "Fix getProgramList comment about possible result."
Tomasz Wasilczyk [Tue, 16 May 2017 16:25:10 +0000 (16:25 +0000)]
Merge "Fix getProgramList comment about possible result."

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 "Figure out what error returned in getLastCallFailCause"
TreeHugger Robot [Tue, 16 May 2017 03:07:42 +0000 (03:07 +0000)]
Merge "Figure out what error returned in getLastCallFailCause"

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

Change-Id: Ie96f6792c8db9c22f84979d1d6f355ea15e1abdc

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 agoFigure out what error returned in getLastCallFailCause
sqian [Mon, 15 May 2017 22:59:44 +0000 (15:59 -0700)]
Figure out what error returned in getLastCallFailCause

( locally bug 38228792 is not reproduciable , have to make such change
to see what error returned in vts-web )

Test: vts-web
Bug: 38228792
Change-Id: Ieccb450324ae6b06d4e3e15726c837a9fede49fe

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 agoFix getProgramList comment about possible result.
Tomasz Wasilczyk [Mon, 15 May 2017 19:57:20 +0000 (12:57 -0700)]
Fix getProgramList comment about possible result.

Also change default implementation results for not implemented calls
to be less harsh.

Test: instrumentation
Bug: b/36863239
Change-Id: I7f9adea8aa5b84aec81be13f5614ba16c8b74b75

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

Change-Id: Ia07d4aac04687adbdb7abf6c19ca96ce9ff91120

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 agoRemove unused lambda capture
Chih-Hung Hsieh [Mon, 15 May 2017 19:31:25 +0000 (12:31 -0700)]
Remove unused lambda capture

New clang compiler gives warning to unused lambda captures.
Apply clang-format.

Bug: 37423073
Test: Build

Change-Id: Icdf019df1a6c9dcadeb35551377d7afa09eebb3e

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 am: 14b91049a7
Jeff Tinker [Mon, 15 May 2017 20:14:20 +0000 (20:14 +0000)]
Merge "Fix resource leaks in drm hal" into oc-dev am: 14b91049a7
am: fbe6eee2e5

Change-Id: Ied6aca47ea624dad2ae7778b4e70397dfaf02a4f

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:36:39 +0000 (17:36 +0000)]
NFC: vts: Add commands to reset the NFC controller before other commands am: 209a274c31 am: cd825026ca am: b5beef1765
am: 8bc107b362

Change-Id: Ia071ac84ef9f6146bb15304eb9b125ff3f56015d

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>