Commit graph

27984 commits

Author SHA1 Message Date
Daniel Bright
ea8d801f54 Add Handover Failure Mode to Radio Hal
On a handover request failure, the modem can now determine
whether or not to fallback.  There is also the option to revert
to the legacy logic.  Following the legacy logic is the default
behavior.

Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
2020-09-23 13:15:39 -07:00
Treehugger Robot
3db0787adf Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a am: 00b1b980be am: 3eb011c487 am: b509618efb am: e47229efe5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: I19077a729f6d306d15ff65dcd7f79cc7bf90aad6
2020-09-15 21:03:54 +00:00
Lakshman Annadorai
a9563b00ef [automerger skipped] Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9 am: bde59e03ef am: 924ebf2d26 am: 0c0666c756 am: 6ffb5c9f5f -s ours
am skip reason: Change-Id I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9 with SHA-1 bfdb1ac607 is in history

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

Change-Id: Idfa235f7203b91e6768083a072ef25ec56157b35
2020-09-15 20:58:31 +00:00
felipeal
bf65e6a5b2 [automerger skipped] Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1 am: 645bd8a6fa am: d4918ea194 am: 4b5417906b -s ours am: e3da7881a1 -s ours
am skip reason: Change-Id Iaf5d8e35f556c72350cdb9b6665adb31fca26871 with SHA-1 3e9d442fa1 is in history

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

Change-Id: If80be1633d6a15bafb7fd130ceae5f8136a9c438
2020-09-15 20:54:10 +00:00
Bill Yi
ebb879752c [automerger skipped] Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE am: 10d58f6f16 -s ours am: dab2441bcb -s ours am: 653a02f03d -s ours am: dda7b2cefa -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie3c857aac50559bdff2591a3559c337f6040f363
2020-09-15 20:32:18 +00:00
Treehugger Robot
e47229efe5 Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a am: 00b1b980be am: 3eb011c487 am: b509618efb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: If8cdb8f13f043fde795017c4323553fa4cbb60f5
2020-09-15 19:24:14 +00:00
Treehugger Robot
b509618efb Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a am: 00b1b980be am: 3eb011c487
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: I6cc330c1c16086c8102b1307cf8edb623d194b9a
2020-09-15 18:59:56 +00:00
Treehugger Robot
3eb011c487 Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a am: 00b1b980be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: Ic3bb9e351347dbc9abc5211efc0e7b98bdc415d2
2020-09-15 18:32:06 +00:00
Treehugger Robot
00b1b980be Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: I66366b29dbddaed9c31fd4bf13b1843de4ccb7a8
2020-09-15 17:58:31 +00:00
Treehugger Robot
01695e087a Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" 2020-09-15 17:34:58 +00:00
Lakshman Annadorai
6ffb5c9f5f Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9 am: bde59e03ef am: 924ebf2d26 am: 0c0666c756
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425312

Change-Id: I5268432da33c136dd206b2625b7f896066cad220
2020-09-15 09:03:32 +00:00
Lakshman Annadorai
0c0666c756 Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9 am: bde59e03ef am: 924ebf2d26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425312

Change-Id: Ie93723dbedd717524fe87ce8468c6079de92808a
2020-09-15 08:41:02 +00:00
Lakshman Annadorai
924ebf2d26 Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9 am: bde59e03ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425312

Change-Id: Iff961af8b7358d4fb274f2c0d45f753c48273a5e
2020-09-15 07:49:08 +00:00
Lakshman Annadorai
bde59e03ef Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425312

Change-Id: Ifbdbedbccafe23bf9f4c4b257310c6038d341b2a
2020-09-15 07:24:42 +00:00
felipeal
e3da7881a1 [automerger skipped] Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1 am: 645bd8a6fa am: d4918ea194 am: 4b5417906b -s ours
am skip reason: Change-Id Iaf5d8e35f556c72350cdb9b6665adb31fca26871 with SHA-1 3e9d442fa1 is in history

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

Change-Id: I573859b7465ecf7a7f9a494869d2f75f19f8d54d
2020-09-15 04:59:13 +00:00
felipeal
4b5417906b Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1 am: 645bd8a6fa am: d4918ea194
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425311

Change-Id: I48a33bd0033c9d3c133fcdcbc026f53a957e94ac
2020-09-15 04:32:04 +00:00
felipeal
d4918ea194 Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1 am: 645bd8a6fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425311

Change-Id: Ic828eb136b8f686ada88166a56695c78d336d520
2020-09-15 04:04:42 +00:00
felipeal
645bd8a6fa Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425311

