博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
adb shell service 获取系统所有服务
阅读量:4147 次
发布时间:2019-05-25

本文共 1340 字,大约阅读时间需要 4 分钟。

1. 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. adb shell service list

列出系统所有的服务,但是这里不包含第三方应用的服务,例如我们可以导出文件查看

adb shell service list > C:\Users\fadi.su\Desktop\ListService.txt

Found 153 services:0   GpuAppSpectatorService: [com.mediatek.GpuAppSpectatorService]1   carrier_config: [com.android.internal.telephony.ICarrierConfigLoader]2   phoneEx: [com.mediatek.internal.telephony.IMtkTelephonyEx]3   phone: [com.android.internal.telephony.ITelephony]4   imtksms: [com.mediatek.internal.telephony.IMtkSms]5   iphonesubinfoEx: [com.mediatek.internal.telephony.IMtkPhoneSubInfoEx]6   mtksimphonebook: [com.mediatek.internal.telephony.phb.IMtkIccPhoneBook]7   isms: [com.android.internal.telephony.ISms]8   iphonesubinfo: [com.android.internal.telephony.IPhoneSubInfo]9   simphonebook: [com.android.internal.telephony.IIccPhoneBook]10  telecom: [com.android.internal.telecom.ITelecomService]

转载地址:http://twjti.baihongyu.com/

你可能感兴趣的文章
如何运行vue项目
查看>>
如何保证缓存与数据库的双写一致性?
查看>>
java ThreadLocal(应用场景及使用方式及原理)
查看>>
nohup命令及其输出文件
查看>>
lombok几个常用的注解
查看>>
一个关于mysql分页查询的存储过程写法
查看>>
一个关于mysql包含事务和异常处理的存储过程
查看>>
MySql数据查重、去重的实现
查看>>
Spring boot validation使用总结
查看>>
有return的情况下try catch finally的执行顺序
查看>>
一个简短的正则匹配double类型的数值
查看>>
jquery delegate事件的妙用
查看>>
eclipse 安装svn后 导出没有出现checkout as maven project
查看>>
java 文本转语音开发
查看>>
htmlunit爬虫案例
查看>>
bigdecimal使用问题
查看>>
string、stringbuilder,stringbuffer使用场合
查看>>
java Thread 关于调用interrupt后抛出InterruptedException异常的一点解读
查看>>
Jenkins服务器搭建(Linux环境)
查看>>
Jenkins插件依赖错误解决方法
查看>>