diff options
Diffstat (limited to 'emulator/usbpt/protocan')
4 files changed, 9 insertions, 7 deletions
diff --git a/emulator/usbpt/protocan/manifest.protocan.xml b/emulator/usbpt/protocan/manifest.protocan.xml index f23cbf9..7227a48 100644 --- a/emulator/usbpt/protocan/manifest.protocan.xml +++ b/emulator/usbpt/protocan/manifest.protocan.xml @@ -5,10 +5,6 @@ <impl level="generic"></impl> <version>1.0</version> <interface> - <name>ICanController</name> - <instance>socketcan</instance> - </interface> - <interface> <name>ICanBus</name> <instance>BCAN</instance> <instance>CCAN</instance> diff --git a/emulator/usbpt/protocan/protocan.mk b/emulator/usbpt/protocan/protocan.mk index 4f02d52..4f54992 100644 --- a/emulator/usbpt/protocan/protocan.mk +++ b/emulator/usbpt/protocan/protocan.mk @@ -17,8 +17,12 @@ # CAN bus HAL PRODUCT_PACKAGES += android.hardware.automotive.can@1.0-service PRODUCT_PACKAGES += canhalconfigurator -PRODUCT_COPY_FILES += device/generic/car/emulator/usbpt/protocan/canbus_config.pb:system/etc/canbus_config.pb -PRODUCT_PACKAGES_DEBUG += canhalctrl \ +PRODUCT_COPY_FILES += device/generic/car/emulator/usbpt/protocan/canbus_config.pb:$(TARGET_COPY_OUT_VENDOR)/etc/canbus_config.pb + +# TODO(b/259994014): Remove CAN packages from here after AAOS baseline is +# applied to all car emulators +PRODUCT_PACKAGES_DEBUG += \ + canhalctrl \ canhaldump \ canhalsend diff --git a/emulator/usbpt/protocan/protocanbus/sepolicy/dumpstate.te b/emulator/usbpt/protocan/protocanbus/sepolicy/dumpstate.te new file mode 100644 index 0000000..b43e786 --- /dev/null +++ b/emulator/usbpt/protocan/protocanbus/sepolicy/dumpstate.te @@ -0,0 +1,2 @@ +# Allow dumpstate to make binder calls to hal_vehiclebus_default +binder_call(dumpstate, hal_vehiclebus_default) diff --git a/emulator/usbpt/protocan/protocanbus/sepolicy/service.te b/emulator/usbpt/protocan/protocanbus/sepolicy/service.te index 1016fe4..08c20e9 100644 --- a/emulator/usbpt/protocan/protocanbus/sepolicy/service.te +++ b/emulator/usbpt/protocan/protocanbus/sepolicy/service.te @@ -1 +1 @@ -type hal_vehiclebus_service, vendor_service, protected_service, service_manager_type; +type hal_vehiclebus_service, hal_service_type, protected_service, service_manager_type; |