OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Add p2 option in OpenLogicalChannel" into oc-dev
Amit Mahajan [Wed, 12 Apr 2017 22:21:51 +0000 (22:21 +0000)]
Merge "Add p2 option in OpenLogicalChannel" into oc-dev
am: ddeb776201  -s ours

Change-Id: Ia0a3a2afe643713dd9f6307532a1fda4d9fab46b

7 years agoAdd p2 option in OpenLogicalChannel
Wileen Chiu [Wed, 12 Apr 2017 22:13:57 +0000 (22:13 +0000)]
Add p2 option in OpenLogicalChannel
am: d87bd02d5a  -s ours

Change-Id: If4c8f514a6ebf36b1d5858fb2bde5e0bb330c247

7 years agoMerge "Add p2 option in OpenLogicalChannel" into oc-dev
Amit Mahajan [Wed, 12 Apr 2017 22:02:34 +0000 (22:02 +0000)]
Merge "Add p2 option in OpenLogicalChannel" into oc-dev

7 years agoMerge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev
Brian C. Anderson [Wed, 12 Apr 2017 21:40:07 +0000 (21:40 +0000)]
Merge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev
am: 21c2e11345

Change-Id: I8697cdc90dc46cbd0d0771314d7f603c3c9837b5

7 years agoMerge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev
Brian C. Anderson [Wed, 12 Apr 2017 21:26:22 +0000 (21:26 +0000)]
Merge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev

7 years agoMerge "Mark hidl test libs as vendor." into oc-dev
Steven Moreland [Wed, 12 Apr 2017 20:15:58 +0000 (20:15 +0000)]
Merge "Mark hidl test libs as vendor." into oc-dev
am: 32f726a62d

Change-Id: I96f582f0d3d1926ed5238785e414edc6f68b2b23

7 years agoMerge "libgrallocmapperincludes: as header lib and vendor" into oc-dev
Steven Moreland [Wed, 12 Apr 2017 20:15:48 +0000 (20:15 +0000)]
Merge "libgrallocmapperincludes: as header lib and vendor" into oc-dev
am: 0b3004f38f

Change-Id: I8ab1e6ca321c8545866156c33febb924f63fc0b9

7 years agoMerge "Mark hidl test libs as vendor." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 20:07:47 +0000 (20:07 +0000)]
Merge "Mark hidl test libs as vendor." into oc-dev

7 years agoMerge "bluetooth: include what you use" am: 2e7ce4d73f am: cbd97452d3
Steven Moreland [Wed, 12 Apr 2017 20:06:40 +0000 (20:06 +0000)]
Merge "bluetooth: include what you use" am: 2e7ce4d73f am: cbd97452d3
am: c2aca5dba7

Change-Id: I0113701089d21145e93bdeeba708c3fab12bfdbf

7 years agoMerge "libgrallocmapperincludes: as header lib and vendor" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 20:04:24 +0000 (20:04 +0000)]
Merge "libgrallocmapperincludes: as header lib and vendor" into oc-dev

7 years agoMerge "bluetooth: include what you use" am: 2e7ce4d73f
Steven Moreland [Wed, 12 Apr 2017 19:59:31 +0000 (19:59 +0000)]
Merge "bluetooth: include what you use" am: 2e7ce4d73f
am: cbd97452d3

Change-Id: I2c210fdbd21580c231c439be6b0c223fb0d799e5

7 years agoMerge "bluetooth: include what you use"
Steven Moreland [Wed, 12 Apr 2017 19:54:01 +0000 (19:54 +0000)]
Merge "bluetooth: include what you use"
am: 2e7ce4d73f

Change-Id: I6ad653360422fa3aa2f39719ad3ddfe03b2cc640

7 years agoMerge "bluetooth: include what you use"
Treehugger Robot [Wed, 12 Apr 2017 19:41:25 +0000 (19:41 +0000)]
Merge "bluetooth: include what you use"

7 years agoMerge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev
Lajos Molnar [Wed, 12 Apr 2017 19:01:20 +0000 (19:01 +0000)]
Merge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev
am: 5af63734be

Change-Id: I381afa75e69d47b774ac3e02c66a03b18e733568

7 years agoMerge "Add more VTS tests for ISupplicantP2pIface" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 19:01:04 +0000 (19:01 +0000)]
Merge "Add more VTS tests for ISupplicantP2pIface" into oc-dev
am: 2d76d8670a

Change-Id: I2b846253ef012589b32895921cd09e19692e3f8c

