OSDN Git Service

android-x86/hardware-interfaces.git
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 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 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 agoAdd CleanSpec to hardware/interfaces.
Steven Moreland [Wed, 10 May 2017 20:55:36 +0000 (20:55 +0000)]
Add CleanSpec to hardware/interfaces.
am: e468cf8004

Change-Id: If1978c73a668dacaf8f3b2842a704c5b28d5135e

7 years agoAdd CleanSpec to hardware/interfaces.
Steven Moreland [Wed, 10 May 2017 20:37:21 +0000 (13:37 -0700)]
Add CleanSpec to hardware/interfaces.

Fixes build breakage from interface changing after -Lc++-sources
and -Lc++-headers was added to hidl-gen.

Test: wip
Change-Id: I9ee0a0e7b72f8f2a3253d205943a696c07129a64

7 years agoMerge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev
Martijn Coenen [Wed, 10 May 2017 17:55:46 +0000 (17:55 +0000)]
Merge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev

7 years agoUpdate makefiles for c++-sources and c++-headers. (2/2)
Steven Moreland [Wed, 10 May 2017 02:51:19 +0000 (19:51 -0700)]
Update makefiles for c++-sources and c++-headers. (2/2)

Test: pass
Bug: 38174080
Change-Id: Icad451f9f9ad5f46412356a4171a8a1222f8e545

7 years agoUpdate makefiles for c++-sources and c++-headers. am: cb360c60d8 am: 4bd4e7fb3b
Steven Moreland [Wed, 10 May 2017 02:58:00 +0000 (02:58 +0000)]
Update makefiles for c++-sources and c++-headers. am: cb360c60d8 am: 4bd4e7fb3b
am: 127b116fe5

Change-Id: I3a2aa76acef0f0d1455bfad775e87e8089d357e8

7 years agoUpdate makefiles for c++-sources and c++-headers. am: cb360c60d8
Steven Moreland [Wed, 10 May 2017 02:52:52 +0000 (02:52 +0000)]
Update makefiles for c++-sources and c++-headers. am: cb360c60d8
am: 4bd4e7fb3b

Change-Id: Ief274574dda12a38f62f49953a88f612d5b3586c

7 years agoUpdate makefiles for c++-sources and c++-headers.
Steven Moreland [Wed, 10 May 2017 02:47:25 +0000 (02:47 +0000)]
Update makefiles for c++-sources and c++-headers.
am: cb360c60d8

Change-Id: If0f0c69fa29a8c1cbd0d5b4e53e386ef8b68757e

7 years agoMerge "Bugfix: Add HIDL_FETCH_IScheduleTest declaration" into oc-dev
PO HUNG CHEN [Wed, 10 May 2017 02:42:02 +0000 (02:42 +0000)]
Merge "Bugfix: Add HIDL_FETCH_IScheduleTest declaration" into oc-dev
am: c365952316

Change-Id: If6399162d868c7498ca6e4a5d9453b4425ab77cc

7 years agoMerge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev
Sanket Padawe [Wed, 10 May 2017 02:41:46 +0000 (02:41 +0000)]
Merge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev
am: 41ea816c9d

Change-Id: I3f9efd6422652efc967a9c8a5bda284f87a4a458

7 years agoMerge "Bugfix: Add HIDL_FETCH_IScheduleTest declaration" into oc-dev
PO HUNG CHEN [Wed, 10 May 2017 02:28:10 +0000 (02:28 +0000)]
Merge "Bugfix: Add HIDL_FETCH_IScheduleTest declaration" into oc-dev

7 years agoMerge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev
Sanket Padawe [Wed, 10 May 2017 02:27:04 +0000 (02:27 +0000)]
Merge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev

7 years agoUpdate IRadioResponse.hal documentation to fix failing VTS
Naina Nalluri [Fri, 5 May 2017 18:00:05 +0000 (11:00 -0700)]
Update IRadioResponse.hal documentation to fix failing VTS

update IRadioResponse.hal documentation with
nas/data error codes

Bug: 35671595
Test: Only doc update.
Change-Id: I5a106e05b487f7deecb208af6465e5ea5238b26e

7 years agoUpdate makefiles for c++-sources and c++-headers.
Steven Moreland [Tue, 9 May 2017 21:34:19 +0000 (14:34 -0700)]
Update makefiles for c++-sources and c++-headers.

Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601

7 years agoCamera: Remove TODOs in interfaces
Eino-Ville Talvala [Tue, 9 May 2017 21:32:28 +0000 (21:32 +0000)]
Camera: Remove TODOs in interfaces
am: 71619beef7

Change-Id: I43e85210ab1972f8245376831f578816be4dea78

7 years agoMerge "Camera: Clean up TODOs that aren't going to be addressed." into oc-dev
Eino-Ville Talvala [Tue, 9 May 2017 21:32:10 +0000 (21:32 +0000)]
Merge "Camera: Clean up TODOs that aren't going to be addressed." into oc-dev
am: 0b3d86e05a

Change-Id: Ic0ca4e1eff6716466ef86bc6a660bc371da875d6

7 years agoMerge "Add DOOR_LOCK to default config." into oc-dev
Ram Periathiruvadi [Tue, 9 May 2017 21:31:44 +0000 (21:31 +0000)]
Merge "Add DOOR_LOCK to default config." into oc-dev
am: c63bdfbd74

Change-Id: I2386d09d237957da9f7ea146412b5a36cbf208a6

7 years agoCamera: Remove TODOs in interfaces
Eino-Ville Talvala [Tue, 9 May 2017 18:13:20 +0000 (11:13 -0700)]
Camera: Remove TODOs in interfaces

These are tracked elsewhere and won't be addresed for the initial
interface versions.

Update current.txt hashes; comment-only update

Test: Compiles
Bug: 34108979
Bug: 33269977
Bug: 33262893
Change-Id: I0c0521cf69649d871f64a67773ce822db2487044

7 years agoMerge "Camera: Clean up TODOs that aren't going to be addressed." into oc-dev
TreeHugger Robot [Tue, 9 May 2017 17:30:35 +0000 (17:30 +0000)]
Merge "Camera: Clean up TODOs that aren't going to be addressed." into oc-dev

7 years agoMerge "Add DOOR_LOCK to default config." into oc-dev
TreeHugger Robot [Tue, 9 May 2017 17:21:13 +0000 (17:21 +0000)]
Merge "Add DOOR_LOCK to default config." into oc-dev

7 years agoStart processes that need real-time with CAP_SYS_NICE.
Martijn Coenen [Tue, 9 May 2017 16:57:00 +0000 (09:57 -0700)]
Start processes that need real-time with CAP_SYS_NICE.

Bug: 37293077
Test: verified CAP_SYS_NICE granted in /proc/pid/status
Change-Id: If404450cbeb077d331b231bda1af2d6eae774b75

7 years agoCamera: Clean up TODOs that aren't going to be addressed.
Eino-Ville Talvala [Mon, 8 May 2017 22:29:28 +0000 (15:29 -0700)]
Camera: Clean up TODOs that aren't going to be addressed.

These TODOs aren't in scope for the wrapper libraries.

Leave the few TODOs that have bugs tracking them, and the ones that
are from autogenerated metadata.

Test: Builds
Bug: 34108979
Change-Id: Ib28467a4fbcfaab4a0809334bc62eabb9290797a

7 years agoMerge "Revert "Set omx and configstore as optional."" into oc-dev
Yifan Hong [Mon, 8 May 2017 22:12:06 +0000 (22:12 +0000)]
Merge "Revert "Set omx and configstore as optional."" into oc-dev
am: b8e84d240f

Change-Id: Iaf5f7aacacd2eb72b1ba98e19f5fe7589580bdbd

7 years agoMerge "Revert "Set omx and configstore as optional."" into oc-dev
Yifan Hong [Mon, 8 May 2017 21:10:56 +0000 (21:10 +0000)]
Merge "Revert "Set omx and configstore as optional."" into oc-dev

7 years agoAdd DOOR_LOCK to default config.
Ram Periathiruvadi [Thu, 4 May 2017 18:06:17 +0000 (11:06 -0700)]
Add DOOR_LOCK to default config.

One of the triggers for Bluetooth Auto connect is a door unlock signal.
Adding it to the list of default supported properties.

Bug: b/37674555
Test: Auto connect triggers on adb shell dumpsys activity service
com.android.car inject-event zoned-boolean 0x16200b02 1 false

