Commit Graph

29311 Commits

Author SHA1 Message Date
Anthony Stange
100aa5eda1 Add new contexthub HAL 1.2 methods to default impl
Bug: 166846988
Test: Run VTS against default HAL
Change-Id: I158a49e54f340a2ba25f79894d6ec465070326f8
2020-12-17 16:33:55 -05:00
Anthony Stange
6c77c35406 Add stubs for new contexthub v1.2 methods
Bug: 166846988
Test: compile
Change-Id: Iccf32340f9fa024a26832090f1e0835198546946
2020-12-17 16:33:55 -05:00
Anthony Stange
e351e3b321 Update Contexthub HAL 1.2
Update Contexthub HAL 1.2 to support passing permissions information
about host apps and nanoapps to the HAL and contexthub framework.

Bug: 166846988
Test: hidl-gen && Run VTS against default HAL
Change-Id: I483cb066b3228c4a80bab8f12f8bfee2610c9e6b
2020-12-17 16:33:51 -05:00
Sunil Ravi
de9e202ef2 Merge "wifi: Added 2 seconds wait time in RTT tests" 2020-12-16 16:22:56 +00:00
TreeHugger Robot
04d9defcf4 Merge "Add @utf8InCpp to String fields" 2020-12-16 11:00:36 +00:00
Treehugger Robot
e0ff63e3a7 Merge "Extend test timeout value from 180s to 600s" am: 276369a3df am: 29a6aa191d am: d29699d4ac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1525581

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I93390349556f833b6cb7ecb03f7f1c68ac48f0ec
2020-12-16 05:27:04 +00:00
Kevin Chyn
413f4d0406 Merge "Change default face sensorId to 4" 2020-12-16 04:51:42 +00:00
Treehugger Robot
d29699d4ac Merge "Extend test timeout value from 180s to 600s" am: 276369a3df am: 29a6aa191d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1525581

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idecccd35184653f9b6dd8fe7015767f5e3ad48c1
2020-12-16 04:46:12 +00:00
Treehugger Robot
29a6aa191d Merge "Extend test timeout value from 180s to 600s" am: 276369a3df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1525581

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I16ae7e3114b89738237b8ab6d1cbe586162663e9
2020-12-16 04:00:45 +00:00
Treehugger Robot
276369a3df Merge "Extend test timeout value from 180s to 600s" 2020-12-16 03:18:58 +00:00
Kalesh Singh
afab1452c5 Merge "Revert "Memtrack HAL: Add stable AIDL implementation"" am: b2a38b62b5 am: 34277b9a6b am: 23eb82742a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1530887

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1f579545e60f164fed3d80d2216dcdf6b08675ed
2020-12-16 02:22:57 +00:00
Kalesh Singh
23eb82742a Merge "Revert "Memtrack HAL: Add stable AIDL implementation"" am: b2a38b62b5 am: 34277b9a6b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1530887

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2a9e80323993028a6dacfdfdcf29792c204e383f
2020-12-16 01:46:34 +00:00
Kalesh Singh
34277b9a6b Merge "Revert "Memtrack HAL: Add stable AIDL implementation"" am: b2a38b62b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1530887

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibea84b7d89297e09a04cc1e008bfa5c41c458103
2020-12-16 01:05:13 +00:00
Sunil Ravi
4c7c64e7fd wifi: Added 2 seconds wait time in RTT tests
Added 2 seconds delay in RTT tests. This helps drivers finish the
current test and process the next test.

Bug: 175605811
Test: VTS test - VtsHalWifiRttV1_4TargetTest
Change-Id: I3bb719b5b75ba960913bd405b2c8a41047689682
2020-12-15 16:57:29 -08:00
Kalesh Singh
b2a38b62b5 Merge "Revert "Memtrack HAL: Add stable AIDL implementation"" 2020-12-16 00:48:06 +00:00
Kalesh Singh
28641ffb08 Revert "Memtrack HAL: Add stable AIDL implementation"
Revert "libmemtrack: Add support for AIDL memtrack HAL"

Revert "Add stable aidl memtrack HAL to product packages"

Revert "Add stable aidl memtrack hal to vndk list"

Revert "Memtrack HAL stable aidl sepolicy"

Revert "Add android.hardware.memtrack-unstable-ndk_platform"

Revert submission 1518702-memtrack-aidl

Reason for revert: Broken tests and boot time regressions
Reverted Changes:
Ic4dd70e2c:Add android.hardware.memtrack-unstable-ndk_platfor...
Iaf99d0ca4:Add stable aidl memtrack HAL to product packages
Iac54ae2ba:Add stable aidl memtrack hal to vndk list
If310210a3:libmemtrack: Add support for AIDL memtrack HAL
Ib6c634def:Memtrack HAL: Add stable AIDL implementation
I5e1d0e006:Memtrack HAL stable aidl sepolicy

Change-Id: I4a9e3522afe9e9189b7eddc9520d5ef2e2b74520
2020-12-16 00:19:38 +00:00
Steven Moreland
b65b63adc8 support lib for libcutils<->NDK AIDL handle am: 74e043ba2d am: 32f937623c am: 1c7358d45e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1528750

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1fde23027e9d7f3b8f445f615b90691facd44d0c
2020-12-15 17:50:19 +00:00
Treehugger Robot
ff4464a7e2 Merge "Use safe_union correctly" am: baf61434fd am: 8e4e5639c9 am: 51e593d4f2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1510995

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0cb16ae1becb3af2eb16861b4d3d946cec56c227
2020-12-15 17:50:07 +00:00
Steven Moreland
1c7358d45e support lib for libcutils<->NDK AIDL handle am: 74e043ba2d am: 32f937623c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1528750

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic4cc0feee7509dd982596e82b3ebbfd7c9ffff17
2020-12-15 17:35:51 +00:00
Treehugger Robot
51e593d4f2 Merge "Use safe_union correctly" am: baf61434fd am: 8e4e5639c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1510995

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I971a63dc8a73982a5bb394c9c148037cb3fe12b8
2020-12-15 17:35:42 +00:00
Yu-Han Yang
cfca8a758d Add @utf8InCpp to String fields
Also updated the following
- remove carrierFrequencyHz since signalType already includes it.
- update default implementation's mockMeasurement.

Bug: 173797017
Test: on cuttlefish
Change-Id: I60b11f51c5cf414b197ac9ca248a55c2dc1352a1
2020-12-15 09:26:19 -08:00
Steven Moreland
32f937623c support lib for libcutils<->NDK AIDL handle am: 74e043ba2d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1528750

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib1afc2964856efcb4f2121a0943771313a03b7a0
2020-12-15 17:00:22 +00:00
Treehugger Robot
8e4e5639c9 Merge "Use safe_union correctly" am: baf61434fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1510995

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I89dac63df8547d9609a547cc8081de374505f4eb
2020-12-15 16:59:38 +00:00
Steven Moreland
74e043ba2d support lib for libcutils<->NDK AIDL handle
The native_handle API is notoriously tricky to work with, and this is
expected to be very common. So, adding a small helper library.

Fixes: 175432703
Test: atest libaidlcommonsupport_test
Change-Id: I4a00d2b14fefe6c979ee656e353e117661a1a483
2020-12-15 16:45:20 +00:00
Mikhail Naganov
89a54ddc16 Merge "HidlUtils: remove temporary conversion functions" 2020-12-15 16:36:01 +00:00
Thiébaud Weksteen
0e1699591d [automerger skipped] Merge "Add getAllowedNetworkTypesBitmap HAL API" am: a07d055654 am: 3196c429e0 am: 9f0ca6fac5 -s ours
am skip reason: Change-Id Ib8f0075dda41d4876a14f7223a067e34626a4675 with SHA-1 5cc53bacea is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1526541

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If072c87742bfd4b19c2bb64fd73318a1d87bf59c
2020-12-15 16:30:53 +00:00
Treehugger Robot
baf61434fd Merge "Use safe_union correctly" 2020-12-15 16:30:44 +00:00
Thiébaud Weksteen
9f0ca6fac5 Merge "Add getAllowedNetworkTypesBitmap HAL API" am: a07d055654 am: 3196c429e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1526541

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7ce4ed340cb791ed5e8c0eb5d87eaa0de09af013
2020-12-15 16:15:51 +00:00
Thiébaud Weksteen
3196c429e0 Merge "Add getAllowedNetworkTypesBitmap HAL API" am: a07d055654
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1526541

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I19bcdf6899fa5929e2d5e90ec16c5de42e669334
2020-12-15 15:50:52 +00:00
Thiébaud Weksteen
a07d055654 Merge "Add getAllowedNetworkTypesBitmap HAL API" 2020-12-15 12:39:51 +00:00
Les Lee
66e513d52b Merge "wifi: Fix bridged interface property and allociation" 2020-12-15 12:36:53 +00:00
Grzegorz Kołodziejczyk
0f0c5d17d2 Use safe_union correctly
As described in source.android.com/devices/architecture/hidl/safe_union
value must be assigned through generated getter, rather than assigning it directly.

Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest
Sponsor: jpawlowski@
Bug: 150670922
Change-Id: Iefc7ee98163ec2b3387fc01c3d69c1dcd15e94bc
2020-12-15 11:08:16 +00:00
Michael Butler
6e46896d0f Merge "Add HIDL lifetime and protecting callback info to NN README" 2020-12-15 04:37:50 +00:00
Mikhail Naganov
35a3a77811 HidlUtils: remove temporary conversion functions
Remove temporary conversion functions and update
the code that was using them.

Bug: 142480271
Test: m
Change-Id: Idf36dbac398efbc03bd6da68c79f6fb1ddc24e9c
2020-12-14 23:18:30 +00:00
Michael Butler
7a655bb3d4 Add HIDL lifetime and protecting callback info to NN README
This CL copies information from
packages/modules/NeuralNetworks/runtime/VersionedInterfaces.cpp and
modifies the description to be more appropriate for the NN HAL utility
code.

Specific sections added to the README:
* "HIDL Interface Lifetimes across Processes"
* "Protecting Asynchronous Calls across HIDL"

Bug: 170289677
Test: mma
Change-Id: Id381895535d708b627f4746687b4d12e16560639
2020-12-14 14:46:09 -08:00
Michael Butler
2288f9735a Merge "Change NN canonical timings to nanoseconds -- hal" 2020-12-14 22:37:18 +00:00
Michael Butler
ca11420785 Change NN canonical timings to nanoseconds -- hal
A sibling CL to this CL changes the definition of nn::TimePoint to the
same type as std::chrono::steady_clock::time_point but has changed the
underlying duration representation to use uint64_t. That sibling CL also
renames nn::OptionalTimeoutDuration to nn::OptionalDuration, and changes
the definition to the same type as std::nanoseconds except the
underlying duration representation now uses uint64_t.

This CL makes changes to the NN HAL utility code in response to the
changes in the sibling CL.

Bug: 174297663
Test: mma
Test: NeuralNetworksTest_static
Change-Id: If44d9aefadb2c78b632ff289b5ff5a49f766525c
2020-12-14 22:06:42 +00:00
Treehugger Robot
335317f9a8 Merge "Memtrack HAL: Add stable AIDL implementation" am: e5d68ba29c am: be07fd2de6 am: 8f356a5035
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1518666

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I764c5e2075d271321c5f55589ab9ad6057edc683
2020-12-14 20:09:30 +00:00
Treehugger Robot
8f356a5035 Merge "Memtrack HAL: Add stable AIDL implementation" am: e5d68ba29c am: be07fd2de6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1518666

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9c17a00485554becde5863be2b6cb0a0d337b850
2020-12-14 19:52:37 +00:00
Treehugger Robot
be07fd2de6 Merge "Memtrack HAL: Add stable AIDL implementation" am: e5d68ba29c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1518666

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ida1cbb3f3533182814b867660e25c8b3d0f67089
2020-12-14 19:29:18 +00:00
Mikhail Naganov
0e8e65c47c Merge changes I72389c8d,I0e42fe12,I93c482ee
* changes:
  audio: Update default effect HAL wrapper to support V7
  audio: Update default wrapper to support V7
  audio: Extend HidlUtils for the default wrapper needs
2020-12-14 19:20:39 +00:00
Treehugger Robot
e5d68ba29c Merge "Memtrack HAL: Add stable AIDL implementation" 2020-12-14 18:36:10 +00:00
Treehugger Robot
7fae6c355c Merge "Remove authorization set serialization." am: 4d13d0027c am: 61d27ba878 am: f90da60cc6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1520081

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id387106dc12440789f29d8aa2a31282920ed14f1
2020-12-14 16:03:10 +00:00
Treehugger Robot
f0453a0851 Merge "Move tag type comments where they belong." am: dd9d98c339 am: 482d670ff6 am: da30da4fad
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1520080

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibe8e9077570db1715c11dce3fbbc2d935d6eb781
2020-12-14 16:03:02 +00:00
Treehugger Robot
4e59bf430c Merge "Various cleanups" am: 5fb746bc9f am: 5684571ed3 am: 4cbf9772c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1522457

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I824d28adf2ffecadf6e4ad2629c00c09f7681191
2020-12-14 16:01:49 +00:00
Treehugger Robot
f90da60cc6 Merge "Remove authorization set serialization." am: 4d13d0027c am: 61d27ba878
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1520081

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I49f690f63d5b6e473e0fb61dbafe7b3111dc0f26
2020-12-14 15:47:35 +00:00
Treehugger Robot
da30da4fad Merge "Move tag type comments where they belong." am: dd9d98c339 am: 482d670ff6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1520080

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I12f34f8ab58ccdb135fff6451ba2a948ab660ad7
2020-12-14 15:47:29 +00:00
Treehugger Robot
4cbf9772c8 Merge "Various cleanups" am: 5fb746bc9f am: 5684571ed3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1522457

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I011bd57c095507cf1e5e8c3e3853a0a1062de090
2020-12-14 15:46:53 +00:00
Treehugger Robot
61d27ba878 Merge "Remove authorization set serialization." am: 4d13d0027c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1520081

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I387ad00c35d8fd9ccba7e7eae3d2128f44cfa7de
2020-12-14 14:50:00 +00:00
Treehugger Robot
482d670ff6 Merge "Move tag type comments where they belong." am: dd9d98c339
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1520080

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I00227cd2c0119c8f290d71eec04931b9d77895e5
2020-12-14 14:49:50 +00:00