7 years agoMerge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 18:55:05 +0000 (18:55 +0000)]
Merge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev

7 years agoMerge "Add more VTS tests for ISupplicantP2pIface" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 18:52:17 +0000 (18:52 +0000)]
Merge "Add more VTS tests for ISupplicantP2pIface" into oc-dev

7 years agoAdd PRESENT_FENCE_IS_NOT_RELIABLE
Brian Anderson [Tue, 4 Apr 2017 23:16:41 +0000 (16:16 -0700)]
Add PRESENT_FENCE_IS_NOT_RELIABLE

Test: adb shell /data/nativetest/libgui_test/libgui_test
  --gtest_filter=*GetFrameTimestamps*
Bug: 3673084936887025

Change-Id: Ide992e4dda7840f7982237943256ea3019eda434

7 years agoMerge "Fix failure to load power HAL implementation" into oc-dev
Connor O'Brien [Wed, 12 Apr 2017 18:10:23 +0000 (18:10 +0000)]
Merge "Fix failure to load power HAL implementation" into oc-dev
am: ad504560cc

Change-Id: I87310cd0239c1d343734861d3783710299d3775d

7 years agoMerge "Fix failure to load power HAL implementation" into oc-dev
Connor O'Brien [Wed, 12 Apr 2017 17:57:32 +0000 (17:57 +0000)]
Merge "Fix failure to load power HAL implementation" into oc-dev

7 years agoMerge "Add more VTS tests for ISupplicantNetwork" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 17:33:04 +0000 (17:33 +0000)]
Merge "Add more VTS tests for ISupplicantNetwork" into oc-dev
am: 7147f8f57f

Change-Id: Id075f6cfdcae31a450fa1d098530fd7b007add42

7 years agoMerge "Update makefiles." am: bbf39eb0b9 am: 3334081377
Steven Moreland [Wed, 12 Apr 2017 17:26:03 +0000 (17:26 +0000)]
Merge "Update makefiles." am: bbf39eb0b9 am: 3334081377
am: 5306d88cad

Change-Id: Ie1ed999a4a11ea9767d09fca591c80db91102daf

7 years agoMerge "Update Radio and Sap service name in VTS." am: f7c337546a am: ff75143a7a
Sanket Padawe [Wed, 12 Apr 2017 17:25:49 +0000 (17:25 +0000)]
Merge "Update Radio and Sap service name in VTS." am: f7c337546a am: ff75143a7a
am: 0908df747d  -s ours

Change-Id: Idf43b6e46ca928156f88e30e102b28079a3e5e83

7 years agoMerge "Update makefiles." am: bbf39eb0b9
Steven Moreland [Wed, 12 Apr 2017 17:25:05 +0000 (17:25 +0000)]
Merge "Update makefiles." am: bbf39eb0b9
am: 3334081377

Change-Id: Ib76fd65166dd7358b11225a3bf7e1c1b0338fe08

7 years agoMerge "Update makefiles."
Steven Moreland [Wed, 12 Apr 2017 17:20:03 +0000 (17:20 +0000)]
Merge "Update makefiles."
am: bbf39eb0b9

Change-Id: I4f7ae72b65dabedbea7da5d80f2cb454959bd9f1

7 years agoMerge "Update Radio and Sap service name in VTS." am: f7c337546a
Sanket Padawe [Wed, 12 Apr 2017 17:19:51 +0000 (17:19 +0000)]
Merge "Update Radio and Sap service name in VTS." am: f7c337546a
am: ff75143a7a

Change-Id: I76b9a4c0b1fde16109d5209254060204381ec1dc

7 years agoAdd p2 option in OpenLogicalChannel
Wileen Chiu [Fri, 3 Mar 2017 19:57:48 +0000 (11:57 -0800)]
Add p2 option in OpenLogicalChannel

- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
  by SIM Alliance

Test: Basic telephony sanity
Bug: 27360148
Merged-In: I6a274195065ab1ef8406849228f60859ee826e53
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe

7 years agoMerge "Update Radio and Sap service name in VTS."
Sanket Padawe [Wed, 12 Apr 2017 17:14:21 +0000 (17:14 +0000)]
Merge "Update Radio and Sap service name in VTS."
am: f7c337546a

Change-Id: I88432432ca7bc23e8b4a1e7d216a3abf90b512dc

7 years agoMerge "Update makefiles."
Treehugger Robot [Wed, 12 Apr 2017 17:13:50 +0000 (17:13 +0000)]
Merge "Update makefiles."

7 years agobluetooth: include what you use
Steven Moreland [Tue, 11 Apr 2017 19:22:27 +0000 (12:22 -0700)]
bluetooth: include what you use

Helper libraries also now on vendor partition.

Test: links
Test: bluetooth works on internal Marlin
Bug: 33241851

Change-Id: Ie99faf9146ce2ce3df83a2b46acfaa36a54c16c2

7 years agoMerge "Update Radio and Sap service name in VTS."
Sanket Padawe [Wed, 12 Apr 2017 17:08:01 +0000 (17:08 +0000)]
Merge "Update Radio and Sap service name in VTS."

7 years agoMerge "Add more VTS tests for ISupplicantNetwork" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 17:04:25 +0000 (17:04 +0000)]
Merge "Add more VTS tests for ISupplicantNetwork" into oc-dev

7 years agolibgrallocmapperincludes: as header lib and vendor
Steven Moreland [Wed, 12 Apr 2017 16:39:54 +0000 (09:39 -0700)]
libgrallocmapperincludes: as header lib and vendor

Bug: 33241851
Test: links
Test: try build with BOARD_VNDK_VERSION current, no errors related to
  this module
Test: (sanity) YouTube

Change-Id: Ia2c3922bf8bf1ab51396a8c8c5fa8d909c442994

7 years agoMerge "sound trigger HAL: remove dummy Union" into oc-dev
Eric Laurent [Wed, 12 Apr 2017 16:05:11 +0000 (16:05 +0000)]
Merge "sound trigger HAL: remove dummy Union" into oc-dev
am: 8630ea169c

Change-Id: I772808083c8d053fef706e6ab056ba7f751718db

7 years agoMerge "sound trigger HAL: remove dummy Union" into oc-dev
Eric Laurent [Wed, 12 Apr 2017 15:57:48 +0000 (15:57 +0000)]
Merge "sound trigger HAL: remove dummy Union" into oc-dev

7 years agoMerge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 09:22:30 +0000 (09:22 +0000)]
Merge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev
am: 3d56bdfb2e

Change-Id: I3248190aaf9c394e5279b975e882bbb9e8f70810

7 years agoMerge "Add VTS tests for ISupplicantIface" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 09:22:19 +0000 (09:22 +0000)]
Merge "Add VTS tests for ISupplicantIface" into oc-dev
am: 4629846e68

Change-Id: I943342d624af77c266ac36562c8f252f76b0adf5

7 years agoMerge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:17:07 +0000 (09:17 +0000)]
Merge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev

7 years agoMerge "Add VTS tests for ISupplicantIface" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:14:29 +0000 (09:14 +0000)]
Merge "Add VTS tests for ISupplicantIface" into oc-dev

7 years agoMerge "Add more VTS tests for ISupplicantNetwork" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 04:57:16 +0000 (04:57 +0000)]
Merge "Add more VTS tests for ISupplicantNetwork" into oc-dev
am: f2c858ba94

Change-Id: Iaceed63e1bb4c1a2f9d6a41e5ed4b799e95ccc3e

7 years agoMerge "Add more VTS tests for ISupplicantNetwork" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 04:45:48 +0000 (04:45 +0000)]
Merge "Add more VTS tests for ISupplicantNetwork" into oc-dev

7 years agoMark hidl test libs as vendor.
Steven Moreland [Wed, 12 Apr 2017 00:56:47 +0000 (17:56 -0700)]
Mark hidl test libs as vendor.

They must be on the vendor partition for hidl_test to be able to link to
them when the VNDK is in place.

Test: hidl_test
Bug: 33241851
Change-Id: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c

7 years agoMerge "Added protections for RenderScript VTS tests." into oc-dev
Michael Butler [Wed, 12 Apr 2017 00:19:43 +0000 (00:19 +0000)]
Merge "Added protections for RenderScript VTS tests." into oc-dev
am: 59bfe719d2

Change-Id: I11c5c88a879df5acb1051ed65ca3cc107108f8b9

7 years agoMerge "Added protections for RenderScript VTS tests." into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:52:33 +0000 (23:52 +0000)]
Merge "Added protections for RenderScript VTS tests." into oc-dev

7 years agoAdd more VTS tests for ISupplicantNetwork
Ningyuan Wang [Tue, 11 Apr 2017 01:03:22 +0000 (18:03 -0700)]
Add more VTS tests for ISupplicantNetwork

This covers the following APIs by adding tests to
ISupplicantStaNetwork:
ISupplicantStaNetwork::setPsk(),
ISupplicantStaNetwork::getPsk(),
ISupplicantStaNetwork::setEapSubjectMatch(),
ISupplicantStaNetwork::getEapSubjectMatch(),
ISupplicantStaNetwork::setUpdateIdentifier,
ISupplicantStaNetwork::SetProactiveKeyCaching
ISupplicantStaNetwork::SendNetworkEapSimUmtsAutsResponse,
ISupplicantStaNetwork::SendNetworkEapSimGsmAuthFailure,
ISupplicantStaNetwork::SendNetworkEapSimUmtsAuthFailure,
ISupplicantStaNetwork::GetWpsNfcConfigurationToken

Bug: 33457575
Test: VTS tests pass

Change-Id: I7d990471aadc46e7d553f2179d6d234530cb1df6

7 years agoUpdate makefiles.
Steven Moreland [Tue, 11 Apr 2017 16:57:11 +0000 (09:57 -0700)]
Update makefiles.

Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e

7 years agoMerge "Fix VTS test for SupplicantP2pIface::stopFind()" into oc-dev
Ningyuan Wang [Tue, 11 Apr 2017 23:28:11 +0000 (23:28 +0000)]
Merge "Fix VTS test for SupplicantP2pIface::stopFind()" into oc-dev
am: aa3e01f871

Change-Id: I33161dba384d3dec981f9ef65a53fa18adb3f55a

7 years agoMerge "Fix VTS test for SupplicantP2pIface::stopFind()" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:16:54 +0000 (23:16 +0000)]
Merge "Fix VTS test for SupplicantP2pIface::stopFind()" into oc-dev

7 years agoAdd more VTS tests for ISupplicantP2pIface
Ningyuan Wang [Tue, 11 Apr 2017 16:40:08 +0000 (09:40 -0700)]
Add more VTS tests for ISupplicantP2pIface

This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::SetGroupIdle(),
ISupplicantP2pIface::SetPowerSave()

Bug: 33457575
Test: VTS tests pass
Change-Id: I8291735e74cf88c0e1ee4b5297b39aa37c33d17c

7 years agoFix failure to load power HAL implementation
Connor O'Brien [Tue, 11 Apr 2017 22:33:04 +0000 (15:33 -0700)]
Fix failure to load power HAL implementation

Some working implementations of the libhardware power HAL do not
implement an open method. Change the HIDL implementation to not rely
on that method being available.

Test: Flashed marlin with modified power.marlin that omits an open()
implementation; power HAL loads successfully and passes VTS
Bug: 37245218
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: Icc77b3011a0e44330062aa51ae49e39ad349a2a5

7 years agoMerge "Add p2 option in OpenLogicalChannel" am: ca59e7f3ca am: c0e1a4d4e5
Amit Mahajan [Tue, 11 Apr 2017 21:50:24 +0000 (21:50 +0000)]
Merge "Add p2 option in OpenLogicalChannel" am: ca59e7f3ca am: c0e1a4d4e5
am: f94530dfd8

Change-Id: I6a274195065ab1ef8406849228f60859ee826e53

7 years agoMerge "Add p2 option in OpenLogicalChannel" am: ca59e7f3ca
Amit Mahajan [Tue, 11 Apr 2017 21:44:08 +0000 (21:44 +0000)]
Merge "Add p2 option in OpenLogicalChannel" am: ca59e7f3ca
am: c0e1a4d4e5

Change-Id: I95a6f6de1e24d55e9aec7d6e0a73740b5ed3b181

7 years agoMerge "Add p2 option in OpenLogicalChannel"
Amit Mahajan [Tue, 11 Apr 2017 21:34:56 +0000 (21:34 +0000)]
Merge "Add p2 option in OpenLogicalChannel"
am: ca59e7f3ca

Change-Id: Icc00d5644db5266ed82735ae0065a5fe802f9075

7 years agoMerge "Copy wifi_hidl_call_util.h for supplicant VTS test" into oc-dev
Ningyuan Wang [Tue, 11 Apr 2017 21:28:33 +0000 (21:28 +0000)]
Merge "Copy wifi_hidl_call_util.h for supplicant VTS test" into oc-dev
am: 4ebd10a29a

Change-Id: I1eac40f7e73ff6c9ea97f64c70ac89a162cd32fe

7 years agoMerge "Add p2 option in OpenLogicalChannel"
Amit Mahajan [Tue, 11 Apr 2017 21:25:41 +0000 (21:25 +0000)]
Merge "Add p2 option in OpenLogicalChannel"

