Commit graph

15016 commits

Author SHA1 Message Date
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
Michael Butler
6485342b7f Merge "NNAPI Burst object cleanup -- VTS update" 2019-03-29 16:47:58 +00:00
Roshan Pius
d462a31740 Merge changes I5a617557,Idca8de42
* changes:
  wifi(implementation): Use the active iface for chip operation
  wifi(implementation): Pin primary STA iface to wlan0
2019-03-29 15:31:14 +00:00
Wei Wang
8180fbf1d0 Merge "Make ion trace point optional" am: 22fe9b3c90 am: 422c18cc03
am: 9f884bc6b1

Change-Id: Ia10f8d4b7211e64301bb0f9344db7e5e1f7bde20
2019-03-29 01:22:41 -07:00
Wei Wang
9f884bc6b1 Merge "Make ion trace point optional" am: 22fe9b3c90
am: 422c18cc03

Change-Id: Iae1425336afae2ba9a5b4a7e80702b59d78f8a9b
2019-03-29 01:18:37 -07:00
Wei Wang
422c18cc03 Merge "Make ion trace point optional"
am: 22fe9b3c90

Change-Id: Ia7d3fae07dd242eda5337d1f25d0eb1ee95cae9f
2019-03-29 01:14:34 -07:00
Treehugger Robot
22fe9b3c90 Merge "Make ion trace point optional" 2019-03-29 08:02:25 +00:00
Bill Rassieur
08465e2c76 Merge master@5406228 into git_qt-dev-plus-aosp.
Change-Id: I4a82f872dd706ac422ff596217e6f67fee8b7f91
BUG: 129345239
2019-03-29 04:24:26 +00:00
Wei Wang
f0f5788406 Make ion trace point optional
Bug: 129485781
Test: Build
Change-Id: I90fc0868df85887e542372cd55dc76be14c9d420
2019-03-28 19:31:07 -07:00
Eino-Ville Talvala
7c51e8492e graphics.mapper@2.0: Document previously-implicit accessRegion behavior.
Existing Android framework code (and transitively, CTS test) require
that an accessRegion of (0,0,0,0) is treated the same as an
accessRegion covering the entire buffer, when calling lock() or
lockYCbCr().

Document this so that there is no confusion about this going forward,
since this requirement pre-dates the HIDL HALs.

Bug: 119440345
Test: Builds
Change-Id: Id16831d3da4ec3dc74dbdca18447581a50ee1193
2019-03-28 16:51:39 -07:00
Michael Butler
e68668f65b 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
2019-03-28 13:41:14 -07:00
Yifan Hong
7cec015f22 Update health@1.0 batteryVoltage units. am: 54f20b6256 am: fb7ad2ba14
am: 26ff91b22f

Change-Id: I523c02329744f382a360c81de7c0a997086cb8d2
2019-03-28 11:39:21 -07:00
Yifan Hong
26ff91b22f Update health@1.0 batteryVoltage units. am: 54f20b6256
am: fb7ad2ba14

Change-Id: I9c6291b56fc76a62d868d0fe3a64ef0f2a96bde4
2019-03-28 11:24:25 -07:00