adb shell dumpsys activity service [包名].[Service类名]
如:
adb shell dumpsys activity service com.abc.yyy.xxService
就可以调用到方法:xxService.dump(FileDescriptor fd, PrintWriter pw, String[] args)
adb shell dumpsys activity service [包名].[Service类名]
如:
adb shell dumpsys activity service com.abc.yyy.xxService
就可以调用到方法:xxService.dump(FileDescriptor fd, PrintWriter pw, String[] args)