OSDN Git Service

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

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

7 years agoRIL changes to allow the modem to query the framework for the key.
pkanwar [Sun, 19 Mar 2017 17:49:01 +0000 (10:49 -0700)]
RIL changes to allow the modem to query the framework for the key.

BUG: 35606429
Test: manual
Change-Id: I7687d664c928de2325d50c3e9e7912f10aa37463
Merged-In: Ib1f5ee5f793f53901ad54bb6b6d4cb667dc720ab

7 years agoFix KM3.0 deleteKey behavior inconsistent with VTS test.
Janis Danisevskis [Wed, 12 Apr 2017 16:16:38 +0000 (09:16 -0700)]
Fix KM3.0 deleteKey behavior inconsistent with VTS test.

Keymaster 3.0 VTS test required that deleteKey returns
ErrorCode::OK even if the key blob parameter is invalid or garbage.
The rationale is that deleteKey shall have the invariant that
key blobs are unusable after the deleteKey call. If it was unusable
before, this invariant is upheld.

This patch makes the legacy wrapper for the Keymaster HAL translate
an ErrorCode::INVALID_KEY_BLOB retuned by the legacy delete_key to
ErrorCode::OK.

Bug: 37351644
Test: Manually run VtsHalKeymasterV3_0TargetTest with legacy keymaster
      HAL installed (tested with sailfish)

Change-Id: Ib22c8b8e10334770a1d4a5570acf16c2c52a6c60

7 years agoMerge "Add onAcquired log back" into oc-dev
Kevin Chyn [Thu, 27 Apr 2017 07:05:22 +0000 (07:05 +0000)]
Merge "Add onAcquired log back" into oc-dev
am: 238d6b95ed

Change-Id: Ica053c357b46078857c006b58c1fed92876df06b

7 years agoMerge "Add onAcquired log back" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 06:59:26 +0000 (06:59 +0000)]
Merge "Add onAcquired log back" into oc-dev

7 years agoRevert "Add capabilities for wifi_hal_legacy"
Randy Pan [Thu, 27 Apr 2017 03:50:28 +0000 (03:50 +0000)]
Revert "Add capabilities for wifi_hal_legacy"
am: b666cdae0f

Change-Id: I870f99b5c9446f27663dd2ca72396f29667eb690

7 years agoClean up after RTT operations finished. (1/2)
Wei Wang [Tue, 25 Apr 2017 02:03:24 +0000 (19:03 -0700)]
Clean up after RTT operations finished. (1/2)

Bug: 36185358

Test: Manual with RTT app.

Change-Id: Ic9c9d020acaf384664a9881ec2806f941b7a0c1c

7 years agoRevert "Add capabilities for wifi_hal_legacy"
Randy Pan [Thu, 27 Apr 2017 01:19:44 +0000 (18:19 -0700)]
Revert "Add capabilities for wifi_hal_legacy"

This reverts commit 1addbeaa4672adae37ade6784d7a99b6bf1e0604.

It breaks WiFi connectivity on Fugu.

Bug: 37713566
Test: Able to connect to GoogleGuest on Fugu.

7 years agoMerge changes from topic 'fix_configure_chip' into oc-dev
Ningyuan Wang [Thu, 27 Apr 2017 01:13:52 +0000 (01:13 +0000)]
Merge changes from topic 'fix_configure_chip' into oc-dev
am: 5eca115b68

Change-Id: Ice788fc3d3c9226fa47df0b598927ea4a349332e

7 years agoMerge changes from topic 'fix_configure_chip' into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 00:56:34 +0000 (00:56 +0000)]
Merge changes from topic 'fix_configure_chip' into oc-dev

* changes:
  Fix configureChip() VTS test
  Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration

7 years agoMerge "stop bluetooth service while VTS test is running" into oc-dev
Keun Soo Yim [Wed, 26 Apr 2017 23:59:07 +0000 (23:59 +0000)]
Merge "stop bluetooth service while VTS test is running" into oc-dev
am: 1f7fa63fbb

Change-Id: I61f369ab2dea028bed2fdb57a81f0279916e906d

7 years agoMerge "Update .hal file for fixing vts tests" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:58:48 +0000 (23:58 +0000)]
Merge "Update .hal file for fixing vts tests" into oc-dev
am: 05935a7e06

Change-Id: If0c731b2e1485b580e78b378e1d8cdc6d69b766e

7 years agoMerge "Fix Vts errors" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:58:44 +0000 (23:58 +0000)]
Merge "Fix Vts errors" into oc-dev
am: 93d5836949

Change-Id: I9c3b7db8e75cf15f3231c60379bf0b1808cea972

7 years agostop bluetooth service while VTS test is running
Keun Soo Yim [Mon, 24 Apr 2017 21:49:30 +0000 (14:49 -0700)]
stop bluetooth service while VTS test is running

Test: run VTS HAL BT test
Bug: 37153328
Change-Id: I615d96daff496096122cd18158c205073f4623a6
(cherry picked from commit 1965f73bacbb1cd937f97149b29583edb65c2c99)

7 years agoMerge "stop bluetooth service while VTS test is running" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:25:37 +0000 (23:25 +0000)]
Merge "stop bluetooth service while VTS test is running" into oc-dev

7 years agoMerge "Update .hal file for fixing vts tests" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:21:22 +0000 (23:21 +0000)]
Merge "Update .hal file for fixing vts tests" into oc-dev

7 years agoMerge "Fix Vts errors" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:21:22 +0000 (23:21 +0000)]
Merge "Fix Vts errors" into oc-dev

7 years agoMerge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev
Mikhail Naganov [Wed, 26 Apr 2017 22:57:58 +0000 (22:57 +0000)]
Merge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev
am: 95344ba2f5

Change-Id: Ie9b431099d21dd4120b85e35872366aa03bc61f2

7 years agoMerge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev
Mikhail Naganov [Wed, 26 Apr 2017 22:53:31 +0000 (22:53 +0000)]
Merge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev

7 years agoBasic audio/video encoder/decoder test.
Ram Mohan M [Wed, 19 Apr 2017 09:01:19 +0000 (14:31 +0530)]
Basic audio/video encoder/decoder test.

Bug: 32023356
TODO: cleanup the test code b/37719510

ComponentTest :-
1. allocatePortBuffers cleanup
2. More than one test fixture performs State transitions
(Loaded <-> Idle <-> Execute). So, this is moved to a routine and
invoked when needed.
3. Dispatch input/output buffers code section is moved to a routine
4. Seperated Test fixtures StateTransitions_Flush
5. Added Doc string
6. Test component port population

AudioDecTest :-
1. Backport Cleanup changes from ComponentTest to AudioDecTest
2. Added elementary streams for the following codecs mp3, amr-nb &
Updated paths to elementary streams in audio decoder test

Test: Tested ComponentTest and AudioDecTest for mp3

Change-Id: I90decde4dfab55c3d456dfd88b474dd5abe8eebc

List Available components (roles) in android media framework

Change-Id: I210665843e997e60b167f2d680c87b1cc4f90c58

add README.md

Change-Id: I3a2a057d10b18f4f374928a996b8b4ea4b084770

add basic video decoder tests

for a given component test for successful decoding of an input clip

Test: tested for softavc decoder

Change-Id: I2f4c034c34a456e1ed0c2d32ef381ca48aeda8ff

add basic audio encoder tests

for a given component, test for successful encoding of an input clip

Test: tested on softaac, softamrnb, softamrwb & softflac components

Change-Id: I05f5646ffed37143a21ea72f0fd782c2bb5c4d82

add basic video encoder tests

For a given component test successful encoding of nframes of a
raw video clip

Test: tested on softavc encoder.
Change-Id: Ia1d754061e8362f6c08a2be3d6384c95589a36de

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
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f

7 years agoFix configureChip() VTS test
Ningyuan Wang [Fri, 21 Apr 2017 16:54:07 +0000 (09:54 -0700)]
Fix configureChip() VTS test

Bug: 36562856
Bug: 37446050
Test: compile, vts test pass

Change-Id: I99ee0336d9cc11329de560daf26216ac15e5a0a9

7 years agoUpdate .hal file for fixing vts tests
sqian [Wed, 26 Apr 2017 01:00:34 +0000 (18: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

Note, current.txt updated only because this interface
has not been released as of the time of this CL.

Test: Manual
Bug: 35671595
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31

7 years agoReturn ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
Ningyuan Wang [Tue, 18 Apr 2017 21:20:41 +0000 (14:20 -0700)]
Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration

Bug: 36562856
Bug: 37446050
Test: compile, VTS test fail as expected
Change-Id: I895dd0d6e96b0d0a2b429c3a68be1f7c7e32a7e3

7 years agoMerge "Make BT HAL audio threads RT" into oc-dev
Philip Cuadra [Wed, 26 Apr 2017 17:07:13 +0000 (17:07 +0000)]
Merge "Make BT HAL audio threads RT" into oc-dev
am: 240371c7b2

Change-Id: Ia0eaedaa08a6bed4ba555e18fcff3a22c5b57b63

7 years agoMerge "Make BT HAL audio threads RT" into oc-dev
Philip Cuadra [Wed, 26 Apr 2017 16:52:00 +0000 (16:52 +0000)]
Merge "Make BT HAL audio threads RT" into oc-dev

7 years agoMake BT HAL audio threads RT
Philip Cuadra [Thu, 20 Apr 2017 23:02:48 +0000 (16:02 -0700)]
Make BT HAL audio threads RT

Bluetooth threads that are used in audio have deadline
requirements for glitchless playback.  Those threads need to be
scheduled as RT tasks to ensure that they can meet the deadline even if
there is high system load.  Use schedulerservice to request RT
scheduling.

Bug 37518404
Test:  play Bluetooth audio, check for RT with systrace
Change-Id: I043a97df3d2801922b54dcbf7c700ae11a48c217

7 years agoMerge "audiohal: Fix typos in comments, add missing comments" into oc-dev
Mikhail Naganov [Tue, 25 Apr 2017 22:36:45 +0000 (22:36 +0000)]
Merge "audiohal: Fix typos in comments, add missing comments" into oc-dev
am: 3242e248c4

Change-Id: I26dafab660c6c7680600c0f7c8f90fb3ee897150

7 years agoMerge changes from topic 'hals-should-use-mapper' into oc-dev
Chia-I Wu [Tue, 25 Apr 2017 22:36:03 +0000 (22:36 +0000)]
Merge changes from topic 'hals-should-use-mapper' into oc-dev
am: 0a0e31c42d

Change-Id: I0284ac97f01fcd6c0dbf749b5a93a8ba455f777f

7 years agographics: clarify importBuffer and passthrough HALs
Chia-I Wu [Tue, 25 Apr 2017 22:35:59 +0000 (22:35 +0000)]
graphics: clarify importBuffer and passthrough HALs
am: ec74596af8

Change-Id: Ia8b618a8ca6e75185938004bc1bb662bac8e8e8f

7 years agoMerge "audiohal: Fix typos in comments, add missing comments" into oc-dev
Mikhail Naganov [Tue, 25 Apr 2017 22:19:42 +0000 (22:19 +0000)]
Merge "audiohal: Fix typos in comments, add missing comments" into oc-dev

7 years agoMerge changes from topic 'hals-should-use-mapper' into oc-dev
Chia-I Wu [Tue, 25 Apr 2017 22:12:56 +0000 (22:12 +0000)]
Merge changes from topic 'hals-should-use-mapper' into oc-dev

* changes:
  graphics: use mapper from the composer
  graphics: clarify importBuffer and passthrough HALs

7 years agoAdd onAcquired log back
Kevin Chyn [Tue, 25 Apr 2017 21:02:59 +0000 (14:02 -0700)]
Add onAcquired log back

It was in fingerprintd, which is replaced now

Fixes: 37677260
Test: touch FP when enrolling/authenticating and make sure
onAcquired log is there

Change-Id: Iadecdfa1c18b0aaa083de18dbe7f701c78465ace

7 years agostop bluetooth service while VTS test is running
Keun Soo Yim [Mon, 24 Apr 2017 21:49:30 +0000 (14:49 -0700)]
stop bluetooth service while VTS test is running

Test: run VTS HAL BT test
Bug: 37153328
Change-Id: I615d96daff496096122cd18158c205073f4623a6

7 years agoaudiohal: Fix handling of invalid arguments in 'debugDump' methods
Mikhail Naganov [Mon, 24 Apr 2017 17:44:08 +0000 (10:44 -0700)]
audiohal: Fix handling of invalid arguments in 'debugDump' methods

Add checks for validity of the passed in native handle.

Bug: 37590777
Change-Id: If906f0086c3442819e1844cc521215d5b74af015
Test: VTS
(cherry picked from commit 7bae6a0b635b142cfba9d4c4612e1e114f85b842)

7 years agographics: clarify importBuffer and passthrough HALs
Chia-I Wu [Fri, 21 Apr 2017 22:02:22 +0000 (15:02 -0700)]
graphics: clarify importBuffer and passthrough HALs

A buffer handle recieved from a HAL is by definition raw and needs
to be imported.  But because of passthrough HALs, such a raw handle
may have been imported already.  Explicitly specify that an
implementation must accept such a raw handle.

Bug: 37540361
Test: boots on angler, ryu and marlin
Change-Id: I5ecf526e59b27cc4a8f7f5d5ec27477da0946ece

7 years agographics: use mapper from the composer
Chia-I Wu [Thu, 20 Apr 2017 18:01:18 +0000 (11:01 -0700)]
graphics: use mapper from the composer

We must use the mapper HAL instead of gralloc0/gralloc1 from the
composer.

Bug: 37540361
Test: boots on marlin, angler, and ryu
Change-Id: I5a3ff6a025bf51a3507a4f33fa77e9506a6f1ec9

7 years agoMerge "Fix VtsHalDrmV1_0Target test failure" into oc-dev
Jeff Tinker [Tue, 25 Apr 2017 19:17:32 +0000 (19:17 +0000)]
Merge "Fix VtsHalDrmV1_0Target test failure" into oc-dev
am: 1fd47b29b3

Change-Id: I947939edad4fc89c4e58119581205874e17cfdbd

7 years agoCameraProvider: Check camera device version
Emilian Peev [Mon, 10 Apr 2017 15:12:55 +0000 (16:12 +0100)]
CameraProvider: Check camera device version

Make sure we are working with supported devices.

Bug: 34392075
Test: Manual using application
Change-Id: I834612303f3e02e79924efbdcc25cff890defefb

7 years agoCamera: Insert default RAW boost if needed
Emilian Peev [Mon, 10 Apr 2017 11:02:17 +0000 (12:02 +0100)]
Camera: Insert default RAW boost if needed

RAW boost key inside result and request metadata could be
absent depending on CameraHal. In case RAW boost range is
supported, the RAW boost value must always be present.

Bug: 34392075
Test: runtest -x
cts/tests/camera/src/android/hardware/camera2/cts/DngCreatorTest.java
Change-Id: I4c27b3fe5228ff604e3f2796abc670be5c17da67

7 years agoCamera: Override AE pre-capture trigger cancel
Emilian Peev [Fri, 7 Apr 2017 12:53:10 +0000 (13:53 +0100)]
Camera: Override AE pre-capture trigger cancel

CameraHal version 3.2 doesn't support cancel AE pre-capture
trigger. Camera request metadata that contains this value
needs to be overriden respectively. The corresponding results
also require the same kind of modification.

Bug: 34392075
Test: runtest -x
cts/tests/camera/src/android/hardware/camera2/cts/StillCaptureTest.java
-m testAePrecaptureTriggerCancelJpegCapture
Change-Id: If8bcf7e97ca8691cf890d5d6306d49dc3ddd087a

7 years agoCamera: Map stream dataspaces
Emilian Peev [Fri, 7 Apr 2017 08:53:48 +0000 (09:53 +0100)]
Camera: Map stream dataspaces

Older CameraHal versions are still using deprecated dataspace
definitions. Mapping between these dataspaces is needed to avoid
discrepancies.

Bug: 34392075
Test: Manual using camera application
Change-Id: I811dec879494445736b4e3731b2d516e396a9058

7 years agoMerge "Fix VtsHalDrmV1_0Target test failure" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 18:53:59 +0000 (18:53 +0000)]
Merge "Fix VtsHalDrmV1_0Target test failure" into oc-dev

7 years agoMerge "Adding missing NI_TYPE for emergency SUPL" into oc-dev
Wyatt Riley [Tue, 25 Apr 2017 18:04:30 +0000 (18:04 +0000)]
Merge "Adding missing NI_TYPE for emergency SUPL" into oc-dev
am: 12d67e3c7a

Change-Id: I4891c240fd6e73d0c3e4836a9286977b23f936b0

7 years agoaudiohal: Fix typos in comments, add missing comments
Mikhail Naganov [Tue, 25 Apr 2017 17:35:17 +0000 (10:35 -0700)]
audiohal: Fix typos in comments, add missing comments

These changes are in comments only, no ABI breaking changes.

Bug: 32238101
Test: make
Change-Id: Iead4ba01dae1a1c05d8fbed7f194182128e9e6ad

7 years agoChange bootHAL to early_hal class am: 092daf7fea am: 769907ef4e
Wei Wang [Tue, 25 Apr 2017 17:45:58 +0000 (17:45 +0000)]
Change bootHAL to early_hal class am: 092daf7fea am: 769907ef4e
am: 3debb9dec8  -s ours

Change-Id: I9725a681541ced41ff98f8989b28520d819c2157

7 years agoChange bootHAL to early_hal class am: 092daf7fea
Wei Wang [Tue, 25 Apr 2017 17:44:29 +0000 (17:44 +0000)]
Change bootHAL to early_hal class am: 092daf7fea
am: 769907ef4e

Change-Id: Ifc68c969adadd0cab354c1f70d1ec164ca03665f

7 years agoChange bootHAL to early_hal class
Wei Wang [Tue, 25 Apr 2017 17:42:03 +0000 (17:42 +0000)]
Change bootHAL to early_hal class
am: 092daf7fea

Change-Id: I905d1a824c8e4904f748d9d9f3c66bb36136647e

7 years agoMerge "Adding missing NI_TYPE for emergency SUPL" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 17:40:55 +0000 (17:40 +0000)]
Merge "Adding missing NI_TYPE for emergency SUPL" into oc-dev

7 years agoMerge changes from topic 'fuguWifi' into oc-dev
Randy Pan [Tue, 25 Apr 2017 17:20:51 +0000 (17:20 +0000)]
Merge changes from topic 'fuguWifi' into oc-dev
am: 0d0fb634ec

Change-Id: I2617fe15174d5ca808e48d21fd5d4f9ac0f99778

7 years agoMerge changes from topic 'fuguWifi' into oc-dev
Randy Pan [Tue, 25 Apr 2017 16:59:37 +0000 (16:59 +0000)]
Merge changes from topic 'fuguWifi' into oc-dev

* changes:
  Improve logger feature set handling
  Add capabilities for wifi_hal_legacy

7 years agoMerge "Finish adding manufacturer and model to device ID attestation" into oc-dev
Bartosz Fabianowski [Tue, 25 Apr 2017 10:47:57 +0000 (10:47 +0000)]
Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev
am: 8fcab148c2

Change-Id: Ib568ef34a26d500e452887118338679388dfcf8e

7 years agoMerge "Finish adding manufacturer and model to device ID attestation" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 10:43:18 +0000 (10:43 +0000)]
Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev

7 years agoMerge changes from topic 'o-usage64-2' into oc-dev
Chris Forbes [Tue, 25 Apr 2017 04:18:30 +0000 (04:18 +0000)]
Merge changes from topic 'o-usage64-2' into oc-dev
am: 441c1cb7d7