Change-Id: Icfed9ea57239cd2397f3e71dcfaccd767a2e9739
(cherry picked from commit e17a009d5de6601e0482cc5495aef16c562c6e30)

7 years agoMerge "Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are failing...
Shuo Qian [Mon, 8 May 2017 17:52:46 +0000 (17:52 +0000)]
Merge "Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are failing" into oc-dev
am: 79c636a4ff

Change-Id: I81fc971a9a36550c254999222bdc669dd234b558

7 years agoMerge "Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are failing...
Shuo Qian [Mon, 8 May 2017 17:49:17 +0000 (17:49 +0000)]
Merge "Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are failing" into oc-dev

7 years agoRemove unused lambda captures am: 5ca756ea1f am: 68f6e99613
Yi Kong [Mon, 8 May 2017 17:24:21 +0000 (17:24 +0000)]
Remove unused lambda captures am: 5ca756ea1f am: 68f6e99613
am: dcf35ca86e

Change-Id: I025a2f240cb6f4278bece0f1b3c91dbfcdffa0fc

7 years agoRemove unused lambda captures am: 5ca756ea1f
Yi Kong [Mon, 8 May 2017 17:21:17 +0000 (17:21 +0000)]
Remove unused lambda captures am: 5ca756ea1f
am: 68f6e99613

Change-Id: I4646c377fec898d104f13e260eb039b42f8cc31d

7 years agoRemove unused lambda captures
Yi Kong [Mon, 8 May 2017 17:17:45 +0000 (17:17 +0000)]
Remove unused lambda captures
am: 5ca756ea1f

Change-Id: Ia11bcc3b1f05b4582fa85856d1cdf94c41c23fdc

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

Fix the bug that makes the registerAsServer fails.
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 agoRevert "Set omx and configstore as optional."
Yifan Hong [Thu, 4 May 2017 22:33:12 +0000 (22:33 +0000)]
Revert "Set omx and configstore as optional."

Test: boots
Test: Youtube video works

Bug: 35356977
Fixes: 38001671

This reverts commit 49a6654ccf5675470b5f638a918a963cc446ee36.

Change-Id: I7b04aa62e248c7fae0307229d07ffa174109ff05

7 years agoAdd GENERIC_FAILURE error checks for some Radio BTSAP Apis which are
sqian [Fri, 5 May 2017 19:51:56 +0000 (12:51 -0700)]
Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are
failing

Test: Vts
Bug: 35671595
Change-Id: Ie2ca86437283ce2f8e4b5cad21454a8d201e53ad

7 years agoMerge "VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig" into oc-dev
Jayachandran Chinnakkannu [Fri, 5 May 2017 22:29:14 +0000 (22:29 +0000)]
Merge "VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig" into oc-dev
am: eca8d114bf

Change-Id: I33e926f4ecd0314b4554ca9d90104f8afda773eb

7 years agoMerge "VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig" into oc-dev
Jayachandran Chinnakkannu [Fri, 5 May 2017 22:22:33 +0000 (22:22 +0000)]
Merge "VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig" into oc-dev

7 years agoRemove unused lambda captures
Yi Kong [Fri, 5 May 2017 20:35:50 +0000 (13:35 -0700)]
Remove unused lambda captures

Test: build
Bug: 37752547
Change-Id: I339baf849c7aef97dd319377026564dedd0cc568

7 years agoRenamed enums in IGnssNavigationMessageCallback.hal from GNSS prefix to GPS prefix...
Yu Liu [Fri, 5 May 2017 20:22:03 +0000 (20:22 +0000)]
Renamed enums in IGnssNavigationMessageCallback.hal from GNSS prefix to GPS prefix; also made some comment fixes in IGnssMeasurementCallback.hal
am: 216b87090d

Change-Id: I4ac5a047e375280b51dc37498650017f44327689

7 years agoRenamed enums in IGnssNavigationMessageCallback.hal from GNSS prefix to
Yu Liu [Tue, 2 May 2017 18:33:20 +0000 (11:33 -0700)]
Renamed enums in IGnssNavigationMessageCallback.hal from GNSS prefix to
GPS prefix; also made some comment fixes in IGnssMeasurementCallback.hal

BUG: 37946308
Test: Existing tests still pass.

Change-Id: Ia29c3f3943f0373e18634ddeede2ff5eb8998050

7 years agoMerge "Expect SUCCESS for tdls vts tests" into oc-dev
Ningyuan Wang [Fri, 5 May 2017 17:43:42 +0000 (17:43 +0000)]
Merge "Expect SUCCESS for tdls vts tests" into oc-dev
am: 525e0ecb1a

Change-Id: Icdc6c2349baea024f5944d1ba04a914a6871dd7a

7 years agoMerge "Add missing application ID tag to AES/HMAC attestation calls" into oc-dev
Shawn Willden [Fri, 5 May 2017 17:43:22 +0000 (17:43 +0000)]
Merge "Add missing application ID tag to AES/HMAC attestation calls" into oc-dev
am: 585acc6778

Change-Id: I613bc59b8eeeed229131fcff32835e91d26adda6

7 years agoMerge "Expect SUCCESS for tdls vts tests" into oc-dev
Ningyuan Wang [Fri, 5 May 2017 17:34:36 +0000 (17:34 +0000)]
Merge "Expect SUCCESS for tdls vts tests" into oc-dev

7 years agoMerge "Add missing application ID tag to AES/HMAC attestation calls" into oc-dev
TreeHugger Robot [Fri, 5 May 2017 17:29:21 +0000 (17:29 +0000)]
Merge "Add missing application ID tag to AES/HMAC attestation calls" into oc-dev

7 years agoMerge "audiohal: Add diagnostics to investigate HAL call crashes" into oc-dev
Mikhail Naganov [Fri, 5 May 2017 00:08:46 +0000 (00:08 +0000)]
Merge "audiohal: Add diagnostics to investigate HAL call crashes" into oc-dev
am: 65f7dbc9a9

Change-Id: I1f0d90fa7705d2716dbd3358418706ccae8dccb9

7 years agoMerge "audiohal: Add diagnostics to investigate HAL call crashes" into oc-dev
TreeHugger Robot [Fri, 5 May 2017 00:02:39 +0000 (00:02 +0000)]
Merge "audiohal: Add diagnostics to investigate HAL call crashes" into oc-dev

7 years agoVTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig
Jayachandran C [Wed, 3 May 2017 07:42:51 +0000 (00:42 -0700)]
VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig

1) IRadio.setAllowedCarriers
Fix IRadio.setAllowedCarriers to pass no restrictions.
Passing restrictions will block all other SIM cards until
a new IRadio.setAllowedCarriers with no restriction is
invoked. Even factory reset will not recover.

2) IRadio.nvResetConfig
IRadio.nvResetConfig with ResetNvType RELOAD causes radio restart.
All subsuquent scripts fail with cause RADIO_NOT_AVAILABLE.
Fix to use ResetNvType ERASE which does not restart the radio.

Test: VTS
Bug: 37946160

Change-Id: Ib671758414cc97e1a596358306f89eed13918c48

7 years agoMerge "Set omx and configstore as optional." into oc-dev
Yifan Hong [Thu, 4 May 2017 21:59:38 +0000 (21:59 +0000)]
Merge "Set omx and configstore as optional." into oc-dev
am: 17a0193835

Change-Id: I3115a2c2b21f740d991f8740dfb0414c48d075e8

7 years agoMerge "Set omx and configstore as optional." into oc-dev
Yifan Hong [Thu, 4 May 2017 21:53:14 +0000 (21:53 +0000)]
Merge "Set omx and configstore as optional." into oc-dev

7 years agoSet omx and configstore as optional.
Yifan Hong [Thu, 4 May 2017 21:30:59 +0000 (14:30 -0700)]
Set omx and configstore as optional.

To fix the build for new devices.

Bug: 36097717
Bug: 35356977

Test: on master, m system_compatibility_matrix.xml -j

Change-Id: Ie7a3da46930b3627f4eb6b77c3ba8e50fa2b21ed

7 years agoaudiohal: Add diagnostics to investigate HAL call crashes
Mikhail Naganov [Wed, 3 May 2017 19:08:22 +0000 (12:08 -0700)]
audiohal: Add diagnostics to investigate HAL call crashes

