dumpsys activity 命令的使用

输出ActivityManagerService调试信息:

dumpsys activity

ACTIVITY MANAGER PENDING INTENTS (dumpsys activity intents)
  * PendingIntentRecord{34e0c15b android broadcastIntent}
  * PendingIntentRecord{25fe3df8 android broadcastIntent}
  * PendingIntentRecord{9f222d1 android broadcastIntent}
  * PendingIntentRecord{15ab136 android broadcastIntent}
  * PendingIntentRecord{3b601837 com.rock_chips.rockchip_experience broadcastIntent}
  * PendingIntentRecord{d541a4 android broadcastIntent}
  * PendingIntentRecord{3da51b0d com.android.calendar broadcastIntent}
  * PendingIntentRecord{698aac2 com.android.deskclock broadcastIntent}
  * PendingIntentRecord{271400d3 com.android.providers.calendar broadcastIntent}
  * PendingIntentRecord{31f6d410 android broadcastIntent}
  * PendingIntentRecord{f155b09 android broadcastIntent}
  * PendingIntentRecord{1fcab10e android broadcastIntent}
  * PendingIntentRecord{a13d72f android broadcastIntent}
  * PendingIntentRecord{335d213c android startActivity}
  * PendingIntentRecord{2f2f9ec5 android broadcastIntent}
  * PendingIntentRecord{2b04d01a com.android.music broadcastIntent}
  * PendingIntentRecord{1690b74b android startActivity}
  * PendingIntentRecord{2791528 android broadcastIntent}
  * PendingIntentRecord{36f06241 com.rock_chips.rockchip_experience startActivity}
  * PendingIntentRecord{218fd3e6 android broadcastIntent}
  * PendingIntentRecord{26b17d27 android broadcastIntent}
  * PendingIntentRecord{de5bd4 android broadcastIntent}
  * PendingIntentRecord{389fe17d android broadcastIntent}
  * PendingIntentRecord{36754872 android broadcastIntent}
  * PendingIntentRecord{262ec4c3 android broadcastIntent}
  * PendingIntentRecord{33af6140 android startActivity}
  * PendingIntentRecord{28ce1879 android startActivity}
  * PendingIntentRecord{11cb79be com.android.providers.calendar broadcastIntent}
  * PendingIntentRecord{39aeea1f com.android.inputmethod.latin broadcastIntent}
  * PendingIntentRecord{dc9516c android broadcastIntent}
  * PendingIntentRecord{1b0ec335 android broadcastIntent}
  * PendingIntentRecord{34c173ca android broadcastIntent}

ACTIVITY MANAGER BROADCAST STATE (dumpsys activity broadcasts)
  Historical broadcasts [foreground]:
  #0: BroadcastRecord{3fe2093b u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #1: BroadcastRecord{30b01858 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #2: BroadcastRecord{e755db1 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #3: BroadcastRecord{126b0296 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #4: BroadcastRecord{85dfe17 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #5: BroadcastRecord{103a6204 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #6: BroadcastRecord{5d123ed u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #7: BroadcastRecord{294cb222 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #8: BroadcastRecord{1c3a64b3 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #9: BroadcastRecord{24fd9a70 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #10: BroadcastRecord{27a911e9 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #11: BroadcastRecord{29a7ce6e u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #12: BroadcastRecord{346c990f u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #13: BroadcastRecord{1979ed9c u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #14: BroadcastRecord{21f7e3a5 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #15: BroadcastRecord{3486637a u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #16: BroadcastRecord{39e3b72b u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #17: BroadcastRecord{1e064788 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #18: BroadcastRecord{da81521 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #19: BroadcastRecord{3f873d46 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #20: BroadcastRecord{2b649b07 u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #21: BroadcastRecord{f7c5434 u0 NextAlarmTracker.trigger}
    act=NextAlarmTracker.trigger flg=0x10000014 (has extras)
    extras: Bundle[{trigger=1562399228384, android.intent.extra.ALARM_COUNT=1}]
  #22: BroadcastRecord{dcfe25d u-1 android.intent.action.TIME_TICK}
    act=android.intent.action.TIME_TICK flg=0x50000014 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #23: BroadcastRecord{2969e7d2 u-1 android.intent.action.CONFIGURATION_CHANGED}
    act=android.intent.action.CONFIGURATION_CHANGED flg=0x70000010
  #24: BroadcastRecord{525e0a3 u0 NextAlarmTracker.trigger}
    act=NextAlarmTracker.trigger flg=0x10000014 (has extras)
    extras: Bundle[{trigger=1293883236579, android.intent.extra.ALARM_COUNT=1}]
  #25: BroadcastRecord{1ca47fa0 u-1 android.intent.action.USER_SWITCHED}
    act=android.intent.action.USER_SWITCHED flg=0x50000010 (has extras)
    extras: Bundle[{android.intent.extra.user_handle=0}]
  #26: BroadcastRecord{26ad4759 u0 android.intent.action.USER_STARTED}
    act=android.intent.action.USER_STARTED flg=0x50000010 (has extras)
    extras: Bundle[{android.intent.extra.user_handle=0}]
  #27: BroadcastRecord{b5aaf1e u0 android.hardware.usb.action.USB_DEVICE_ATTACHED}
    act=android.hardware.usb.action.USB_DEVICE_ATTACHED flg=0x10000010 (has extras)
    extras: Bundle[{device=UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=11388,mProductId=293,mClass=239,mSubclass=2,mProtocol=1,mManufacturerName=Android,mProductName=Android,mSerialNumber=null,mConfigurations=[
UsbConfiguration[mId=1,mName=null,mAttributes=160,mMaxPower=250,mInterfaces=[
UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=255,mSubclass=255,mProtocol=255,mEndpoints=[
UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=1,mAttributes=2,mMaxPacketSize=512,mInterval=0]]
UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=255,mSubclass=0,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=131,mAttributes=3,mMaxPacketSize=10,mInterval=9]
UsbEndpoint[mAddress=130,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=0]]
UsbInterface[mId=2,mAlternateSetting=0,mName=null,mClass=255,mSubclass=0,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=133,mAttributes=3,mMaxPacketSize=10,mInterval=9]
UsbEndpoint[mAddress=132,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=3,mAttributes=2,mMaxPacketSize=512,mInterval=0]]
UsbInterface[mId=3,mAlternateSetting=0,mName=null,mClass=255,mSubclass=0,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=135,mAttributes=3,mMaxPacketSize=10,mInterval=9]
UsbEndpoint[mAddress=134,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=4,mAttributes=2,mMaxPacketSize=512,mInterval=0]]
UsbInterface[mId=4,mAlternateSetting=0,mName=null,mClass=255,mSubclass=255,mProtocol=255,mEndpoints=[
UsbEndpoint[mAddress=137,mAttributes=3,mMaxPacketSize=8,mInterval=9]
UsbEndpoint[mAddress=136,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=5,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]]}]
  #28: BroadcastRecord{62be3ff u0 android.hardware.usb.action.USB_DEVICE_ATTACHED}
    act=android.hardware.usb.action.USB_DEVICE_ATTACHED flg=0x10000010 (has extras)
    extras: Bundle[{device=UsbDevice[mName=/dev/bus/usb/003/003,mVendorId=3034,mProductId=33106,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=Realtek,mProductName=USB 10/100 LAN,mSerialNumber=000000000000,mConfigurations=[
UsbConfiguration[mId=1,mName=null,mAttributes=160,mMaxPower=50,mInterfaces=[
UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=255,mSubclass=255,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=131,mAttributes=3,mMaxPacketSize=2,mInterval=8]]]
UsbConfiguration[mId=2,mName=null,mAttributes=160,mMaxPower=50,mInterfaces=[
UsbInterface[mId=0,mAlternateSetting=0,mName=CDC Communications Control,mClass=2,mSubclass=6,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=131,mAttributes=3,mMaxPacketSize=16,mInterval=8]]
UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=10,mSubclass=0,mProtocol=0,mEndpoints=[]
UsbInterface[mId=1,mAlternateSetting=1,mName=Ethernet Data,mClass=10,mSubclass=0,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]]}]
  #29: BroadcastRecord{1661f5cc u-1 android.intent.action.CONFIGURATION_CHANGED}
    act=android.intent.action.CONFIGURATION_CHANGED flg=0x70000010

  Historical broadcasts [background]:
  #0: BroadcastRecord{8620015 u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #1: BroadcastRecord{12fe9f2a u-1 android.hardware.usb.action.USB_STATE}
    act=android.hardware.usb.action.USB_STATE flg=0x20000010 (has extras)
    extras: Bundle[{connected=true, adb=true, mtp=true, configured=true}]
  #2: BroadcastRecord{2f64c11b u-1 android.hardware.usb.action.USB_STATE}
    act=android.hardware.usb.action.USB_STATE flg=0x20000010 (has extras)
    extras: Bundle[{connected=true, adb=true, mtp=true, configured=true}]
  #3: BroadcastRecord{169ea2b8 u-1 android.hardware.usb.action.USB_STATE}
    act=android.hardware.usb.action.USB_STATE flg=0x20000010 (has extras)
    extras: Bundle[{connected=true, adb=true, mtp=true, configured=false}]
  #4: BroadcastRecord{96f8891 u-1 android.hardware.usb.action.USB_STATE}
    act=android.hardware.usb.action.USB_STATE flg=0x20000010 (has extras)
    extras: Bundle[{connected=true, adb=true, mtp=true, configured=false}]
  #5: BroadcastRecord{313f83f6 u0 com.android.inputmethod.latin.personalization.DICT_DECAY}
    act=com.android.inputmethod.latin.personalization.DICT_DECAY flg=0x14 (has extras)
    targetComp: {com.android.inputmethod.latin/com.android.inputmethod.latin.personalization.DictionaryDecayBroadcastReciever}
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #6: BroadcastRecord{188453f7 u0 com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW}
    act=com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW flg=0x14 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #7: BroadcastRecord{29f73264 u0 android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED}
    act=android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED flg=0x14 pkg=android (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #8: BroadcastRecord{cf31ccd u0 com.android.deskclock.ON_QUARTER_HOUR}
    act=com.android.deskclock.ON_QUARTER_HOUR flg=0x14 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #9: BroadcastRecord{29d7e982 u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #10: BroadcastRecord{36a03893 u-1 android.intent.action.SERVICE_STATE}
    act=android.intent.action.SERVICE_STATE flg=0x10 (has extras)
    extras: Bundle[{radioTechnology=14, data-operator-alpha-long=CHINA MOBILE, operator-alpha-long=CHINA MOBILE, operator-numeric=46000, manual=false, cdmaDefaultRoamingIndicator=-1, cssIndicator=false, emergencyOnly=false, phone=0, subscription=1, data-operator-numeric=46000, dataRegState=0, dataRoamingType=0, voiceRegState=0, dataRadioTechnology=14, cdmaRoamingIndicator=-1, voiceRoamingType=0, data-operator-alpha-short=CMCC, systemId=-1, networkId=-1, operator-alpha-short=CMCC}]
  #11: BroadcastRecord{282710d0 u-1 android.intent.action.NETWORK_SET_TIMEZONE}
    act=android.intent.action.NETWORK_SET_TIMEZONE flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=64]
  #12: BroadcastRecord{10a1b8c9 u-1 android.intent.action.NETWORK_SET_TIMEZONE}
    act=android.intent.action.NETWORK_SET_TIMEZONE flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=64]
  #13: BroadcastRecord{f9f1bce u-1 android.intent.action.SERVICE_STATE}
    act=android.intent.action.SERVICE_STATE flg=0x10 (has extras)
    extras: Bundle[{radioTechnology=14, data-operator-alpha-long=CHINA MOBILE, operator-alpha-long=CHINA MOBILE, operator-numeric=null, manual=false, cdmaDefaultRoamingIndicator=-1, cssIndicator=false, emergencyOnly=false, phone=0, subscription=1, data-operator-numeric=null, dataRegState=0, dataRoamingType=0, voiceRegState=0, dataRadioTechnology=14, cdmaRoamingIndicator=-1, voiceRoamingType=0, data-operator-alpha-short=null, systemId=-1, networkId=-1, operator-alpha-short=null}]
  #14: BroadcastRecord{308bcaef u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #15: BroadcastRecord{273469fc u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #16: BroadcastRecord{1e841885 u-1 android.intent.action.SERVICE_STATE}
    act=android.intent.action.SERVICE_STATE flg=0x10 (has extras)
    extras: Bundle[{radioTechnology=14, data-operator-alpha-long=CHINA MOBILE, operator-alpha-long=CHINA MOBILE, operator-numeric=46000, manual=false, cdmaDefaultRoamingIndicator=-1, cssIndicator=false, emergencyOnly=false, phone=0, subscription=1, data-operator-numeric=46000, dataRegState=0, dataRoamingType=0, voiceRegState=0, dataRadioTechnology=14, cdmaRoamingIndicator=-1, voiceRoamingType=0, data-operator-alpha-short=CMCC, systemId=-1, networkId=-1, operator-alpha-short=CMCC}]
  #17: BroadcastRecord{399526da u-1 android.intent.action.NETWORK_SET_TIMEZONE}
    act=android.intent.action.NETWORK_SET_TIMEZONE flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=64]
  #18: BroadcastRecord{1cf4270b u-1 android.intent.action.NETWORK_SET_TIMEZONE}
    act=android.intent.action.NETWORK_SET_TIMEZONE flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=64]
  #19: BroadcastRecord{355c29e8 u-1 android.provider.Telephony.SPN_STRINGS_UPDATED}
    act=android.provider.Telephony.SPN_STRINGS_UPDATED flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=236]
  #20: BroadcastRecord{1e72b801 u-1 android.intent.action.SERVICE_STATE}
    act=android.intent.action.SERVICE_STATE flg=0x10 (has extras)
    extras: Bundle[{radioTechnology=14, data-operator-alpha-long=null, operator-alpha-long=null, operator-numeric=null, manual=false, cdmaDefaultRoamingIndicator=-1, cssIndicator=false, emergencyOnly=false, phone=0, subscription=1, data-operator-numeric=null, dataRegState=0, dataRoamingType=0, voiceRegState=0, dataRadioTechnology=14, cdmaRoamingIndicator=-1, voiceRoamingType=0, data-operator-alpha-short=null, systemId=-1, networkId=-1, operator-alpha-short=null}]
  #21: BroadcastRecord{3caed6a6 u-1 android.provider.Telephony.SPN_STRINGS_UPDATED}
    act=android.provider.Telephony.SPN_STRINGS_UPDATED flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=204]
  #22: BroadcastRecord{63c28e7 u-1 android.intent.action.SERVICE_STATE}
    act=android.intent.action.SERVICE_STATE flg=0x10 (has extras)
    extras: Bundle[{radioTechnology=14, data-operator-alpha-long=CHINA MOBILE, operator-alpha-long=CHINA MOBILE, operator-numeric=46000, manual=false, cdmaDefaultRoamingIndicator=-1, cssIndicator=false, emergencyOnly=false, phone=0, subscription=1, data-operator-numeric=46000, dataRegState=0, dataRoamingType=0, voiceRegState=0, dataRadioTechnology=14, cdmaRoamingIndicator=-1, voiceRoamingType=0, data-operator-alpha-short=CMCC, systemId=-1, networkId=-1, operator-alpha-short=CMCC}]
  #23: BroadcastRecord{5bdfc94 u-1 android.intent.action.NETWORK_SET_TIMEZONE}
    act=android.intent.action.NETWORK_SET_TIMEZONE flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=64]
  #24: BroadcastRecord{351d33d u-1 android.intent.action.NETWORK_SET_TIMEZONE}
    act=android.intent.action.NETWORK_SET_TIMEZONE flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=64]
  #25: BroadcastRecord{3661b732 u-1 android.provider.Telephony.SPN_STRINGS_UPDATED}
    act=android.provider.Telephony.SPN_STRINGS_UPDATED flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=236]
  #26: BroadcastRecord{10186c83 u-1 android.intent.action.SERVICE_STATE}
    act=android.intent.action.SERVICE_STATE flg=0x10 (has extras)
    extras: Bundle[{radioTechnology=14, data-operator-alpha-long=null, operator-alpha-long=null, operator-numeric=null, manual=false, cdmaDefaultRoamingIndicator=-1, cssIndicator=false, emergencyOnly=false, phone=0, subscription=1, data-operator-numeric=null, dataRegState=0, dataRoamingType=0, voiceRegState=0, dataRadioTechnology=14, cdmaRoamingIndicator=-1, voiceRoamingType=0, data-operator-alpha-short=null, systemId=-1, networkId=-1, operator-alpha-short=null}]
  #27: BroadcastRecord{3bc84e00 u-1 android.provider.Telephony.SPN_STRINGS_UPDATED}
    act=android.provider.Telephony.SPN_STRINGS_UPDATED flg=0x20000010 (has extras)
    extras: Bundle[mParcelledData.dataSize=204]
  #28: BroadcastRecord{100d6639 u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #29: BroadcastRecord{33f0147e u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #30: BroadcastRecord{1aeb4ddf u0 com.android.server.task.controllers.BatteryController.ACTION_CHARGING_STABLE}
    act=com.android.server.task.controllers.BatteryController.ACTION_CHARGING_STABLE flg=0x14 (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #31: BroadcastRecord{1644a2c u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #32: BroadcastRecord{30552cf5 u0 android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION}
    act=android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION flg=0x10 (has extras)
    extras: Bundle[mParcelledData.dataSize=200]
  #33: BroadcastRecord{274fa8a u0 android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED}
    act=android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED flg=0x14 pkg=android (has extras)
    extras: Bundle[{android.intent.extra.ALARM_COUNT=1}]
  #34: BroadcastRecord{e0e8fb u0 com.android.providers.calendar.intent.CalendarProvider2}
    act=com.android.providers.calendar.intent.CalendarProvider2 flg=0x14 (has extras)
    extras: Bundle[{removeAlarms=true, android.intent.extra.ALARM_COUNT=1}]
  #35: BroadcastRecord{13e1dd18 u-1 android.net.wifi.SCAN_RESULTS}
    act=android.net.wifi.SCAN_RESULTS flg=0x4000010
  #36: BroadcastRecord{2118a371 u0 com.android.providers.calendar.intent.CalendarProvider2}
    act=com.android.providers.calendar.intent.CalendarProvider2 flg=0x14 (has extras)
    extras: Bundle[{removeAlarms=true, android.intent.extra.ALARM_COUNT=1}]
  #37: BroadcastRecord{33b03556 u-1 android.intent.action.ANY_DATA_STATE}
    act=android.intent.action.ANY_DATA_STATE flg=0x10 (has extras)
    extras: Bundle[{reason=connected, apnType=default, apn=cmnet, state=DISCONNECTED, subscription=1}]
  #38: BroadcastRecord{8cb19d7 u-1 com.android.server.action.NETWORK_STATS_UPDATED}
    act=com.android.server.action.NETWORK_STATS_UPDATED flg=0x40000010
  #39: BroadcastRecord{33a3b2c4 u-1 com.android.server.action.NETWORK_STATS_UPDATED}
    act=com.android.server.action.NETWORK_STATS_UPDATED flg=0x40000010
  #40: BroadcastRecord{24c305ad u-1 com.android.server.action.NETWORK_STATS_UPDATED}
    act=com.android.server.action.NETWORK_STATS_UPDATED flg=0x40000010
  #41: BroadcastRecord{239250e2 u-1 android.intent.action.ANY_DATA_STATE}
    act=android.intent.action.ANY_DATA_STATE flg=0x10 (has extras)
    extras: Bundle[{reason=connected, apnType=default, apn=cmnet, state=DISCONNECTED, subscription=1}]
  #42: BroadcastRecord{2abd7c73 u-1 android.net.wifi.RSSI_CHANGED}
    act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras)
    extras: Bundle[{newRssi=-47}]
  #43: BroadcastRecord{228b3730 u-1 android.net.conn.CONNECTIVITY_CHANGE}
    act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras)
    extras: Bundle[{networkInfo=[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "jshdsdz2", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false], networkType=1, inetCondition=0, extraInfo="jshdsdz2"}]
  #44: BroadcastRecord{3f374fa9 u-1 android.net.conn.INET_CONDITION_ACTION}
    act=android.net.conn.INET_CONDITION_ACTION flg=0x4000010 (has extras)
    extras: Bundle[{networkInfo=[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "jshdsdz2", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false], networkType=1, inetCondition=100, extraInfo="jshdsdz2"}]
  #45: BroadcastRecord{a88992e u-1 android.net.conn.CONNECTIVITY_CHANGE}
    act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras)
    extras: Bundle[{networkInfo=[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "jshdsdz2", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false], networkType=1, inetCondition=0, extraInfo="jshdsdz2"}]
  #46: BroadcastRecord{2696ccf u-1 android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE}
    act=android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE flg=0x4000010 (has extras)
    extras: Bundle[{networkInfo=[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "jshdsdz2", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false], networkType=1, inetCondition=0, extraInfo="jshdsdz2"}]
  #47: BroadcastRecord{1d24965c u-1 com.android.server.action.NETWORK_STATS_UPDATED}
    act=com.android.server.action.NETWORK_STATS_UPDATED flg=0x40000010
  #48: BroadcastRecord{358c3d65 u-1 com.android.server.action.NETWORK_STATS_UPDATED}
    act=com.android.server.action.NETWORK_STATS_UPDATED flg=0x40000010
  #49: BroadcastRecord{28891a3a u-1 android.net.wifi.STATE_CHANGE}
    act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras)
    extras: Bundle[{networkInfo=[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "jshdsdz2", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false], wifiInfo=SSID: jshdsdz2, BSSID: 1c:60:de:c5:82:ae, MAC: 18:c8:e7:27:4a:f9, Supplicant state: COMPLETED, RSSI: -48, Link speed: 150Mbps, Frequency: 2412MHz, Net ID: 0, Metered hint: false, score: 60, linkProperties={InterfaceName: wlan0 LinkAddresses: [fe80::1ac8:e7ff:fe27:4af9/64,192.168.7.74/24,]  Routes: [fe80::/64 -> :: wlan0,192.168.7.0/24 -> 0.0.0.0 wlan0,0.0.0.0/0 -> 192.168.7.1 wlan0,] DnsAddresses: [192.168.7.1,] Domains:  MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576}, bssid=1c:60:de:c5:82:ae}]
  ...

  Sticky broadcasts for user -1:
  * Sticky action android.intent.action.SERVICE_STATE
  * Sticky action android.intent.action.ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED
  * Sticky action android.net.wifi.WIFI_STATE_CHANGED
  * Sticky action android.net.wifi.p2p.CONNECTION_STATE_CHANGE
  * Sticky action android.net.conn.TETHER_STATE_CHANGED
  * Sticky action android.media.ACTION_SCO_AUDIO_STATE_UPDATED
  * Sticky action android.intent.action.NETWORK_SET_TIME
  * Sticky action android.net.wifi.p2p.THIS_DEVICE_CHANGED
  * Sticky action android.intent.action.BATTERY_CHANGED
  * Sticky action android.intent.action.ACTION_DEFAULT_SUBSCRIPTION_CHANGED
  * Sticky action android.intent.action.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED
  * Sticky action android.intent.action.NETWORK_SET_TIMEZONE
  * Sticky action android.net.conn.CONNECTIVITY_CHANGE
  * Sticky action android.intent.action.ANY_DATA_STATE
  * Sticky action android.provider.Telephony.SPN_STRINGS_UPDATED
  * Sticky action android.net.ethernet.ETHERNET_STATE_CHANGED
  * Sticky action android.net.nsd.STATE_CHANGED
  * Sticky action android.hardware.usb.action.USB_STATE
  * Sticky action android.net.wifi.RSSI_CHANGED
  * Sticky action android.net.wifi.STATE_CHANGE
  * Sticky action android.intent.action.SIM_STATE_CHANGED
  * Sticky action android.intent.action.SIG_STR
  * Sticky action android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED
  * Sticky action android.media.INTERNAL_RINGER_MODE_CHANGED_ACTION
  * Sticky action android.net.wifi.supplicant.STATE_CHANGE
  * Sticky action android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED
  * Sticky action android.net.conn.INET_CONDITION_ACTION
  * Sticky action android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE
  * Sticky action android.media.SCO_AUDIO_STATE_CHANGED
  * Sticky action android.os.UpdateLock.UPDATE_LOCK_CHANGED
  * Sticky action android.intent.action.internal_sim_state_changed
  * Sticky action android.media.MASTER_MUTE_CHANGED_ACTION
  * Sticky action wifi_scan_available
  * Sticky action android.net.wifi.p2p.STATE_CHANGED
  * Sticky action android.intent.action.HDMI_PLUGGED
  * Sticky action android.media.RINGER_MODE_CHANGED

  Sticky broadcasts for user 0:
  * Sticky action com.android.music.queuechanged
  * Sticky action com.android.music.metachanged
  * Sticky action com.android.launcher3.SYSTEM_READY

ACTIVITY MANAGER CONTENT PROVIDERS (dumpsys activity providers)
  Published single-user content providers (by class):
  * ContentProviderRecord{b3a06eb u0 com.android.providers.telephony/.TelephonyProvider}
    proc=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    singleton=true
    authority=telephony
  * ContentProviderRecord{3a92bc48 u0 com.android.providers.telephony/.HbpcdLookupProvider}
    proc=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    singleton=true
    authority=hbpcd_lookup
  * ContentProviderRecord{d884ae1 u0 com.android.providers.settings/.SettingsProvider}
    proc=ProcessRecord{eb9a720 469:system/1000}
    singleton=true
    authority=settings
    6 connections, 0 external handles
      -> 602:com.android.systemui/u0a13 s1/1 u0/0 +21m43s739ms
      -> 698:com.android.inputmethod.latin/u0a31 s1/1 u0/0 +21m43s86ms
      -> 841:com.android.phone/1001 s1/1 u0/0 +21m42s994ms
      -> 868:com.android.launcher3/u0a32 s1/1 u0/0 +21m42s979ms
      -> 564:android.process.media/u0a4 s1/1 u0/0 +21m39s156ms
      -> 1189:com.android.settings/1000 s1/1 u0/0 +21m39s134ms
  * ContentProviderRecord{14dea006 u0 com.android.providers.telephony/.MmsProvider}
    proc=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    singleton=true
    authority=mms
  * ContentProviderRecord{23026c7 u0 com.android.providers.telephony/.MmsSmsProvider}
    proc=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    singleton=true
    authority=mms-sms
  * ContentProviderRecord{1f3b54f4 u0 com.android.providers.telephony/.SmsProvider}
    proc=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    singleton=true
    authority=sms

  Published user 0 content providers (by class):
  * ContentProviderRecord{8ddb41d u0 com.android.providers.downloads/.DownloadProvider}
    proc=ProcessRecord{383276b 564:android.process.media/u0a4}
    authority=downloads
  * ContentProviderRecord{3eb4b692 u0 com.android.inputmethod.latin/com.android.inputmethod.dictionarypack.DictionaryProvider}
    proc=ProcessRecord{97e6863 698:com.android.inputmethod.latin/u0a31}
    authority=com.android.inputmethod.dictionarypack.aosp
  * ContentProviderRecord{2e32cc60 u0 com.android.providers.contacts/.CallLogProvider}
    proc=ProcessRecord{18267519 907:android.process.acore/u0a2}
    launchingApp=ProcessRecord{18267519 907:android.process.acore/u0a2}
    authority=call_log
  * ContentProviderRecord{2a63a9de u0 com.android.phone/.IccProvider}
    proc=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    authority=icc
  * ContentProviderRecord{29e527bf u0 com.android.settings/android.support.v4.content.FileProvider}
    proc=ProcessRecord{25684e8c 1189:com.android.settings/1000}
    authority=com.android.settings.files
  * ContentProviderRecord{1a049d5 u0 com.android.systemui/.statusbar.oswin.data.AppContentProvider}
    proc=ProcessRecord{22f05d6a 602:com.android.systemui/u0a13}
    authority=com.android.systemui.data.appprovider
  * ContentProviderRecord{377c85ea u0 com.android.settings/.search.SettingsSearchIndexablesProvider}
    proc=ProcessRecord{25684e8c 1189:com.android.settings/1000}
    authority=com.android.settings
  * ContentProviderRecord{dce80db u0 com.android.providers.media/.MediaProvider}
    proc=ProcessRecord{383276b 564:android.process.media/u0a4}
    authority=media
  * ContentProviderRecord{1091c778 u0 com.android.providers.contacts/.debug.DumpFileProvider}
    proc=ProcessRecord{18267519 907:android.process.acore/u0a2}
    authority=com.android.contacts.dumpfile
  * ContentProviderRecord{37a8ae51 u0 com.android.providers.contacts/.VoicemailContentProvider}
    proc=ProcessRecord{18267519 907:android.process.acore/u0a2}
    authority=com.android.voicemail
  * ContentProviderRecord{3b9516b6 u0 com.android.deskclock/.provider.ClockProvider}
    proc=ProcessRecord{122a4fb7 1076:com.android.deskclock/u0a23}
    authority=com.android.deskclock
  * ContentProviderRecord{3ed7e324 u0 com.android.providers.userdictionary/.UserDictionaryProvider}
    proc=ProcessRecord{18267519 907:android.process.acore/u0a2}
    launchingApp=ProcessRecord{18267519 907:android.process.acore/u0a2}
    authority=user_dictionary
  * ContentProviderRecord{1af8de8d u0 com.android.providers.calendar/.CalendarProvider2}
    proc=ProcessRecord{3dd3e842 1095:com.android.providers.calendar/u0a1}
    launchingApp=ProcessRecord{3dd3e842 1095:com.android.providers.calendar/u0a1}
    authority=com.android.calendar
  * ContentProviderRecord{90a3053 u0 com.android.calendar/.CalendarRecentSuggestionsProvider}
    proc=ProcessRecord{27420d90 1051:com.android.calendar/u0a19}
    authority=com.android.calendar.CalendarRecentSuggestionsProvider
  * ContentProviderRecord{24a1d689 u0 com.android.externalstorage/.ExternalStorageProvider}
    proc=ProcessRecord{1f3c468e 784:com.android.externalstorage/u0a5}
    authority=com.android.externalstorage.documents
  * ContentProviderRecord{9fd7eaf u0 com.android.phone/.PhoneSearchIndexablesProvider}
    proc=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    authority=com.android.phone
  * ContentProviderRecord{27e272bc u0 com.android.settings/.pppoe.PppoeAccountsContentProvider}
    proc=ProcessRecord{25684e8c 1189:com.android.settings/1000}
    authority=pppoe
  * ContentProviderRecord{33c85245 u0 com.android.providers.contacts/.ContactsProvider2}
    proc=ProcessRecord{18267519 907:android.process.acore/u0a2}
    authority=contacts;com.android.contacts
  * ContentProviderRecord{3d025d0c u0 com.android.launcher3/.LauncherProvider}
    proc=ProcessRecord{35a37655 868:com.android.launcher3/u0a32}
    authority=com.android.launcher3.settings
  * ContentProviderRecord{3bba3d9a u0 com.android.providers.downloads/.DownloadStorageProvider}
    proc=ProcessRecord{383276b 564:android.process.media/u0a4}
    authority=com.android.providers.downloads.documents
  * ContentProviderRecord{2c2d56cb u0 com.android.providers.media/.MediaDocumentsProvider}
    proc=ProcessRecord{383276b 564:android.process.media/u0a4}
    authority=com.android.providers.media.documents

ACTIVITY MANAGER SERVICES (dumpsys activity services)
  User 0 active services:
  * ServiceRecord{bc1fea8 u0 com.android.bluetooth/.hid.HidService}
    app=null
    created=-21m41s719ms started=false connections=1
    Connections:
      act=android.bluetooth.IBluetoothInputDevice -> 602:com.android.systemui/u0a13
  * ServiceRecord{3127db4e u0 com.android.systemui/.keyguard.KeyguardService}
    app=ProcessRecord{22f05d6a 602:com.android.systemui/u0a13}
    created=-21m42s599ms started=false connections=1
    Connections:
       -> 469:system/1000
  * ServiceRecord{6b210e4 u0 com.rock_chips.rockchip_experience/.OnlineRuPkgService}
    app=ProcessRecord{3b20cdc1 1258:com.rock_chips.rockchip_experience/u0a11}
    created=-21m39s146ms started=true connections=0
  * ServiceRecord{a434ef9 u0 com.android.systemui/.ImageWallpaper}
    app=ProcessRecord{22f05d6a 602:com.android.systemui/u0a13}
    created=-21m43s662ms started=false connections=1
    Connections:
      act=android.service.wallpaper.WallpaperService -> 469:system/1000
  * ServiceRecord{b84baf0 u0 com.android.inputmethod.latin/.LatinIME}
    app=ProcessRecord{97e6863 698:com.android.inputmethod.latin/u0a31}
    created=-21m43s652ms started=false connections=1
    Connections:
      act=android.view.InputMethod -> 469:system/1000
  * ServiceRecord{26a58913 u0 android.rockchip.update.service/.RKUpdateService}
    app=ProcessRecord{fee9966 747:android.rockchip.update.service/u0a45}
    created=-21m39s106ms started=true connections=0
  * ServiceRecord{5f3375f u0 com.hsdz.systemcontroler/.SystemControlerService}
    app=ProcessRecord{63894a7 1025:com.hsdz.systemcontroler/1000}
    created=-21m46s201ms started=false connections=1
    Connections:
      act=android.intent.action.jshsdz.SYSTEMCTRL -> 469:system/1000
  * ServiceRecord{38c5d54 u0 com.android.bluetooth/.a2dp.A2dpService}
    app=null
    created=-21m43s667ms started=false connections=2
    Connections:
      act=android.bluetooth.IBluetoothA2dp -> 602:com.android.systemui/u0a13
      act=android.bluetooth.IBluetoothA2dp -> 469:system/1000
  * ServiceRecord{2ddeb8be u0 com.android.systemui/.SystemUIService}
    app=ProcessRecord{22f05d6a 602:com.android.systemui/u0a13}
    created=-21m43s951ms started=true connections=0
  * ServiceRecord{ccd3602 u0 android/.hardware.location.GeofenceHardwareService}
    app=ProcessRecord{eb9a720 469:system/1000}
    created=-21m43s390ms started=false connections=1
    Connections:
       -> 469:system/1000
  * ServiceRecord{3eaacc1f u0 com.android.server.telecom/.BluetoothPhoneService}
    app=ProcessRecord{eb9a720 469:system/1000}
    created=-21m43s83ms started=true connections=0
  * ServiceRecord{3ab86cba u0 com.android.providers.media/.MtpService}
    app=ProcessRecord{383276b 564:android.process.media/u0a4}
    created=-4m5s512ms started=true connections=1
    Connections:
       -> 564:android.process.media/u0a4
  * ServiceRecord{1dbbfb2d u0 com.hsdz.systemcontroler/.SystemInfoService}
    app=ProcessRecord{63894a7 1025:com.hsdz.systemcontroler/1000}
    created=-21m42s184ms started=true connections=0
  * ServiceRecord{22325f69 u0 com.android.smspush/.WapPushManager}
    app=ProcessRecord{a2b84fd 976:com.android.smspush/u0a50}
    created=-21m42s734ms started=false connections=2
    Connections:
      act=com.android.internal.telephony.IWapPushManager -> 841:com.android.phone/1001
      act=com.android.internal.telephony.IWapPushManager -> 841:com.android.phone/1001
  * ServiceRecord{3d74c020 u0 com.android.location.fused/.FusedLocationService}
    app=ProcessRecord{eb9a720 469:system/1000}
    created=-21m43s394ms started=false connections=1
    Connections:
      act=com.android.location.service.FusedLocationProvider pkg=com.android.location.fused -> 469:system/1000
  * ServiceRecord{192bb102 u0 com.android.phone/.TelephonyDebugService}
    app=ProcessRecord{1eb53cec 841:com.android.phone/1001}
    created=-21m42s602ms started=true connections=0
  * ServiceRecord{3eeb67c3 u0 com.android.server.telecom/.TelecomService}
    app=ProcessRecord{eb9a720 469:system/1000}
    created=-21m44s77ms started=false connections=1
    Connections:
      act=com.android.ITelecomService -> 469:system/1000
  * ServiceRecord{2fbae5f2 u0 com.android.bluetooth/.pan.PanService}
    app=null
    created=-21m41s715ms started=false connections=1
    Connections:
      act=android.bluetooth.IBluetoothPan -> 602:com.android.systemui/u0a13

ACTIVITY MANAGER RECENT TASKS (dumpsys activity recents)
  Recent tasks:
  * Recent #0: TaskRecord{3f65786a #207 A=com.android.launcher3 U=0 sz=1}
  * Recent #1: TaskRecord{fcfd443 #206 A=com.ansondroider.factorytest U=0 sz=0}
  * Recent #2: TaskRecord{3cfbfac0 #31 A=com.android.gallery3d U=0 sz=0}
  * Recent #3: TaskRecord{2e3073f9 #11 A=com.ansondroider.ocrservice U=0 sz=0}
  * Recent #4: TaskRecord{198d6f3e #188 A=com.android.settings U=0 sz=0}
  * Recent #5: TaskRecord{111719f #190 A=pl.solidexplorer2 U=0 sz=0}

ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
  Stack #0:
    Task id #207
      TaskRecord{3f65786a #207 A=com.android.launcher3 U=0 sz=1}
      Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher3/.Launcher }
        Hist #0: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}
          Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher3/.Launcher }
          ProcessRecord{35a37655 868:com.android.launcher3/u0a32}

    Running activities (most recent first):
      TaskRecord{3f65786a #207 A=com.android.launcher3 U=0 sz=1}
        Run #0: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}

    mResumedActivity: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}
Display #1 (activities from top to bottom):

  mFocusedActivity: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}
  mFocusedStack=ActivityStack{50602ec stackId=0, 1 tasks} mLastFocusedStack=ActivityStack{50602ec stackId=0, 1 tasks}
  mSleepTimeout=false
  mCurTaskId=207
  mUserStackInFront={}
  mActivityContainers={0=ActivtyContainer{0}A, 1=ActivtyContainer{1}A}

ACTIVITY MANAGER RUNNING PROCESSES (dumpsys activity processes)
  Isolated process list (sorted by uid):
    Isolated # 0: ProcessRecord{26fb56b5 583:WebViewLoader-armeabi-v7a/1037}

  Process LRU list (sorted by oom_adj, 24 total, non-act at 0, non-svc at 0):
    PERS #23: sys   F/ /P  trm: 0 469:system/1000 (fixed)
    PERS #22: pers  F/ /P  trm: 0 564:android.process.media/u0a4 (fixed)
    PERS #21: pers  F/ /P  trm: 0 602:com.android.systemui/u0a13 (fixed)
    PERS #20: pers  F/ /P  trm: 0 698:com.android.inputmethod.latin/u0a31 (fixed)
    PERS #18: pers  F/ /P  trm: 0 819:com.cghs.stresstest/1000 (fixed)
    PERS #17: pers  F/ /P  trm: 0 841:com.android.phone/1001 (fixed)
    Proc #16: fore  F/A/T  trm: 0 868:com.android.launcher3/u0a32 (top-activity)
    Proc #14: vis   F/ /IF trm: 0 976:com.android.smspush/u0a50 (service)
        com.android.smspush/.WapPushManager<=Proc{841:com.android.phone/1001}
    Proc #11: vis   F/ /IF trm: 0 1025:com.hsdz.systemcontroler/1000 (service)
        com.hsdz.systemcontroler/.SystemControlerService<=Proc{469:system/1000}
    Proc # 0: svc   B/ /S  trm: 0 747:android.rockchip.update.service/u0a45 (started-services)
    Proc # 5: svcb  B/ /S  trm: 0 1258:com.rock_chips.rockchip_experience/u0a11 (started-services)
    Proc # 4: cch   B/ /CE trm: 0 886:com.android.printspooler/u0a43 (cch-empty)
    Proc # 3: cch   B/ /CE trm: 0 1095:com.android.providers.calendar/u0a1 (cch-empty)
    Proc # 2: cch   B/ /CE trm: 0 1399:com.android.musicfx/u0a7 (cch-empty)
    Proc # 1: cch   B/ /CE trm: 0 1076:com.android.deskclock/u0a23 (cch-empty)
    Proc # 9: cch+2 B/ /CE trm: 0 1238:com.android.onetimeinitializer/u0a8 (cch-empty)
    Proc # 8: cch+2 B/ /CE trm: 0 1189:com.android.settings/1000 (cch-empty)
    Proc # 7: cch+2 B/ /CE trm: 0 1288:com.ansondroider.factorytest/1000 (cch-empty)
    Proc # 6: cch+2 B/ /CE trm: 0 1051:com.android.calendar/u0a19 (cch-empty)
    Proc #15: cch+4 B/ /CE trm: 0 944:com.android.music/u0a36 (cch-empty)
    Proc #13: cch+4 B/ /CE trm: 0 907:android.process.acore/u0a2 (cch-empty)
    Proc #12: cch+4 B/ /CE trm: 0 1157:com.android.keychain/1000 (cch-empty)
    Proc #10: cch+4 B/ /CE trm: 0 1215:com.android.managedprovisioning/u0a6 (cch-empty)
    Proc #19: cch+6 B/ /CE trm: 0 784:com.android.externalstorage/u0a5 (cch-empty)

  mStartedUsers:
    User #0: mState=RUNNING
  mStartedUserArray: [0]
  mUserLru: [0]
  mHomeProcess: ProcessRecord{35a37655 868:com.android.launcher3/u0a32}
  mConfiguration: {1.0 multiwindowflag=DISABLE dualscreenflag=DISABLE 460mcc4mnc zh_CN ?layoutDir sw811dp w1442dp h738dp 213dpi xlrg long land finger -keyb/v/h -nav/h s.5}
  mWakefulness=Awake
  mSleeping=false mLockScreenShown=LOCK_SCREEN_HIDDEN
  mShuttingDown=false mRunningVoice=false mTestPssMode=false

输出指定Activity View Hierarchy(View的层级信息):

可传入包名作为参数, dumpsys activity -p com.android.launcher3
也可使用top作为参数, dumpsys activity top
有个前提是要先运行指定APP