Change-Id: Ia157cdb20c55ed30f3b6de49be3b67b3410910d0

7 years agoMerge changes from topic 'o-usage64-2' into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 04:12:26 +0000 (04:12 +0000)]
Merge changes from topic 'o-usage64-2' into oc-dev

* changes:
  automotive: Adjust tests for libui gralloc flags change
  camera: Adjust for libui gralloc flags change

7 years agoMerge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
Roshan Pius [Tue, 25 Apr 2017 03:13:27 +0000 (03:13 +0000)]
Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
am: b09f65c4b1

Change-Id: Iadceaaca523f9dc115fbbfc25f7dd169b11edc8a

7 years agoMerge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 03:08:51 +0000 (03:08 +0000)]
Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev

7 years agowifi(implementation): Turn on DFS flag for STA
Roshan Pius [Thu, 20 Apr 2017 06:11:07 +0000 (23:11 -0700)]
wifi(implementation): Turn on DFS flag for STA

DFS flag needs to be turned on in the legacy HAL for STA operations. So,
initialize this flag on creation of STA iface.
PS: Not adding an explicit HIDL API for this since there is no need to
toggle this from framework and since the HIDL API's are frozen now.

Bug: 36169790
Test: Verified the fix with regression tests: b/37528903.
Change-Id: I214097fcb399cef7fc0cbd2c278622fac259a3e3

7 years agoFix VtsHalDrmV1_0Target test failure
Jeff Tinker [Mon, 24 Apr 2017 23:29:01 +0000 (16:29 -0700)]
Fix VtsHalDrmV1_0Target test failure

DrmHalVendorFactoryTest.EmptyPluginUUIDNotSupported
was failing on 64 bit builds. The test was using
an uninitialized hidl_array as the empty UUID which
was incorrect. This change initializes the array
contents to null values.

Test: drm hal tests pass

bug: 37172151
Change-Id: I0acb86921f0daceba30fa7879980ce819db64a74

7 years agoChange bootHAL to early_hal class
Wei Wang [Mon, 24 Apr 2017 17:13:31 +0000 (10:13 -0700)]
Change bootHAL to early_hal class

Bug: 37579828
Bug: 37543411
Test: marlin boots with wipe data
(cherry picked from commit 9a4388cf28d5f4804efa4fe0f6cc9485dea6839a)
Merged-In: Ifa508570455289efd58350562fadea5676c3bc67
Change-Id: Ifa508570455289efd58350562fadea5676c3bc67

7 years agoChange bootHAL to early_hal class
Wei Wang [Mon, 24 Apr 2017 21:06:06 +0000 (21:06 +0000)]
Change bootHAL to early_hal class
am: 9a4388cf28

Change-Id: I2091d717c8bd4ad6b2c6834fefcda3b9f3ad37e6

7 years agoMerge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b
Sanket Padawe [Mon, 24 Apr 2017 19:49:58 +0000 (19:49 +0000)]
Merge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b
am: b93cc647e1  -s ours

Change-Id: I9fca5e1ff1d3945a147ab53f3d4d76287123113b

7 years agoMerge "Fix test case for setSimCardPower radio api." am: 6287508ad3
Sanket Padawe [Mon, 24 Apr 2017 19:48:28 +0000 (19:48 +0000)]
Merge "Fix test case for setSimCardPower radio api." am: 6287508ad3
am: 234940252b

Change-Id: Ie8739196731304853f18172a730af8a7c11346e7

7 years agoMerge "Fix test case for setSimCardPower radio api."
Sanket Padawe [Mon, 24 Apr 2017 19:46:27 +0000 (19:46 +0000)]
Merge "Fix test case for setSimCardPower radio api."
am: 6287508ad3

Change-Id: Ief997bb839e00d11d3f4a88f842fbcb64721e950

7 years agoMerge "Fix failing VTS test cases" into oc-dev
Pavel Maltsev [Mon, 24 Apr 2017 19:41:53 +0000 (19:41 +0000)]
Merge "Fix failing VTS test cases" into oc-dev
am: d77a4a5585

Change-Id: I01f95ca5444957017d0ef47789c8355f98d475b8

7 years agoMerge "Fix test case for setSimCardPower radio api."
Sanket Padawe [Mon, 24 Apr 2017 19:39:14 +0000 (19:39 +0000)]
Merge "Fix test case for setSimCardPower radio api."

7 years agoChange bootHAL to early_hal class
Wei Wang [Mon, 24 Apr 2017 17:13:31 +0000 (10:13 -0700)]
Change bootHAL to early_hal class

Bug: 37579828
Bug: 37543411
Test: marlin boots with wipe data
Change-Id: Ifa508570455289efd58350562fadea5676c3bc67

7 years agoMerge "Fix failing VTS test cases" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 17:19:57 +0000 (17:19 +0000)]
Merge "Fix failing VTS test cases" into oc-dev

7 years agoAdding missing NI_TYPE for emergency SUPL
Wyatt Riley [Fri, 21 Apr 2017 13:52:42 +0000 (06:52 -0700)]
Adding missing NI_TYPE for emergency SUPL

Bug: 37409476
Test: Builds, and on Pixel, basic GPS & XTRA tests pass.
Partners & Pixel team running the SUPL emergency tests.

Change-Id: I6b23608e82dc1682d61a516ab5045d3b78b53cae

7 years agoautomotive: Adjust tests for libui gralloc flags change
Chris Forbes [Wed, 19 Apr 2017 23:09:51 +0000 (16:09 -0700)]
automotive: Adjust tests for libui gralloc flags change

Change-Id: Ia88d8fc664196eae7153ccfb755ea9c3d135fd0c
Bug: b/33350696
Test: Bullhead: booted to launcher, take photo, watch youtube