summaryrefstree
path: root/system_ext/etc/init/dpmd.rc
blob: 4633e38b15ce14c4a5a9058a8995cb21b8547f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2018 - 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.

# Create the directories used by DPM subsystem

on post-fs-data
    mkdir /data/dpm 0771 system system
    chown system system /data/dpm

#start dpmd service
service dpmd /system/system_ext/bin/dpmd
    class late_start
    socket dpmd stream 660 root radio
    socket tcm  stream 660 root inet
    socket dpmwrapper stream 660 root inet
    group system readproc inet radio wakelock oem_2901
    disabled

on property:persist.vendor.dpm.feature=*
    start dpmd
on property:persist.vendor.dpm.feature=0
    stop dpmd