ACTIVITY MANAGER PENDING INTENTS (dumpsys activity intents)
  (nothing)

ACTIVITY MANAGER BROADCAST STATE (dumpsys activity broadcasts)
  (nothing)

ACTIVITY MANAGER CONTENT PROVIDERS (dumpsys activity providers)
  Published user 0 content providers (by class):
  * ContentProviderRecord{3d025d0c u0 com.android.launcher3/.LauncherProvider}
    proc=ProcessRecord{35a37655 868:com.android.launcher3/u0a32}
    authority=com.android.launcher3.settings

ACTIVITY MANAGER SERVICES (dumpsys activity services)
  (nothing)

ACTIVITY MANAGER RECENT TASKS (dumpsys activity recents)
  (nothing)

ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
  Stack #0:
    Task id #207
      TaskRecord{3f65786a #207 A=com.android.launcher3 U=0 sz=1}
      Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher3/.Launcher }
        Hist #0: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}
          Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher3/.Launcher }
          ProcessRecord{35a37655 868:com.android.launcher3/u0a32}
          Local Activity 39a7f2a4 State:
            mResumed=true mStopped=false mFinished=false
            mLoadersStarted=true
            mChangingConfigurations=false
            mCurrentConfig={1.0 multiwindowflag=DISABLE dualscreenflag=DISABLE 460mcc4mnc zh_CN ?layoutDir sw811dp w1442dp h738dp 213dpi xlrg long land finger -keyb/v/h -nav/h s.5}
          FragmentManager misc state:
            mActivity=com.android.launcher3.Launcher@39a7f2a4
            mContainer=android.app.Activity$1@388544ce
            mCurState=5 mStateSaved=false mDestroyed=false
          ViewRoot:
            mAdded=true mRemoved=false
            mConsumeBatchedInputScheduled=false
            mConsumeBatchedInputImmediatelyScheduled=false
            mPendingInputEventCount=0
            mProcessInputEventsScheduled=false
            mTraversalScheduled=false
            android.view.ViewRootImpl$NativePreImeInputStage: mQueueLength=0
            android.view.ViewRootImpl$ImeInputStage: mQueueLength=0
            android.view.ViewRootImpl$NativePostImeInputStage: mQueueLength=0
          Choreographer:
            mFrameScheduled=false
            mLastFrameTime=21482 (1068727 ms ago)
          View Hierarchy:
            com.android.internal.policy.impl.PhoneWindow$DecorView{31093fef V.E..... R.....I. 0,0-1920,1080}
              android.widget.FrameLayout{3b1a0035 V.E..... ......I. 0,0-1920,1080}
                android.widget.FrameLayout{1837626c V.E..... ......I. 0,0-1920,1080 #1020002 android:id/content}
                  com.android.launcher3.LauncherRootView{29b69f1f V.E..... ......I. 0,0-1920,1080 #7f110010 app:id/launcher}
                    com.android.launcher3.DragLayer{24fce2be V.E..... ......I. 0,0-1920,1080 #7f110011 app:id/drag_layer}
                      com.android.launcher3.FocusIndicatorView{14453afc V.ED.... ........ 0,33-69,102 #7f110012 app:id/focus_indicator}
                      com.android.launcher3.Workspace{145b1585 V.ED...L ........ -2130,-2550-4051,3631 #7f110013 app:id/workspace}
                        com.android.launcher3.CellLayout{1534dfda V.ED..CL ........ 2460,2690-3720,3406}
                          com.android.launcher3.FastBitmapView{2053ec0b V.ED.... ........ 0,0-1260,716}
                          com.android.launcher3.ShortcutAndWidgetContainer{31290ae8 V.E..... ........ 0,0-1260,716}
                            com.android.launcher3.BubbleTextView{73c8501 VFED..CL ........ 0,0-210,143 #4}
                            com.android.launcher3.BubbleTextView{25111fa6 VFED..CL ........ 210,429-420,572 #5}
                            com.android.launcher3.BubbleTextView{20533de7 VFED..CL ........ 420,429-630,572 #6}
                      com.android.launcher3.Hotseat{27f7ed94 V.E..... ........ 0,883-1920,1016 #7f110015 app:id/hotseat}
                        com.android.launcher3.CellLayout{236b703d V.ED...L ........ 338,0-1582,117 #7f11000f app:id/layout}
                          com.android.launcher3.FastBitmapView{1d1f9032 V.ED.... ........ 3,0-1247,117}
                          com.android.launcher3.ShortcutAndWidgetContainer{3d0bd183 V.E..... ........ 3,0-1247,117}
                            android.widget.TextView{26304f00 VFED..C. ........ 531,0-708,117}
                            com.android.launcher3.BubbleTextView{14a3d339 VFED..CL ........ 177,0-354,117 #1}
                            com.android.launcher3.BubbleTextView{b327d7e VFED..CL ........ 354,0-531,117 #2}
                            com.android.launcher3.BubbleTextView{343002df VFED..CL ........ 885,0-1062,117 #3}
                      com.android.launcher3.SearchDropTargetBar{30cb5b2c V.E..... ........ 627,33-1293,140 #7f110017 app:id/search_drop_target_bar}
                        android.widget.LinearLayout{2c6569f5 V.E..... ........ 0,0-666,107 #7f11002b app:id/drag_target_bar}
                          android.widget.FrameLayout{35f4f38a V.E..... ........ 0,0-333,107}
                            com.android.launcher3.DeleteDropTarget{23bedfb V.ED.... ........ 39,0-294,107 #7f11002c app:id/delete_target_text}
                          android.widget.FrameLayout{128fe18 V.E..... ........ 333,0-666,107}
                            com.android.launcher3.InfoDropTarget{1a6fb071 V.ED.... ........ 18,0-315,107 #7f11002d app:id/info_target_text}
                      android.widget.LinearLayout{31b6be56 G.E..... ......I. 0,0-0,0 #7f110016 app:id/overview_panel}
                        android.widget.TextView{25516ed7 V.ED..C. ......ID 0,0-0,0 #7f110024 app:id/wallpaper_button}
                        android.widget.TextView{4bbe3c4 V.ED..C. ......ID 0,0-0,0 #7f110025 app:id/widget_button}
                        android.widget.TextView{30fde2ad G.ED.... ......ID 0,0-0,0 #7f110026 app:id/settings_button}
                      com.android.launcher3.PageIndicator{6ae6240 V.E..... ........ 949,862-970,883 #7f110014 app:id/page_indicator}
                        com.android.launcher3.PageIndicatorMarker{36399304 V.E..... ........ 0,0-21,21}
                          android.widget.ImageView{35f869e2 V.ED.... ........ 0,0-21,21 #7f110027 app:id/inactive}
                          android.widget.ImageView{31d42173 V.ED.... ........ 0,0-21,21 #7f110028 app:id/active}
                      com.android.launcher3.AppsCustomizeTabHost{2b757830 I.E..... ......ID 0,0-1920,1080 #7f110018 app:id/apps_customize_pane}
                        android.widget.LinearLayout{30c2fca9 V.E..... ......ID 0,33-1920,1016 #7f110002 app:id/content}
                          android.widget.FrameLayout{3fb7422e V.E..... ......ID 0,0-1920,956}
                            android.widget.FrameLayout{14c561cf V.E..... ......ID 0,0-1920,956 #7f110003 app:id/fake_page_container}
                              android.widget.FrameLayout{30f1e75c I.E..... ......I. 111,0-1809,956 #7f110004 app:id/fake_page}
                            com.android.launcher3.AppsCustomizePagedView{18a5ba65 V.E..... ......ID 0,0-1920,956 #7f110005 app:id/apps_customize_pane_content}
                              com.android.launcher3.AppsCustomizeCellLayout{c79533a V.ED.... ......ID 111,0-1809,956}
                                com.android.launcher3.FocusIndicatorView{1fe04beb V.ED.... ......ID 18,14-1716,970}
                                com.android.launcher3.FastBitmapView{c641d48 V.ED.... ......ID 18,14-1716,970}
                                com.android.launcher3.ShortcutAndWidgetContainer{353c97e1 V.E..... ......ID 18,14-1716,970}
                                  com.android.launcher3.BubbleTextView{3a196906 VFED..CL ......ID 0,0-277,184 #0}
                                  com.android.launcher3.BubbleTextView{3b75bbc7 VFED..CL ......ID 277,0-554,184 #1}
                                  com.android.launcher3.BubbleTextView{3341c5f4 VFED..CL ......ID 554,0-831,184 #2}
                                  com.android.launcher3.BubbleTextView{2c09d11d VFED..CL ......ID 831,0-1108,184 #3}
                                  com.android.launcher3.BubbleTextView{17530f92 VFED..CL ......ID 1108,0-1385,184 #4}
                                  com.android.launcher3.BubbleTextView{1a084d63 VFED..CL ......ID 1385,0-1662,184 #5}
                                  com.android.launcher3.BubbleTextView{1aaf4d60 VFED..CL ......ID 0,184-277,368 #6}
                                  com.android.launcher3.BubbleTextView{3e776219 VFED..CL ......ID 277,184-554,368 #7}
                                  com.android.launcher3.BubbleTextView{310e92de VFED..CL ......ID 554,184-831,368 #8}
                                  com.android.launcher3.BubbleTextView{9a85cbf VFED..CL ......ID 831,184-1108,368 #9}
                                  com.android.launcher3.BubbleTextView{23abdf8c VFED..CL ......ID 1108,184-1385,368 #a}
                                  com.android.launcher3.BubbleTextView{9306d5 VFED..CL ......ID 1385,184-1662,368 #b}
                                  com.android.launcher3.BubbleTextView{286cfeea VFED..CL ......ID 0,368-277,552 #c}
                                  com.android.launcher3.BubbleTextView{3f1005db VFED..CL ......ID 277,368-554,552 #d}
                                  com.android.launcher3.BubbleTextView{1dfd6878 VFED..CL ......ID 554,368-831,552 #e}
                                  com.android.launcher3.BubbleTextView{3f8a3b51 VFED..CL ......ID 831,368-1108,552 #f}
                                  com.android.launcher3.BubbleTextView{1d941fb6 VFED..CL ......ID 1108,368-1385,552 #10}
                                  com.android.launcher3.BubbleTextView{367f24b7 VFED..CL ......ID 1385,368-1662,552 #11}
                                  com.android.launcher3.BubbleTextView{ddc9424 VFED..CL ......ID 0,552-277,736 #12}
                                  com.android.launcher3.BubbleTextView{13e63b8d VFED..CL ......ID 277,552-554,736 #13}
                                  com.android.launcher3.BubbleTextView{3b3a8142 VFED..CL ......ID 554,552-831,736 #14}
                                  com.android.launcher3.BubbleTextView{6575553 VFED..CL ......ID 831,552-1108,736 #15}
                                  com.android.launcher3.BubbleTextView{2060ce90 VFED..CL ......ID 1108,552-1385,736 #16}
                          com.android.launcher3.PageIndicator{1b880389 V.E..... ......ID 949,956-970,983 #7f110006 app:id/apps_customize_page_indicator}
                            com.android.launcher3.PageIndicatorMarker{2ef36f8e V.E..... ......ID 0,3-21,24}
                              android.widget.ImageView{3f77f3af V.ED.... ......ID 0,0-21,21 #7f110027 app:id/inactive}
                              android.widget.ImageView{3aac43bc V.ED.... ......ID 0,0-21,21 #7f110028 app:id/active}
                    android.view.ViewStub{17644f45 G.E..... ......I. 0,0-0,0 #7f110019}
                android.view.ViewStub{1a3af69a G.E..... ......I. 0,0-0,0 #1020383}
          Looper (main, tid 1) {375a1bcb}
            (Total messages: 0, idling=false, quitting=false)
 
Debug logs: 

    Running activities (most recent first):
      TaskRecord{3f65786a #207 A=com.android.launcher3 U=0 sz=1}
        Run #0: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}

    mResumedActivity: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}
Display #1 (activities from top to bottom):

  mFocusedActivity: ActivityRecord{6066312 u0 com.android.launcher3/.Launcher t207}

ACTIVITY MANAGER RUNNING PROCESSES (dumpsys activity processes)
  Process LRU list (sorted by oom_adj, 24 total, non-act at 0, non-svc at 0):
    Proc #16: fore  F/A/T  trm: 0 868:com.android.launcher3/u0a32 (top-activity)

  PID mappings:
    PID #868: ProcessRecord{35a37655 868:com.android.launcher3/u0a32}

  mHomeProcess: ProcessRecord{35a37655 868:com.android.launcher3/u0a32}

更多扩展

更多命令及参数说明:

dumpsys activity -h
Activity manager dump options:
  [-a] [-c] [-p package] [-h] [cmd] ...
  cmd may be one of:
    a[ctivities]: activity stack state
    r[recents]: recent activities state
    b[roadcasts] [PACKAGE_NAME] [history [-s]]: broadcast state
    i[ntents] [PACKAGE_NAME]: pending intent state
    p[rocesses] [PACKAGE_NAME]: process state
    o[om]: out of memory management
    prov[iders] [COMP_SPEC ...]: content provider state
    provider [COMP_SPEC]: provider client-side state
    s[ervices] [COMP_SPEC ...]: service state
    as[sociations]: tracked app associations
    service [COMP_SPEC]: service client-side state
    package [PACKAGE_NAME]: all state related to given package
    all: dump all activities
    top: dump the top activity
    write: write all pending state to storage
    track-associations: enable association tracking
    untrack-associations: disable and clear association tracking
  cmd may also be a COMP_SPEC to dump activities.
  COMP_SPEC may be a component name (com.foo/.myApp),
    a partial substring in a component name, a
    hex object identifier.
  -a: include all available server state.
  -c: include client state.
  -p: limit output to given package.

https://www.jianshu.com/p/bb0f3df62501

adb shell dumpsys activity-------------------ActvityManagerService 所有信息
adb shell dumpsys activity activities--------Activity组件信息
adb shell dumpsys activity services----------Service组件信息
adb shell dumpsys activity providers---------ContentProvider组件信息
adb shell dumpsys activity broadcasts--------BraodcastReceiver信息
adb shell dumpsys activity intents-----------Intent信息
adb shell dumpsys activity processes---------进程信息

猜你喜欢

转载自blog.csdn.net/ansondroider/article/details/94867392