This is intended to clarify whether surprising zeroing out of HAL
control structures happens to a particular HAL module, or to any
HAL module at random.

Unfortunately, the crash itself can't be prevented as
audioflinger can't work around a HAL outage, and needs to be
restarted anyway.

Bug: 36225019
Test: verified that the logged string contains the information
Change-Id: I5843d89b4e5385b4ce269f72b5891ccb646daeba

7 years agoMerge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice...
Mikhail Naganov [Thu, 4 May 2017 21:34:06 +0000 (21:34 +0000)]
Merge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice" into oc-dev
am: f66f505bc6

Change-Id: Ie6a32e496f723413421bef285a4370ddef7214bc

7 years agoMerge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice...
TreeHugger Robot [Thu, 4 May 2017 21:26:25 +0000 (21:26 +0000)]
Merge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice" into oc-dev

7 years agoadd more hals to framework compatibility matrix
Yifan Hong [Thu, 4 May 2017 19:19:31 +0000 (19:19 +0000)]
add more hals to framework compatibility matrix
am: c6cba90b96

Change-Id: I6fc92d1938bb1394bf88d50ba1777256fde86f7c

7 years agoaudiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice
Mikhail Naganov [Mon, 24 Apr 2017 16:29:22 +0000 (09:29 -0700)]
audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice

Check for possibly invalid values of IDevicesFactory::Device enum.

Bug: 37592306
Change-Id: I4a2300d3be9ab38e6c51ba8a3b5bbbb606a11c2b
Test: VTS
(cherry picked from commit 8c16d85122472ef01a9e023c9568968faac1aff8)

7 years agoadd more hals to framework compatibility matrix
Yifan Hong [Wed, 3 May 2017 19:13:48 +0000 (12:13 -0700)]
add more hals to framework compatibility matrix

Bug: 37321309

Test: marlin builds (PRODUCT_FULL_TREBLE=true)
Test: bullhead builds (PRODUCT_FULL_TREBLE=false)

Change-Id: Ib92183a0749d972d9e89f38e158d32080c8023c6

7 years agoMerge "Remove redundant dependencies." am: 8b4c1e4589 am: a2b80cf2ca
Steven Moreland [Wed, 3 May 2017 22:25:43 +0000 (22:25 +0000)]
Merge "Remove redundant dependencies." am: 8b4c1e4589 am: a2b80cf2ca
am: 32ed1e2578  -s ours

Change-Id: I36f61b9a0103b75aa168e0fa0564bc103ef5de58

7 years agoMerge "Remove redundant dependencies." am: 8b4c1e4589
Steven Moreland [Wed, 3 May 2017 22:23:13 +0000 (22:23 +0000)]
Merge "Remove redundant dependencies." am: 8b4c1e4589
am: a2b80cf2ca

Change-Id: I69b5f0365e0fe3fe4472f86b90457d57b817c584

7 years agoMerge "Remove redundant dependencies."
Steven Moreland [Wed, 3 May 2017 22:20:12 +0000 (22:20 +0000)]
Merge "Remove redundant dependencies."
am: 8b4c1e4589

Change-Id: Ia79f726d5b0230836c1e5fdcf2043ab6c3ba7c18

7 years ago.clang-format: 100 lines am: 5242af6d24 am: 1cc7108736
Steven Moreland [Wed, 3 May 2017 22:02:13 +0000 (22:02 +0000)]
.clang-format: 100 lines am: 5242af6d24 am: 1cc7108736
am: 7f6df039a0

Change-Id: I10db60c3f98c39e41ce77b52529f209ea03f0e6f

7 years agoMerge "Remove redundant dependencies."
Treehugger Robot [Wed, 3 May 2017 22:01:03 +0000 (22:01 +0000)]
Merge "Remove redundant dependencies."

7 years ago.clang-format: 100 lines am: 5242af6d24
Steven Moreland [Wed, 3 May 2017 21:59:37 +0000 (21:59 +0000)]
.clang-format: 100 lines am: 5242af6d24
am: 1cc7108736

Change-Id: If99a71d1df69f553b7634fea600f4cc5c137e401

7 years agoMerge "Fix Keymaster HAL crash." into oc-dev
Shawn Willden [Wed, 3 May 2017 21:59:29 +0000 (21:59 +0000)]
Merge "Fix Keymaster HAL crash." into oc-dev
am: a22bc7450b

