Commit graph

9316 commits

Author SHA1 Message Date
Jeff Tinker
203c8514e2 Add vts tests for new drm@1.1 methods
Test: VtsHalDrmV1_1TargetTest

Methods are for querying HDCP, security levels
and number of sessions.

Change-Id: Iaa865a0201a4c10b0c6b055aabab146dd31a2d01
2018-02-02 10:31:21 -08:00
Jeff Tinker
c707779488 Fix incorrect comment in ICryptoFactory.hal
The comment referenced drm@1.1::ICryptoPlugin which
doesn't exist.

bug:64001680
bug:33657579
Change-Id: I6905fb4b8e3e1386b999ba64a6ca5f160d1c4eff
2018-02-01 12:26:43 -08:00
TreeHugger Robot
3e2f90f9ca Merge "Implement JPEG support in external camera HAL" 2018-01-29 21:55:52 +00:00
Yuriy Romanenko
e932f1b5cb Implement JPEG support in external camera HAL
* Certain tests are still failing

Change-Id: I01bb90757cd969ace30857a8d246e4701498d379
2018-01-29 12:07:34 -08:00
Yu-Han Yang
22f1b90e16 Add GNSS VTS test for GnssDebug position values
sanity check.

Bug: 36567271

Test: vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--primary-abi-only --skip-preconditions -l VERBOSE \
--module VtsHalGnssV1_0Target

Change-Id: I4fc2caf757743481f84ee1ec679082842c46adbd
2018-01-29 10:31:18 -08:00
Yuriy Romanenko
33d5f66633 Common: Added CameraMetadata -> libexif converter
A fully-ported version of the ExifUtils class from
ChromeOS (see [chromeos]/src/platform/arc-camera/common/exif_utils.cc)

 * Made into an interface to remove libexif dependencies
   from header file
 * Rewrote ChromeOS dependencies
 * Minor fixes

Change-Id: I2e93fa3e08e6b82b26641cc736eeb1c61b04a2c0
2018-01-26 21:23:56 -08:00
TreeHugger Robot
8ed63de92f Merge "Wifi: Add Support for Body Proximity for SAR" 2018-01-27 02:50:18 +00:00
Ahmed ElArabawy
6a1accf8ba Wifi: Add Support for Body Proximity for SAR
This commit extends the SAR support to include scenarios for near
head/body and voice calls
These features are only applicale for a certain device capability
(defined in capability mask)

Bug: 3489513
Test: Manual

Change-Id: Ie99978df3c19e04fdd3d7862240f6d3c62eac539
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-01-26 16:34:10 -08:00
Yuriy Romanenko
083de0c3c6 ExternalCameraDeviceSession: Fix request initialization
This code was exiting because of unsupported RequestTemplate::*
enum values that are now just ignored.

Change-Id: I37f79cbbfe99664ec173458721d71947f0d002ff
2018-01-26 16:11:12 -08:00
TreeHugger Robot
e210c3cddf Merge "Fix missing copies of status member variable" 2018-01-26 21:17:33 +00:00
Steve Paik
54f2ac6994 Fix missing copies of status member variable
Bug: 72348165
Test: Status appears in Embedded Kitchen Sink
Change-Id: Ia6a672fa44f0c1d5a7fe04234897d73b3f45e939
2018-01-26 11:10:45 -08:00
TreeHugger Robot
2d638c49ac Merge "Support library enhancements, to ease transition of vold to KM4" 2018-01-26 09:07:16 +00:00
Shawn Willden
98b998b59a Support library enhancements, to ease transition of vold to KM4
Keymaster clients need to see all the available devices and figure out
which they want to use.  This method finds them all and returns them
in a vector sorted from most secure to least, according to a heuristic
defined in Keymaster::VersionResult::operator<

This CL also makes a few other minor improvements to the support
library, providing more information in VersionResult and adding some
more convenience methods in AuthorizationSetBuilder.

Test: Build & boot
Change-Id: I876238ee9ff72573c30d60e1cec665dd610bcde6
2018-01-25 22:38:56 -07:00
TreeHugger Robot
fa58d40b69 Merge "HIDL changes to support Stadium Wifi." 2018-01-26 04:57:55 +00:00
Hongwei Wang
d879f7a131 Merge "Runs audio control service in delicated user" 2018-01-26 03:24:45 +00:00
TreeHugger Robot
a4c3b60c2c Merge "Update emulator protobuf to include status" 2018-01-26 03:24:18 +00:00
Jack Yu
f32d1978cd Merge "HIDL changes for IWLAN refactoring" am: 4365f2e6bc am: fd428d8f4d
am: c77519448b

Change-Id: Ia8f014fb1492eb9276ed56e80a23744000f90625
2018-01-26 01:45:58 +00:00
Yu-Han Yang
ef7f7dfb9a Merge "Add gnssRequestLocationCb to IGnssCallback.hal and injectBestLocation to IGnss.hal" 2018-01-26 00:41:35 +00:00
Steve Paik
5160ba3455 Update emulator protobuf to include status
Add status
Remove supported_areas

Bug: 72348165
Test: Use python emulator to get/set values
Change-Id: Iad84305a49b260ff02b28685f581a82ca7ff8195
2018-01-25 16:26:38 -08:00
pkanwar
5a42197d39 HIDL changes to support Stadium Wifi.
Add ISupplicantStaNetwork to allow passing multiple identities to the
Supplicant.

Bug: 30988281
Test: compile
Change-Id: I849e21127be57f9ed6c6779bd97a6367984f6afb
2018-01-26 00:16:00 +00:00
TreeHugger Robot
354db50595 Merge "External Camera: more CTS fix" 2018-01-25 23:37:41 +00:00
Jack Yu
c77519448b Merge "HIDL changes for IWLAN refactoring" am: 4365f2e6bc
am: fd428d8f4d

Change-Id: Id0f6e64d592cd362303cb366823d1c36f4457b76
2018-01-25 22:42:42 +00:00
Jack Yu
fd428d8f4d Merge "HIDL changes for IWLAN refactoring"
am: 4365f2e6bc

Change-Id: If44163c860bcaa23c77d40cbb4512637d1c65c1f
2018-01-25 22:10:04 +00:00
Yuriy Romanenko
d0bd4f11f8 Common: Added lock() to camera HandleImporter
Effectively a counterpart to lockYCbCr() but for generic single-plane
buffers

Change-Id: I73d051c085fe2b96810a1ed761deac177db2733d
2018-01-25 12:50:40 -08:00
Yin-Chia Yeh
4acd76e647 External Camera: fix aspect ratio/crop issue
Also switch to new EXTERNAL hardware level.

Test: ImageReaderTest#testAllOutputYUVResolutions pass
Bug: 72261912
Change-Id: I95f05a20827b413bfa480b0336fff395159678eb
2018-01-25 18:47:51 +00:00
Treehugger Robot
4365f2e6bc Merge "HIDL changes for IWLAN refactoring" 2018-01-25 17:41:57 +00:00
TreeHugger Robot
406406fb90 Merge changes from topic "tui_keystore"
* changes:
  Add Trusted Confirmation support to Keymaster HAL.
  Sort tags in keymaster_tags.h alphabetically
2018-01-25 17:31:38 +00:00
Brian Carlstrom
6d341ac842 Merge "Log dlerror on dlopen related failures" 2018-01-25 16:00:06 +00:00
Shuzhen Wang
3f69707cc1 Merge "camera: Add physical camera metadata in CaptureResult" 2018-01-25 15:52:45 +00:00
TreeHugger Robot
075d928e0b Merge changes I22ca138e,I1d93a855,I72017b39
* changes:
  ConfirmationUI reference implementation
  Add confirmation UI support libaray
  ConfirmationUI HAL definition
2018-01-25 14:20:42 +00:00
TreeHugger Robot
b3aa121d1d Merge "Add new vibrator effects." 2018-01-25 13:11:20 +00:00
TreeHugger Robot
7a3b56445e Merge "authsecret: remove factoryReset()" 2018-01-25 10:22:29 +00:00
Peiyong Lin
a682c3db0f Merge "[HWC] Add setLayerFloatColor API into HAL." 2018-01-25 08:23:01 +00:00
TreeHugger Robot
ea0856fff5 Merge "wifi(implementation): Check if wifi_chip is null in debug()" 2018-01-25 07:29:32 +00:00
Peiyong Lin
ab505aaf90 [HWC] Add setLayerFloatColor API into HAL.
This patch:

