mondrianlte: add qmuxd & netmgrd service

This commit is contained in:
nyyu 2022-12-31 17:27:13 +01:00
parent 06235a1927
commit fd4352caa5
4 changed files with 26 additions and 0 deletions

View file

@ -29,6 +29,11 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml
# Ramdisk
PRODUCT_PACKAGES += \
qmuxd.rc \
netmgrd.rc
# Get non-open-source specific aspects # Get non-open-source specific aspects
$(call inherit-product, vendor/samsung/mondrianlte/mondrianlte-vendor.mk) $(call inherit-product, vendor/samsung/mondrianlte/mondrianlte-vendor.mk)

13
rootdir/Android.bp Normal file
View file

@ -0,0 +1,13 @@
prebuilt_etc {
name: "qmuxd.rc",
src: "etc/qmuxd.rc",
sub_dir: "init",
vendor: true,
}
prebuilt_etc {
name: "netmgrd.rc",
src: "etc/netmgrd.rc",
sub_dir: "init",
vendor: true,
}

4
rootdir/etc/netmgrd.rc Normal file
View file

@ -0,0 +1,4 @@
service vendor.netmgrd /vendor/bin/netmgrd
class core
user root
group radio readproc system wakelock oem_2950

4
rootdir/etc/qmuxd.rc Normal file
View file

@ -0,0 +1,4 @@
service vendor.qmuxd /vendor/bin/qmuxd
class core
user radio
group radio audio bluetooth gps oem_2950 log