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
|
||||
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
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
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
|
||||
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
|
||||
|
||||
# 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
|
|
@ -300,6 +300,12 @@
|
|||
<item>com.bilibili.app.in:0.07</item>
|
||||
<item>com.twitter.android:0.07</item>
|
||||
<item>com.google.android.youtube:0.07</item>
|
||||
</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 -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue