OSDN Git Service

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

7 years agoMerge "graphics: polish Transform docs and indent ColorMode" into oc-dev
Chia-I Wu [Mon, 1 May 2017 21:13:44 +0000 (21:13 +0000)]
Merge "graphics: polish Transform docs and indent ColorMode" into oc-dev
am: 76061d7881

Change-Id: Id4e47c5c3ded892b1e4e91bda88358a84b65fa6e

7 years agoMerge "graphics: polish Transform docs and indent ColorMode" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 21:09:36 +0000 (21:09 +0000)]
Merge "graphics: polish Transform docs and indent ColorMode" into oc-dev

7 years agoRemove redundant dependencies
Steven Moreland [Mon, 1 May 2017 16:47:58 +0000 (09:47 -0700)]
Remove redundant dependencies

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

Test: links
Bug: 33276472
Change-Id: I424371932af129bba9d58dcf8652c64297f35f05

7 years agoMerge "audiohal: Get rid of multiple inheritance in IDevice implementation" into...
Mikhail Naganov [Mon, 1 May 2017 15:30:21 +0000 (15:30 +0000)]
Merge "audiohal: Get rid of multiple inheritance in IDevice implementation" into oc-dev
am: 5d3a3fd5a2

Change-Id: I924836d44a708d0e6b4964fa49cfac48fa6d5fc3

7 years agoMerge "audiohal: Get rid of multiple inheritance in IDevice implementation" into...
Mikhail Naganov [Mon, 1 May 2017 15:23:58 +0000 (15:23 +0000)]
Merge "audiohal: Get rid of multiple inheritance in IDevice implementation" into oc-dev

7 years agoMerge "Fixed the hasCarrierFrequency flag in GnssStatus(part 2)" into oc-dev
Yipeng Cao [Sat, 29 Apr 2017 22:42:30 +0000 (22:42 +0000)]
Merge "Fixed the hasCarrierFrequency flag in GnssStatus(part 2)" into oc-dev
am: dc24ef0ff3

Change-Id: I28a312340c0990ec89e9015c76f7839f44af4f77

7 years agoMerge "Fixed the hasCarrierFrequency flag in GnssStatus(part 2)" into oc-dev
Yipeng Cao [Sat, 29 Apr 2017 22:34:55 +0000 (22:34 +0000)]
Merge "Fixed the hasCarrierFrequency flag in GnssStatus(part 2)" into oc-dev

7 years agoMerge "Fix RssiMonitoring VTS tests" into oc-dev
Ningyuan Wang [Sat, 29 Apr 2017 20:49:34 +0000 (20:49 +0000)]
Merge "Fix RssiMonitoring VTS tests" into oc-dev
am: 5c604fc1d4

Change-Id: I2dd80498e6c3aa3ad05656229acfd04b7f937337

7 years agoMerge "Fix RssiMonitoring VTS tests" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 20:44:27 +0000 (20:44 +0000)]
Merge "Fix RssiMonitoring VTS tests" into oc-dev

7 years agoMerge "graphics: remvoe -Wno-unused-parameter" into oc-dev
Chia-I Wu [Sat, 29 Apr 2017 19:26:57 +0000 (19:26 +0000)]
Merge "graphics: remvoe -Wno-unused-parameter" into oc-dev
am: aa7cfc9f0d

Change-Id: I5a48015541985ed0f31f024f2698423ceabd50f8

7 years agoMerge "graphics: remvoe -Wno-unused-parameter" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 19:22:48 +0000 (19:22 +0000)]
Merge "graphics: remvoe -Wno-unused-parameter" into oc-dev

7 years agonfc: Android.mk -> Android.bp am: 238dd8a83c am: 570e021780
Steven Moreland [Sat, 29 Apr 2017 03:05:27 +0000 (03:05 +0000)]
nfc: Android.mk -> Android.bp am: 238dd8a83c am: 570e021780
am: df032be4c9

Change-Id: I2396585a08a006bc1dc062d69c6d0f74ecde4005

7 years agonfc: Android.mk -> Android.bp am: 238dd8a83c
Steven Moreland [Sat, 29 Apr 2017 03:02:26 +0000 (03:02 +0000)]
nfc: Android.mk -> Android.bp am: 238dd8a83c
am: 570e021780

Change-Id: Iac5a7ceb249c16540ec2f7201fa01bad4dbfe7de

7 years agonfc: Android.mk -> Android.bp
Steven Moreland [Sat, 29 Apr 2017 02:59:24 +0000 (02:59 +0000)]
nfc: Android.mk -> Android.bp
am: 238dd8a83c

Change-Id: Ib9e26069a58e86d4ab94f2ea5afde7ae1fd8dcc4

7 years agonfc: Android.mk -> Android.bp
Steven Moreland [Fri, 28 Apr 2017 00:52:45 +0000 (17:52 -0700)]
nfc: Android.mk -> Android.bp

Test: links
Change-Id: Ia19dafb3ff6bf5772d72133bb2e1687226e0d44f

7 years agoaudiohal: Get rid of multiple inheritance in IDevice implementation
Mikhail Naganov [Fri, 28 Apr 2017 20:20:56 +0000 (13:20 -0700)]
audiohal: Get rid of multiple inheritance in IDevice implementation

We still not sure what causes crashes in Device::get|setParam*,
but it seems that it is somehow caused by the fact that the parameters
code is in a separate class with virtual methods, from which
Device class inherits along with IDevice interface.

The workaround is to substitute multiple inheritance with
delegation in Device class. Hopefully this will either eliminate
crashes or make the underlying reasons more clear.

Some of the code got reformatted by clang-format as a presubmit
requirement.

Bug: 36225019
Test: make
Change-Id: Id785c3565bbebd5acc26ca46472961698d9c6208

7 years agoMerge "Prefix ENABLE_MEDIADRM_64 with TARGET_" into oc-dev
John W. Bruce [Sat, 29 Apr 2017 00:00:12 +0000 (00:00 +0000)]
Merge "Prefix ENABLE_MEDIADRM_64 with TARGET_" into oc-dev
am: 3fec5a6498

Change-Id: I9a92b21accd342f3781c9198de40515d556db930

7 years agoMerge "Prefix ENABLE_MEDIADRM_64 with TARGET_" into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 23:56:37 +0000 (23:56 +0000)]
Merge "Prefix ENABLE_MEDIADRM_64 with TARGET_" into oc-dev

7 years agoFixed the hasCarrierFrequency flag in GnssStatus(part 2)
Yipeng Cao [Fri, 28 Apr 2017 01:29:25 +0000 (18:29 -0700)]
Fixed the hasCarrierFrequency flag in GnssStatus(part 2)

Bug: 37757180
Fixes: 37757180
Test: cts-tradefed run cts -m CtsLocationTestCases --test
android.location.cts.GnssStatusTest

Change-Id: I817931ee2c19d0a770c4d7cedfbd69bc85db6978
Chang-Id: Icf4240ccad7ff367d96001973c0be36308ffd9b3

7 years agographics: remvoe -Wno-unused-parameter
Chia-I Wu [Fri, 28 Apr 2017 20:03:34 +0000 (13:03 -0700)]
graphics: remvoe -Wno-unused-parameter

Bug: 34611192
Test: builds
Change-Id: I8d6802ee6c618ea506fcca8e7d74e3b7026f29be

7 years agographics: polish Transform docs and indent ColorMode
Chia-I Wu [Fri, 28 Apr 2017 19:16:14 +0000 (12:16 -0700)]
graphics: polish Transform docs and indent ColorMode

Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: I95381d1a3a456aeadbc472e2dbbffde19cb43e6c

7 years agoMerge "audiohal: Support stateful downmixer effects" into oc-dev
Mikhail Naganov [Fri, 28 Apr 2017 15:35:19 +0000 (15:35 +0000)]
Merge "audiohal: Support stateful downmixer effects" into oc-dev
am: 9f5b6aaf73

Change-Id: Ib08f30c728e226becfb746692fc6a03dca3943b2

7 years agoMerge "audiohal: Support stateful downmixer effects" into oc-dev
Mikhail Naganov [Fri, 28 Apr 2017 15:29:21 +0000 (15:29 +0000)]
Merge "audiohal: Support stateful downmixer effects" into oc-dev