1. Adds setLayerFloatColor API into HAL to enable setting more bits of color on
ColorLayer;
2. Adds VTS tests for setLayerFloatColor.

BUG: 69970838
Test: adb shell /data/nativetest/VtsHalGraphicsComposerV2_2TargetTest/VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I439e35cb2505ee47b8e9a8dd1c19a3f3f2cf9c2f
2018-01-25 05:58:32 +00:00
TreeHugger Robot
c133b9087a Merge "Add new HWC HAL methods for Android P." 2018-01-25 05:55:38 +00:00
Brian Carlstrom
3f2d71fb2d Log dlerror on dlopen related failures
Bug: 72300913
Bug: 72342986
Bug: 72462122
Test: manually confirmed logging on failure
Change-Id: I401587311e5c3e3d1ef69516645ebb2dd4479c51
2018-01-24 19:53:36 -08:00
Android Build Merger (Role)
b0f5034e87 Merge "Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: 630eb2d3b8 am: f447fd054d" into oc-mr1-dev am: c87295e619
am: d5ef08d1fb

Change-Id: I0bfb27fd815a257221d8b443eee73b3c4bf54cf4
2018-01-25 03:45:14 +00:00
sqian
985866db5c Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: efebbbeeea am: e7da333a91
am: 9b544fb083

Change-Id: I9b54f0d11f9150f22ad79daaa4b32b551ee1e763
2018-01-25 03:44:52 +00:00
Roshan Pius
7cf1df7ce1 wifi(implementation): Check if wifi_chip is null in debug()
|chip_| could be null if wifi is not turned on.

Bug: 72470346
Test: Ensure that the device does not crash when bugreport is collected
with wifi off.

Change-Id: Iface5ecf0511ad88996ebad85ba3c037c3a8c5ee
2018-01-24 19:13:09 -08:00
Android Build Merger (Role)
d5ef08d1fb Merge "Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: 630eb2d3b8 am: f447fd054d" into oc-mr1-dev
am: c87295e619

Change-Id: Iab7ff9257758981ee13b948c0c71caf59244370a
2018-01-25 03:11:19 +00:00
sqian
9b544fb083 Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: efebbbeeea
am: e7da333a91

Change-Id: Ia62e2a8ae1e8975ef33203142a4ebe20b45d60b9
2018-01-25 03:10:50 +00:00
Android Build Merger (Role)
c87295e619 Merge "Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: 630eb2d3b8 am: f447fd054d" into oc-mr1-dev 2018-01-25 02:46:55 +00:00
sqian
4e5479d9c8 Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: 630eb2d3b8
am: f447fd054d

Change-Id: Id15be629bc83bc2448d56dbb7b59d7353f28824c
2018-01-25 02:46:49 +00:00
sqian
e7da333a91 Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140
am: efebbbeeea

Change-Id: I3d144dbf390dbccf3687b037be9b7b88010c7fbd
2018-01-25 02:46:46 +00:00
sqian
f447fd054d Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140
am: 630eb2d3b8

Change-Id: I250030427d2493463d01524d99be567a01b71e07
2018-01-25 02:44:44 +00:00
sqian
630eb2d3b8 Merge "Add None into cancelPendingUssd" into oreo-vts-dev
am: 4ccc3b0140

Change-Id: Ie4fa81b5df618862c3af5b8836c059a348e9cb65
2018-01-25 02:41:42 +00:00
sqian
efebbbeeea Merge "Add None into cancelPendingUssd" into oreo-vts-dev
am: 4ccc3b0140

Change-Id: Iad35b1764095d6b4bdd52dfd8f8e6a73940bfab5
2018-01-25 02:40:26 +00:00
Treehugger Robot
4ccc3b0140 Merge "Add None into cancelPendingUssd" into oreo-vts-dev 2018-01-25 02:36:50 +00:00
Shuzhen Wang
39cf8fd9fe camera: Add physical camera metadata in CaptureResult
- When physical stream of a logical multi-camera is requested, HAL needs
to generate metadata for the physical cameras.
- In case no physical stream is requested for the logical multi-camera, no
capture result metadata is required for physical camera.
- Batch physical and logical metadata within one capture_result call.

Test: testLogicalCamera CTS test
Bug: 64691172
Change-Id: Id040620f3f0c350711d49341ab31ab88ecd94888
2018-01-24 18:14:58 -08:00