Currently running services:
AAL
DockObserver
GbaService
GoogleOtaBinder
GpuAppSpectatorService
GuiExtService
NvRAMAgent
PQ
SunwaveFingerprintService
SurfaceFlinger
accessibility
account
activity
alarm
amigoserver
android.hardware.fingerprint.IFingerprintDaemon
android.hardware.fingerprint.IGoodixFingerprintDaemon
android.security.keystore
android.service.gatekeeper.IGateKeeperService
anrmanager
appops
appwidget
assetatlas
audio
backup
battery
batteryproperties
batterystats
bluetooth_manager
carrier_config
clipboard
commontime_management
connectivity
connectivity_metrics_logger
consumer_ir
content
contexthub_service
country_detector
cpuinfo
data_shaping
dbinfo
device_policy
deviceidle
devicestoragemonitor
diskstats
display
dns_listener
dreams
drm.drmManager
dropbox
ethernet
fingerprint
gfxinfo
gpu
graphicsstats
hardware_properties
imms
ims
input
input_method
iphonesubinfo
isms
isub
jobscheduler
launcherapps
location
lock_settings
media.VTS
media.audio_flinger
media.audio_policy
media.camera
media.camera.proxy
media.codec
media.drm
media.extractor
media.mmsdk
media.player
media.radio
media.resource_manager
media.sound_trigger_hw
media_projection
media_router
media_session
meminfo
midi
mount
mtk-perfservice
mtk.codecservice
netd
netpolicy
netstats
network_management
network_score
network_time_update_service
notification
otadexopt
package
permission
persistent_data_block
phone
phoneEx
pinner
power
processinfo
procstats
program_binary
recovery
restrictions
rttmanager
running_booster
samplingprofiler
scheduling_policy
search
search_engine
sensorservice
serial
servicediscovery
shortcut
simphonebook
soundtrigger
statusbar
telecom
telephony.registry
textservices
trust
uimode
updatelock
usagestats
usb
user
vibrator
voiceinteraction
vrmanager
wallpaper
webviewupdate
wfo
wifi
wifip2p
wifiscanner
window
2、打开某个服务的调试信息:
xxxxxx@xxxx:~$ adb shell dumpsys input_method -d
Input method manager service dump options:
[-d] [-h] [cmd] [option] ...
-d enable <zone> enable the debug zone
-d disable <zone> disable the debug zone
zone list:
0 : InputMethodManagerService
1 : InputMethodService
2 : InputMethodManager
-h print the dump usage
xxxxxx@xxxx:~$
即
adb shell dumpsys input_method -d enable 0 ===》打开InputMethodManagerService 的debug调试开关
adb shell dumpsys input_method -d enable 1===》打开InputMethodService 的debug调试开关
adb shell dumpsys input_method -d enable 2===》打开InputMethodManager的debug调试开关