7 years agoMerge "Camera: use framework header for VideoNativeHandleMetadata" into oc-dev
Yin-Chia Yeh [Fri, 28 Apr 2017 08:08:12 +0000 (08:08 +0000)]
Merge "Camera: use framework header for VideoNativeHandleMetadata" into oc-dev
am: d4fc468392

Change-Id: If8ee83d2dbeda3c417d14b6c81ef284a8c3fb668

7 years agoMerge "Camera: use framework header for VideoNativeHandleMetadata" into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 08:01:49 +0000 (08:01 +0000)]
Merge "Camera: use framework header for VideoNativeHandleMetadata" into oc-dev

7 years agoMerge "Tether Offload HAL" am: e9b4ab6723 am: cd60c276d1
Niranjan Pendharkar [Fri, 28 Apr 2017 05:30:33 +0000 (05:30 +0000)]
Merge "Tether Offload HAL" am: e9b4ab6723 am: cd60c276d1
am: df1f2bfb28

Change-Id: Ib567927ae597569e47e33e56f7e9998a9b3850cf

7 years agoMerge "Tether Offload HAL" am: e9b4ab6723
Niranjan Pendharkar [Fri, 28 Apr 2017 05:28:32 +0000 (05:28 +0000)]
Merge "Tether Offload HAL" am: e9b4ab6723
am: cd60c276d1

Change-Id: I709458a5e29a3b058acd6b7f8b5d26f509748659

7 years agoMerge "Tether Offload HAL"
Niranjan Pendharkar [Fri, 28 Apr 2017 05:26:05 +0000 (05:26 +0000)]
Merge "Tether Offload HAL"
am: e9b4ab6723

Change-Id: I58d0c821e55ae8b460ffedb79a2314fffffe0b39

7 years agoMerge "Tether Offload HAL"
Treehugger Robot [Fri, 28 Apr 2017 05:21:40 +0000 (05:21 +0000)]
Merge "Tether Offload HAL"

7 years agovehicle: respect result of registerAsService
Steven Moreland [Wed, 26 Apr 2017 18:42:24 +0000 (11:42 -0700)]
vehicle: respect result of registerAsService

(cherry picked from commit e50f2efab5b1f42e6a908272458975c8bced0cdb)

Test: works with https://android-review.googlesource.com/c/358172/
Change-Id: I73bb43f0759f4e396ededf4d8ef7f13711c13276

7 years agoMerge "configstore-utils: vendor_available" am: c3e640c7f0 am: 759e1d28bd
Steven Moreland [Fri, 28 Apr 2017 03:18:22 +0000 (03:18 +0000)]
Merge "configstore-utils: vendor_available" am: c3e640c7f0 am: 759e1d28bd
am: 51ba6a1e43

Change-Id: I9fc5652422f983e37c195abec84ba594993d1407

7 years agoMerge "configstore-utils: vendor_available" am: c3e640c7f0
Steven Moreland [Fri, 28 Apr 2017 03:16:39 +0000 (03:16 +0000)]
Merge "configstore-utils: vendor_available" am: c3e640c7f0
am: 759e1d28bd

Change-Id: I6e33aad2c993029d3c1e6be139108edf4ebaf136

7 years agoMerge "configstore-utils: vendor_available"
Steven Moreland [Fri, 28 Apr 2017 03:14:21 +0000 (03:14 +0000)]
Merge "configstore-utils: vendor_available"
am: c3e640c7f0

Change-Id: Ied49d6affe69099bc08a58e1d5e38052d018a2e8

7 years agoMerge "configstore-utils: vendor_available"
Treehugger Robot [Fri, 28 Apr 2017 03:06:35 +0000 (03:06 +0000)]
Merge "configstore-utils: vendor_available"

7 years agoMerge "Move sensor hal service to class 'hal' from main." into oc-dev
Ashutosh Joshi [Fri, 28 Apr 2017 02:11:01 +0000 (02:11 +0000)]
Merge "Move sensor hal service to class 'hal' from main." into oc-dev
am: bbac6adea2

Change-Id: Iae89c2457eae7b2da7551e06ec18f3f778d8f325

