Commit graph

26 commits

Author SHA1 Message Date
Brian Duddie
069d6dd8db Add support for IAllocator/IMapper v4.0 in sensors VTS am: 97f1a3aeaa am: b3cda9ef6d am: f6c5f764a4 am: 2492bd3251
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11744993

Change-Id: I6d81ed6a3326593ce1f3ac564fccec9a1caae96e
2020-06-05 18:25:16 +00:00
Brian Duddie
f6c5f764a4 Add support for IAllocator/IMapper v4.0 in sensors VTS am: 97f1a3aeaa am: b3cda9ef6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11744993

Change-Id: I91d85a478ce628fc80232d3caa6bf47a7217ff55
2020-06-05 14:52:17 +00:00
Brian Duddie
97f1a3aeaa Add support for IAllocator/IMapper v4.0 in sensors VTS
Also, pull in the static libs associated with the graphics HALs to
VtsHalSensorsTargetTestUtils so that the VTS binaries that depend on it
don't need to all pull them in themselves.

Fixes: 158018963
Test: VtsHalSensorsV2_0TargetTest on a device supporting the v4.0 HALs
Change-Id: Idc47ffb8cacd1ac84d45b979cd45fe630b6808f6
2020-06-04 16:33:09 -07:00
Dan Shi
268dab27f8 Merge "Use StopServicesSetup to stop/start framework." into rvc-dev am: e8f9e0959f am: f2956479e3 am: 603e12a745 am: 042001e278
Change-Id: Ice28fd6e459934e478ceef5d18cefd035f1b0f4b
2020-05-13 23:51:09 +00:00
Dan Shi
f2956479e3 Merge "Use StopServicesSetup to stop/start framework." into rvc-dev am: e8f9e0959f
Change-Id: I9b0e7c3c76a33526bd90730b1f775e29134d909e
2020-05-13 23:12:44 +00:00
Dan Shi
e8f9e0959f Merge "Use StopServicesSetup to stop/start framework." into rvc-dev 2020-05-13 22:52:20 +00:00
Dan Shi
2d11037a0b Use StopServicesSetup to stop/start framework.
Bug: 155774142
Test: none
Change-Id: I3dfec18df478b0a4ae16c454d110e5c05f33cbca
2020-05-13 14:03:24 -07:00
Anthony Stange
8f86dd1907 V2: Create Multi-HAL 2.1 service am: 199b5ff96a am: 2708e59bc3 am: 296f9e3d13 am: 47a2eb3b20
Change-Id: Ib58757d86120272059c4f7e7828ca508bb2efaf1
2020-04-30 22:42:25 +00:00
Anthony Stange
296f9e3d13 V2: Create Multi-HAL 2.1 service am: 199b5ff96a am: 2708e59bc3
Change-Id: Ic66259addd51428d47e40da2475e433caa21beb7
2020-04-30 22:07:48 +00:00
Anthony Stange
91b3dced0f V2: Create Multi-HAL 2.1 service am: 199b5ff96a
Change-Id: Ibfd005e49e0754daf757f4db1b6154760a55b04d
2020-04-30 21:51:20 +00:00
Anthony Stange
199b5ff96a V2: Create Multi-HAL 2.1 service
Bug: 149758467
Test: Verify that the new unit tests and subhals in this topic load and
run on a Pixel device

Change-Id: I275274659816b3a00374fb0b7a93f199874afdcd
2020-04-30 08:45:19 -04:00
Nick Chalko
706753b1e9 Merge changes from topic "revert-10501254-multihal_2_1-FNHFKNQMKB" into rvc-dev am: 7a63ec7734 am: f26b11ea4d am: 2d45a577fe am: bb92acbba9
Change-Id: Icb61e774bad3f7d28a7ae77a17281a9e5163ab40
2020-04-29 23:39:37 +00:00
Nick Chalko
2d45a577fe Merge changes from topic "revert-10501254-multihal_2_1-FNHFKNQMKB" into rvc-dev am: 7a63ec7734 am: f26b11ea4d
Change-Id: I3b0a7055a2cd785a21261a37d85e59dbbe6dca8d
2020-04-29 23:17:01 +00:00
Nick Chalko
68bf7e87b3 Merge changes from topic "revert-10501254-multihal_2_1-FNHFKNQMKB" into rvc-dev am: 7a63ec7734
Change-Id: Ic95046c31867bcda12ab27c0870907fb0109afab
2020-04-29 23:00:34 +00:00
Nick Chalko
6691d85d0b Revert "Create Multi-HAL 2.1 service"
Revert submission 10501254-multihal_2_1



Reason for revert: Droidcop: Potential culprit for b/155328660 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Bug: 155328660
Reverted Changes:
I2be51568b:Update tests for multihal to test HAL 2.1
Id5ab7b606:Create Multi-HAL 2.1 service
Icefae8c12:Set up Multi-HAL for Sensors HAL 2.1

Change-Id: I5e828d1dfd4f9ede5cbd38ff8bc4cc5dc48e4d76
2020-04-29 22:20:59 +00:00
TreeHugger Robot
489a77cbaa Merge changes from topic "multihal_2_1" into rvc-dev am: 89b216690c am: f3660d09f7 am: 4b63f3a03b am: bbe39b86a3
Change-Id: Ibc9d060f10b0691466a52addebb565a5602553a6
2020-04-29 21:42:42 +00:00
TreeHugger Robot
4b63f3a03b Merge changes from topic "multihal_2_1" into rvc-dev am: 89b216690c am: f3660d09f7
Change-Id: I596bcbc3ac680251e031297fd504785e21a98278
2020-04-29 21:13:21 +00:00
TreeHugger Robot
e5f735df7d Merge changes from topic "multihal_2_1" into rvc-dev am: 89b216690c
Change-Id: I3d5bc424d10777f37fb66b6023f4d822afcfea7a
2020-04-29 21:03:43 +00:00
Anthony Stange
82f8d46691 Create Multi-HAL 2.1 service
Bug: 149758467
Test: Verify that the new unit tests and subhals in this topic load and
run on a Pixel device

Change-Id: Id5ab7b606f91764a456d8e3a16f7f0f2cf9b4fef
2020-04-28 17:49:02 -04:00
Dan Shi
aad51fa000 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 16:37:40 -07:00
Dan Shi
3a8a650c61 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 18:03:49 +00:00
Anthony Stange
aef69c9538 Create separate VTS target for Sensors HAL 2.1
Dependencies don't use cflags set by code that depends on them so the
VTS test for HAL 2.1 wasn't properly pulling the 2.1 interface when
present on the device (it was using the 2.0 interface). Modify the
Android.bp files to define the right flags depending on whether we're
testing HAL 2.0 or 2.1.

Bug: 149759782
Test: atest VtsHalSensorsV2_0TargetTest VtsHalSensorsV2_1TargetTest
Change-Id: I3533b6c244e767a8defe0a44a14025fdeb8eeeba
2020-02-19 12:47:50 -05:00
Anthony Stange
a9a5eb411e Add VTS tests for Sensors HAL 2.1
Bug: 144139857
Test: atest VtsHalSensorsV2_0TargetTest VtsHalSensorsV2_1TargetTest
Change-Id: If2b751929b8d89c9d381032f5e8424a24719b6bd
2020-02-18 17:45:02 -05:00
Anthony Stange
535c63e672 Add Hinge Angle Sensor to default impl for HAL 2.1
Bug: 144139857
Test: Verify this type is exposed when VTS is run
Change-Id: I994f1b4c77729b76760b7cafc19b825c98ca97ca
2020-02-18 15:24:38 -05:00
Anthony Stange
1d71acc129 Add default impl of Sensors HAL 2.1
Create a default implementation of HAL 2.1 that shares 90% of the
underlying code with HAL 2.0 since the interfaces are very similar.

Bug: 144139857
Test: compile
Change-Id: Ic6b139df98ddb1f92833b1f2d65e1cecc297fd41
2020-02-18 15:24:35 -05:00
Anthony Stange
d8cafdbdfd Add Sensors HAL 2.1
Creates Sensors HAL 2.1 to support the addition of a new sensor type for
hinge angle sensors.

Bug: 144139857
Test: mma
Change-Id: Id78fb16324d28f2291b3ad1950197bfd2632d6f4
2020-02-18 13:34:56 -05:00