Commit graph

2295 commits

Author SHA1 Message Date
Treehugger Robot
b4c441939a Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16 am: 5de5782cf7 am: 8e10b94061 am: 0d5d484d72 am: 4c89ed66e7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I1dc0e0fc567576db903b87d73081fe543a0b03a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 11:10:58 +00:00
Treehugger Robot
4c89ed66e7 Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16 am: 5de5782cf7 am: 8e10b94061 am: 0d5d484d72
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I1fd5246607690aec6b0bf04cd43a6fb4594ec30d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 09:55:55 +00:00
Treehugger Robot
5de5782cf7 Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I91007755ac5a01a55061ff2f9731f0127ef0192c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 07:03:15 +00:00
Treehugger Robot
05d080dd16 Merge "Refactored automotiveSvV1.0_fuzzer" into main 2023-09-28 06:14:27 +00:00
Treehugger Robot
8f84268a6c Merge "Update automotive.vehicle OWNERS file" into main am: 06d47be3d0 am: 7559fbaeb2 am: c442b11ff8 am: 3350fa61fc am: 258dbb3cc6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2765946

Change-Id: Id47abf9c6c2319e6c0158a8379e179dc526f91ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 05:02:55 +00:00
Treehugger Robot
258dbb3cc6 Merge "Update automotive.vehicle OWNERS file" into main am: 06d47be3d0 am: 7559fbaeb2 am: c442b11ff8 am: 3350fa61fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2765946

Change-Id: I5b32c1e0bcc9b8c25d1d081ddde98375d75a9fe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 03:47:17 +00:00
Treehugger Robot
7559fbaeb2 Merge "Update automotive.vehicle OWNERS file" into main am: 06d47be3d0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2765946

Change-Id: I91b383d44c8e366f7a3e4c10fd2d591f0c836eed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 00:52:18 +00:00
Devin Moore
46c0057798 Update automotive.vehicle OWNERS file
Test: none
Bug: none
Change-Id: I6f6a64658a2ad6151447bdcc77d83e66c9c12320
2023-09-27 22:56:36 +00:00
Hao Chen
e04a700d86 Use EvsCamera as the base of EvsMockCamera
Test: Build and run (mock) evs_app tests
Bug: 300533205
Change-Id: I8e43c5879dee9942c27d69cdfb3012d35b123441
2023-09-25 20:32:10 +00:00
Hao Chen
7fe8c25fc0 Merge "Add EVS Video Emulated Camera Class" into main 2023-09-25 17:53:17 +00:00
Treehugger Robot
761194a4de Merge "Updated vehicleManager_fuzzer" into main am: 7761d90af1 am: 6569dc7511 am: 535ac9f544 am: ae164210c6 am: 16eca29bce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2097954

Change-Id: Ie303bd8e1c696af381034833a2f7251a6f3b1ca8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 08:13:17 +00:00
Treehugger Robot
16eca29bce Merge "Updated vehicleManager_fuzzer" into main am: 7761d90af1 am: 6569dc7511 am: 535ac9f544 am: ae164210c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2097954

Change-Id: I5c4ff6f1cbb4184c1fa8997fa5db9bfdd82ced38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 07:08:39 +00:00
Treehugger Robot
6569dc7511 Merge "Updated vehicleManager_fuzzer" into main am: 7761d90af1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2097954

Change-Id: Ic84b53a9c26e671cec114c7fb82a8a23600ea619
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 04:34:27 +00:00
Treehugger Robot
7761d90af1 Merge "Updated vehicleManager_fuzzer" into main 2023-09-25 03:21:12 +00:00
Treehugger Robot
2b1b325a06 Merge changes from topic "sdv-vhal-emulator-service" into udc-qpr-dev-plus-aosp am: dfa4ae0d28
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24805466

Change-Id: I32b745bb733b52d6fd77c17fd584da5a6c073575
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 23:18:53 +00:00
Aaqib Ismail
b795b1d1f8 Move VHAL config dirs to protected am: 7d483bc656
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24763109

Change-Id: Iab730128e61e96628c710a9015d298fc07359c47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 23:18:50 +00:00
Aaqib Ismail
ba0124af54 Make 2.0-libproto-native visible to sdv_ivi_cf am: b5310066d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24725582

Change-Id: Ie19139f92ade10a84f824921e9f5f0fb88a5c66c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 23:18:45 +00:00
Treehugger Robot
dfa4ae0d28 Merge changes from topic "sdv-vhal-emulator-service" into udc-qpr-dev-plus-aosp
* changes:
  Make event callback accessible to child classes
  Move VHAL config dirs to protected
  Make 2.0-libproto-native visible to sdv_ivi_cf
2023-09-23 22:56:05 +00:00
Hao Chen
224446bcad Add EVS Video Emulated Camera Class
Test: Build
Bug: 277861838
Change-Id: Ic9ce648b857eddefccc24065397af5b2056426c7
2023-09-22 21:53:52 +00:00
Hao Chen
0d14a8297b Hanlding Streams and States
Test: Build && `atest android.hardware.automotive.evs-aidl-default-service_cam_state_test`
Bug: 277861838
Change-Id: Idd8fe8e76876dfd93a177d3529ccf118b626001d
2023-09-22 21:38:20 +00:00
Hao Chen
1052df3843 Merge "Add EvsCamera Class and Buffer Manipulation" into main 2023-09-22 17:58:53 +00:00
Ryan Prichard
30e40b994f Merge "Use std::filesystem when libc++ is new enough" into main am: 37d5948144 am: 608781cfd7 am: 81bff7712e am: 85adb929d3 am: 4e4de47109
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2758145

Change-Id: I18d4e39a5976ec50b3cbafbb6c6d4097c6412027
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 01:01:34 +00:00
Ryan Prichard
4e4de47109 Merge "Use std::filesystem when libc++ is new enough" into main am: 37d5948144 am: 608781cfd7 am: 81bff7712e am: 85adb929d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2758145

Change-Id: I8fd69afb24840a54a631fb9bd65f3bb6d5fcbc8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 23:55:45 +00:00
Hao Chen
5ed789cd71 Add EvsCamera Class and Buffer Manipulation
Test: Build and `atest android.hardware.automotive.evs-aidl-default-service_cam_buffer_test`
Bug: 277861838
Change-Id: I28218f8e22e7daca3d8ce0bbec64c054a4462564
2023-09-21 23:40:02 +00:00
Ryan Prichard
608781cfd7 Merge "Use std::filesystem when libc++ is new enough" into main am: 37d5948144
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2758145

Change-Id: I6ee358c40c615d29aa7dc6e7bcecbdebc7394327
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 22:16:04 +00:00
Yu Shan
06ddbc6d52 Define IRemoteAccess V2 reference impl.
Rename remote access HAL to V2 and implement V2 interface.

Test: Presubmit
Bug: 297271235
Change-Id: I4b21fce3c18f7697f62229107b210b7675749b68
2023-09-20 18:30:34 -07:00
Ryan Prichard
680fd80663 Use std::filesystem when libc++ is new enough
_LIBCPP_VERSION in external/libcxx is 8000. When _LIBCPP_VERSION is
newer, assume it's the new libc++ toolchain prebuilt, which has a
finalized std::filesystem, and use std::filesystem instead. To make
Soong happy, keep the android.hardware.automotive@libc++fs library for
now but stub out the C++ source files and make the
android::hardware::automotive::filesystem namespace an alias for
std::filesystem.

Bug: 152067309
Bug: 175635923
Test: treehugger
Test: m android.hardware.automotive.can@1.0-service
Test: m android.hardware.automotive@libc++fs
Change-Id: I7aede74cda0122434d972a075d7c7a9933845450
2023-09-20 14:46:18 -07:00
Treehugger Robot
6392a88c1d Merge "Add task schedule API to remote access HAL." into main 2023-09-20 21:42:56 +00:00
Aaqib Ismail
514c23cad5 Make event callback accessible to child classes
Bug: 291278377
Test: m
Change-Id: Idb667aa847ba566713068a47b12dc849ffcf96cc
2023-09-19 17:55:01 -07:00
Yu Shan
c067a9b52e Merge "Rename reference VHAL to V3." into main 2023-09-19 19:41:03 +00:00
Aaqib Ismail
7d483bc656 Move VHAL config dirs to protected
Bug: 291278377
Test: m
Change-Id: I3c67e0b9398e7891bcfecddac5169fb76536cc25
2023-09-19 12:38:27 -07:00
Aaqib Ismail
b5310066d4 Make 2.0-libproto-native visible to sdv_ivi_cf
Bug: 291278377
Test: m
Change-Id: I4eba410eef0b410299bde34265b0392114e33d7b
2023-09-19 12:38:27 -07:00
Yu Shan
c1ee98677e Rename reference VHAL to V3.
The current target is actually supporting VHAL v2
interface, but we did not update the name. Update its name to V3
since it is going to support VHAL v3 interface.

Test: Presubmit
Bug: 300694866
Change-Id: I54bd15edb83add03b0fe8272b6e8787fef7003cf
2023-09-15 17:55:15 -07:00
Aaqib Ismail
2dff22274c Fix clang lint warnings am: ccf273d307
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24763110

Change-Id: Iac9e75bbb3e310feeae56c50d59d331e2ba34578
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 05:45:31 +00:00
Aaqib Ismail
ccf273d307 Fix clang lint warnings
Bug: 291278377
Test: m
Change-Id: Ifcfecc313c8d27fb04a20b4e6bf304b04f4a5b55
2023-09-15 04:40:17 +00:00
Yu Shan
c07cdae9bb Add task schedule API to remote access HAL.
These APIs allows a client to schedule a task to be executed later.
If the vehicle is off when the task is to be exectued, the vehicle
will be woken up, execute the task and shutdown. If the vehicle is
already up, the task will be exectued.

Test: None
Bug: 282792374
Change-Id: I97c4fdbe2cba035e8bd9ddede4c94d0331c39eef
2023-09-14 18:10:10 -07:00
Treehugger Robot
317e9d4e22 Merge changes I2ca96002,I8f9c076e into main
* changes:
  Add the abstraction layer for the camera classes
  Add EVS Camera Device Type to the Default Implementation
2023-09-15 00:21:34 +00:00
Hao Chen
c5d5d7565d Add the abstraction layer for the camera classes
Test: Build
Bug: 277861838
Change-Id: I2ca960022916ef5db2896625208e74d4c0db5d36
2023-09-14 22:19:48 +00:00
Hao Chen
02a1825028 Add EVS Camera Device Type to the Default Implementation
Test: Build
Bug: 277861838
Change-Id: I8f9c076e0d03f541587015c71aeb8a9335d37733
2023-09-14 22:19:13 +00:00
Treehugger Robot
089d39f69c Merge "Add buffer result for generating vendor configs" into main 2023-09-14 21:09:12 +00:00
Ayushi Khopkar
a9d67d5eb7 Updated vehicleManager_fuzzer
Resolved fdsan abort issue

Test: ./vehicleManager_fuzzer
Bug: 232476708
Bug: 263591012

Change-Id: I51bf940e61574db4255eedc0f264375d8908282d
2023-09-13 12:01:35 +05:30
kunal rai
2fd4e9d71d Refactored automotiveSvV1.0_fuzzer
The following are the updates to the fuzzer:
1. Added checks to the fuzzer to prevent fuzzer errors.
2. Updated the scope of the `handler` variable to avoid it going out of scope.
3. Moved `startstream` outside to ensure the proper opening of the stream.

Test: ./automotiveSvV1.0_fuzzer
Bug: 295788054

Change-Id: Ia5181ce999618cd2f6781d3681e937baa47e7071
2023-09-11 10:42:12 +05:30
Antonio Kantek
e226dcd2e8 Merge "Add visibility to "//cts/tests/tests/car_permission_tests"" into main 2023-09-08 18:14:38 +00:00
Aaqib Ismail
5a8f91761b Merge changes I36d1e494,I65a74ac6 into main
* changes:
  Add missing supportedEnumValues
  Add missing status codes
2023-09-07 03:21:12 +00:00
Changyeon Jo
88ef0d64bc Merge "Update the default EVS HAL implementation" into main 2023-09-06 17:13:30 +00:00
Changyeon Jo
ada95035ec Update OWNERS file am: bacdd1ec09 am: d095b7aafa am: e927deb8f8 am: 8de98a639b am: 3507d52f9e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2740885

Change-Id: I16e0cd29d4d27327e0e1f7e861ef8a81dd9d0cdf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 07:20:45 +00:00
Changyeon Jo
3507d52f9e Update OWNERS file am: bacdd1ec09 am: d095b7aafa am: e927deb8f8 am: 8de98a639b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2740885

Change-Id: Iaf2e2243f18d66b8f1e004602acba168a67f528e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 07:12:08 +00:00
Changyeon Jo
d095b7aafa Update OWNERS file am: bacdd1ec09
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2740885

Change-Id: Ie6784053acee05538e6d328d98c7cea1730291a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 04:55:17 +00:00
Changyeon Jo
bacdd1ec09 Update OWNERS file
This change updates OWNERS file for EVS interface.

Bug: 299195329
Test: Manual
Change-Id: Ife421b8aa4a380d8585e6d8476f0a24f31bc2633
2023-09-06 00:57:59 +00:00
Aaqib Ismail
810144a168 Add missing supportedEnumValues
Bug: 299192013
Test: m
Change-Id: I36d1e4942cb44604539e384bde9300ac8ca8eba2
2023-09-05 17:52:12 -07:00