OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Update makefiles."
TreeHugger Robot [Wed, 17 May 2017 03:16:04 +0000 (03:16 +0000)]
Merge "Update makefiles."

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>
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 am: 40699c4d25
Steven Moreland [Fri, 12 May 2017 22:03:34 +0000 (22:03 +0000)]
Merge "Update makefiles from anywhere." am: a24592b396 am: 1ad1c673db am: 40699c4d25
am: 62d4f7bd5d

Change-Id: I8ce6c7a937b28cb93c7bd6831a69042f18cce04a

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 "Add the new RIL requests to start/stop network scan"
Ying Xu [Fri, 12 May 2017 20:56:23 +0000 (20:56 +0000)]
Merge "Add the new RIL requests to start/stop network scan"

7 years agoUpdate makefiles.
Steven Moreland [Fri, 12 May 2017 20:02:04 +0000 (13:02 -0700)]
Update makefiles.

Note cleanspec required because of b/38205169 (genrule
doesn't delete output files before building, so when
removing some, they get stale).

Test: power vts test compiles
Change-Id: Ie7ef0fc3d943a75fe898238cf861fb7f99f4146b
Fixes: 35813011

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

Change-Id: Icb85078986c8453498c1ef2ee5dbb5c58f7fc6a0

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 "Eliminate redundant #includes and a missing one"
TreeHugger Robot [Fri, 12 May 2017 19:24:54 +0000 (19:24 +0000)]
Merge "Eliminate redundant #includes and a missing one"

7 years agoMerge "Add evs and vehicle hal to compatibility matrix"
TreeHugger Robot [Fri, 12 May 2017 18:29:10 +0000 (18:29 +0000)]
Merge "Add evs and vehicle hal to compatibility matrix"

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

Change-Id: I084dcfb0470131348ac7c6dfea3e1c1430e74b74

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 agoBluetooth: Add a second thread for the scheduler am: 33f36706d0
Myles Watson [Fri, 12 May 2017 18:13:55 +0000 (18:13 +0000)]
Bluetooth: Add a second thread for the scheduler am: 33f36706d0
am: 6c4020d1d0

Change-Id: If5d7a2cbd6a32f6675c3b7c85abacc4170c2bf59

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 am: 257c2f1a43
Kevin Rocard [Fri, 12 May 2017 09:08:46 +0000 (09:08 +0000)]
Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev am: 257c2f1a43
am: c8e1b1dadc

Change-Id: Ifb57505618923484ea469dcbf117f90d2cdd1f4b

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

Change-Id: I99d8db9341bc683d87dea0149e46267587abf0c9

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

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

Change-Id: I2782872f927b8fa9a0cc1da877d0f1cac3680150

7 years agoEliminate redundant #includes and a missing one
Scott Randolph [Fri, 12 May 2017 00:41:08 +0000 (17:41 -0700)]
Eliminate redundant #includes and a missing one

Minor cleanup that fell out of a debugging effort.
Test:  Build and run vehicle hal on gordon peak

Change-Id: I29bcb74f3eac96df303139b2717b06c8dfedb839

7 years agoBluetooth: Add a second thread for the scheduler
Myles Watson [Thu, 11 May 2017 23:39:59 +0000 (16:39 -0700)]
Bluetooth: Add a second thread for the scheduler

Test: service call bluetooth_manager 6 # (Stop Bluetooth)
      /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\
          VtsHalBluetoothV1_0TargetTest
Bug: 3817826534461621
Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca
(cherry picked from commit 74c601361c5f2d68561b545b7b7a52a3916ba8e9)

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

7 years agoBluetooth: Add a second thread for the scheduler
Myles Watson [Thu, 11 May 2017 23:39:59 +0000 (16:39 -0700)]
Bluetooth: Add a second thread for the scheduler

Test: service call bluetooth_manager 6 # (Stop Bluetooth)
      /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\
          VtsHalBluetoothV1_0TargetTest
Bug: 3817826534461621
Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca

7 years agoUpdate makefiles from anywhere.
Steven Moreland [Thu, 11 May 2017 22:42:32 +0000 (15:42 -0700)]
Update makefiles from anywhere.

Test: with update-all-google-makefiles.sh
Change-Id: I373e270b481d9074f440c3c0826199a207e654f7

7 years agoMerge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
Kevin Rocard [Thu, 11 May 2017 22:34:39 +0000 (22:34 +0000)]
Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev

* changes:
  Audio HAL: A volume/gain outside of [0,1] is an error
  Audio HAL VTS: Log test unexpected behaviour
  Audio HAL VTS: Improve ASSERT of Result and Return
  Audio HAL VTS: stopped stream state getters may return INVALID_STATE
  Audio HAL VTS: setGain allow -0.0
  Audio HAL VTS: Some methods are optional
  Audio HAL VTS: GetPresentationPosition may return 0 on stop stream
  Audio HAL VTS: getDevice() == NONE => not supported
  Audio HAL VTS: Getter test assert logic was incorrect
  Audio HAL VTS: debugDump can only test for crash
  Audio HAL VTS: Sanitize prepareFor{Writing,Reading} input size
  Audio HAL VTS: refactor prepareFor{Reading,Writing}
  Audio HAL VTS: Sanitize setMode input
  Audio HAL VTS: Allow OK when setting a non existing parameter
  Audio HAL VTS: differentiate getParam success/failure/not_implemented
  Audio HAL VTS: Fix style on modified files

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:  none
Change-Id: I61dcc985d1d4dde4b4b53e36b0de1d4dcff8d3f4

7 years agoFix side branch build breakage.
Steven Moreland [Thu, 11 May 2017 16:14:59 +0000 (09:14 -0700)]
Fix side branch build breakage.

Some branch is complaining:
error: undefined reference to 'android::hardware::power::V1_0::IPower::unlinkToDeath(android::sp<android::hardware::hidl_death_recipient> const&)'

Test: N/A
Test: works on master branch
Change-Id: Ifbd47fd47312e02e25eb326f374c71c7dceb2944

7 years agoMerge changes from topic 'fix-hidl-generate' into oc-dev am: 4be51a8512 -s ours
Steven Moreland [Thu, 11 May 2017 01:46:22 +0000 (01:46 +0000)]
Merge changes from topic 'fix-hidl-generate' into oc-dev am: 4be51a8512  -s ours
am: da36690e9b  -s ours

Change-Id: I2a0776d045cca8967c29643b4d3b4507f88384a9

7 years agoUpdate makefiles for c++-sources and c++-headers. am: 8716f3063e -s ours
Steven Moreland [Thu, 11 May 2017 01:38:23 +0000 (01:38 +0000)]
Update makefiles for c++-sources and c++-headers. am: 8716f3063e  -s ours
am: 2b6a9e2213  -s ours

Change-Id: I9337dd2e4686519c9e955ccf685073ef4640ff85

7 years agoUpdate makefiles for c++-sources and c++-headers. (2/2) am: bc71124120
Steven Moreland [Thu, 11 May 2017 01:38:14 +0000 (01:38 +0000)]
Update makefiles for c++-sources and c++-headers. (2/2) am: bc71124120
am: a32ebce372

Change-Id: Ic1dd8f98e72656bc12a6e5224e541f75afb79daa

7 years agoMerge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev am: 6c062f77c1
Martijn Coenen [Thu, 11 May 2017 01:36:26 +0000 (01:36 +0000)]
Merge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev am: 6c062f77c1
am: b05e4c9414

Change-Id: I9fa6d2b4283ca50506ffcc6a665e6a2e46c4c2f9

7 years agoMerge changes from topic 'fix-hidl-generate' into oc-dev
Steven Moreland [Thu, 11 May 2017 00:55:46 +0000 (00:55 +0000)]
Merge changes from topic 'fix-hidl-generate' into oc-dev
am: 4be51a8512  -s ours

Change-Id: I91054a4a0ffcf6ff117bd4b6c3dcc3a94e7231c2

7 years agoUpdate makefiles for c++-sources and c++-headers.
Steven Moreland [Thu, 11 May 2017 00:49:04 +0000 (00:49 +0000)]
Update makefiles for c++-sources and c++-headers.
am: 8716f3063e  -s ours

Change-Id: If3655769859781369e8cb8456f133e0c35636254

7 years agoUpdate makefiles for c++-sources and c++-headers. (2/2)
Steven Moreland [Thu, 11 May 2017 00:48:55 +0000 (00:48 +0000)]
Update makefiles for c++-sources and c++-headers. (2/2)
am: bc71124120

Change-Id: Icf36068a4d863a8520854c7a83e51f960c188e12

7 years agoMerge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev
Martijn Coenen [Thu, 11 May 2017 00:47:30 +0000 (00:47 +0000)]
Merge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev
am: 6c062f77c1

Change-Id: I921160390dc9f90e7872729194ed1d1240ce68b7

7 years agoconfigstore: include types.h instead of ISurfaceFlingerConfigs.h
Jaesoo Lee [Tue, 2 May 2017 06:15:14 +0000 (15:15 +0900)]
configstore: include types.h instead of ISurfaceFlingerConfigs.h

Utils.h does not need to include ISurfaceFlingerConfigs.h.

Bug: 37727469
Test: successfully built sailfish-userdebug
Change-Id: I6650020bfc3b265d871ca3244b8900c336f98419

7 years agoActually fix build breakage with cleanspec. am: 319b8292be am: b16a4d26d3 am: 6ad2f6c984
Steven Moreland [Wed, 10 May 2017 23:48:25 +0000 (23:48 +0000)]
Actually fix build breakage with cleanspec. am: 319b8292be am: b16a4d26d3 am: 6ad2f6c984
am: ef8f6e8370

Change-Id: Idaef598fff95e2e8d384d6b427529956dd3b94b9

7 years agoAdd CleanSpec to hardware/interfaces. am: e468cf8004 am: 7780055fd1 am: aae66d171a
Steven Moreland [Wed, 10 May 2017 23:47:58 +0000 (23:47 +0000)]
Add CleanSpec to hardware/interfaces. am: e468cf8004 am: 7780055fd1 am: aae66d171a
am: 5e077fbd92  -s ours

Change-Id: I40c1636a49c883edfadf349f72494e9da27cd1de

7 years agoActually fix build breakage with cleanspec. am: 319b8292be am: b16a4d26d3
Steven Moreland [Wed, 10 May 2017 22:51:15 +0000 (22:51 +0000)]
Actually fix build breakage with cleanspec. am: 319b8292be am: b16a4d26d3
am: 6ad2f6c984

Change-Id: I09a208dcd24cf17d3171ed5d4f64282a2642dd56

7 years agoActually fix build breakage with cleanspec. am: 319b8292be
Steven Moreland [Wed, 10 May 2017 22:48:44 +0000 (22:48 +0000)]
Actually fix build breakage with cleanspec. am: 319b8292be
am: b16a4d26d3

Change-Id: I235f68723215a806317828b65d9b8905598b10eb

7 years agoActually fix build breakage with cleanspec.
Steven Moreland [Wed, 10 May 2017 22:47:14 +0000 (22:47 +0000)]
Actually fix build breakage with cleanspec.
am: 319b8292be

Change-Id: Ic9dcbf28c238b30eba296fedcdef08af049aef31

7 years agoActually fix build breakage with cleanspec.
Steven Moreland [Wed, 10 May 2017 22:32:32 +0000 (15:32 -0700)]
Actually fix build breakage with cleanspec.

OUT_DIR instead of OUT

Test: manual
Change-Id: I2e48c6f2f39ff2318517ff55cbfa6ca912c05021

7 years agoActually fix build breakage with cleanspec.
Steven Moreland [Wed, 10 May 2017 22:32:32 +0000 (15:32 -0700)]
Actually fix build breakage with cleanspec.

OUT_DIR instead of OUT

Test: manual
Change-Id: I2e48c6f2f39ff2318517ff55cbfa6ca912c05021

7 years agoAdd CleanSpec to hardware/interfaces. am: e468cf8004 am: 7780055fd1
Steven Moreland [Wed, 10 May 2017 21:03:08 +0000 (21:03 +0000)]
Add CleanSpec to hardware/interfaces. am: e468cf8004 am: 7780055fd1
am: aae66d171a

Change-Id: Id1a1c32443e342915dd40147560bb1987d782f9d

7 years agoAdd CleanSpec to hardware/interfaces. am: e468cf8004
Steven Moreland [Wed, 10 May 2017 20:58:37 +0000 (20:58 +0000)]
Add CleanSpec to hardware/interfaces. am: e468cf8004
am: 7780055fd1

Change-Id: I5d5f2618fc6d18034439d3cb1c31290d825f1c2e

7 years agoMerge "Add CleanSpec to hardware/interfaces."
Steven Moreland [Wed, 10 May 2017 20:55:57 +0000 (20:55 +0000)]
Merge "Add CleanSpec to hardware/interfaces."