7 years agoMerge "Copy wifi_hidl_call_util.h for supplicant VTS test" into oc-dev
Ningyuan Wang [Tue, 11 Apr 2017 21:20:15 +0000 (21:20 +0000)]
Merge "Copy wifi_hidl_call_util.h for supplicant VTS test" into oc-dev

7 years agoAdd more VTS tests for ISupplicantNetwork
Ningyuan Wang [Mon, 10 Apr 2017 23:36:09 +0000 (16:36 -0700)]
Add more VTS tests for ISupplicantNetwork

This covers the following APIs by adding tests to
ISupplicantStaNetwork:
ISupplicantNetwork::getInterfaceName(),
ISupplicantNetwork::getType()

Bug: 33457575
Test: VTS tests pass
Change-Id: I9a24195cefefcc23b7603ff33b66a497eba07148

7 years agoAdd VTS tests for ISupplicantIface
Ningyuan Wang [Mon, 10 Apr 2017 23:36:09 +0000 (16:36 -0700)]
Add VTS tests for ISupplicantIface

This covers the following APIs by adding tests to both
ISupplicantStaIface and ISupplicantP2pIface:
ISupplicantIface::getName(),
ISupplicantIface::getType()

Bug: 33457575
Test: VTS tests pass

Change-Id: Ibbc4be2e367fc6f179005696724cccbcca58d10f

7 years agoCopy wifi_hidl_call_util.h for supplicant VTS test
Ningyuan Wang [Tue, 11 Apr 2017 18:11:46 +0000 (11:11 -0700)]
Copy wifi_hidl_call_util.h for supplicant VTS test

This copies wifi_hidl_call_util.h to supplicant cts directory
so supplicant vts tests can use this to simplify code.

Bug: 33457575
Test: compile, manual test
Change-Id: I696475062d04d54fafae5c3323818ce1d1ff7d9d

7 years agoMerge "Update Radio and Sap service name in VTS." into oc-dev
Sanket Padawe [Tue, 11 Apr 2017 18:15:48 +0000 (18:15 +0000)]
Merge "Update Radio and Sap service name in VTS." into oc-dev
am: 382cb1bdb5

Change-Id: I850d7e1e586d9549071b5837cee38c8f497283a4

7 years agoUpdate Radio and Sap service name in VTS.
Sanket Padawe [Mon, 10 Apr 2017 17:34:58 +0000 (10:34 -0700)]
Update Radio and Sap service name in VTS.

Bug: 37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7
Merged-in: I71562e5b9709166695d08a96a04928027dcb4ee7

7 years agosound trigger HAL: remove dummy Union
Eric Laurent [Tue, 11 Apr 2017 17:52:42 +0000 (10:52 -0700)]
sound trigger HAL: remove dummy Union

Remove dummy Union definition added as work around for JAVA build
problem.

Bug: 34109137
Test: make
Change-Id: I5a8107de2deab1f4f62c3e0ae654dd768cf0e307

7 years agoMerge "Update Radio and Sap service name in VTS." into oc-dev
Sanket Padawe [Tue, 11 Apr 2017 17:49:09 +0000 (17:49 +0000)]
Merge "Update Radio and Sap service name in VTS." into oc-dev

7 years agoFix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()
Ningyuan Wang [Tue, 11 Apr 2017 03:44:18 +0000 (20:44 -0700)]
Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()

EAP method needs to be set to construct the eap phase 2 method string.

Bug: 37220169
Test: vts tests pass
Change-Id: Ie69aaac0826d4bde784f864631a718242dd5af2a

7 years agoFix VTS test for SupplicantP2pIface::stopFind()
Ningyuan Wang [Tue, 11 Apr 2017 03:13:21 +0000 (20:13 -0700)]
Fix VTS test for SupplicantP2pIface::stopFind()

stopFind() returns SUCCESS even when there is no ongoing
find() operation.

Bug: 37220169
Test: vts tests pass
Change-Id: Ia3f3b4e0c4e7fb7263c1bcbfda1a40b6e5f1cba2

7 years agoMerge "graphics: revise gralloc interfaces" into oc-dev
Chia-I Wu [Tue, 11 Apr 2017 01:14:22 +0000 (01:14 +0000)]
Merge "graphics: revise gralloc interfaces" into oc-dev
am: 586fd648d5

Change-Id: Id9f6b839172f18ffec838a6906dab39a65a71e85