Change-Id: Ie0e3affd1fd6865fe3b19bbb961494c4322e5785
2020-09-15 03:24:28 +00:00
Lakshman Annadorai
8eb03223e9 Update EmulatedUserHal to use UserHalHelper native library.
Bug: 150409377
Fixes: 167588307
Test: Tested using lshal commands in go/user-hal-emulation.

Change-Id: I79486a715c92111d3d6f5c011b7e1cd8c5501c25
Merged-In: I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9
(cherry picked from commit 92ad8215e7)
2020-09-15 02:54:35 +00:00
TreeHugger Robot
16cee7bd78 Merge "Add missing skia_deps" 2020-09-14 22:24:35 +00:00
Bill Yi
dda7b2cefa [automerger skipped] Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE am: 10d58f6f16 -s ours am: dab2441bcb -s ours am: 653a02f03d -s ours
am skip reason: Change-Id I0d1d88bf6aca3324e8348642aa7e77aa663ba806 with SHA-1 c9a594fc65 is in history

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

Change-Id: I529985912a3bcb8783ebbf6d5e3323296687539c
2020-09-14 22:20:19 +00:00
Bill Yi
653a02f03d [automerger skipped] Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE am: 10d58f6f16 -s ours am: dab2441bcb -s ours
am skip reason: Change-Id I0d1d88bf6aca3324e8348642aa7e77aa663ba806 with SHA-1 c9a594fc65 is in history

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

Change-Id: I4cd7529156eebf8d9feb136ae6853e296b3f91f8
2020-09-14 21:50:59 +00:00
Bill Yi
dab2441bcb [automerger skipped] Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE am: 10d58f6f16 -s ours
am skip reason: Change-Id I0d1d88bf6aca3324e8348642aa7e77aa663ba806 with SHA-1 c9a594fc65 is in history

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

Change-Id: Id7e2f311521a3ed67faabaf926052425792b8823
2020-09-14 21:18:57 +00:00
John Reck
066a7d944c Add missing skia_deps
Test: make
Change-Id: I51e664120fd9fb6f574b5676eedca63df2c13951
2020-09-14 13:26:30 -07:00
Amy Zhang
a5207dcde7 Add Tuner HAL VTS tests into the exception list of the uninstantiated
parameterized tests

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 168345664
Change-Id: I1fabb01ea308c286d2b3f29d520afc7518bb2d8a
2020-09-14 12:03:24 -07:00
Bill Yi
10d58f6f16 Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE
Merged-In: I0d1d88bf6aca3324e8348642aa7e77aa663ba806
Change-Id: I4fadc5d63b6b32afd9addf930af287ec91ea9722
2020-09-13 07:58:49 -07:00
TreeHugger Robot
943e5ad18e Merge changes from topic "IFingerprint.aidl"
* changes:
  Default implementation for IFingerprint
  Add VTS tests for IFingerprint
  Define IFingerprint
2020-09-12 02:25:26 +00:00
Felipe Leme
e57306e747 [automerger skipped] Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764 am: c9a594fc65 am: e14c0eae69 -s ours am: eb2cb587e5 -s ours
am skip reason: Change-Id I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b with SHA-1 b33e2abbfe is in history

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