Change-Id: I7c765d18c3a6fc8e9741e45802f2991b07cf6fdf

7 years ago.clang-format: 100 lines
Steven Moreland [Wed, 3 May 2017 21:55:22 +0000 (21:55 +0000)]
.clang-format: 100 lines
am: 5242af6d24

Change-Id: I1f6efce2c2c1ef8c0ec9dee58a9dc9b8e33c3903

7 years agoMerge "Fix Keymaster HAL crash." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 21:50:22 +0000 (21:50 +0000)]
Merge "Fix Keymaster HAL crash." into oc-dev

7 years agoMerge "Revert "audiohal: Get rid of multiple inheritance in IDevice implementation...
Mikhail Naganov [Wed, 3 May 2017 19:15:49 +0000 (19:15 +0000)]
Merge "Revert "audiohal: Get rid of multiple inheritance in IDevice implementation"" into oc-dev
am: ed84acb9ff

Change-Id: Id618a6d2d483e805a3ad9d6991d2ae782de00da3

7 years agoMerge "Revert "audiohal: Get rid of multiple inheritance in IDevice implementation...
TreeHugger Robot [Wed, 3 May 2017 19:08:43 +0000 (19:08 +0000)]
Merge "Revert "audiohal: Get rid of multiple inheritance in IDevice implementation"" into oc-dev

7 years agoRevert "audiohal: Get rid of multiple inheritance in IDevice implementation"
Mikhail Naganov [Wed, 3 May 2017 16:39:28 +0000 (16:39 +0000)]
Revert "audiohal: Get rid of multiple inheritance in IDevice implementation"

This reverts commit e4228e7aa683044e17e6592c9014b5d4691445e7.

Further analysis of the bug has shown that the problem is not related
to the use of multiple inheritance.

Bug: 36225019
Change-Id: Icdcaf84061c0ecf29f891521bd961c3ee89f1cfc

7 years agoMerge "Omx VTS tests" into oc-dev
Zhuoyao Zhang [Wed, 3 May 2017 16:31:23 +0000 (16:31 +0000)]
Merge "Omx VTS tests" into oc-dev
am: 9ec2c9e099

Change-Id: I59f8401168779e7b06302e6ab5ea939c7c116877

7 years agoMerge "Omx VTS tests" into oc-dev
Zhuoyao Zhang [Wed, 3 May 2017 16:24:45 +0000 (16:24 +0000)]
Merge "Omx VTS tests" into oc-dev

7 years agoOmx VTS tests
Ram Mohan M [Wed, 26 Apr 2017 06:40:01 +0000 (12:10 +0530)]
Omx VTS tests

Bug: 32023356
Test: make vts.

preload elementary stream information during decoding

instead of using extractor to get the frame boundaries, frame
flags and timestamp information, they are read from a metadata
file in the resources directory on demand. Instead of doing it
on demand, we load the entire file information and use it. This
modification comes in handy for future test fixtures

Change-Id: I3a434018111eb66008f17c24b4c2c16d0db22ed1

bug fix: wait on input consumption

after queuing all the frames that need to be processed by
the component, the application continues its job of deinitializing
the component before ensuring all the inputs were decoded.
This is corrected.

Change-Id: I09a11fd5badabe2889ba243383145be07be51953

add end of stream test for audio decoder

component is provided an input with nFlags field set OMX_BUFFERFLAG_EOS.
the application expects this flag to be returned via one of its output
buffers. this flag is passed to the component at different timings to test
the robustness.

Change-Id: I00e3fdd5ef50d93f2620d8b0e9fc3c358de428d7

add timestamp deviation test for decoder components

the list of timestamps received from the component is
compared with the list provided to the component for any
differences

Change-Id: Ifcc16b7a00f58e1c1dfdba9f538d307ddcbfcc71

add option to configure resource files path

default location of resource files is /sdcard/media/. client can provide
choice of this location via the option -P.

example: VtsHalMediaOmxV1_0TargetVideoDecTest -C <component> -R <role> -P /sdcard/res/

Change-Id: Ib8d3af03c19a171e3bbb9839f7e331cbe576b24b

add flush test for audio & video dec components

while decoding a group of frames, flush call is made and it is
checked if all the i/o buffers are sent back to client. we then
seek to the next keyframe and test for decoding. monotonous
increase of timestamps is ensured.

Change-Id: Id48c76c157ebdfdefd3003e57519da3bd9715973

7 years agoAdd functional vts test for Health HAL
Sandeep Patil [Wed, 3 May 2017 01:32:12 +0000 (01:32 +0000)]
Add functional vts test for Health HAL
am: d22e2c5a87

Change-Id: I05d7849af6d9cc4ea0f9240ddf91b149f7d43ecf

7 years ago.clang-format: 100 lines
Steven Moreland [Tue, 2 May 2017 23:37:50 +0000 (16:37 -0700)]
.clang-format: 100 lines

This allows us to be more like the system/core clang format
and also prevents problems because a lot of hardware/interfaces
code is checked in with 100 lines of code.

Test: pass
Change-Id: I62aeba9deb33ad6ce3d62fada3e0c04139ca3588

7 years agoAdd functional vts test for Health HAL
Sandeep Patil [Tue, 2 May 2017 21:28:31 +0000 (14:28 -0700)]
Add functional vts test for Health HAL

Bug: 35915444
Test: Boot and run the test successfully on sailfish

Change-Id: I5965d1ffbc4f1a89454f962698ce67adc4c35293
Signed-off-by: Sandeep Patil <sspatil@google.com>
7 years agoRemove redundant dependencies
Steven Moreland [Tue, 2 May 2017 16:46:22 +0000 (09:46 -0700)]
Remove redundant dependencies

android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d

7 years agoRemove redundant dependencies.
Steven Moreland [Tue, 2 May 2017 22:23:11 +0000 (15:23 -0700)]
Remove redundant dependencies.

android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I56655b0214ba147398f9234eb004fba0aceb7e40
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d

7 years agoMerge "ContextHub: IWYU" into oc-dev-plus-aosp
TreeHugger Robot [Tue, 2 May 2017 19:18:33 +0000 (19:18 +0000)]
Merge "ContextHub: IWYU" into oc-dev-plus-aosp

7 years agoMerge "Sensors: IWYU" into oc-dev-plus-aosp
TreeHugger Robot [Tue, 2 May 2017 19:18:33 +0000 (19:18 +0000)]
Merge "Sensors: IWYU" into oc-dev-plus-aosp

7 years agoMerge "Vehicle: IWYU" into oc-dev-plus-aosp
TreeHugger Robot [Tue, 2 May 2017 19:18:33 +0000 (19:18 +0000)]
Merge "Vehicle: IWYU" into oc-dev-plus-aosp

7 years agoMerge "Add YUV support in EVS VTS tests" into oc-dev
Scott Randolph [Tue, 2 May 2017 19:06:43 +0000 (19:06 +0000)]
Merge "Add YUV support in EVS VTS tests" into oc-dev
am: b3d108de74

Change-Id: I66c5c2cc4b08ee9dd8ec5f2f7d24d5fcda71245c

7 years agoContextHub: IWYU
Steven Moreland [Mon, 1 May 2017 20:07:56 +0000 (13:07 -0700)]
ContextHub: IWYU

android-base macros was being transitively included from MQDescriptor.h

Test: links
Bug: 37791060
Change-Id: I2433462aae3d68a0d90cd6817338ba70d343b833
(cherry picked from commit 56b4c24bb7d36efa9edbd8e53e95f6161ac41e87)

7 years agoSensors: IWYU
Steven Moreland [Mon, 1 May 2017 20:20:59 +0000 (13:20 -0700)]
Sensors: IWYU

Missing dependency that was being transitively included
from MQDescriptor.h.

Test: links
Bug: 37791060
Change-Id: I5afca1596c83801a49ee0aead85499a5241608e0
(cherry picked from commit 5b42945e6ad042e02d4ffe3794cbbf886f374420)

7 years agoVehicle: IWYU
Steven Moreland [Tue, 2 May 2017 00:30:04 +0000 (17:30 -0700)]
Vehicle: IWYU

Missing dependency that was being transitively included
from MQDescriptor.h.

Test: links
Bug: 37791060
Change-Id: I90ccb2edabab8c63429caa0884f6c5820c29fe11
(cherry picked from commit 356c2ced1dd58915ba3997c80a3db56b1a8fdc0e)

7 years agoMerge "Add YUV support in EVS VTS tests" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 18:59:28 +0000 (18:59 +0000)]
Merge "Add YUV support in EVS VTS tests" into oc-dev

7 years agoMerge "Avoid crash when setting buffer on deleted layer" into oc-dev
Steven Thomas [Tue, 2 May 2017 18:06:11 +0000 (18:06 +0000)]
Merge "Avoid crash when setting buffer on deleted layer" into oc-dev
am: 6dbaf573a2

Change-Id: I919634ebcd7ff859cd6d52fcc95747810d1fd911

7 years agoMerge "Avoid crash when setting buffer on deleted layer" into oc-dev
Steven Thomas [Tue, 2 May 2017 17:47:23 +0000 (17:47 +0000)]
Merge "Avoid crash when setting buffer on deleted layer" into oc-dev

7 years agoAvoid crash when setting buffer on deleted layer
Steven Thomas [Wed, 26 Apr 2017 22:24:28 +0000 (15:24 -0700)]
Avoid crash when setting buffer on deleted layer

When setLayerBuffer() was called on a layer previously destroyed by
destroyLayer() the code would crash. Instead, return an error.

Bug: 37159844

Test: Ran vr flinger in a way that would trigger the crash, and
confirmed that I now get error logs instead of crashing. Unfortunately
the error code is consumed by the Composer wrapper class and not
propagated back to the caller, but that's a separate issue (b/37901601).

Change-Id: I75a5b954d47a1deac44d03851f60f347085eca89

7 years agoAdd YUV support in EVS VTS tests
Scott Randolph [Wed, 26 Apr 2017 00:52:25 +0000 (17:52 -0700)]
Add YUV support in EVS VTS tests

Additionally adds log markers at test start and ends tests early which
fail necessary preconditions.
Test:  Run against default and sample EVS drivers
bug:  37687125

Change-Id: Ie34674df5fe099dd4f380df485801ab0288147e9

7 years agoMerge "Add framework compatibility matrix" into oc-dev
Yifan Hong [Tue, 2 May 2017 07:42:32 +0000 (07:42 +0000)]
Merge "Add framework compatibility matrix" into oc-dev
am: ee7f6fae84

Change-Id: Ia0be3968c85e660d0842de8704acfb4b2572f0ef

7 years agoMerge "Add framework compatibility matrix" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 07:39:48 +0000 (07:39 +0000)]
Merge "Add framework compatibility matrix" into oc-dev

7 years agoAdd framework compatibility matrix
Yifan Hong [Fri, 28 Apr 2017 23:14:37 +0000 (16:14 -0700)]
Add framework compatibility matrix

Test: builds and verify that system/compatibility_matrix.xml exist
Bug: 37321309
Change-Id: Ic336e7660a19a4c2b5104739e0b7ace11096fcf7

7 years agoMerge "Remove redundant dependencies" am: 62769b7196 am: 170e2e85a2
Steven Moreland [Mon, 1 May 2017 23:37:04 +0000 (23:37 +0000)]
Merge "Remove redundant dependencies" am: 62769b7196 am: 170e2e85a2
am: 5fba1db1d2

Change-Id: I661fff75d140b4359af055a0f08f08ef33c889c3

7 years agoMerge "Remove redundant dependencies" am: 62769b7196
Steven Moreland [Mon, 1 May 2017 23:33:33 +0000 (23:33 +0000)]
Merge "Remove redundant dependencies" am: 62769b7196
am: 170e2e85a2

Change-Id: I05315464b2a8f4482a9999f0bba4ef35b0c38fb7

7 years agoMerge "Remove redundant dependencies"
Steven Moreland [Mon, 1 May 2017 23:30:00 +0000 (23:30 +0000)]
Merge "Remove redundant dependencies"
am: 62769b7196

Change-Id: Ie576459d47efdb1120b92a0e7c1a052b0ac15443

7 years agoMerge "Remove redundant dependencies"
Treehugger Robot [Mon, 1 May 2017 23:19:24 +0000 (23:19 +0000)]
Merge "Remove redundant dependencies"