OSDN Git Service

android-x86/hardware-interfaces.git
6 years agoAdd a new vts directory under 1.1 for radio 1.1 APIs vts tests.
sqian [Wed, 24 May 2017 22:08:25 +0000 (15:08 -0700)]
Add a new vts directory under 1.1 for radio 1.1 APIs vts tests.

Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041

6 years agoMerge "Radio Keepalive HAL" into oc-dr1-dev
TreeHugger Robot [Tue, 27 Jun 2017 08:13:34 +0000 (08:13 +0000)]
Merge "Radio Keepalive HAL" into oc-dr1-dev

6 years agoMerge "Camera: Add support for testing partial results" into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 18:42:46 +0000 (18:42 +0000)]
Merge "Camera: Add support for testing partial results" into oc-dr1-dev

6 years agoMerge "Use vendor variant of libstagefright_foundation." into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 17:54:11 +0000 (17:54 +0000)]
Merge "Use vendor variant of libstagefright_foundation." into oc-dr1-dev

6 years agovts: fix TryDifferentGovernors in Power hal test
bohu [Sat, 24 Jun 2017 02:09:26 +0000 (02:09 +0000)]
vts: fix TryDifferentGovernors in Power hal test
am: ae96eee82b

Change-Id: I700de5db71fb60b33983309d8d71a672dd2f98a3

6 years agovts: fix TryDifferentGovernors in Power hal test
bohu [Fri, 23 Jun 2017 19:31:42 +0000 (12:31 -0700)]
vts: fix TryDifferentGovernors in Power hal test

The test should return when it cannot open cpu governor files
BUG: 62138092

Test: build sdk_gphone_x86-userdebug, launch emulator,
run test: run vts -m VtsHalPowerV1_0Target
The test should all pass.

Change-Id: I3b47261e9525b6a04e995dac1ad63d9cc088b004

6 years agoMerge "Camera: fix recursive lock in CameraDevice 1.0" into oc-dev
Yahan Zhou [Fri, 23 Jun 2017 17:59:25 +0000 (17:59 +0000)]
Merge "Camera: fix recursive lock in CameraDevice 1.0" into oc-dev
am: eed6653f2a

Change-Id: I66f434944d2a00bee6c06d0883b916c5c87d1243

6 years agoMerge "Camera: fix recursive lock in CameraDevice 1.0" into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 17:51:15 +0000 (17:51 +0000)]
Merge "Camera: fix recursive lock in CameraDevice 1.0" into oc-dev

6 years agoMerge "Test import of a EC P-521 key." into oc-dev
Shawn Willden [Fri, 23 Jun 2017 15:39:17 +0000 (15:39 +0000)]
Merge "Test import of a EC P-521 key." into oc-dev
am: ad40c6ccd7  -s ours

Change-Id: I725a855d206b47df230529fefb9ff99197ac23c8

6 years agoMerge "Test import of a EC P-521 key." into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 15:32:14 +0000 (15:32 +0000)]
Merge "Test import of a EC P-521 key." into oc-dev

6 years agoMerge "[WIFI] Remove dependency on vendor-specific library" into oc-dev
Etan Cohen [Fri, 23 Jun 2017 12:21:52 +0000 (12:21 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library" into oc-dev
am: 74f7ccd680  -s ours

Change-Id: Ie7afaaf44b8f4555095bbe75d77f4b7bd3e8b5a2

6 years agoMerge "[WIFI] Remove dependency on vendor-specific library" into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 04:57:02 +0000 (04:57 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library" into oc-dev

6 years agoCamera: fix recursive lock in CameraDevice 1.0
Yahan Zhou [Fri, 23 Jun 2017 00:04:41 +0000 (17:04 -0700)]
Camera: fix recursive lock in CameraDevice 1.0

Several functions call close() while they are holding a lock, which
results in recursive locking. This CL implements close_locked() to avoid
such behavior.

Bug: 62919192
Test: run vts -m VtsHalCameraProviderV2_4Target, and camera should still
work after it

Change-Id: Ib38e1de19ed3c927bfb645c0c777c04f157f2b88

6 years agoUse vendor variant of libstagefright_foundation.
Steven Moreland [Fri, 23 Jun 2017 00:11:09 +0000 (17:11 -0700)]
Use vendor variant of libstagefright_foundation.

Rather than having a lib called libstagefright_foundation and one
called libstagefright_foundation_vendor, we now just have one library
and the build system keeps track of the vendor APIs that are exposed.

Test: (sanity) boot device, watch (part of) DRM protected movie.
Change-Id: I7495be3e8f546cac1b4909108313cf61fc85b1d8

6 years agoRadio Keepalive HAL
Nathan Harold [Thu, 25 May 2017 02:42:40 +0000 (19:42 -0700)]
Radio Keepalive HAL

This adds support for offloading of keepalive packets
to the radio for reduced power consumption.

Bug: 33277538
Test: none
Change-Id: I8e8a841e25f18afeae07f70024c698efa58263e2
(cherry picked from commit 4e2541ecc6d9d57f424bd477a1907a896de497f0)

6 years agoTest import of a EC P-521 key.
Shawn Willden [Fri, 16 Jun 2017 14:18:06 +0000 (08:18 -0600)]
Test import of a EC P-521 key.

This failure is also diagnosed by CTS, but it should be validated in VTS
as well.

Merged-In: Ia7654ff8813942fbca9dfa838337e9de5839a9e2
Bug: 33945114
Test: adb shell data/nativetests64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: Ia7654ff8813942fbca9dfa838337e9de5839a9e2

6 years agoTest import of a EC P-521 key.
Shawn Willden [Fri, 16 Jun 2017 14:18:06 +0000 (08:18 -0600)]
Test import of a EC P-521 key.

This failure is also diagnosed by CTS, but it should be validated in VTS
as well.

Bug: 33945114
Test: adb shell data/nativetests64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: Ia7654ff8813942fbca9dfa838337e9de5839a9e2

6 years agoMerge "Offload HAL HIDL: Add return values to synchronous calls" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 17:40:01 +0000 (17:40 +0000)]
Merge "Offload HAL HIDL: Add return values to synchronous calls" into oc-dr1-dev

6 years agoSkip Validate
Fabien Sanglard [Thu, 22 Jun 2017 05:58:08 +0000 (05:58 +0000)]
Skip Validate
am: 11ec393689

Change-Id: I47c68719ce214ee40ed0e58ec1a0ddc9c14a2b2a

6 years agoSkip Validate
Fabien Sanglard [Tue, 20 Jun 2017 02:25:31 +0000 (19:25 -0700)]
Skip Validate

b/37474580
b/62806392

Test: marlin, ryu

Change-Id: I9d4ece40a8a093d768bcb4edd332cf0188735e66

6 years agoUpdate IRadioResponse.hal documentation
sqian [Fri, 9 Jun 2017 19:10:43 +0000 (12:10 -0700)]
Update IRadioResponse.hal documentation

Update the error codes

A copy of https://partner-android-review.googlesource.com/#/c/836552/
+ some missed updated error codes
+ request_not_supported

Test: Manual
Bug: 35671595
Change-Id: I2880b442b5fd56149abc83949c12e2eba5ee67df

6 years agoCamera: Add support for testing partial results
Emilian Peev [Tue, 23 May 2017 15:37:11 +0000 (16:37 +0100)]
Camera: Add support for testing partial results

Currently the result handling is very basic. Partial
results and inflight queues are not supported. More
elaborate test cases like burst or streaming will
require such functionality to be present.

Bug: 62550376
Bug: 37533777
Test: adb shell
/data/nativetest/VtsHalCameraProviderV2_4TargetTest/VtsHalCameraProviderV2_4TargetTest

Change-Id: I3769d4ccc0047dc4eda173ea3bca538b026be8d2

6 years agoMerge "Update hash and VTS for the 2nd FD of dumpstate" into oc-dr1-dev
TreeHugger Robot [Wed, 21 Jun 2017 01:49:24 +0000 (01:49 +0000)]
Merge "Update hash and VTS for the 2nd FD of dumpstate" into oc-dr1-dev

6 years agoMerge "Check return from DeleteKey correctly." into oc-dev
Shawn Willden [Wed, 21 Jun 2017 00:54:07 +0000 (00:54 +0000)]
Merge "Check return from DeleteKey correctly." into oc-dev
am: c4f859d1b5

Change-Id: Ib41e416ab79a56cddbaa61084645f626b4a3b22b

6 years agoMerge "Check return from DeleteKey correctly." into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 00:45:16 +0000 (00:45 +0000)]
Merge "Check return from DeleteKey correctly." into oc-dev

6 years agoUpdate hash and VTS for the 2nd FD of dumpstate
Jie Song [Tue, 20 Jun 2017 16:58:13 +0000 (09:58 -0700)]
Update hash and VTS for the 2nd FD of dumpstate

Bug: 33820081
Test: Run VTS
Change-Id: I139dfed6edb20fada2676684ab7013daefa69bc8

6 years agoMake camera/drm helper classes available to system.
Martijn Coenen [Tue, 20 Jun 2017 15:56:12 +0000 (08:56 -0700)]
Make camera/drm helper classes available to system.

As VTS tests are considered system and link against these.

Bug: 38302533
Bug: 62523241
Test: builds
Change-Id: Iac5c872c58ec9646d6d6974aacceb930daad7e5e

6 years agoMerge "Clear notification count to handle different flows" into oc-dev
Wyatt Riley [Tue, 20 Jun 2017 11:03:18 +0000 (11:03 +0000)]
Merge "Clear notification count to handle different flows" into oc-dev
am: fae2852b2b

Change-Id: I5b621ce7b89e8853dbb9abd2e14ec1020176936b

6 years agoMerge "Clear notification count to handle different flows" into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 10:59:01 +0000 (10:59 +0000)]
Merge "Clear notification count to handle different flows" into oc-dev

6 years agoMerge "Move CameraParameters class to android.hardware.camera.common@1.0-helper"...
TreeHugger Robot [Tue, 20 Jun 2017 07:17:45 +0000 (07:17 +0000)]
Merge "Move CameraParameters class to android.hardware.camera.common@1.0-helper" into oc-dr1-dev

6 years agoClear notification count to handle different flows
Wyatt Riley [Mon, 19 Jun 2017 21:42:34 +0000 (14:42 -0700)]
Clear notification count to handle different flows

Notifiation count now cleared in Setup (and
discarded messages warned about in Teardown.)

Fixes: 62645164
Test: passes on device
Change-Id: I7e88da7251464f281d7c98140d7a9b5a73d79542
(cherry picked from commit 6ec696b7fed0c597707762a6d5f5ecd709408aae)

6 years agoRemove dependency to libmediadrm from drm HAL
Jiyong Park [Mon, 19 Jun 2017 13:06:41 +0000 (22:06 +0900)]
Remove dependency to libmediadrm from drm HAL

drm HAL has been using libmediadrm for android::SharedLibrary class and
android::PluginLoader class. This is a Treble violation since
libmediadrm is a framework-only library that is not available to
vendors.

To solve the problem, the two classes are copied into this directory
to form a small static library android.hardware.drm@1.0-helper.a.

Bug: 38302533
Test: mm under /hardware/interfaces/drm/1.0/default and
/hardware/interfaces/drm/1.0/vts/functional

Change-Id: I7b4e5cdb3bc815e971e0c3b7ec99ea86042e13eb

6 years agoMerge "Clear notification count to handle different flows" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 00:26:34 +0000 (00:26 +0000)]
Merge "Clear notification count to handle different flows" into oc-dr1-dev

6 years agoMerge "Use libstagefright_foundation_vendor" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 00:16:00 +0000 (00:16 +0000)]
Merge "Use libstagefright_foundation_vendor" into oc-dr1-dev

6 years agoZero uninitialized field in conversion and fix vts bug
Peng Xu [Tue, 20 Jun 2017 00:08:44 +0000 (00:08 +0000)]
Zero uninitialized field in conversion and fix vts bug
am: 36665b1b3d

Change-Id: I9c3aa0350b90f52abb12b4c88f10ab43e82ab65b

6 years agoClear notification count to handle different flows
Wyatt Riley [Mon, 19 Jun 2017 21:42:34 +0000 (14:42 -0700)]
Clear notification count to handle different flows

Notifiation count now cleared in Setup (and
discarded messages warned about in Teardown.)

Fixes: 62645164
Test: passes on device
Change-Id: I7e88da7251464f281d7c98140d7a9b5a73d79542

6 years agoMerge "Cleaner VTS for wider use" into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 21:01:38 +0000 (21:01 +0000)]
Merge "Cleaner VTS for wider use" into oc-dr1-dev

6 years agoZero uninitialized field in conversion and fix vts bug
Peng Xu [Mon, 19 Jun 2017 18:43:24 +0000 (11:43 -0700)]
Zero uninitialized field in conversion and fix vts bug

Zero uninitialized sensor event field to zero to avoid undefined
value being passed to framework.

Correct sensor report type check bug in vts.

Bug: 37793558
Bug: 37710268
Test: sensor vts passes
Change-Id: I5042975fea8fe28ae130367ba083a4e4f4e5657e

6 years agoUse libstagefright_foundation_vendor
Jiyong Park [Thu, 15 Jun 2017 02:22:29 +0000 (11:22 +0900)]
Use libstagefright_foundation_vendor

DRM HAL is a library in vendor. When BOARD_VNDK_VERSION is turned
on, any lib in vendor partition can only link against to other vendor
libs or libs marked as vendor_available:true. This lib is using
libstagefright_foundation and the lib is not available to vendors.
Instead, libstagefright_foundation_vendor is provided as a
vendor-variant of the foundation library. Thus switching to the vendor
variant.

Bug: 37462569
Test: m android.hardware.drm@1.0-impl
Change-Id: Iaee9886f9ba3643e1c19928690bad13c26ac29d7

6 years agoRevert "Load the gralloc module at library load"
Jesse Hall [Mon, 19 Jun 2017 18:48:09 +0000 (11:48 -0700)]
Revert "Load the gralloc module at library load"

This reverts commit 33c08a53ac641c9a9e5a6a1ed75cfb924c95258f. Some
gralloc implementations apparently have library initializers (executed
on dlopen) which create anonymous sockets, open device nodes, etc.
which Zygote and some other non-Zygote-child processes that use libui
don't have permissions to do. When the library initializer fails, it
crashes the process.

Reverting this until this initialization code can be made lazy (on
first use of gralloc).

Bug: 62732270
Test: boot fugu to launcher

6 years agoMerge "Update makefiles (vibrator open)." into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 17:45:18 +0000 (17:45 +0000)]
Merge "Update makefiles (vibrator open)." into oc-dr1-dev

6 years agoMerge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
Ruchi Kandoi [Mon, 19 Jun 2017 16:39:05 +0000 (16:39 +0000)]
Merge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
am: 55f3ddf53b

Change-Id: I4a925e2c92572b20e85b8a6604d3af6e7f8f30ea

6 years agoMerge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev
Ruchi Kandoi [Mon, 19 Jun 2017 16:33:33 +0000 (16:33 +0000)]
Merge "Nfc: Vts: modify WriteInvalidAndThenValidCommand" into oc-dev

6 years agoUpdate makefiles (vibrator open).
Steven Moreland [Sat, 17 Jun 2017 02:52:49 +0000 (19:52 -0700)]
Update makefiles (vibrator open).

Vibrator was missing default module flags.

Test: none
Change-Id: I77594843a876f9e424f201174e220a6d3b45b271

6 years agoMerge "Load the gralloc module at library load" into oc-dr1-dev
Jesse Hall [Fri, 16 Jun 2017 22:45:37 +0000 (22:45 +0000)]
Merge "Load the gralloc module at library load" into oc-dr1-dev

6 years agoCleaner VTS for wider use
Wyatt Riley [Fri, 16 Jun 2017 00:16:24 +0000 (17:16 -0700)]
Cleaner VTS for wider use

Better start/stop testing

Change-Id: I4f50fd6a9aaecac3455590f100f15117336993c9
Fixes: 35810250
Test: VTS passes on 2 different device variants

6 years agoNfc: Vts: modify WriteInvalidAndThenValidCommand
Ruchi Kandoi [Thu, 15 Jun 2017 20:22:51 +0000 (13:22 -0700)]
Nfc: Vts: modify WriteInvalidAndThenValidCommand

Invalid Data packets are ignored by the NFC controller in case there
isn't an active RF Interface. The test expects response for the invalid
data packet without any active RF Interface. This patch modifies the
test to send an invalid command instead which will guarantee a response.

Test: run vts test
Bug: 62400568
Change-Id: I7db1d5209b6ef2240ac248f3aba0e27e0a285018
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
(cherry picked from commit c86df4dcb74224ea7befc2cb610e43d0df6814ae)

6 years agoMerge "Camera: fix camera_metadata address expectation" into oc-dev
Yin-Chia Yeh [Fri, 16 Jun 2017 19:37:00 +0000 (19:37 +0000)]
Merge "Camera: fix camera_metadata address expectation" into oc-dev
am: e812feb56f

Change-Id: Id3e433048cf25e8c50aa20e97dca6e3112f0fb57

6 years agoMerge "Camera: fix camera_metadata address expectation" into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 19:22:04 +0000 (19:22 +0000)]
Merge "Camera: fix camera_metadata address expectation" into oc-dev

6 years agoLoad the gralloc module at library load
Jesse Hall [Wed, 7 Jun 2017 21:37:34 +0000 (14:37 -0700)]
Load the gralloc module at library load

In the a.h.graphics.mapper default implementation, load the gralloc
module in a static constructor that runs when the library is loaded.
This causes Zygote to load the gralloc module and its dependencies
when it loads a.h.graphics.mapper, so that it doesn't have to be
loaded during each activity launch.

Bug: 62353585
Test: boot to launcher, run calculator, confirm gralloc library is in
      /proc/`pid zygote64`/maps

Change-Id: I56defd76b0ba0fba71dea48e2b0d338511563d1f

6 years agoMerge "[AWARE] Actually shut-down functionality when destroying NAN iface" into oc...
TreeHugger Robot [Fri, 16 Jun 2017 00:04:36 +0000 (00:04 +0000)]
Merge "[AWARE] Actually shut-down functionality when destroying NAN iface" into oc-dr1-dev

6 years agoMerge "Support NCI 2.0 for NFC VTS" into oc-dev
Ruchi Kandoi [Thu, 15 Jun 2017 23:06:12 +0000 (23:06 +0000)]
Merge "Support NCI 2.0 for NFC VTS" into oc-dev
am: 5ed63181a9

Change-Id: I65cd9c3d9818871130eea5351f02d655bac44988

6 years agoMerge "Support NCI 2.0 for NFC VTS" into oc-dev
Ruchi Kandoi [Thu, 15 Jun 2017 22:59:23 +0000 (22:59 +0000)]
Merge "Support NCI 2.0 for NFC VTS" into oc-dev

6 years agoCamera: fix camera_metadata address expectation
Yin-Chia Yeh [Thu, 15 Jun 2017 00:29:47 +0000 (17:29 -0700)]
Camera: fix camera_metadata address expectation

On 32bits architecture, binder driver might allocate
non-8 bytes aligned buffers.

Test: compile (problem not reproducible on 64bit SOCs)
Bug: 62637461
Change-Id: I8ef2b3ecba783a8d189ebe18733082d32cff4899

6 years ago[AWARE] Actually shut-down functionality when destroying NAN iface
Etan Cohen [Thu, 15 Jun 2017 15:39:23 +0000 (08:39 -0700)]
[AWARE] Actually shut-down functionality when destroying NAN iface

Destroying the interface doesn't actually execute any functions on
the legacy HAL - i.e. on the HAL side. This may leave state around -
a problem when next "re-enabling" the interface as well as possibly
a power issue.

Add code to actually disable Aware and to destroy interfaces. There
is no need to check on current status since calls will simply fail
quietly if there's nothing to disable and nothing to destroy.

Bug: 62632805
Test: integration non-concurrence test cases NonConcurrencyTest
Change-Id: I11e5bd6f3ed47f6d709ff360c9f4adf5f40234a5

6 years agoMerge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
Janis Danisevskis [Wed, 14 Jun 2017 02:32:40 +0000 (02:32 +0000)]
Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
am: bc970b089f

Change-Id: Id5c16a9a8a2ff95e18254da4b8568d68e15e5834

6 years agoMerge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 02:22:13 +0000 (02:22 +0000)]
Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev

6 years agoMerge "Fixed flaky RenderScript VTS Test" into oc-dev
Michael Butler [Wed, 14 Jun 2017 01:34:05 +0000 (01:34 +0000)]
Merge "Fixed flaky RenderScript VTS Test" into oc-dev
am: d8e99f75cb

Change-Id: Ib8bc975063564100258bef9f805aff6e6832db56

