android cne service, adb command to view system Service

1. View help information

E:\adbTools>adb shell service

Usage: service [-h|-?]

service list

service check SERVICE

service call SERVICE CODE [i32 N | i64 N | f N | d N | s16 STR ]

Options:

i32: Write the 32-bit integer N into the send parcel.

i64: Write the 64-bit integer N into the send parcel.

f:  Write the 32-bit single-precision number N into the send parcel.

d:  Write the 64-bit double-precision number N into the send parcel.

s16: Write the UTF-16 string STR into the send parcel.

2 View service list

adb shell service list

E:\adbTools>adb shell service list

Found 133 services:

0      sip: [android.net.sip.ISipService]

1      qti.ims.ext: [org.codeaurora.ims.internal.IQtiImsExt]

2      carrier_config: [com.android.internal.telephony.ICarrierConfigLoader]

3 phone: [com.android.internal.telephony.ITelephony]

4      extphone: [org.codeaurora.internal.IExtTelephony]

5      isms: [com.android.internal.telephony.ISms]

6      iphonesubinfo: [com.android.internal.telephony.IPhoneSubInfo]

7      simphonebook: [com.android.internal.telephony.IIccPhoneBook]

8      telecom: [com.android.internal.telecom.ITelecomService]

9      sms-sec: [com.android.internal.telephony.ISmsSecurityService]

10      isub: [com.android.internal.telephony.ISub]

11 cneservice: [com.quicinc.cne.ICNEManager]

12      contexthub: [android.hardware.location.IContextHubService]

13      netd_listener: [android.net.metrics.INetdEventListener]

3. Check if Service exists

E:\adbTools>adb shell service check sip

Service sip: found

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=324127107&siteId=291194637