7 years agowifi: add VTS tests for IWifiApIface
Peter Qiu [Tue, 11 Apr 2017 01:11:17 +0000 (01:11 +0000)]
wifi: add VTS tests for IWifiApIface
am: 2c5d412af2

Change-Id: Ib00281f3408facb6bfac7e71b0ab0160ad10551f

7 years agoMerge "graphics: revise gralloc interfaces" into oc-dev
Chia-I Wu [Tue, 11 Apr 2017 01:08:37 +0000 (01:08 +0000)]
Merge "graphics: revise gralloc interfaces" into oc-dev

7 years agowifi: add VTS tests for IWifiApIface
Peter Qiu [Thu, 6 Apr 2017 21:41:01 +0000 (14:41 -0700)]
wifi: add VTS tests for IWifiApIface

Bug: 32022435
Bug: 36813739
Test: run VtsHalWifiV1_0Target test
Change-Id: I31db3b1bfe5deed5691e0d342762298b4b0d3620

7 years agoMerge "Support binderized and passthrough vendor services" into oc-dev
Jeff Tinker [Mon, 10 Apr 2017 22:28:32 +0000 (22:28 +0000)]
Merge "Support binderized and passthrough vendor services" into oc-dev
am: 25197f0f6f

Change-Id: Ia44472c4b20f1e3128d830665af23947c235cfed

7 years agoMerge "Support binderized and passthrough vendor services" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 22:14:19 +0000 (22:14 +0000)]
Merge "Support binderized and passthrough vendor services" into oc-dev

7 years agoMerge "wifi: add VTS tests for IWifiStaIface" into oc-dev
Peter Qiu [Mon, 10 Apr 2017 20:41:16 +0000 (20:41 +0000)]
Merge "wifi: add VTS tests for IWifiStaIface" into oc-dev
am: eeee2b1d50

Change-Id: I57efb271423cf57e7bb1976ebc976e067bc8df25

7 years agoMerge "wifi: add VTS tests for IWifiStaIface" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 20:20:33 +0000 (20:20 +0000)]
Merge "wifi: add VTS tests for IWifiStaIface" into oc-dev

7 years agoMerge "Revert "Weaver HAL"" am: 085aca0ee3 am: 3db17451c4
Andrew Scull [Mon, 10 Apr 2017 19:56:56 +0000 (19:56 +0000)]
Merge "Revert "Weaver HAL"" am: 085aca0ee3 am: 3db17451c4
am: 87f913b67d

Change-Id: I249857b8bc87d79af53816fac698712d97bb69f3

7 years agoMerge "Revert "Weaver HAL"" am: 085aca0ee3
Andrew Scull [Mon, 10 Apr 2017 19:52:53 +0000 (19:52 +0000)]
Merge "Revert "Weaver HAL"" am: 085aca0ee3
am: 3db17451c4

Change-Id: Iddcddaaef1665beb0c733d1e32fe02e10cfbeaeb

7 years agoMerge "Revert "Weaver HAL""
Andrew Scull [Mon, 10 Apr 2017 19:48:21 +0000 (19:48 +0000)]
Merge "Revert "Weaver HAL""
am: 085aca0ee3

Change-Id: I3de24c85b2113e38baa413f1992577710c630c80

7 years agoMerge "Revert "Weaver HAL""
Treehugger Robot [Mon, 10 Apr 2017 18:59:55 +0000 (18:59 +0000)]
Merge "Revert "Weaver HAL""

7 years agoMerge "Fix event listener timeout issues" into oc-dev
Jeff Tinker [Mon, 10 Apr 2017 18:23:48 +0000 (18:23 +0000)]
Merge "Fix event listener timeout issues" into oc-dev
am: 61fd056380

Change-Id: I737521de9c183b763f87d5e84da569a197e0a370

7 years agowifi: add VTS tests for IWifiStaIface
Peter Qiu [Wed, 5 Apr 2017 23:16:56 +0000 (16:16 -0700)]
wifi: add VTS tests for IWifiStaIface

This will cover all APIs except:
- startBackgroundScan
- stopBackgroundScan
- startSendingKeepAlivePackets
- stopSendingKeepAlivePackets

Bug: 32022435
Bug: 36813739
Test: run VtsHalWifiV1_0Target test
Change-Id: I71a1a97e4b0f1145657b249f3eb20305f810962b

7 years agographics: revise gralloc interfaces
Chia-I Wu [Fri, 31 Mar 2017 19:48:11 +0000 (12:48 -0700)]
graphics: revise gralloc interfaces

