Modem ML: Add TFLiteService to device specific services.
Bug: 307449478 Change-Id: Idab76b6afc60dc76c196910376ea8d1fc980e749
This commit is contained in:
parent
7f202b2188
commit
be1d9ec9f4
2 changed files with 12 additions and 0 deletions
|
@ -970,6 +970,12 @@ 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 += \
|
||||||
|
|
|
@ -300,6 +300,12 @@
|
||||||
<item>com.bilibili.app.in:0.07</item>
|
<item>com.bilibili.app.in:0.07</item>
|
||||||
<item>com.twitter.android:0.07</item>
|
<item>com.twitter.android:0.07</item>
|
||||||
<item>com.google.android.youtube: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>
|
</string-array>
|
||||||
|
|
||||||
<!-- Pre-scale volume at volume step 1 for Absolute Volume -->
|
<!-- Pre-scale volume at volume step 1 for Absolute Volume -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue