Commit graph

14827 commits

Author SHA1 Message Date
TreeHugger Robot
8d40b379fa Merge "Check temperature and cooling device name not empty" into qt-dev 2019-04-05 21:12:26 +00:00
Wei Wang
dd62969e33 Check temperature and cooling device name not empty
Bug: 116540200
Test: atest VtsHalThermalV2_0TargetTest
Change-Id: I61bfb32ed6115d711dfcc82c2c3ff6eb29951ef2
2019-04-05 11:11:52 -07:00
Jayant Chowdhary
80bed174b2 Merge "Allow android.hardware.camera.common@1.0-helper to access vendor tags" into qt-dev 2019-04-05 16:39:16 +00:00
Anil Admal
39baf7c11e Merge "Restore gnss@1.1 HAL capability bits removed in gnss@2.0 (hal)" into qt-dev 2019-04-05 06:15:35 +00:00
TreeHugger Robot
52f5328bd3 Merge "IMapper: change an error message" into qt-dev 2019-04-05 03:29:22 +00:00
TreeHugger Robot
5cdddf2a6b Merge "Revert "Revert "Mark layers with color transform client composition if not implemented.""" into qt-dev 2019-04-05 02:34:30 +00:00
TreeHugger Robot
b902095897 Merge "Camera: Avoid using an uninitialized physical camera id" into qt-dev 2019-04-05 01:45:21 +00:00
TreeHugger Robot
94dd578b02 Merge "Camera: Set buffer request stream id" into qt-dev 2019-04-05 00:58:12 +00:00
Valerie Hau
7ae8af54b3 Revert "Revert "Mark layers with color transform client composition if not implemented.""
This reverts commit 6f5a48f7af.

Reason for revert: Reinstating with fix
Below is the original commit message:
SET_LAYER_COLOR_TRANSFORM is an optional API, and thus when it's not
implemented. we want to make sure we follow the spec to mark those layers as
client composition and add them into changed layers list proactively.

BUG: 115554640
Test: Verify with setting color transform manually.
Change-Id: Ia2e8634b01ee1b5c99893e86ef451f90337ef90f
2019-04-04 16:17:27 -07:00
Marissa Wall
4de153cd21 IMapper: change an error message
Change the error message that prints when IMapper 3.0 isn't present.
The old warning was causing unnecessary concerns.

Bug: 128013727
Test: compile
Change-Id: I197cd953d08a8e9f3bdee92cede973bf1b97dfe2
(cherry picked from commit ccbd24f633)
2019-04-04 23:05:51 +00:00
Pawin Vongmasa
2dcd353f7f Add Codec2 entry; make Codec2 and Omx optional
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 112362730
Bug: 121132171
Bug: 128320274
Change-Id: I4ee174bb434935bdf923a30bab40ed3024f45cbe
2019-04-04 21:27:55 +00:00
Jayant Chowdhary
661f4410f4 Allow android.hardware.camera.common@1.0-helper to access vendor tags
This allows vendor camera clients to access provider specific vendor
tags. No expected behavior changes to camera HAL process(es).

Also fixes OWNERS file.

Bug: 129688550

Test: AImageReaderTest modified to set a vendor tag in CaptureRequest
Test: Take still pictures / record video (sanity)
Test: camera CTS tests

Change-Id: I18b678e7e0db7f1b29c3de0b762cb65e25842fa8
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2019-04-04 14:24:06 -07:00
Emilian Peev
5874bba486 Camera: Avoid using an uninitialized physical camera id
'mStreamMap' entries can be inserted by several versions
of HIDL API calls. If the fields are initialized by an
older version, then make sure that newer additions are
always initialized in the respective API method.

Bug: 73885805
Test:
adb shell
/data/nativetest64/VtsHalCameraProviderV2_4TargetTest/VtsHalCameraProviderV2_4TargetTest
--hal_service_instance=android.hardware.camera.provider@2.4::ICameraProvider/legacy/0

Change-Id: Ib5bd8f608da05f628c52d288c518cebbe964182b
2019-04-04 13:27:09 -07:00
Emilian Peev
70eae1d3f0 Camera: Set buffer request stream id
Additionally fix a possible issue with the buffer request index
and variable shadowing.

Bug: 129090247
Test: adb shell
/data/nativetest64/VtsHalCameraProviderV2_4TargetTest/VtsHalCameraProviderV2_4TargetTest
--hal_service_instance=android.hardware.camera.provider@2.4::ICameraProvider/legacy/0

Change-Id: I34ab0285e59233c1b6d276f9167372ef3b0bbd0b
2019-04-04 13:22:25 -07:00
Andrew Chant
6f5a48f7af Revert "Mark layers with color transform client composition if not implemented."
This reverts commit c53ea9f5f8.

Reason for revert: Breaks some display output
Bug: 129945273
Bug: 115554640

Merged-In: If70a148ae6ad673b5dd03143b3f1ed73eaa1290f
Change-Id: If70a148ae6ad673b5dd03143b3f1ed73eaa1290f
2019-04-04 18:55:08 +00:00
Anil Admal
f45338a356 Restore gnss@1.1 HAL capability bits removed in gnss@2.0 (hal)
In the IGnssCallback.hal@2.0 introduced in Android Q, the
capability bits in IGnssCallback.hal@1.1 that represent sub-HAL
interfaces have been removed as they are derivable from the
existing getExtensionXXX() family of methods in the IGnss.hal
interface.

These need to be restored back as the synchronous nature of the
getExtensionXXX() methods called by the framework has an impact on
partner implementations that need to communicate with the modem to
get the capabilities.

Additionally, the capability bit MEASUREMENT_CORRECTIONS needs to be
added for the new optional measurement_corrections@1.0 sub-HAL
introduced in gnss@2.0.

Fixes: 129870126
Test: Verified through cuttlefish default implementation and VTS tests.
Change-Id: Ib4164c9501b8db9f09eb5429a077d477d0a4a7f9
2019-04-04 17:16:10 +00:00
TreeHugger Robot
f2005a3e7a Merge "Updates to VMS Utils to support HAL Client Publisher" 2019-04-04 00:17:21 +00:00
TreeHugger Robot
00afcf7cbf Merge "Mark layers with color transform client composition if not implemented." 2019-04-03 23:52:43 +00:00
Bill Rassieur
3e48d33959 Merge master@5406228 into git_qt-dev-plus-aosp.
am: 08465e2c76

Change-Id: I66c27279e5e9849c978c659aafffa5c24904c6f0
2019-04-03 16:48:03 -07:00
Eran Messeri
4a2225fbe2 [automerger skipped] Merge "Test importing EC P-256 keys with multiple encodings" am: 72ff236669 am: f9f432812d
am: e9ab4f6568 -s ours
am skip reason: change_id I5f5df86e55a758ed739403d830baa5c7308813a3 with SHA1 68289f76f2 is in history

Change-Id: I7a8a0751dc42530c89559c79023737d1557cdeff
2019-04-03 14:07:47 -07:00
Peiyong Lin
c53ea9f5f8 Mark layers with color transform client composition if not implemented.
SET_LAYER_COLOR_TRANSFORM is an optional API, and thus when it's not
implemented. we want to make sure we follow the spec to mark those layers as
client composition and add them into changed layers list proactively.

BUG: 115554640
Test: Verify with setting color transform manually.
Change-Id: I53b4039eb63cccd1b174e3c6da3b6336b85e0321
2019-04-03 13:32:20 -07:00
Eran Messeri
e9ab4f6568 Merge "Test importing EC P-256 keys with multiple encodings" am: 72ff236669
am: f9f432812d

Change-Id: I1f78870640152ff41e1f1b0a475aff4e0e7f5af1
2019-04-03 11:34:30 -07:00
Eran Messeri
f9f432812d Merge "Test importing EC P-256 keys with multiple encodings"
am: 72ff236669

Change-Id: If39e10780df7237d81055834a4e0d717c121dedd
2019-04-03 11:30:55 -07:00
Treehugger Robot
72ff236669 Merge "Test importing EC P-256 keys with multiple encodings" 2019-04-03 18:04:01 +00:00
TreeHugger Robot
96db858033 Merge "Update nfc@1.1 to nfc@1.2" 2019-04-03 17:46:23 +00:00
Prachi Hande
cde1aa9617 Updates to VMS Utils to support HAL Client Publisher
1. Added new API/utility functions to support publishing VMS messages from HAL client.
2. Fixed creation of offering message by adding publisher ID
3. Fixed an existing failing test from VmsHalManager_test.cpp

Bug: 129475485
Bug: 129163926
Fixes: 129475485
Fixes: 129163926
Test: Added tests for all the new and updated functions in VmsUtilsTest.
Ran the tests on Hawk.
Change-Id: Ie561dafb86d137a4fdf3042e033f8cb133b4aca7
2019-04-02 17:51:21 -07:00
Michael Butler
cb6ae1052b [automerger skipped] NNAPI Burst object cleanup -- VTS update am: 60a2253bfb am: 12b4bc7634
am: 2234fc669b -s ours
am skip reason: change_id I7cbc1d7025c0352aa1ed29d71dc84c2fcfc20a4f with SHA1 e68668f65b is in history

Change-Id: Id0bc2d4724bee0024e9c0563adc32440bb555d12
2019-04-02 17:08:06 -07:00
TreeHugger Robot
e7aeb819f8 Merge "Camera: Update VTS test for revised multi-camera requirement" 2019-04-03 00:06:55 +00:00
Michael Butler
2234fc669b NNAPI Burst object cleanup -- VTS update am: 60a2253bfb
am: 12b4bc7634

Change-Id: I6cdec360636481d02525ff04257ca2ce70eb88f5
2019-04-02 16:38:54 -07:00
Michael Butler
12b4bc7634 NNAPI Burst object cleanup -- VTS update
am: 60a2253bfb

Change-Id: I9a83a290c7f52a5e8babb229aa781ef189651918
2019-04-02 16:27:03 -07:00
TreeHugger Robot
65ae914635 Merge "wifi(implementation): Set prop with the first active iface" 2019-04-02 22:01:31 +00:00
Michael Butler
8a4c1f5e12 Merge "Propagate ANNMemory_free to IBurstContext::freeMemory -- VTS update" 2019-04-02 21:57:35 +00:00
Michael Butler
60a2253bfb NNAPI Burst object cleanup -- VTS update
This CL adapts the VTS code to the corresponding changes made in the NN
utility library.

Bug: 119570067
Test: mma
Test: atest VtsHalNeuralnetworksV1_0Target
Test: atest VtsHalNeuralnetworksV1_1Target
Test: atest VtsHalNeuralnetworksV1_2Target
Change-Id: I7cbc1d7025c0352aa1ed29d71dc84c2fcfc20a4f
Merged-In: I7cbc1d7025c0352aa1ed29d71dc84c2fcfc20a4f
(cherry picked from commit e68668f65b)
2019-04-02 20:17:31 +00:00
Ahmed ElArabawy
ccf9cbea58 Merge "Wifi: Add ether_type to sending offloaded packet" 2019-04-02 16:43:48 +00:00
Roshan Pius
8574e7fd8b wifi(implementation): Set prop with the first active iface
This is updated whenever a new STA or AP iface is created & removed.
Also, when the chip is configured.

This property can be read by the rest of the system (including vendor
specific HAL instances) to retrieve the active iface name.

Bug: 129506593
Test: ./data/android.hardware.wifi@1.0-service-tests
Test: Manually verified the property name after wifi on/off & softap
on/off.

Change-Id: Ic1c21fd3a1c6894c797070bf889f705e4cba6dd1
2019-04-02 09:41:15 -07:00
Jack Yu
57c15713c9 Update nfc@1.1 to nfc@1.2
Test: Manual
Bug: 129732996
Change-Id: Ieaef96a228c8410f8c84aae89a36ac8e494eca68
2019-04-02 14:02:05 +08:00
Amruth Ramachandran
019d89b77f Add VTS test for getDataRegistrationState am: 7c06193d09 am: af32ed1e54
am: 139f8bd942

Change-Id: I210493d3dfe019b347d8fa1228e386f5d9bb0d25
2019-04-01 18:35:47 -07:00
Amruth Ramachandran
139f8bd942 Add VTS test for getDataRegistrationState am: 7c06193d09
am: af32ed1e54

Change-Id: Iab26a52f254f95ec705491ad9dfe91e019b414db
2019-04-01 18:32:16 -07:00
Amruth Ramachandran
af32ed1e54 Add VTS test for getDataRegistrationState
am: 7c06193d09

Change-Id: I921a0f34176dec715ac1c8e50610aad461d2066a
2019-04-01 18:28:07 -07:00
TreeHugger Robot
3c8de391ab Merge "Rename init script for Sensors 2.0 Mock Service" 2019-04-01 20:10:24 +00:00
Jack Yu
999dc41654 [automerger skipped] Added VTS tests for setDataProfile and setInitialAttachApn am: 7885653276 am: cefbec0e9b
am: 8829f93e09 -s ours
am skip reason: change_id Ia7a260f5bbf9463c96b53656bcbe031af5208cbb with SHA1 7948a04d01 is in history

Change-Id: I3f73dced07c1118c80d26067c93db9b4b61c6897
2019-04-01 12:49:59 -07:00
Jack Yu
8829f93e09 Added VTS tests for setDataProfile and setInitialAttachApn am: 7885653276
am: cefbec0e9b

Change-Id: I9b3b6541878bf0e058b6dd8343efb7dc08ef40e8
2019-04-01 12:45:40 -07:00
Jack Yu
cefbec0e9b Added VTS tests for setDataProfile and setInitialAttachApn
am: 7885653276

Change-Id: I56598e9ba5dd72363bb64d4f69edb9b824cbb22e
2019-04-01 12:41:38 -07:00
Amruth Ramachandran
7c06193d09 Add VTS test for getDataRegistrationState
Bug:112194535
Test: VTS test

Change-Id: I32b335c8407a6884216aa1b80216a87e94b6cba6
2019-04-01 10:17:07 -07:00
Jack Yu
7885653276 Added VTS tests for setDataProfile and setInitialAttachApn
Test: VTS
Bug: 121345833

Merged-In: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
Change-Id: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
(cherry picked from commit 7948a04d01)
2019-04-01 10:05:23 -07:00
TreeHugger Robot
ce80bfe636 Merge "Camera: Update 'ERROR_RESULT' documentation" 2019-04-01 17:00:41 +00:00
Eran Messeri
04a7045117 Test importing EC P-256 keys with multiple encodings
Test importing of an Elliptic Curve P-256 key, encoded using the RFC5915
specification (which requires the curve OID in key in addition to the
wrapper) and the same key encoded using SEC1 (which allows omitting the
OID if it's known from the wrapper).

Test: atest VtsHalKeymasterV4_0TargetTest ImportKeyTest
Bug: 124437839
Bug: 127799174
Bug: 129398850
Change-Id: I5f5df86e55a758ed739403d830baa5c7308813a3
Merged-In: I5f5df86e55a758ed739403d830baa5c7308813a3
2019-04-01 14:54:00 +01:00
Lev Proleev
778accda64 Merge "LSTM: require input layer norm weights to be omitted in case CIFG is used." 2019-04-01 10:36:19 +00:00
Brian Stack
565cb9d2f0 Rename init script for Sensors 2.0 Mock Service
Bug: 129562840
Test: Builds
Change-Id: I4744a8e00657f39010d5e2a39fe38d13813e6439
2019-03-29 15:21:27 -07:00
Michael Butler
102e0442d8 Propagate ANNMemory_free to IBurstContext::freeMemory -- VTS update
This CL adapts the VTS code to the corresponding changes made in the NN
utility library.

Bug: 128319484
Test: mma
Test: atest VtsHalNeuralnetworksV1_0Target
Test: atest VtsHalNeuralnetworksV1_1Target
Test: atest VtsHalNeuralnetworksV1_2Target
Change-Id: I470e8228cde2b75620ad851e4fe408f8e8329e7c
2019-03-29 13:25:53 -07:00