dumpsys

adb shell dumpsys window windows output describing

送分小仙女□ 提交于 2019-12-21 04:49:16
问题 I'm using appuim for interaction between my Android device and java code. And I faced with problem that on some kind of devices(including emulators) after pressing on Home button, appium return incorrect current activity (it returns previuos activity which is currently must be minimized). I found that appium used dumpsys window windows with grabbing mFocusedApp value for getting current app. I read another answers about getting Android current activities, and mostly it recommend to use: adb

dumpsys cpuinfo in Android: Interpreting the results of this command

强颜欢笑 提交于 2019-12-12 13:26:40
问题 I'm looking at the out of the following command "adb shell dumpsys cpuinfo" where I want to know if these reported values are averages over previous time ? D:\Android_Dev\Android_sdk\platform-tools>adb shell dumpsys cpuinfo Load: 4.03 / 3.43 / 2.44 CPU usage from 23770ms to 16630ms ago: 58% 1844/logd: 58% user + 0% kernel / faults: 3 minor 50% 3895/com.google.android.wearable.app:ui: 41% user + 9.3% kernel / faults: 1798 minor 26% 1864/adbd: 2.8% user + 23% kernel / faults: 1243 minor 22%

Android dumpsys meminfo “Swapped Dirty” coloumn meaning?

天大地大妈咪最大 提交于 2019-12-11 10:37:49
问题 There are many questions asked regarding output of the "adb shell dumpsys meminfo" like this one: adb shell dumpsys meminfo - What is the meaning of each cell of its output? And now we have this nice article describing types of memory allocations: https://developer.android.com/tools/debugging/debugging-memory.html And yet, there is no mentioning of "Swapped Dirty" type of memory allocation. What is this beast? AFAIK, Android does not swap dirty pages and yet sometimes I'll get non zero value

How to read Adb Dumpsys alarm output [duplicate]

给你一囗甜甜゛ 提交于 2019-12-04 05:13:17
问题 This question already has answers here : How to read “adb shell dumpsys alarm” output (3 answers) Closed 2 years ago . I'm setting multiple alarms on repeat through alarm manager, they are working fine on the day they got set but not repeating at all. I have updated my code but I can't wait all day to check if the code is even working or not so I have tried adb shell dumpsys alarm command but I don't know how to read the output properly and how to extract the times of alarms being set. I have

如何通过命令行查看Android手机的Activtiy堆栈信息和手机分辨率

落花浮王杯 提交于 2019-12-04 03:46:04
查看 activity 栈的状态: adb shell dumpsys activity Android has an interesting command called dumpsys to dump some system information. Even described on adb manual I think that some points should be reinforced. In order to get the complete status just run (will produce a large output): adb shell dumpsys 一些关键命令解释 名字 功能 account 显示accounts信息 activity 显示所有的activities的信息 cpuinfo 显示CPU信息 window 显示键盘,窗口和它们的关系 wifi 显示wifi信息 batteryinfo $package_name 电量信息及CPU 使用时长 package packagename 获取安装包信息 usagestats 每个界面启动的时间 statusbar 显示状态栏相关的信息 meminfo 内存信息(meminfo $package_name or $pid 使用程序的包名或者进程id显示内存信息) diskstats

adb shell dumpsys window windows output describing

南楼画角 提交于 2019-12-03 14:25:45
I'm using appuim for interaction between my Android device and java code. And I faced with problem that on some kind of devices(including emulators) after pressing on Home button, appium return incorrect current activity (it returns previuos activity which is currently must be minimized). I found that appium used dumpsys window windows with grabbing mFocusedApp value for getting current app. I read another answers about getting Android current activities, and mostly it recommend to use: adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'" That was the source of the problem,

adb shell command to check the apk is debug or release signed?

若如初见. 提交于 2019-12-01 19:55:04
How to check if apk is debug or release signed? Is there any direct adb command to verify apk signature? Tried the following dumpsys and aapt commands, but I am not able to find the exact flag adb shell dumpsys package <package name> aapt dump badging <apk file> How to find out the given apk is debug or release signed? How to know which builds (user, userdebug or eng) we can install this apk? Rohith Krishnan If you want to check whether the apk is debuggable use the below aapt command. aapt dump badging /path/to/apk | grep -c application-debuggable Outputs 1: Debuggable Outputs 0: Not

adb shell command to check the apk is debug or release signed?

不羁的心 提交于 2019-12-01 19:30:44
问题 How to check if apk is debug or release signed? Is there any direct adb command to verify apk signature? Tried the following dumpsys and aapt commands, but I am not able to find the exact flag adb shell dumpsys package <package name> aapt dump badging <apk file> How to find out the given apk is debug or release signed? How to know which builds (user, userdebug or eng) we can install this apk? 回答1: If you want to check whether the apk is debuggable use the below aapt command. aapt dump badging

interpreting dumpsys cpuinfo

ぐ巨炮叔叔 提交于 2019-11-29 16:10:06
问题 Im looking for an explanation of result of command "dumpsys cpuinfo" in android shell. :# dumpsys cpuinfo Load: 17.78 / 16.97 / 16.29 CPU usage from 35983ms to 21604ms ago: 97% 25268/com.firstprocess: 78% user + 19% kernel / faults: 19938 minor 36% 25680/com.secondprocess: 19% user + 17% kernel / faults: 950 minor 11% 25151/com.anotherprocess: 8.8% user + 2.4% kernel / faults: 13794 minor 6 major 18% 739/system_server: 13% user + 5.4% kernel / faults: 3803 minor 2 major 14% 1242/android