@@ -1,10 +0,0 @@
|
|||||||
service vendor.camera-provider-2-5 /vendor/bin/hw/android.hardware.camera.provider@2.5-service_64
|
|
||||||
class hal
|
|
||||||
user cameraserver
|
|
||||||
group audio camera input drmrpc
|
|
||||||
ioprio rt 4
|
|
||||||
capabilities SYS_NICE
|
|
||||||
task_profiles CameraServiceCapacity MaxPerformance
|
|
||||||
override
|
|
||||||
setenv LIBCAMERA_LOG_LEVELS *:WARN
|
|
||||||
setenv LIBCAMERA_LOG_FILE syslog
|
|
@@ -62,13 +62,10 @@ PRODUCT_COPY_FILES += \
|
|||||||
frameworks/native/data/etc/android.hardware.camera.external.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.external.xml
|
frameworks/native/data/etc/android.hardware.camera.external.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.external.xml
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.camera.provider@2.5-service_64 \
|
android.hardware.camera.provider-V1-libcamera-service \
|
||||||
camera.libcamera \
|
camera.libcamera \
|
||||||
ipa_rpi_vc4
|
ipa_rpi_vc4
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
$(DEVICE_PATH)/camera/android.hardware.camera.provider@2.5-service_64.rpi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.camera.provider@2.5-service_64.rpi.rc
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(DEVICE_PATH)/camera/camera_hal.yaml:$(TARGET_COPY_OUT_VENDOR)/etc/libcamera/camera_hal.yaml \
|
$(DEVICE_PATH)/camera/camera_hal.yaml:$(TARGET_COPY_OUT_VENDOR)/etc/libcamera/camera_hal.yaml \
|
||||||
external/libcamera/src/ipa/rpi/vc4/data/imx219.json:$(TARGET_COPY_OUT_VENDOR)/etc/libcamera/ipa/rpi/vc4/imx219.json \
|
external/libcamera/src/ipa/rpi/vc4/data/imx219.json:$(TARGET_COPY_OUT_VENDOR)/etc/libcamera/ipa/rpi/vc4/imx219.json \
|
||||||
|
@@ -1,13 +1,4 @@
|
|||||||
<compatibility-matrix version="1.0" type="framework">
|
<compatibility-matrix version="1.0" type="framework">
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.camera.provider</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>2.5</version>
|
|
||||||
<interface>
|
|
||||||
<name>ICameraProvider</name>
|
|
||||||
<instance>legacy/0</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
<hal format="hidl" optional="true">
|
||||||
<name>android.hardware.media.c2</name>
|
<name>android.hardware.media.c2</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
10
manifest.xml
10
manifest.xml
@@ -23,15 +23,7 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<name>ICameraProvider</name>
|
<name>ICameraProvider</name>
|
||||||
<instance>external/0</instance>
|
<instance>external/0</instance>
|
||||||
</interface>
|
<instance>libcamera/0</instance>
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.camera.provider</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>2.5</version>
|
|
||||||
<interface>
|
|
||||||
<name>ICameraProvider</name>
|
|
||||||
<instance>legacy/0</instance>
|
|
||||||
</interface>
|
</interface>
|
||||||
</hal>
|
</hal>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
|
# Camera
|
||||||
|
/vendor/bin/hw/android\.hardware\.camera\.provider-V1-libcamera-service u:object_r:hal_camera_default_exec:s0
|
||||||
|
|
||||||
# CEC
|
# CEC
|
||||||
/dev/cec0 u:object_r:cec_device:s0
|
/dev/cec0 u:object_r:cec_device:s0
|
||||||
/dev/cec1 u:object_r:cec_device:s0
|
/dev/cec1 u:object_r:cec_device:s0
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
# Camera
|
||||||
|
android.hardware.camera.provider.ICameraProvider/external/0 u:object_r:hal_camera_service:s0
|
||||||
|
android.hardware.camera.provider.ICameraProvider/libcamera/0 u:object_r:hal_camera_service:s0
|
||||||
|
|
||||||
# DRM
|
# DRM
|
||||||
android.hardware.drm.IDrmFactory/widevine u:object_r:hal_drm_service:s0
|
android.hardware.drm.IDrmFactory/widevine u:object_r:hal_drm_service:s0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user