Snap for 11545716 from 58afa7cdf4
to 24Q3-release
Change-Id: I67dc058662e21d84ae679a4033e912f40a0abf84
This commit is contained in:
commit
ab7ba327f1
6 changed files with 18 additions and 2 deletions
12
device.mk
12
device.mk
|
@ -966,13 +966,21 @@ PRODUCT_PACKAGES += modem_svc_sit
|
||||||
# modem_ml_svc_sit daemon
|
# modem_ml_svc_sit daemon
|
||||||
PRODUCT_PACKAGES += modem_ml_svc_sit
|
PRODUCT_PACKAGES += modem_ml_svc_sit
|
||||||
|
|
||||||
|
# Modem ML TFLite service.
|
||||||
|
PRODUCT_PACKAGES += modemml-tflite-service \
|
||||||
|
libtensorflowlite_jni
|
||||||
|
|
||||||
|
PRODUCT_SYSTEM_SERVER_JARS += modemml-tflite-service
|
||||||
|
|
||||||
# modem ML models configs
|
# modem ML models configs
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/zumapro/modem_ml/modem_ml_models_userdebug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf
|
device/google/zumapro/modem_ml/modem_ml_nnapi_models_userdebug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf \
|
||||||
|
device/google/zumapro/modem_ml/modem_ml_tflite_models_userdebug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_tflite_models.conf
|
||||||
else
|
else
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/zumapro/modem_ml/modem_ml_models_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf
|
device/google/zumapro/modem_ml/modem_ml_nnapi_models_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf \
|
||||||
|
device/google/zumapro/modem_ml/modem_ml_tflite_models_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_tflite_models.conf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# modem logging binary/configs
|
# modem logging binary/configs
|
||||||
|
|
1
modem_ml/modem_ml_tflite_models_user.conf
Normal file
1
modem_ml/modem_ml_tflite_models_user.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#name,version,ml_type,compute_enable,compute_timer,train_enable,train_timer,monitor_enable_monitor_timer,use_nnapi,execution_preference,accelerator_name,allow_fp16_precision
|
1
modem_ml/modem_ml_tflite_models_userdebug.conf
Normal file
1
modem_ml/modem_ml_tflite_models_userdebug.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#name,version,ml_type,compute_enable,compute_timer,train_enable,train_timer,monitor_enable_monitor_timer,use_nnapi,execution_preference,accelerator_name,allow_fp16_precision
|
|
@ -302,6 +302,12 @@
|
||||||
<item>com.google.android.youtube:0.07</item>
|
<item>com.google.android.youtube:0.07</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Class names of device-specific services inheriting com.android.server.SystemService. The
|
||||||
|
classes are instantiated in the order of the array. -->
|
||||||
|
<string-array translatable="false" name="config_deviceSpecificSystemServices">
|
||||||
|
<item>com.android.server.modemml.TFLiteService</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
<!-- Pre-scale volume at volume step 1 for Absolute Volume -->
|
<!-- Pre-scale volume at volume step 1 for Absolute Volume -->
|
||||||
<fraction name="config_prescaleAbsoluteVolume_index1">100%</fraction>
|
<fraction name="config_prescaleAbsoluteVolume_index1">100%</fraction>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue