android – 限制`adb shell dumpsys alarm`的输出

我想使用adb shell dumpsys警报来调试我正在设置的一些警报但是它产生了大量的数据是否有任何方法可以将输出限制为某个应用程序?

我试过这个无济于事:adb shell dumpsys com.mypackage

解决方法

I want to use the adb shell dumpsys alarm to debug some alarms I’m setting but it is producing a huge amount of data is there any way to limit the output to just a certain app?

不,但是像grep和fgrep这样的命令行实用程序可以向您显示引用某些字符串的输出片段,例如您的包名称.

相关文章

Android 如何解决dialog弹出时无法捕捉Activity的back事件 在...
Android实现自定义带文字和图片的Button 在Android开发中经常...
Android 关于长按back键退出应用程序的实现最近在做一个Andr...
android自带的时间选择器只能精确到分,但是对于某些应用要求...