7 years agoPrefix ENABLE_MEDIADRM_64 with TARGET_
John W. Bruce [Thu, 27 Apr 2017 19:06:29 +0000 (12:06 -0700)]
Prefix ENABLE_MEDIADRM_64 with TARGET_

This build-time flag should be prefixed.

Bug: 37039525
Test: Built OS
Change-Id: If6f6cd1ad2df5f000a4264cabeb7d9eb77e194ea

7 years agoconfigstore-utils: vendor_available
Steven Moreland [Fri, 28 Apr 2017 01:32:39 +0000 (18:32 -0700)]
configstore-utils: vendor_available

Test: with BOARD_VNDK_VERSION := current
Change-Id: I4fe86224d18bc7e7579c13f9273bc4efa25df1ea

7 years agoMerge "Move sensor hal service to class 'hal' from main." into oc-dev
Ashutosh Joshi [Fri, 28 Apr 2017 00:46:23 +0000 (00:46 +0000)]
Merge "Move sensor hal service to class 'hal' from main." into oc-dev

7 years agoMerge "Camera: use gralloc mapper for handle import" into oc-dev
Yin-Chia Yeh [Fri, 28 Apr 2017 00:05:09 +0000 (00:05 +0000)]
Merge "Camera: use gralloc mapper for handle import" into oc-dev
am: 02b745ff40

Change-Id: I318044c97b23d3ad144f3e28237ccd073cc75375

7 years agoMerge "Update .hal file for fixing vts tests" am: 4771c35ba9 am: bb46c20ae5
Shuo Qian [Fri, 28 Apr 2017 00:02:12 +0000 (00:02 +0000)]
Merge "Update .hal file for fixing vts tests" am: 4771c35ba9 am: bb46c20ae5
am: e77924cc09

Change-Id: I903e1b9ce4b9f6d34702161292840280c3eb1301

7 years agoMerge "Fix Vts errors" am: 570b0cbf6a am: 243e4dd831
Shuo Qian [Fri, 28 Apr 2017 00:02:09 +0000 (00:02 +0000)]
Merge "Fix Vts errors" am: 570b0cbf6a am: 243e4dd831
am: 4ee27ea19c

Change-Id: Ied38732abfa645dcdc5c1f55c56836ec2b8f4cbe

7 years agoMerge "Update .hal file for fixing vts tests" am: 4771c35ba9
Shuo Qian [Fri, 28 Apr 2017 00:00:10 +0000 (00:00 +0000)]
Merge "Update .hal file for fixing vts tests" am: 4771c35ba9
am: bb46c20ae5

Change-Id: I7f2d9bab325d724fb9ffeb440cec5b453a2d5fa1

7 years agoMerge "Fix Vts errors" am: 570b0cbf6a
Shuo Qian [Fri, 28 Apr 2017 00:00:08 +0000 (00:00 +0000)]
Merge "Fix Vts errors" am: 570b0cbf6a
am: 243e4dd831

Change-Id: I94cfadb942dd7b476cb17b2d9f5a3857dadf9857

7 years agoMerge changes from topic 'device_version_cleanup' into oc-dev
Emilian Peev [Thu, 27 Apr 2017 23:59:53 +0000 (23:59 +0000)]
Merge changes from topic 'device_version_cleanup' into oc-dev
am: 3176e6ebb9

Change-Id: I02d4b35bd0e74c5569de7425ea1baaab0cde45f9

7 years agoCamera: Insert default RAW boost if needed
Emilian Peev [Thu, 27 Apr 2017 23:59:49 +0000 (23:59 +0000)]
Camera: Insert default RAW boost if needed
am: a13ac99f34

Change-Id: Iee5e983c5853ece9b6f059a141c309e6a1a0f4f4

7 years agoCamera: Override AE pre-capture trigger cancel
Emilian Peev [Thu, 27 Apr 2017 23:59:43 +0000 (23:59 +0000)]
Camera: Override AE pre-capture trigger cancel
am: cf5813702a

Change-Id: I133ee269e945106c6754249fa17b3bd093ad4f76

7 years agoCamera: Map stream dataspaces
Emilian Peev [Thu, 27 Apr 2017 23:59:33 +0000 (23:59 +0000)]
Camera: Map stream dataspaces
am: 7d52a6fd25

