Snap for 11565217 from ce4e42d661
to 24Q3-release
Change-Id: Id9d00e8d77bb114bfb7b7446e1f2c8979c19a686
This commit is contained in:
commit
9889b39458
5 changed files with 10 additions and 45 deletions
|
@ -38,3 +38,12 @@ binder_call(edgetpu_app_server, edgetpu_vendor_server);
|
|||
|
||||
# Allow EdgeTPU service to log to stats service. (metrics)
|
||||
allow edgetpu_app_server fwk_stats_service:service_manager find;
|
||||
|
||||
# Allow mlock without size restriction
|
||||
allow edgetpu_app_server self:capability ipc_lock;
|
||||
|
||||
# Need to effectively read file mapped file when mmap + mlocked.
|
||||
allow edgetpu_app_server privapp_data_file:file { map read};
|
||||
|
||||
# For shell level testing of mlock
|
||||
allow edgetpu_app_server shell_data_file:file { map read};
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
/vendor/lib64/libmetrics_logger\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib64/libedgetpu_util\.so u:object_r:same_process_hal_file:s0
|
||||
# EdgeTPU runtime libraries
|
||||
/vendor/lib64/com\.google\.edgetpu_app_service-V[1-3]-ndk\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib64/com\.google\.edgetpu_app_service-V[1-4]-ndk\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib64/com\.google\.edgetpu_vendor_service-V[1-2]-ndk\.so u:object_r:same_process_hal_file:s0
|
||||
|
||||
# EdgeTPU data files
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gps/lsi/sepolicy
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/samsung_slsi/gps/s5400
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.location.gps.prebuilt.xml \
|
||||
gnssd \
|
||||
android.hardware.gnss-service \
|
||||
ca.pem \
|
||||
gnss_check.sh \
|
||||
kepler.bin
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_VENDOR_PROPERTIES += vendor.gps.aol.enabled=true
|
||||
endif
|
||||
|
||||
# Enable Pixel GNSS HAL
|
||||
include device/google/gs-common/gps/pixel/pixel_gnss_hal.mk
|
|
@ -1,10 +0,0 @@
|
|||
<compatibility-matrix version="1.0" type="framework" level="8">
|
||||
<hal format="aidl" optional="true">
|
||||
<name>android.hardware.gnss</name>
|
||||
<version>3</version>
|
||||
<interface>
|
||||
<name>IGnss</name>
|
||||
<instance>vendor</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</compatibility-matrix>
|
|
@ -1,15 +0,0 @@
|
|||
# Include this file to enable Pixel GNSS HAL
|
||||
|
||||
$(call soong_config_set, pixel_gnss, enable_pixel_gnss_aidl_service, true)
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gps/pixel/sepolicy
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.gnss-service.pixel
|
||||
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.gps.hal.service.name=vendor
|
||||
|
||||
# Compatibility matrix
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
|
||||
device/google/gs-common/gps/pixel/device_framework_matrix_product.xml
|
Loading…
Add table
Add a link
Reference in a new issue