Commit Graph

39465 Commits

Author SHA1 Message Date
Treehugger Robot
f84ea6f9ce [automerger skipped] Merge "Camera: VTS: Remove GRF MultiCamera for Android 12" am: da9f315c2e am: 9803421093 am: 41fe05482f -s ours am: e90b061864 -s ours
am skip reason: Merged-In I71b46f1e8343a5848cbe3fa55bbcd427c87b05dd with SHA-1 d6e34f7aa1 is already in history

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

Change-Id: I46d18712226de03c510cc6acae1b44598b420997
2022-01-21 00:42:33 +00:00
TreeHugger Robot
f3e07e5156 Merge "Support subscribe/unsubscribe in VHAL." 2022-01-21 00:31:15 +00:00
Treehugger Robot
e90b061864 [automerger skipped] Merge "Camera: VTS: Remove GRF MultiCamera for Android 12" am: da9f315c2e am: 9803421093 am: 41fe05482f -s ours
am skip reason: Merged-In I71b46f1e8343a5848cbe3fa55bbcd427c87b05dd with SHA-1 d6e34f7aa1 is already in history

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

Change-Id: Iaabc6ae0229766bc108fdc2726c890e72d04f1b0
2022-01-21 00:24:02 +00:00
Treehugger Robot
41fe05482f Merge "Camera: VTS: Remove GRF MultiCamera for Android 12" am: da9f315c2e am: 9803421093
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954699

Change-Id: Iacf6d408062d31243fad4a97c2438e0d5d4d06aa
2022-01-21 00:07:21 +00:00
Treehugger Robot
9803421093 Merge "Camera: VTS: Remove GRF MultiCamera for Android 12" am: da9f315c2e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954699

Change-Id: I5b638fbdd1603ab97b29422797e49dab3daf3f62
2022-01-20 23:49:00 +00:00
Treehugger Robot
da9f315c2e Merge "Camera: VTS: Remove GRF MultiCamera for Android 12" 2022-01-20 23:34:11 +00:00
Miao Wang
b4a2d1e64d [automerger skipped] HAL interface for compilation and execution hints am: b5c8a82f25 am: 95aca22e2c am: 0b816258b3 am: 148666d1b5 -s ours
am skip reason: Merged-In I98240fd75089fc85cdfcaa0be28aab8a6f0dfca5 with SHA-1 0e671f3edb is already in history

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

Change-Id: Icfe3b16b989c3131113eee66922c33af5b5e5c06
2022-01-20 23:01:09 +00:00
Shuzhen Wang
5e65c93123 Camera: VTS: Remove GRF MultiCamera for Android 12 am: d6e34f7aa1 am: 7777734ee4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16682094

Change-Id: I9c28498afc2b9bd9b77aa4130f591214366bf4ea
2022-01-20 23:00:51 +00:00
TreeHugger Robot
a00bf1bf20 Merge changes Idc817611,Ic8160375
* changes:
  Add VTS test for new settings enums
  Add enum value for BT main / scanning toggle states
2022-01-20 22:57:15 +00:00
Miao Wang
148666d1b5 HAL interface for compilation and execution hints am: b5c8a82f25 am: 95aca22e2c am: 0b816258b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1955921

Change-Id: Id02834b7c88e353ab15d2e5b3da085a57685fe34
2022-01-20 22:38:14 +00:00
Shuzhen Wang
7777734ee4 Camera: VTS: Remove GRF MultiCamera for Android 12 am: d6e34f7aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16682094

Change-Id: Ic4ca3d16620170a511a1d0cdb3de89bbe7c6575e
2022-01-20 22:36:49 +00:00
Miao Wang
0b816258b3 HAL interface for compilation and execution hints am: b5c8a82f25 am: 95aca22e2c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1955921

Change-Id: Ic77516e45af14a730abbf1256b7b386a78062587
2022-01-20 22:14:04 +00:00
Miao Wang
95aca22e2c HAL interface for compilation and execution hints am: b5c8a82f25
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1955921

Change-Id: Ia1175e1000a8a392439987471d15ff03ccb3f7a6
2022-01-20 22:08:56 +00:00
Eva Chen
e1cc317a17 Merge "Add limited axes imu sensor type definitions." 2022-01-20 21:53:59 +00:00
Yu Shan
4299bb3254 Support subscribe/unsubscribe in VHAL.
Test: atest DefaultVehicleHalTest
Bug: 200737967

Change-Id: I4e7b31af7fa2af445f9bac6ec71dad3bf6c0b8b3
2022-01-20 13:49:56 -08:00
TreeHugger Robot
07c256aab1 Merge "Refactor MockVehicleHardware into separate files." 2022-01-20 21:03:09 +00:00
Anthony
a6b6500609 Add VTS test for new settings enums
Bug: 215574482
Test: Run VTS
Change-Id: Idc817611156c0f0efd7562c176e9765266576fa0
2022-01-20 20:49:10 +00:00
TreeHugger Robot
579390868a Merge "Test that R_8 can be allocated if it's supported" 2022-01-20 20:48:38 +00:00
Anthony
88c6269a58 Add enum value for BT main / scanning toggle states
Bug: 215574482
Test: compile
Change-Id: Ic8160375f79acf4fb8b69e90478e86cb1cbf32d4
2022-01-20 20:46:58 +00:00
John Reck
d126297c23 Merge "Add front buffer usage" 2022-01-20 20:21:52 +00:00
Wei Wang
90736694d2 Merge "Power: add a generic game mode" 2022-01-20 18:01:54 +00:00
Alec Mouri
0cb31dbb0a Merge "Add VTS for setting layer white point" 2022-01-20 17:57:09 +00:00
Miao Wang
b5c8a82f25 HAL interface for compilation and execution hints
The following AIDL types are added:
 - TokenValuePair
 - PrepareModelConfig
 - ExecutionConfig

The following AIDL methods are added:
 - IDevice::prepareModelWithConfig
 - IPreparedModel::executeSynchronouslyWithConfig
 - IPreparedModel::executeFencedWithConfig
 - IBurst::executeSynchronouslyWithConfig

The compilation and execution hints are being stored as a list of
token-value pairs as part of the PrepareModelConfig / ExecutionConfig.
And the PrepareModelConfig / ExecutionConfig parcelables are created in
order to make future extensions to the execution related interfaces
easier.

It is the drivers responsibility to verify the hints, and it is allowed
for the driver to ignore them.

Bug: 203248587
Test: neuralnetworks_utils_hal_aidl_test
Change-Id: I98240fd75089fc85cdfcaa0be28aab8a6f0dfca5
Merged-In: I98240fd75089fc85cdfcaa0be28aab8a6f0dfca5
(cherry picked from commit 0e671f3edb)
2022-01-20 16:48:40 +00:00
Iavor-Valentin Iftime
cd3e66327f Merge "Add external lazy camera provider 2.7" 2022-01-20 16:48:21 +00:00
Shuzhen Wang
d6e34f7aa1 Camera: VTS: Remove GRF MultiCamera for Android 12
Certain OEMs' new S launches with vendor freeze cannot implement
multi-camera API.

Bug: 189053514
Bug: 211709637
Change-Id: I71b46f1e8343a5848cbe3fa55bbcd427c87b05dd
(cherry picked from commit 30a198ded0)
(cherry picked from commit 2b2846855f)
2022-01-20 16:43:39 +00:00
Miao Wang
81663d4b9d Merge "HAL interface for compilation and execution hints" 2022-01-20 15:43:58 +00:00
TreeHugger Robot
11f7f7efe4 Merge "Use subscription manager in VHAL." 2022-01-20 09:01:44 +00:00
TreeHugger Robot
ba4200fbd8 Merge "Add Stable AIDL version of EVS HAL" 2022-01-20 07:03:07 +00:00
TreeHugger Robot
77d4e62e1c Merge "Add subscription manager." 2022-01-20 06:49:55 +00:00
Shuzhen Wang
1320f88af2 Camera: VTS: Remove GRF MultiCamera for Android 12
Certain OEMs' new S launches with vendor freeze cannot implement
multi-camera API.

Bug: 189053514
Bug: 211709637
Change-Id: I71b46f1e8343a5848cbe3fa55bbcd427c87b05dd
Merged-In: I71b46f1e8343a5848cbe3fa55bbcd427c87b05dd
(cherry picked from commit 30a198ded0)
2022-01-20 05:50:37 +00:00
TreeHugger Robot
714f9596c3 Merge "Camera: VTS: Remove GRF MultiCamera for Android 12" 2022-01-20 05:49:39 +00:00
Yu Shan
0f3290e0f1 Merge "Add RecurrentTimer for VHAL." 2022-01-20 05:38:08 +00:00
Miao Wang
0e671f3edb HAL interface for compilation and execution hints
The following AIDL types are added:
 - TokenValuePair
 - PrepareModelConfig
 - ExecutionConfig

The following AIDL methods are added:
 - IDevice::prepareModelWithConfig
 - IPreparedModel::executeSynchronouslyWithConfig
 - IPreparedModel::executeFencedWithConfig
 - IBurst::executeSynchronouslyWithConfig

The compilation and execution hints are being stored as a list of
token-value pairs as part of the PrepareModelConfig / ExecutionConfig.
And the PrepareModelConfig / ExecutionConfig parcelables are created in
order to make future extensions to the execution related interfaces
easier.

It is the drivers responsibility to verify the hints, and it is allowed
for the driver to ignore them.

Bug: 203248587
Test: neuralnetworks_utils_hal_aidl_test
Change-Id: I98240fd75089fc85cdfcaa0be28aab8a6f0dfca5
2022-01-20 05:24:48 +00:00
Shinru Han
a42956fbe8 Add minDistance parameter to GnssBatching (hardware/interface)
Test: atest VtsHalGnssTargetTest
Bug: b/206670536
Change-Id: I982dd64d0cfe0f42c411e4df27d9fdd160c74d2e
2022-01-20 03:47:54 +00:00
Yu-Han Yang
5fe8781258 Merge "Reland "Add IAGnssRil AIDL HAL (hardware/interfaces)"" 2022-01-20 03:45:22 +00:00
TreeHugger Robot
c2d6035631 Merge "Manage pending requests in default VHAL." 2022-01-20 03:26:42 +00:00
Treehugger Robot
87ee19412c Merge "Add owners file for VHAL." am: 63a4e9b2ea am: f5b54fef07 am: 59e77a8c39 am: 376e17e10e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954701

Change-Id: Idbed98ed32bcd64eb06ece70e03aa281c1a4c739
2022-01-20 02:57:24 +00:00
Treehugger Robot
376e17e10e Merge "Add owners file for VHAL." am: 63a4e9b2ea am: f5b54fef07 am: 59e77a8c39
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954701

Change-Id: I2d4c7c6d7ace54c161f30a0bba0136ac560eb55f
2022-01-20 02:37:48 +00:00
Yu Shan
c5a9283c0e Refactor MockVehicleHardware into separate files.
Test: presubmit.
Bug: 200737967
Change-Id: Id28357f8ccd692de1daa47a1bfa539e90826b02a
2022-01-19 18:31:00 -08:00
Yu Shan
e032b15842 Use subscription manager in VHAL.
This CL renames GetSetValuesClient to ConnectedClient and add
SubscribeClient to the supported client type. The SubscribeClient
would provide a different timeout and on-results callback.

This CL adds a map for subscribe clients in VHAL and initializes
subscription manager.

Test: None, will add after we implement subscribe.
Bug: 200737967
Change-Id: I222b155e4365dcf0fa9344c7da5901142433f055
2022-01-19 18:31:00 -08:00
Yu Shan
686ec516bd Add subscription manager.
Add a class to manage VHAL subscription. It supports subscribing
and unsubscribing to properties. For continuous property, it uses
recurrent timer to recurrently calls the registered function. For
on-change property, it would return all subscribed clients for a
given property.

Test: atest DefaultVehicleHalTest
Bug: 200737967

Change-Id: I3e1a0401fd465dc31fe08ea77d5a6651fa7bbfaf
2022-01-19 18:31:00 -08:00
Yu Shan
5ad921ae27 Add RecurrentTimer for VHAL.
Add a RecurrentTimer that allows registering recurrent actions.

Test: atest DefaultVehicleHalTest
Bug: 200737967
Change-Id: I0d62c554bb8de404d9e9634ff8118c64ebf3c864
2022-01-19 18:31:00 -08:00
Yu Shan
c230860388 Manage pending requests in default VHAL.
Use PendingRequestPool in default VHAL to manage pending requests.
It would check for duplicate request IDs, call callbacks when request
timeout.

Test: atest DefaultVehicleHalTest
Bug: 203713317
Change-Id: Ifa42e6f06036c48914c56e357714b6dfb7173538
2022-01-19 18:31:00 -08:00
Treehugger Robot
59e77a8c39 Merge "Add owners file for VHAL." am: 63a4e9b2ea am: f5b54fef07
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954701

Change-Id: Ief224b47612cf82e4f118b93dcb62474a3a40ef0
2022-01-20 02:22:33 +00:00
Treehugger Robot
f5b54fef07 Merge "Add owners file for VHAL." am: 63a4e9b2ea
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954701

Change-Id: Ie354f2696b1c87fad5d152167d5d095958648fcd
2022-01-20 02:02:59 +00:00
Treehugger Robot
63a4e9b2ea Merge "Add owners file for VHAL." 2022-01-20 01:47:12 +00:00
Treehugger Robot
c03d837c6e Merge "Require thermal HAL for all new devices" am: a91cdf4fc1 am: de0757c51a am: cf92f0c313 am: 99f60d35df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1763487

Change-Id: Iefa06dc3b78ad36b9cb2413551706b0c58c989b6
2022-01-20 01:35:40 +00:00
Xusong Wang
1eba9c7303 [automerger skipped] Add VTS tests for reusable execution. am: 72e06c2843 am: 369fbedce2 am: 89d07b80ac am: 7e7b1c648a -s ours
am skip reason: Merged-In I3e2346903e430080ec4d926bf08daf6825ea4dce with SHA-1 859200800c is already in history

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

Change-Id: I24a0bad1dc9044af8fc6b2a743490dc1b1099301
2022-01-20 01:33:57 +00:00
Treehugger Robot
99f60d35df Merge "Require thermal HAL for all new devices" am: a91cdf4fc1 am: de0757c51a am: cf92f0c313
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1763487

Change-Id: Ib6c9a742f5f80ccce5eb8f545de831ca92accd19
2022-01-20 01:14:52 +00:00
Xusong Wang
7e7b1c648a Add VTS tests for reusable execution. am: 72e06c2843 am: 369fbedce2 am: 89d07b80ac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954276

Change-Id: I7f0acd4432b25aa7a510c52a442c3001ae03ed61
2022-01-20 01:14:15 +00:00