Revise IAllocator and IMapper to reduce IPC and to support gralloc0
devices.

Specifically, IAllocator is trimmed down to have essentially only

    allocate(BufferDescriptor descriptor, uint32_t count)
        generates (Error error,
                   uint32_t stride,
                   vec<handle> buffers);

The ability to allocate buffers with shared backing store is
removed.  ProducerUsage and ConsumerUsage are moved to the
graphics.common package and are merged and renamed to BufferUsage.
BufferUsage's bits follow gralloc0.

IMapper gains

    typedef vec<uint32_t> BufferDescriptor;
    createDescriptor(BufferDescriptorInfo descriptorInfo)
          generates (Error error,
                     BufferDescriptor descriptor);

where BufferDescriptor is an implementation-defined blob.  lockFlex
is replaced by lockYCbCr.  All getters are removed.

Reference counting with retain/release is replaced by
importBuffer/freeBuffer.

Most if not all gralloc1 features are not used by the runtime yet.
There is also not too much test written for them.  As such, they
tend to behave differently between implementations and cannot be
used reliably.

Bug: 36481301
Test: builds and boots on Pixel
Change-Id: I1d31105120517ea2c128c7a19297acf3bfd312bb

7 years agoMerge "Fix event listener timeout issues" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 18:10:15 +0000 (18:10 +0000)]
Merge "Fix event listener timeout issues" into oc-dev

7 years agoUpdate Radio and Sap service name in VTS.
Sanket Padawe [Mon, 10 Apr 2017 17:34:58 +0000 (10:34 -0700)]
Update Radio and Sap service name in VTS.

Bug: 37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7

7 years agoRevert "Weaver HAL"
Andrew Scull [Mon, 10 Apr 2017 16:56:43 +0000 (16:56 +0000)]
Revert "Weaver HAL"

This reverts commit 694beec5d73d34cbf1dc56d2b2193f832777e676.

Reason for revert: This will not be in O.

Change-Id: I301f265785815689e9cfc8412db1966a4565b561

7 years agoMerge "audiohal: init and send all offloadinfo related element" into oc-dev
Mikhail Naganov [Mon, 10 Apr 2017 16:33:13 +0000 (16:33 +0000)]
Merge "audiohal: init and send all offloadinfo related element" into oc-dev
am: 13c73d26e8

Change-Id: Ia66e55d7219c35343bb96275d704afcde9a9f453

7 years agoMerge "audiohal: init and send all offloadinfo related element" into oc-dev
Mikhail Naganov [Mon, 10 Apr 2017 16:21:33 +0000 (16:21 +0000)]
Merge "audiohal: init and send all offloadinfo related element" into oc-dev

7 years agographics: Update RAW16 format comments
Emilian Peev [Sun, 9 Apr 2017 21:44:07 +0000 (21:44 +0000)]
graphics: Update RAW16 format comments
am: cb0b46654d

Change-Id: Id5ff9b719351c5f7c1d08d3398dd0e01f20ec149

7 years agographics: Update RAW16 format comments
Emilian Peev [Wed, 15 Mar 2017 17:46:52 +0000 (17:46 +0000)]
graphics: Update RAW16 format comments

RAW16 format could be used together with depth dataspace.
The buffer contents in this case will be phase detection
statistics data.

Bug: 36015382
Test: testPDStats
Change-Id: Ied1c179193abef62a87fcec6f0906528ed58ea2b
(cherry picked from commit 23699d63143fd9d47f8584c6627e5c38838b333f)

7 years agoAdd IOmxStore and remove IOmxNode::setQuirks.
Lajos Molnar [Thu, 23 Mar 2017 03:13:20 +0000 (20:13 -0700)]
Add IOmxStore and remove IOmxNode::setQuirks.

IOmxStore is used for passing results from parsing media_codecs.xml and
related XML files to the framework. Once XML parsing is moved to the HAL
side, IOmxNode::setQuirks will not be needed anymore.

Test: Media post-submit tests on Pixel phone.
Test: Manual use of Camera, Photos, Play Movies and YouTube apps.
Bug: 36952714
Change-Id: I6b24c486c6f8afcbef6ee88a13b2b5bb08d3e656

7 years agoMerge "[WIFI][VTS] Don't call RequestDriverDebugDump API if not supported" into oc-dev
Etan Cohen [Sat, 8 Apr 2017 04:22:08 +0000 (04:22 +0000)]
Merge "[WIFI][VTS] Don't call RequestDriverDebugDump API if not supported" into oc-dev
am: e13455b32a