Change-Id: I43591393eb3abdf3c7788d452d67020db01fc1d3

7 years agoMerge "Fix KM3.0 deleteKey behavior inconsistent with VTS test." into oc-dev
Janis Danisevskis [Thu, 27 Apr 2017 23:59:08 +0000 (23:59 +0000)]
Merge "Fix KM3.0 deleteKey behavior inconsistent with VTS test." into oc-dev
am: 8c5d56ecf5

Change-Id: I056e835343534887c7bb7afa05618bbe68bc7fbd

7 years agoMerge "Update .hal file for fixing vts tests"
Shuo Qian [Thu, 27 Apr 2017 23:58:40 +0000 (23:58 +0000)]
Merge "Update .hal file for fixing vts tests"
am: 4771c35ba9

Change-Id: I9e9a63c9253cd3413fdf14d8ea4b3668f4de1c9c

7 years agoMerge "Fix Vts errors"
Shuo Qian [Thu, 27 Apr 2017 23:58:38 +0000 (23:58 +0000)]
Merge "Fix Vts errors"
am: 570b0cbf6a

Change-Id: I8c27b992d93ac73067df5faa6a02713c01e44261

7 years agoMerge "Update .hal file for fixing vts tests"
Shuo Qian [Thu, 27 Apr 2017 23:48:39 +0000 (23:48 +0000)]
Merge "Update .hal file for fixing vts tests"

7 years agoMerge "Fix Vts errors"
Shuo Qian [Thu, 27 Apr 2017 23:48:39 +0000 (23:48 +0000)]
Merge "Fix Vts errors"

7 years agoMerge "stop bluetooth service while VTS test is running" am: 9ebee6d5b4 am: 6a8e550e85
Keun Soo Yim [Thu, 27 Apr 2017 23:20:07 +0000 (23:20 +0000)]
Merge "stop bluetooth service while VTS test is running" am: 9ebee6d5b4 am: 6a8e550e85
am: 8b7940cf5a

Change-Id: I84f2560a84dceece883c297953d71465592b0138

7 years agoMerge "stop bluetooth service while VTS test is running" am: 9ebee6d5b4
Keun Soo Yim [Thu, 27 Apr 2017 23:18:04 +0000 (23:18 +0000)]
Merge "stop bluetooth service while VTS test is running" am: 9ebee6d5b4
am: 6a8e550e85

Change-Id: I083bb31b1bca503007a61180db240080e7cfcf83

7 years agoMerge "stop bluetooth service while VTS test is running"
Keun Soo Yim [Thu, 27 Apr 2017 23:16:05 +0000 (23:16 +0000)]
Merge "stop bluetooth service while VTS test is running"
am: 9ebee6d5b4

Change-Id: I8b3cd188c4583d67d3b622dcd8227560e2ca35a7

7 years agoCamera: use framework header for VideoNativeHandleMetadata
Yin-Chia Yeh [Tue, 18 Apr 2017 00:44:52 +0000 (17:44 -0700)]
Camera: use framework header for VideoNativeHandleMetadata

Test: build
Bug: 35625849
Change-Id: I8159dd571b6b390fa089d497d45b76c1ec5bda31

7 years agoFix Vts errors
sqian [Thu, 13 Apr 2017 00:44:49 +0000 (17:44 -0700)]
Fix Vts errors

- Add REQUEST_NOT_SUPPORT into General Errors
- Add a util function to check General Errors
- Add a util function to check OEM Errors
- Changes to RIL command api tests based on the QC provided pdf
  to see if the errors from vts-web can be fixed

Test: Manual
Bug: 35671595

(cherry picked from commit 01e7c6ee5fcb1b469cac4a1fc96fc8c7f053c435)
Merged-In: I9500c686a75539dab37f0272349bc2f965cc0a8f
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f

7 years agoUpdate .hal file for fixing vts tests
sqian [Thu, 27 Apr 2017 22:00:36 +0000 (15:00 -0700)]
Update .hal file for fixing vts tests

- update 'voice' and 'sms' based on QC pdf file
- remove GENERIC_FAILURE still there
- fix duplicate error code

Test: Manual
Bug: 35671595
(cherry picked from commit 159ec7fbf5e7e1cfd1e76e88c71a72873dc5d8f4)
Merged-In: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31

7 years agoMerge "stop bluetooth service while VTS test is running"
Treehugger Robot [Thu, 27 Apr 2017 23:06:52 +0000 (23:06 +0000)]
Merge "stop bluetooth service while VTS test is running"

7 years agoMerge "Camera: use gralloc mapper for handle import" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 23:00:49 +0000 (23:00 +0000)]
Merge "Camera: use gralloc mapper for handle import" into oc-dev

7 years agoMerge changes from topic 'device_version_cleanup' into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 22:28:04 +0000 (22:28 +0000)]
Merge changes from topic 'device_version_cleanup' into oc-dev

* changes:
  CameraProvider: Check camera device version
  Camera: Insert default RAW boost if needed
  Camera: Override AE pre-capture trigger cancel
  Camera: Map stream dataspaces

7 years agoMerge "RIL changes to allow the modem to query the framework for the key." am: 9af336...
Pankaj Kanwar [Thu, 27 Apr 2017 21:33:44 +0000 (21:33 +0000)]
Merge "RIL changes to allow the modem to query the framework for the key." am: 9af336425e am: 88c489b6bd
am: a6dabb56a6

Change-Id: Id977a8fbf4b3e01716ff21a5abbb2cc45912cb41

7 years agoCamera: use gralloc mapper for handle import
Yin-Chia Yeh [Fri, 21 Apr 2017 21:59:31 +0000 (14:59 -0700)]
Camera: use gralloc mapper for handle import

Bug: 37540361
Test: marlin, smoke test GCA
Change-Id: I9d58d9c6af20b37c016f036bce2dcf55817c59aa

7 years agoTether Offload HAL
Niranjan Pendharkar [Thu, 26 Jan 2017 18:31:20 +0000 (10:31 -0800)]
Tether Offload HAL

Adds new interfaces to perform hardware optimized tethering offload.

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug:34361337
Change-Id: I1ed756306e1efe98bd2703df9c9846a50a87ffcd

7 years agoMerge "Fix KM3.0 deleteKey behavior inconsistent with VTS test." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 20:18:25 +0000 (20:18 +0000)]
Merge "Fix KM3.0 deleteKey behavior inconsistent with VTS test." into oc-dev

7 years agoaudiohal: Support stateful downmixer effects
Mikhail Naganov [Thu, 27 Apr 2017 00:22:31 +0000 (17:22 -0700)]
audiohal: Support stateful downmixer effects

Fraunhofer's downmixer has additional buffering, this is incompatible
with how DownmixerBufferProvider used to process incomplete buffers.

Now the effects HIDL wrapper delivers frameCount updates in
audiobuffers to the server side. This fixes playback of multichannel
sound streams.

Bug: 36181621
Test: play 5.1 track from Play Music
Change-Id: Iffe3327c6eedef85151eec2b41e0aedfb7ffa6dc

7 years agoMove sensor hal service to class 'hal' from main.
Ashutosh Joshi [Wed, 5 Apr 2017 10:31:49 +0000 (03:31 -0700)]
Move sensor hal service to class 'hal' from main.

Moving sensor hal service to hal class.

Bug: 36576271
Test: Ensure that sensors still stream.
Change-Id: I1ab984063c48401ee535b9be4df75d554d91578f
(cherry picked from commit 5d0b2e7c373d19eeffc915e5bcb0aaa9187f5a8c)

7 years agoMerge "Clean up after RTT operations finished. (1/2)" into oc-dev
Wei Wang [Thu, 27 Apr 2017 18:45:55 +0000 (18:45 +0000)]
Merge "Clean up after RTT operations finished. (1/2)" into oc-dev
am: 1c6cb69c37

Change-Id: I9aa375f1950c6749e9c855a9edb50d6314249c07

7 years agoMerge "Clean up after RTT operations finished. (1/2)" into oc-dev
Wei Wang [Thu, 27 Apr 2017 18:36:50 +0000 (18:36 +0000)]
Merge "Clean up after RTT operations finished. (1/2)" into oc-dev

7 years agoMerge "RIL changes to allow the modem to query the framework for the key." am: 9af336425e
Pankaj Kanwar [Thu, 27 Apr 2017 17:58:43 +0000 (17:58 +0000)]
Merge "RIL changes to allow the modem to query the framework for the key." am: 9af336425e
am: 88c489b6bd

Change-Id: I12943d9a627babc2f82a461863e12c93ca8be247

7 years agoMerge "RIL changes to allow the modem to query the framework for the key."
Pankaj Kanwar [Thu, 27 Apr 2017 17:49:37 +0000 (17:49 +0000)]
Merge "RIL changes to allow the modem to query the framework for the key."
am: 9af336425e

Change-Id: Ie143802009a056ac0ef66bdb0a7c0263c3016f39

7 years agoMerge "RIL changes to allow the modem to query the framework for the key."
Pankaj Kanwar [Thu, 27 Apr 2017 17:41:56 +0000 (17:41 +0000)]
Merge "RIL changes to allow the modem to query the framework for the key."

7 years agographics: remove non-HAL pixel formats
Chia-I Wu [Thu, 27 Apr 2017 16:59:18 +0000 (16:59 +0000)]
graphics: remove non-HAL pixel formats
am: 8de7a17b82

Change-Id: I61946500ccac4da062f1bdf82a28c57f7d982c89

7 years agographics: clean up PixelFormat docs
Chia-I Wu [Thu, 27 Apr 2017 16:59:05 +0000 (16:59 +0000)]
graphics: clean up PixelFormat docs
am: 00d459d039

Change-Id: If29c625bd32bcfcf00c9c229a4811acf0f7bfddb

7 years agoMerge "graphics: reorder PixelFormat" into oc-dev
Chia-I Wu [Thu, 27 Apr 2017 16:58:55 +0000 (16:58 +0000)]
Merge "graphics: reorder PixelFormat" into oc-dev
am: 0875af5cbe

Change-Id: I151aa9619dc3dd9fa3c21464a430b290cb09d0a4

7 years agographics: remove non-HAL pixel formats
Chia-I Wu [Wed, 26 Apr 2017 16:44:39 +0000 (09:44 -0700)]
graphics: remove non-HAL pixel formats

HALs are not expected to see YCBCR_422_888, YCBCR_444_888,
FLEX_RGB_888, and FLEX_RGBA_8888.  JPEG is purely wrong.

Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: I432e6cb75cfc347a41e8e1632ae1898eed3350c8

7 years agographics: clean up PixelFormat docs
Chia-I Wu [Tue, 18 Apr 2017 20:37:49 +0000 (13:37 -0700)]
graphics: clean up PixelFormat docs

Make the docs more self-contained, not referring to stuff not
defined by the HIDL interfaces.

Mark JPEG, YCBCR_422_888, YCBCR_444_888, FLEX_RGB_888,
FLEX_RGBA_8888 as "MUST NOT USE".  These format are never supposed
to be seen by gralloc and do not belong to the HIDL interfaces.

Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: Ia7607cc73dd2f58dfa27e71b0004b21c7ca6904d

7 years agoMerge "graphics: reorder PixelFormat" into oc-dev
Chia-I Wu [Thu, 27 Apr 2017 16:54:03 +0000 (16:54 +0000)]
Merge "graphics: reorder PixelFormat" into oc-dev

7 years agoMerge "Basic audio/video encoder/decoder test." into oc-dev
Zhuoyao Zhang [Thu, 27 Apr 2017 16:44:04 +0000 (16:44 +0000)]
Merge "Basic audio/video encoder/decoder test." into oc-dev
am: 13d6297319

Change-Id: I56330dc127ac80fabae9c84a789e2e8a2a29d92c

7 years agographics: reorder PixelFormat
Chia-I Wu [Tue, 18 Apr 2017 20:36:37 +0000 (13:36 -0700)]
graphics: reorder PixelFormat

Sort the enum values in their numerical order. There is no other
change.

Note, current.txt change (as opposed to addition) is only allowed
because this is an unreleased interface.

Bug: 32593292
Test: builds
Change-Id: I47914a7971f922f5602f982b41dd7602842e853b