Change-Id: I7bc1581c26fe0fa0e3d1d7bf5b5d1e0a93970011
2020-09-11 23:56:45 +00:00
Felipe Leme
9ccbb08cd2 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b am: cfecfdd960 am: 48d15fb914 am: d7c0b3d80a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: I57831d231fe6b8af2e7e315eaa093e63c358c9f4
2020-09-11 23:45:09 +00:00
Xin Li
386a88e8da [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours am: 2c7b6e54c3 -s ours am: 10f108d342 -s ours am: a7661d1c68 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

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

Change-Id: I19549799d4d5c095a9365141abbd4bae08295c94
2020-09-11 21:27:32 +00:00
Felipe Leme
eb2cb587e5 [automerger skipped] Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764 am: c9a594fc65 am: e14c0eae69 -s ours
am skip reason: Change-Id I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b with SHA-1 b33e2abbfe is in history

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

Change-Id: I4010385f34de99cd9a0dc2b9ccaeb15dbf694dd5
2020-09-11 20:17:04 +00:00
Felipe Leme
d7c0b3d80a Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b am: cfecfdd960 am: 48d15fb914
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: I72a52bd2fb076c9b7526c134dd6bca1504aa31c4
2020-09-11 20:16:47 +00:00
Felipe Leme
e14c0eae69 Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764 am: c9a594fc65
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: Idc8205b9d413b273b857fe7c50e4b91b345f0c41
2020-09-11 19:51:22 +00:00
Felipe Leme
48d15fb914 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b am: cfecfdd960
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: Ib81bae18c93f3d5e4c212d7ee3ed3820b1977375
2020-09-11 19:51:06 +00:00
Felipe Leme
c9a594fc65 Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I0d1d88bf6aca3324e8348642aa7e77aa663ba806
2020-09-11 19:09:16 +00:00
Felipe Leme
67a276e764 Merge "Add a native UserHalHelper library." am: 82120a8ce4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I65b9541fee41d161c416b2dd401d962e4fdecf69
2020-09-11 18:58:13 +00:00
Felipe Leme
cfecfdd960 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: Id007bb0e4d2ea99283f23f65e1d9f05138870854
2020-09-11 18:56:42 +00:00
Felipe Leme
cbae7c852b Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: I0108032854cff71fc68c59f7207c38ab33f443c4
2020-09-11 18:33:12 +00:00
Xusong Wang
af9ac3b8a0 Suppress gtest error for tests without any instance
NNAPI VTS is parameterized by discovered devices. When there is no
device available, the compilation caching and memory domain tests will
not be instantiated, and will cause a gtest error. This patch suppresses
the error by GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST macro.

Bug: 168152007
Test: 1.2/1.3 VTS without NNAPI driver
Change-Id: I715ae6f45df66e4a03c12b5d3f38bcc028a9ed7c
2020-09-11 10:55:36 -07:00
felipeal
5d40b783d1 Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896584 a 1 i -42 i 4 i 11
Fixes: 161574356
Bug: 167588307

Change-Id: Iaf5d8e35f556c72350cdb9b6665adb31fca26871
Merged-In: Iaf5d8e35f556c72350cdb9b6665adb31fca26871
(cherry picked from commit 3e9d442fa1)
2020-09-11 17:43:34 +00:00
Felipe Leme
82120a8ce4 Merge "Add a native UserHalHelper library." 2020-09-11 17:43:04 +00:00
Felipe Leme
3e15feb00f Added myself (A.K.A felipeal@) to OWNERS.
Test: N/A
Bug: N/A

Change-Id: Ic5921afceecb1869fcfeda5670b2465a85202cfc
2020-09-11 09:59:11 -07:00
Lakshman Annadorai
3568c5c3b7 Add a native UserHalHelper library.
This library contains helper functions to convert the User HAL reponse
structs to VehiclePropValues and request VehiclePropValues to HAL
structs.

Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 150409377
Bug: 167588307

Change-Id: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
Merged-In: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
(cherry picked from commit b33e2abbfe)
2020-09-11 16:06:42 +00:00
Xin Li
a7661d1c68 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours am: 2c7b6e54c3 -s ours am: 10f108d342 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

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

Change-Id: I987f9f5ddfaca47459a2ca64f97a2ec6ca3cc83b
2020-09-11 03:59:02 +00:00
Xin Li
10f108d342 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours am: 2c7b6e54c3 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

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

Change-Id: I1cf1d9c821c764166cd807a90ead1345dbbe339c
2020-09-11 03:33:32 +00:00
Ilya Matyukhin
a9a3c850bc Default implementation for IFingerprint
Bug: 152416783
Test: atest VtsHalBiometricsFingerprintTargetTest
Test: atest vts_treble_vintf_vendor_test
Test: atest hal_implementation_test
Change-Id: I67efda2d5418147a7cac9cc54920005a199fcbe3
2020-09-10 19:38:49 -07:00
Ilya Matyukhin
14412df89f Add VTS tests for IFingerprint
Bug: 152416783
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I6aec70e8f9f4342cab2f7ce367698841e22f57f1
2020-09-10 19:38:49 -07:00
Ilya Matyukhin
ed361970c6 Define IFingerprint
Bug: 152416783
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: Iba1fae1739366955b6aaed55b59eed0a3fed5a57
2020-09-10 19:38:49 -07:00
Yifan Hong
1da23f2c85 Add fingerprint 2.3 to compatibility matrix.
Test: builds
Bug: 110261831
Change-Id: Ia732a450685ddca53a087e443e121ae47e9e1bf0
2020-09-11 02:30:13 +00:00
Xin Li
2c7b6e54c3 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

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

Change-Id: I229165230cd1f6597b8126cb4f941dc8b47437ed
2020-09-11 02:02:41 +00:00