Kai Wang
f10a9af711
Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev
2020-09-22 01:50:03 +00:00
Eric Jeong
3648ac967a
Return immediately when prop is not found
...
- when VHAL prop is not supported, getPropConfigs calls hidl callback
with INVALID_ARG and has to return.
- otherwise, there will be two callbacks invoked from VHAL.
Bug: 168834308
Test: seahawk should boot up
Change-Id: I41f5ddf26b9ba70221d59bae10d7ca9a2133a9eb
Merged-In: I41f5ddf26b9ba70221d59bae10d7ca9a2133a9eb
(cherry picked from commit 26abceefbe
)
2020-09-18 16:13:41 -07:00
Kai
b1aa30c3c1
Add configArray for Gear_Selection in google VHAL
...
ConfigArray in Gear_Selection indicates the supported Gear
Bug: 165942804
Test: build and check value in emulator
Change-Id: I4567031a072edda550b671bc190934d24d5b5eba
(cherry picked from commit a3b16c2d8e
)
2020-09-15 20:35:56 +00:00
Bowgo Tsai
294b32dd3f
Allowing GSI patch level to be greater than vbmeta SPL am: 2c94e43016
am: e42109b559
am: cb6cd0c1bc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12501703
Change-Id: I829b9968e5dad0150ff16843049619cf5f5c76d6
2020-09-03 02:35:02 +00:00
Bowgo Tsai
cb6cd0c1bc
Allowing GSI patch level to be greater than vbmeta SPL am: 2c94e43016
am: e42109b559
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12501703
Change-Id: I390c90dedb8b60be331bb83e8d035e5a52f55610
2020-09-03 01:44:52 +00:00
Bowgo Tsai
e42109b559
Allowing GSI patch level to be greater than vbmeta SPL am: 2c94e43016
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12501703
Change-Id: Ib1e13162cf67ae22af89270bae2b79c33dd38249
2020-09-03 01:09:38 +00:00
Bowgo Tsai
2c94e43016
Allowing GSI patch level to be greater than vbmeta SPL
...
The GSI patch level might be greater than the vbmeta SPL, because
GSI system.img might be updated via the DSU flow, where vbmeta.img won't
be updated in this scenario.
https://developer.android.com/topic/dsu
Allowing GSI patch level to be greater than or equal to the vbmeta SPL,
since Treble allows new system.img works on old vendor images.
Bug: 145377203
Test: atest VtsHalKeymasterV4_0TargetTest
Change-Id: Ib761d80c88695eb2db08b0dc00e30fcdc2788865
Merged-In: Ib761d80c88695eb2db08b0dc00e30fcdc2788865
(cherry picked from commit 63c0129fa6
)
2020-09-02 11:00:22 +08:00
TreeHugger Robot
f4f3dd7cfe
Merge "Keymaster: update the verifyAuthorization call time and delta time in VerificationToken VTS" into stage-aosp-rvc-ts-dev am: 9ade092595
am: 872216fd37
am: b849f2258d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12430970
Change-Id: I61f0459f459b43ecbf1e44b29853876c316b81f2
2020-08-31 18:49:29 +00:00
TreeHugger Robot
b849f2258d
Merge "Keymaster: update the verifyAuthorization call time and delta time in VerificationToken VTS" into stage-aosp-rvc-ts-dev am: 9ade092595
am: 872216fd37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12430970
Change-Id: I0a050120caefe1a28496b1ff443cfd8d47b0dbb3
2020-08-31 18:34:05 +00:00
TreeHugger Robot
872216fd37
Merge "Keymaster: update the verifyAuthorization call time and delta time in VerificationToken VTS" into stage-aosp-rvc-ts-dev am: 9ade092595
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12430970
Change-Id: I5e1d4fd71246ebe7027006eb4f1d8f16a5124868
2020-08-31 18:18:58 +00:00
TreeHugger Robot
9ade092595
Merge "Keymaster: update the verifyAuthorization call time and delta time in VerificationToken VTS" into stage-aosp-rvc-ts-dev
2020-08-31 17:39:21 +00:00
Robert Shih
9f0646f100
Merge "VtsHalDrm: run tests in single shard" into stage-aosp-rvc-ts-dev am: c85c77653c
am: 731d2e3bb1
am: 05453e2dd2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12469588
Change-Id: Ibe90e190801a3da7313d41d10bcfcd7d463f9004
2020-08-28 20:21:45 +00:00
Robert Shih
05453e2dd2
Merge "VtsHalDrm: run tests in single shard" into stage-aosp-rvc-ts-dev am: c85c77653c
am: 731d2e3bb1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12469588
Change-Id: Ic07565b473717d80a6822076dbcdc0d553ba0c29
2020-08-28 20:03:23 +00:00
Robert Shih
731d2e3bb1
Merge "VtsHalDrm: run tests in single shard" into stage-aosp-rvc-ts-dev am: c85c77653c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12469588
Change-Id: Iba106b965e5c4614d49c694254ec0b6ed2db07cb
2020-08-28 19:48:05 +00:00
Robert Shih
c85c77653c
Merge "VtsHalDrm: run tests in single shard" into stage-aosp-rvc-ts-dev
2020-08-28 19:30:55 +00:00
Yu-Han Yang
1a090f14b4
Add capability check for satellite blacklist tests am: c40aa186ea
am: faec210a8e
am: 50e94f9525
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12463613
Change-Id: I2b65142217ddabaf5e508093b25cefa996087206
2020-08-27 19:08:55 +00:00
Yu-Han Yang
50e94f9525
Add capability check for satellite blacklist tests am: c40aa186ea
am: faec210a8e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12463613
Change-Id: Ida1726ca76a76368a8b1fbd9f349a56a1fdbc628
2020-08-27 18:58:36 +00:00
Yu-Han Yang
faec210a8e
Add capability check for satellite blacklist tests am: c40aa186ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12463613
Change-Id: I29409edce51e57acd7f5013e74b759e8cecb2fac
2020-08-27 18:39:22 +00:00
Robert Shih
f2eaf2c299
VtsHalDrm: run tests in single shard
...
Currently drm cert provisioning is performed as an indivdual test case.
Other tests (e.g. decrypt tests) have dependency on drm cert
provisioning.
Bug: 165493235
Test: VtsHalDrmV1_0TargetTest
Test: VtsHalDrmV1_1TargetTest
Test: VtsHalDrmV1_2TargetTest
Test: VtsHalDrmV1_3TargetTest
Change-Id: I7aad35747997e6ce5b06919344475e0f2754cd15
2020-08-27 08:58:04 -07:00
Nate Jiang
674b27abc3
WifiNanIface: Validate interface before cleanup.
...
Calling invalidate() API twice would lead to fatal error. This
commit is to check if interface isValid() before doing other operations
in invalidate() API.
Bug: 166412651
Test: atest VtsHalWifiNanV1_4TargetTest WifiNanIfaceTest
Change-Id: Ia3fc48bb3d98660705bba9a32b7a5845ff7af79f
2020-08-26 16:38:19 -07:00
Yu-Han Yang
c40aa186ea
Add capability check for satellite blacklist tests
...
Bug: 166251991
Test: on device
Change-Id: I27e515a5f2a6676a250f361b17b056a73e209ad3
2020-08-26 20:41:51 +00:00
Shuo Qian
e48f759713
Merge "Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only." into rvc-qpr-dev
2020-08-26 16:54:28 +00:00
lesl
355eb41cd7
vts: Fix incorrect instance name in Teardown am: a6cc5825e9
am: 9ce5301add
am: 676d1b13dc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070
Change-Id: I5bb711148ae6ba355b6c0af62a0100718eb0a0f7
2020-08-26 15:19:34 +00:00
lesl
676d1b13dc
vts: Fix incorrect instance name in Teardown am: a6cc5825e9
am: 9ce5301add
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070
Change-Id: I26ba62bca03c462eb95df80f65104e5ed8409771
2020-08-26 14:45:16 +00:00
lesl
9ce5301add
vts: Fix incorrect instance name in Teardown am: a6cc5825e9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070
Change-Id: I80345159ccb101a3fe6bc96bcb3b8e10ed4efdab
2020-08-26 13:58:04 +00:00
kh0705
f5b567afab
Keymaster: update the verifyAuthorization call time and delta time in VerificationToken VTS
...
The keymaster function affects the performance of secure os. When considering the swtiching time of the normal world < - > Secure world and the processing delay of the SecureOS by the scheduling policy of the normal world, it is necessary to increase the time.
Even though Secure world is no problem, Sometimes there is a possibility of that the test will fail because it is a limited resource normal world.
On average, it is performed in a very fast time, but sometimes it takes a lot of time. After many tests, the safe time was measured.
Bug: 162115135
Change-Id: I55862204ef71f69bc88c79fe2259f7cb8365699a
Signed-off-by: kh0705 <kh0705.park@samsung.com>
2020-08-24 15:01:16 +08:00
Shuo Qian
9eea6d5a73
Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only.
...
Test: vts
Bug: 156525817
Change-Id: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
2020-08-21 22:19:08 +00:00
lesl
a6cc5825e9
vts: Fix incorrect instance name in Teardown
...
The stopHostapd uses vendor HAL HIDL interface.
The interface name should use wifi_instance.
Bug: 161682236
Test: atest VtsHalWifiHostapdV1_2TargetTest
Change-Id: I8215cba3e2a36f48863f57e199684c7446e20692
2020-08-21 19:08:17 +08:00
TF Huang
cb5c8ca8b2
[automerger skipped] wlan: add supported interfaces in rc file am: 65516ffff5
am: 1683c975fa
-s ours
...
am skip reason: Change-Id I68e8d3e7ddb1470a92c5ccd30f6d4d5f90ad9e37 with SHA-1 ca7a8c9559
is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12417249
Change-Id: Ie29fe3e70f735e8c2dd878dc064513efab024b8c
2020-08-20 23:09:10 +00:00
TF Huang
1683c975fa
wlan: add supported interfaces in rc file am: 65516ffff5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12417249
Change-Id: Ia72e11516d0aa9d1d2a95a49abaae386f1b8c7ad
2020-08-20 22:55:34 +00:00
TF Huang
65516ffff5
wlan: add supported interfaces in rc file
...
Service vendor.wifi_hal_legacy should add all supported interface
into relevant .rc files.
Bug: 160377428
Test: Wifi presubmit tests
Change-Id: I68e8d3e7ddb1470a92c5ccd30f6d4d5f90ad9e37
Merged-In: I68e8d3e7ddb1470a92c5ccd30f6d4d5f90ad9e37
(cherry picked from commit ca7a8c9559
)
2020-08-20 16:50:01 +00:00
TreeHugger Robot
0e2072ce4b
Merge "Add INFO_MODEL and INFO_MODEL_YEAR default values" into rvc-qpr-dev
2020-08-19 21:03:56 +00:00
TreeHugger Robot
da9014f5e0
Merge "Update EmulatedUserHal to use UserHalHelper native library." into rvc-qpr-dev
2020-08-18 23:34:14 +00:00
Lakshman Annadorai
92ad8215e7
Update EmulatedUserHal to use UserHalHelper native library.
...
Bug: 150409377
Test: Tested using lshal commands in go/user-hal-emulation.
Change-Id: I79486a715c92111d3d6f5c011b7e1cd8c5501c25
Merged-In: I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9
2020-08-18 22:30:38 +00:00
Roshan Pius
1eb933123b
supplicant(vts): Stop framework after querying package manager am: 2595661c0d
am: 5fdc6b6469
am: 5b07a6bef3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12351743
Change-Id: I11ffe54dd44c2a50629ae70d87e4318ed10cf3fb
2020-08-18 09:42:14 +00:00
Roshan Pius
5b07a6bef3
supplicant(vts): Stop framework after querying package manager am: 2595661c0d
am: 5fdc6b6469
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12351743
Change-Id: Ib9a4aded7d4fc964202874176d8034062d56fa5b
2020-08-18 09:28:37 +00:00
Roshan Pius
5fdc6b6469
supplicant(vts): Stop framework after querying package manager am: 2595661c0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12351743
Change-Id: I6f932c5504f0506753af28bcebf0b387f7f39583
2020-08-18 09:19:12 +00:00
Jordan Jozwiak
590607780a
Add INFO_MODEL and INFO_MODEL_YEAR default values
...
Bug: 162611157
Test: adb shell cmd car_service get-carpropertyconfig | grep MODEL
Change-Id: Iff9f763aa624a2002b0dd326316410a93a47d5c0
Merged-In: Iff9f763aa624a2002b0dd326316410a93a47d5c0
(cherry picked from commit 5aa08b7d59
)
2020-08-13 16:47:44 +00:00
TreeHugger Robot
74896bed49
Merge "Fix double release of ScopedWakelock" into rvc-qpr-dev
2020-08-12 14:27:20 +00:00
TreeHugger Robot
f4b2a45056
Merge "wifi: Update wifi_wait_for_driver_ready return status handling" into rvc-qpr-dev
2020-08-12 04:54:50 +00:00
Anthony Stange
55a4f59fb8
Fix double release of ScopedWakelock
...
Today, when a ScopedWakelock is moved, the default move constructor
doesn't unlock the old wakelock instance. This results in the moved
ScopedWakelock instance decrementing the wakelock ref count which leaves
the multi-HAL out of sync from the sensor service.
Fix this by adding a custom move constructor / operator to ensure old
state is cleared on the moved instance.
Bug: 163468874
Test: Load multi-HAL and verify that it properly waits to release the
wakelock until the sensor service notifies that it has a lock held.
Test: Run unit tests
Change-Id: Ifd5a3c7596f78d7a756c4472f30efb625d670791
2020-08-11 21:43:09 +00:00
Roshan Pius
2595661c0d
supplicant(vts): Stop framework after querying package manager
...
Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_0TargetTest VtsHalWifiSupplicantV1_1TargetTest
VtsHalWifiSupplicantV1_2TargetTest VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ic5f57ce77cae7c8f3e233065923877943460edee
2020-08-11 17:41:23 +00:00
TreeHugger Robot
d8f664a3bd
Merge "Fixing a test in DeviceUniqueAttestationTest" into stage-aosp-rvc-ts-dev am: 37b752ed99
am: 9e5e724e1a
am: 22e96ba36c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12302790
Change-Id: I582726baf12ab7894cbbfe347871494b3dcc0f9e
2020-08-11 15:17:46 +00:00
TreeHugger Robot
22e96ba36c
Merge "Fixing a test in DeviceUniqueAttestationTest" into stage-aosp-rvc-ts-dev am: 37b752ed99
am: 9e5e724e1a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12302790
Change-Id: I4dbdf3b699f076af6b9c31b9ac52957f5bf0d2c6
2020-08-11 15:06:45 +00:00
TreeHugger Robot
9e5e724e1a
Merge "Fixing a test in DeviceUniqueAttestationTest" into stage-aosp-rvc-ts-dev am: 37b752ed99
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12302790
Change-Id: Ie6659390378dabafb667f5ccf8f7bbe9d4c8ba66
2020-08-11 14:51:42 +00:00
TreeHugger Robot
37b752ed99
Merge "Fixing a test in DeviceUniqueAttestationTest" into stage-aosp-rvc-ts-dev
2020-08-11 14:29:21 +00:00
Eran Messeri
b461849e98
Merge "Fix Keymaster VTS unique attestation failure" am: 3e4d8d0856
am: b0f932739a
am: 6a1198e166
am: 51914eb0eb
am: 1c845757f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12306609
Change-Id: I1068380ad614e7e68aff51d2eec23425089878e3
2020-08-06 08:33:17 +00:00
Eran Messeri
1c845757f2
Merge "Fix Keymaster VTS unique attestation failure" am: 3e4d8d0856
am: b0f932739a
am: 6a1198e166
am: 51914eb0eb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12306609
Change-Id: Ifd50b6e0e7bc115bee6d910b732d617c12e87cf1
2020-08-06 08:23:21 +00:00
Eran Messeri
51914eb0eb
Merge "Fix Keymaster VTS unique attestation failure" am: 3e4d8d0856
am: b0f932739a
am: 6a1198e166
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12306609
Change-Id: Id223b4ec4161f11c92b5dcb36ec417b3af50be89
2020-08-06 08:14:31 +00:00
Eran Messeri
6a1198e166
Merge "Fix Keymaster VTS unique attestation failure" am: 3e4d8d0856
am: b0f932739a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1372156
Change-Id: I0e2ee2609c8fcf82ad31d9c97423b9006862cb97
(cherry picked from commit 4e3c9a1d65
)
Bug: 160518399
Exempt-From-Owner-Approval: already approved as aosp/1372156.
Change-Id: I0e2ee2609c8fcf82ad31d9c97423b9006862cb97
2020-08-05 14:54:17 +00:00