6 years agoMerge "Fixed flaky RenderScript VTS Test" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 01:26:29 +0000 (01:26 +0000)]
Merge "Fixed flaky RenderScript VTS Test" into oc-dev

6 years agoPurge unsupported RSA key sizes from VTS tests
Janis Danisevskis [Tue, 6 Jun 2017 17:11:07 +0000 (10:11 -0700)]
Purge unsupported RSA key sizes from VTS tests

Support for 256 bit RSA keys are not mandated by keymaster specs and
must not be used in the VTS tests.

Bug: 62581389
Change-Id: If315088db2752ac2efe31fdb95db7ca13c3ce225

6 years agoMerge "graphics: fix gralloc1 usage flags in default impl" into oc-dr1-dev
Chia-I Wu [Tue, 13 Jun 2017 16:21:10 +0000 (16:21 +0000)]
Merge "graphics: fix gralloc1 usage flags in default impl" into oc-dr1-dev

6 years agoFixed flaky RenderScript VTS Test
Michael Butler [Tue, 23 May 2017 00:01:24 +0000 (17:01 -0700)]
Fixed flaky RenderScript VTS Test

Added missing synchronization before context destroy

Bug: 62535730
Bug: 38385848
Test: make vts, does not fail with multiple tests
Change-Id: Ib0d038969e9a1d6f5ea555ccb60fed55b69e05dc
(cherry picked from commit 076f69aa2bc2301e3c93150503d469c02ed2458c)

6 years agoSupport NCI 2.0 for NFC VTS
Ruchi Kandoi [Thu, 8 Jun 2017 17:27:08 +0000 (10:27 -0700)]
Support NCI 2.0 for NFC VTS

Bug: 62322170
Test: Run vts test
Change-Id: I7ed331dac9d5918675c091620f099b6250e20700
(cherry picked from commit ff8068d160b642c757f29ee56540dff0af468fe7)

6 years agoMerge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
Myles Watson [Mon, 12 Jun 2017 22:59:29 +0000 (22:59 +0000)]
Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
am: 32ee110269

Change-Id: I6e361c5cb186730ff25ff17d0418c9f01b944359

6 years agoMerge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
TreeHugger Robot [Mon, 12 Jun 2017 22:50:33 +0000 (22:50 +0000)]
Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev

6 years agographics: fix gralloc1 usage flags in default impl
Chia-I Wu [Mon, 12 Jun 2017 22:14:37 +0000 (15:14 -0700)]
graphics: fix gralloc1 usage flags in default impl

BufferUsage::SENSOR_DIRECT_DATA should be filtered out for consumer
usage.  BufferUsage::GPU_DATA_BUFFER should be filtered out for
producer usage and be translated to
GRALLOC1_CONSUMER_USAGE_GPU_DATA_BUFFER for consumer usage.

Bug: 62491483
Test: boots
Change-Id: I171712adf45ae80dadeed7997fb9872ff176fa1a

6 years agoMove CameraParameters class to android.hardware.camera.common@1.0-helper
Jiyong Park [Mon, 12 Jun 2017 08:08:52 +0000 (17:08 +0900)]
Move CameraParameters class to android.hardware.camera.common@1.0-helper

The CameraParamters class is widely used by many of the camera-related
vendor libs. However, they have been using the class from the
libcamera_client.so which is not a VNDK library.

By moving the class to the common@1.0-helper, which is available to
vendors, we can eliminate the dependency to libcamera_client.so from the
vendor libs.

Bug: 62523241
Test: 2016/2017 Pixel devices build and boots. Camera functionalities
work.

Change-Id: I3f69f1591663390c050d1e75ac2957d3ecc38ba7

6 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Mon, 12 Jun 2017 04:48:26 +0000 (04:48 +0000)]
Merge "Fix vts tests:" into oc-dev
am: 14b34e19d6  -s ours

Change-Id: I20b62dd5c93feb863ddfcb042aa55ff7020dccf0

6 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Mon, 12 Jun 2017 04:44:15 +0000 (04:44 +0000)]
Merge "Fix vts tests:" into oc-dev

6 years agoMerge "Fix vts tests:" into oc-dr1-dev
Shuo Qian [Mon, 12 Jun 2017 03:41:00 +0000 (03:41 +0000)]
Merge "Fix vts tests:" into oc-dr1-dev

6 years agoIncrease Timeout for dequeue message
Ram Mohan M [Sat, 10 Jun 2017 05:19:54 +0000 (05:19 +0000)]
Increase Timeout for dequeue message
am: 4e39ff9235

Change-Id: Ia6fc966e66668b944c4a484ea413f0bc0982082f

6 years agoIncrease Timeout for dequeue message
Ram Mohan M [Sat, 10 Jun 2017 02:55:39 +0000 (08:25 +0530)]
Increase Timeout for dequeue message

In vp9 encoder component, the callback responses are being recevied
after timeout. This is seen only in vp9. Even when no buffer processing
is done, Flush test, state transitions test fail due to slow responses.
This behavior is not seen in other components. This requires deeper
understanding of what is main culprit. But for now increase the timeout

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I08abfefcf0cb38d312a4a2dc10908e24f88c54fd

6 years agoMerge "bug fix: fix encoder input port configuration issues" into oc-dev
Ram Mohan M [Sat, 10 Jun 2017 01:28:44 +0000 (01:28 +0000)]
Merge "bug fix: fix encoder input port configuration issues" into oc-dev
am: 7d1592a732

Change-Id: I697e916574fc20e1bb9cad79d1e948854078f6bf

6 years agoMerge "bug fix: configure input port format before setInputSurface" into oc-dev
Ram Mohan M [Sat, 10 Jun 2017 01:28:40 +0000 (01:28 +0000)]
Merge "bug fix: configure input port format before setInputSurface" into oc-dev
am: bd5b6f8535

Change-Id: If5ee86d7d1203019b565743057c77baf1ffb96a8

6 years agochoose input color format between 420p, 420sp
Ram Mohan M [Sat, 10 Jun 2017 01:28:36 +0000 (01:28 +0000)]
choose input color format between 420p, 420sp
am: 1d273b3bcf

Change-Id: I95ff1be5ec0e0f2b99a5fc21329b45b87a0f0077

6 years agoMerge "bug fix: fix encoder input port configuration issues" into oc-dev
TreeHugger Robot [Sat, 10 Jun 2017 01:23:28 +0000 (01:23 +0000)]
Merge "bug fix: fix encoder input port configuration issues" into oc-dev

6 years agoMerge "bug fix: configure input port format before setInputSurface" into oc-dev
TreeHugger Robot [Sat, 10 Jun 2017 01:23:28 +0000 (01:23 +0000)]
Merge "bug fix: configure input port format before setInputSurface" into oc-dev

6 years agoFix vts tests:
sqian [Sat, 10 Jun 2017 01:01:29 +0000 (18:01 -0700)]
Fix vts tests:

- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim

Will update .hal file seperately.

Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4

6 years agoBluetooth: Call vendor cleanup() in Close()
Myles Watson [Thu, 8 Jun 2017 15:38:58 +0000 (08:38 -0700)]
Bluetooth: Call vendor cleanup() in Close()

Bug: 62453652
Test: sailfish and angler start/stop Bluetooth, pair
Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0
(cherry picked from commit 9eee83093faf0edd023920b16f5251a17ae97f00)

6 years agoFix vts tests:
sqian [Fri, 9 Jun 2017 16:24:26 +0000 (09:24 -0700)]
Fix vts tests:

- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim

Apply ag/2373104/ to prevent merge conflicts

Will update .hal file seperately.

Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
Merged-In: I651af50f122f37721778b1088df40fa6e12ac6e4

6 years agochoose input color format between 420p, 420sp
Ram Mohan M [Thu, 8 Jun 2017 15:31:03 +0000 (21:01 +0530)]
choose input color format between 420p, 420sp

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I5fc2f5c69ca545f2ca0b444ce89a8c970f2ff98e

6 years agoMerge "AudioDec Test: Ignore output port configuration" into oc-dev
Ram Mohan M [Fri, 9 Jun 2017 03:17:20 +0000 (03:17 +0000)]
Merge "AudioDec Test: Ignore output port configuration" into oc-dev
am: 11e9b588c4

Change-Id: Ic9b93340791209553374de705101a2e02aed4d09

6 years agoMerge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
Ram Mohan M [Fri, 9 Jun 2017 03:17:16 +0000 (03:17 +0000)]
Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
am: 452fe6aef2

Change-Id: I67002961c875a6caaa8f3ffde78ca68ded46471f

6 years agoMerge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
Ram Mohan M [Fri, 9 Jun 2017 03:17:13 +0000 (03:17 +0000)]
Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
am: a12a573955

Change-Id: I90035e92beb470f7910f1f43cc203c4e84d43e29

6 years agoMerge "AudioDec Test: Ignore output port configuration" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "AudioDec Test: Ignore output port configuration" into oc-dev

6 years agoMerge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev

6 years agoMerge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 03:12:07 +0000 (03:12 +0000)]
Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev

6 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Fri, 9 Jun 2017 02:13:08 +0000 (02:13 +0000)]
Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: I48640bc1b6225e39309f2832613986fce4a43754

6 years agoMerge "Fix vts tests:" into oc-dev
Shuo Qian [Fri, 9 Jun 2017 02:07:34 +0000 (02:07 +0000)]
Merge "Fix vts tests:" into oc-dev

6 years agoMerge "Use different versions for framework compatibility matrix" into oc-dr1-dev
TreeHugger Robot [Fri, 9 Jun 2017 00:46:18 +0000 (00:46 +0000)]
Merge "Use different versions for framework compatibility matrix" into oc-dr1-dev

6 years agobug fix: configure input port format before setInputSurface
Ram Mohan M [Thu, 8 Jun 2017 16:11:05 +0000 (21:41 +0530)]
bug fix: configure input port format before setInputSurface

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I7b48bf240a243b0b25c1c5e0f36c858b04271194

6 years agobug fix: fix encoder input port configuration issues
Ram Mohan M [Thu, 8 Jun 2017 16:05:18 +0000 (21:35 +0530)]
bug fix: fix encoder input port configuration issues

1. Number of P frames being INT_MAX - 1 is misleading few components.
avoid this value
2. enumerate level: The level information is obtained from
enumerateProfileandLevel. Now the component supports up to this level
or 1 step below this level is unclear. This is causing few problems in
the configuration of input port.
3. Disable few error checks for index types that are not universally
supported

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I0c3220ec8d17d3527fa5fdae1a2f9c5add11a5de

6 years agoMerge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
Mikhail Naganov [Thu, 8 Jun 2017 22:52:52 +0000 (22:52 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
am: 80e9912183

Change-Id: I112ef606ce564c9cf53e67a2c84ded5e6958da88

6 years agoMerge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 22:47:01 +0000 (22:47 +0000)]
Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev

6 years agoOffload HAL HIDL: Add return values to synchronous calls
Sohani Rao [Fri, 12 May 2017 00:34:03 +0000 (17:34 -0700)]
Offload HAL HIDL: Add return values to synchronous calls

Enhance the HIDL interface to return values indicating the status of the
operation requested by the API.

Bug: 32842314
Test: VTS
Change-Id: I9a75e2524c0256d5da405d5b1b5919d5342deebf

6 years agoFix vts tests:
sqian [Thu, 1 Jun 2017 19:39:22 +0000 (12:39 -0700)]
Fix vts tests:

Fixed with QC updated documentation:
- setGsmBroadcastConfig
- getGsmBroadcastConfig
- setGsmBroadcastActivation
- getImsRegistrationState
- pullLceData
- deleteSmsOnSim
- deleteSmsOnRuim
- sendDtmf
- startDtmf
- stopDtmf
- sendBurstDtmf

Try to increase timeout to 75 to fix (suggest by QC in b/35671595 #62):
- dial

Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 3567159535800570
Change-Id: Idd50bf71ae4c4490722d88d7cba0485b9d49073b

6 years agoMerge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:28:44 +0000 (16:28 +0000)]
Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
am: 6fe8953866

Change-Id: Ia9804c27bcec133b8570c7f180bce591a7a41bd3

6 years agoMerge "Omx vts tests" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:28:23 +0000 (16:28 +0000)]
Merge "Omx vts tests" into oc-dev
am: 2e2e255125

Change-Id: Ifcf78ffd3c042e3eeab90016dc822b747a9cadc1

6 years agoMerge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:22:38 +0000 (16:22 +0000)]
Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev

6 years agoMerge "Omx vts tests" into oc-dev
Zhuoyao Zhang [Thu, 8 Jun 2017 16:22:27 +0000 (16:22 +0000)]
Merge "Omx vts tests" into oc-dev