Change-Id: Id6f15287394bb2531316add0a4111f70d0e736d6

7 years agoMerge "[AWARE][VTS] Update WifiChipHidlTest NAN tests" into oc-dev
Etan Cohen [Sat, 8 Apr 2017 04:21:57 +0000 (04:21 +0000)]
Merge "[AWARE][VTS] Update WifiChipHidlTest NAN tests" into oc-dev
am: 24e1601315

Change-Id: I5c763c6d5c894f9c1ff2e637859ea24fd1f0835f

7 years agoMerge "[WIFI][VTS] Don't call RequestDriverDebugDump API if not supported" into oc-dev
Etan Cohen [Sat, 8 Apr 2017 04:15:44 +0000 (04:15 +0000)]
Merge "[WIFI][VTS] Don't call RequestDriverDebugDump API if not supported" into oc-dev

7 years agoMerge "[AWARE][VTS] Update WifiChipHidlTest NAN tests" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 04:15:05 +0000 (04:15 +0000)]
Merge "[AWARE][VTS] Update WifiChipHidlTest NAN tests" into oc-dev

7 years agoMerge "Log errno" into oc-dev
Jim Miller [Sat, 8 Apr 2017 01:04:48 +0000 (01:04 +0000)]
Merge "Log errno" into oc-dev
am: 03d65ff3ef

Change-Id: I27853ae03a52dc4e044fbece1edbe449d809e7ea

7 years agoMerge "Log errno" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 00:51:25 +0000 (00:51 +0000)]
Merge "Log errno" into oc-dev

7 years agoSupport binderized and passthrough vendor services
Jeff Tinker [Sat, 8 Apr 2017 00:41:49 +0000 (17:41 -0700)]
Support binderized and passthrough vendor services

Previously only the vendor service name was used
to get the drm and crypto services, which would work
either for binderized or passthrough devices, but not
both. With this change, the vendor service name is
tried first, and failing that the default passthrough
service is used.

Change-Id: I05e9552da992e8d9dbba0f8dde485406262410a9
related-to-bug:34178477
Test: drm vts test

7 years ago[WIFI][VTS] Don't call RequestDriverDebugDump API if not supported
Etan Cohen [Fri, 7 Apr 2017 20:17:06 +0000 (13:17 -0700)]
[WIFI][VTS] Don't call RequestDriverDebugDump API if not supported

The RequestDriverDebugDump API has a capability bit indicating if
supported on device. Calling if not supported should additionally
return ERROR_NOT_SUPPORTED - but does not today. This is arguably
not a valid issue - should not call API if already known not to be
supported.

Remove test for this (questionable) condition until decide on proper
semantics.

Bug: 36562856
Test: test passes
Change-Id: Ic8a1c8b5f77a1b1767c0efc9735731084dfde7cc

7 years agoaudiohal: init and send all offloadinfo related element
vivek mehta [Fri, 7 Apr 2017 01:27:34 +0000 (18:27 -0700)]
audiohal: init and send all offloadinfo related element

- init all offloadInfo element in audioOffloadInfoFromHal

Bug: 37158321
Test: make
Change-Id: I59d2f6dcd63f95a44465ee8ce8767351fae80521

7 years ago[AWARE][VTS] Update WifiChipHidlTest NAN tests
Etan Cohen [Fri, 7 Apr 2017 17:41:52 +0000 (10:41 -0700)]
[AWARE][VTS] Update WifiChipHidlTest NAN tests

NAN is not enabled on O - update all WifiChip NAN tests to expect
failure.

These tests will start failing again on any platforms/code where
NAN is enabled. Will fix more comprehensively at that point.

Bug: 36562856
Test: build + run vts
Change-Id: I0eaf7934d327fb91bff59dd33bd4a8069888c967

7 years agoMerge "Add command line strictness to VTS" into oc-dev
Wyatt Riley [Fri, 7 Apr 2017 15:10:43 +0000 (15:10 +0000)]
Merge "Add command line strictness to VTS" into oc-dev
am: 5ed473340c

Change-Id: Ifa644f4630408fbad1d5587a7df5da1317caea01

7 years agoMerge "Add command line strictness to VTS" into oc-dev
Wyatt Riley [Fri, 7 Apr 2017 15:03:50 +0000 (15:03 +0000)]
Merge "Add command line strictness to VTS" into oc-dev