adb 命令查看系统Service

1.查看帮助信息

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 查看Service列表

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. 检查Service是否存在

E:\adbTools>adb shell service check sip

Service sip: found

扩展阅读:adb命令进入recovery ... adb connect ... adb install r ... adb devices ... 安卓adb工具包下载 ... adb ... 电视盒子adb工具手机端 ... odbc sqlserver ... adb shell ...

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网