`
MyEyeOfJava
  • 浏览: 1125109 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
7af2d6ca-4fe1-3e9a-be85-3f65f7120bd0
测试开发
浏览量:70181
533896eb-dd7b-3cde-b4d3-cc1ce02c1c14
晨记
浏览量:0
社区版块
存档分类
最新评论

[android]android自动化测试十四之dumpsys性能测试

阅读更多
dumpsys 用来给出手机中所有应用程序的信息,并且也会给出现在手机的状态。
dumpsys [Option]
               meminfo 显示内存信息
               cpuinfo 显示CPU信息
               account 显示accounts信息
               activity 显示所有的activities的信息
               window 显示键盘,窗口和它们的关系
               wifi 显示wifi信息


示例:全部信息

Event Hub State:
  HaveFirstKeyboard: false
  FirstKeyboardId: 0x10000
  Devices:
    0x10000: qwerty2 (aka device 0 - first keyboard)
      Classes: 0x000000af
      Path: /dev/input/event0
      KeyLayoutFile: 

Input Reader State:
  Device 0x0: qwerty2
    Sources: 0x00011307
    KeyboardType: 2
    Motion Ranges:
      X: min=0.000, max=480.000, flat=0.000, fuzz=1.002
      Y: min=0.000, max=800.000, flat=0.000, fuzz=1.001
    Keyboard Input Mapper:
      AssociatedDisplayId: 0
      KeyboardType: 2
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
    Trackball Input Mapper:
      AssociatedDisplayId: 0
      XPrecision: 6.000
      YPrecision: 6.000
      Down: false
      DownTime: 0
    Touch Input Mapper:
      AssociatedDisplayId: 0
      UseBadTouchFilter: false
      UseAveragingTouchFilter: false
      UseJumpyTouchFilter: false
      Raw Axes:
        X: min=0, max=479, flat=0, fuzz=0
        Y: min=0, max=799, flat=0, fuzz=0
        Pressure: unknown range
        TouchMajor: unknown range
        TouchMinor: unknown range
        ToolMajor: unknown range
        ToolMinor: unknown range
        Orientation: unknown range
      Calibration:
        touch.touchSize.calibration: none
        touch.toolSize.calibration: none
        touch.pressure.calibration: none
        touch.size.calibration: none
        touch.orientation.calibration: none
      SurfaceWidth: 480px
      SurfaceHeight: 800px
      SurfaceOrientation: 0
      Translation and Scaling Factors:        XOrigin: 0
        YOrigin: 0
        XScale: 1.002
        YScale: 1.001
        XPrecision: 0.998
        YPrecision: 0.999
        GeometricScale: 1.002
        ToolSizeLinearScale: 0.000
        ToolSizeLinearBias: 0.000
        ToolSizeAreaScale: 0.000
        ToolSizeAreaBias: 0.000
        PressureScale: 0.000
        SizeScale: 0.000
        OrientationSCale: 0.000

Input Dispatcher State:
  DispatchEnabled: 1
  DispatchFrozen: 0
  FocusedApplication: name='AppWindowToken{40970358 token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}}', dispatchingTimeout=5000.000ms
  FocusedWindow: name='Window{40745458 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity paused=false}'
  TouchDown: false
  TouchSplit: false
  TouchedWindows: <none>
  Windows:
    0: name='Window{40891f18 StatusBar paused=false}', paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x00000048, type=0x000007d0, layer=81000, frame=[0,0][480,38], visibleFrame=[0,0][480,38], touchableArea=[0,0][480,38], ownerPid=183, ownerUid=1000, dispatchingTimeout=5000.000ms
    1: name='Window{40635b50 StatusBarExpanded paused=false}', paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x00011328, type=0x000007de, layer=51005, frame=[0,-800][480,-82], visibleFrame=[0,-800][480,-82], touchableArea=[0,-800][480,-82], ownerPid=183, ownerUid=1000, dispatchingTimeout=5000.000ms
    2: name='Window{408d2310 TrackingView paused=false}', paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x00020300, type=0x000007de, layer=51000, frame=[0,0][480,800], visibleFrame=[0,0][480,800], touchableArea=[0,0][480,800], ownerPid=183, ownerUid=1000, dispatchingTimeout=5000.000ms
    3: name='Window{40745458 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity paused=false}', paused=false, hasFocus=true, hasWallpaper=false, visible=true, canReceiveKeys=true, flags=0x00010100, type=0x00000001, layer=21015, frame=[0,0][480,800], visibleFrame=[0,38][480,800], touchableArea=[0,0][480,800], ownerPid=419, ownerUid=10030, dispatchingTimeout=5000.000ms
    4: name='Window{40673050 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity paused=false}', paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=true, flags=0x00010100, type=0x00000001, layer=21010, frame=[0,0][480,800], visibleFrame=[0,38][480,800], touchableArea=[0,0][480,800], ownerPid=419, ownerUid=10030, dispatchingTimeout=5000.000ms
    5: name='Window{4093df78 com.android.launcher/com.android.launcher2.Launcher paused=false}', paused=false, hasFocus=false, hasWallpaper=true, visible=true, canReceiveKeys=true, flags=0x00110100, type=0x00000001, layer=21005, frame=[0,0][480,800], visibleFrame=[0,38][480,800], touchableArea=[0,0][480,800], ownerPid=262, ownerUid=10013, dispatchingTimeout=5000.000ms
    6: name='Window{407a61d8 com.android.internal.service.wallpaper.ImageWallpaper paused=false}', paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x00000318, type=0x000007dd, layer=21000, frame=[0,0][480,800], visibleFrame=[0,0][480,800], touchableArea=[0,0][480,800], ownerPid=84, ownerUid=1000, dispatchingTimeout=5000.000ms
  MonitoringChannels: <none>
  InboundQueue: length=0
  ActiveConnections: <none>
  AppSwitch: not pending


 
Current Window Manager state:
  Window #6 Window{40891f18 StatusBar paused=false}:
    mSession=Session{4064f0f0 uid 1000} mClient=android.os.BinderProxy@40639370
    mAttrs=WM.LayoutParams{(0,0)(fillx38) sim=#20 gr=#37 ty=2000 fl=#48 fmt=2 wanim=0x103006d}
    mBaseLayer=81000 mSubLayer=0 mAnimLayer=81000+0=81000 mLastLayer=81000
    mSurface=Surface(name=StatusBar, identity=3)
    Surface: shown=true layer=81000 alpha=1.0 rect=(0,0) 480 x 38
    mToken=WindowToken{40746708 token=null}
    mRootToken=WindowToken{40746708 token=null}
    mViewVisibility=0x0 mLastHidden=false mHaveFrame=true mObscured=false
    Requested w=480 h=38 mLayoutSeq=43
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mConfiguration={ scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=4}
    mShownFrame=[0,0][480,38] last=[0,0][480,38]
    mFrame=[0,0][480,38] last=[0,0][480,38]
    mContainingFrame=[0,0][480,800] mDisplayFrame=[0,0][480,800]
    mContentFrame=[0,0][480,38] mVisibleFrame=[0,0][480,38]
    mContentInsets=[0,0][0,0] last=[0,0][0,0] mVisibleInsets=[0,0][0,0] last=[0,0][0,0]
    mAnimating=false mLocalAnimating=false mAnimationIsEntrance=true mAnimation=null
    mDrawPending=false mCommitDrawPending=false mReadyToShow=false mHasDrawn=true
  Window #5 Window{40635b50 StatusBarExpanded paused=false}:
    mSession=Session{4064f0f0 uid 1000} mClient=android.os.BinderProxy@40797698
    mAttrs=WM.LayoutParams{(0,-800)(fillx718) sim=#20 gr=#37 ty=2014 fl=#11328 fmt=-3 wanim=0x1030001}
    mBaseLayer=51000 mSubLayer=0 mAnimLayer=51005+0=51005 mLastLayer=51005
    mSurface=Surface(name=StatusBarExpanded, identity=4)
    Surface: shown=true layer=51005 alpha=1.0 rect=(0,-800) 480 x 718
    mToken=WindowToken{40746708 token=null}
    mRootToken=WindowToken{40746708 token=null}
    mViewVisibility=0x0 mLastHidden=false mHaveFrame=true mObscured=false
    Requested w=480 h=718 mLayoutSeq=43
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mConfiguration={ scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=4}
    mShownFrame=[0,-800][480,-82] last=[0,-800][480,-82]
    mFrame=[0,-800][480,-82] last=[0,-800][480,-82]
    mContainingFrame=[0,0][480,800] mDisplayFrame=[-10000,-10000][10000,10000]
    mContentFrame=[0,-800][480,-82] mVisibleFrame=[0,-800][480,-82]
    mContentInsets=[0,0][0,0] last=[0,0][0,0] mVisibleInsets=[0,0][0,0] last=[0,0][0,0]
    mDrawPending=false mCommitDrawPending=false mReadyToShow=false mHasDrawn=true
  Window #4 Window{408d2310 TrackingView paused=false}:
    mSession=Session{4064f0f0 uid 1000} mClient=android.os.BinderProxy@406c58e0
    mAttrs=WM.LayoutParams{(0,-800)(fillxfill) sim=#20 gr=#37 ty=2014 fl=#20300 fmt=2}
    mBaseLayer=51000 mSubLayer=0 mAnimLayer=51000+0=51000 mLastLayer=0
    mToken=WindowToken{40746708 token=null}
    mRootToken=WindowToken{40746708 token=null}
    mViewVisibility=0x8 mLastHidden=false mHaveFrame=true mObscured=false
    Requested w=480 h=800 mLayoutSeq=7
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mConfiguration=null
    mShownFrame=[0,0][0,0] last=[0,0][0,0]
    mFrame=[0,0][480,800] last=[0,0][0,0]
    mContainingFrame=[0,0][480,800] mDisplayFrame=[-10000,-10000][10000,10000]
    mContentFrame=[0,0][480,800] mVisibleFrame=[0,0][480,800]
    mContentInsets=[0,0][0,0] last=[0,0][0,0] mVisibleInsets=[0,0][0,0] last=[0,0][0,0]
    mDrawPending=false mCommitDrawPending=false mReadyToShow=false mHasDrawn=false
  Window #3 Window{40745458 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity paused=false}:
    mSession=Session{407498f0 uid 10030} mClient=android.os.BinderProxy@406fd0d0
    mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#110 ty=1 fl=#10100 fmt=-1}
    mBaseLayer=21000 mSubLayer=0 mAnimLayer=21015+0=21015 mLastLayer=21015
    mSurface=Surface(name=cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity, identity=10)
    Surface: shown=true layer=21015 alpha=1.0 rect=(0,0) 480 x 800
    mToken=AppWindowToken{40970358 token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}}
    mRootToken=AppWindowToken{40970358 token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}}
    mAppToken=AppWindowToken{40970358 token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}}
    mViewVisibility=0x0 mLastHidden=false mHaveFrame=true mObscured=false
    Requested w=480 h=800 mLayoutSeq=43
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mConfiguration={ scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=5}
    mShownFrame=[0,0][480,800] last=[0,0][480,800]
    mFrame=[0,0][480,800] last=[0,0][480,800]
    mContainingFrame=[0,0][480,800] mDisplayFrame=[0,0][480,800]
    mContentFrame=[0,38][480,800] mVisibleFrame=[0,38][480,800]
    mContentInsets=[0,38][0,0] last=[0,38][0,0] mVisibleInsets=[0,38][0,0] last=[0,38][0,0]
    mDrawPending=false mCommitDrawPending=false mReadyToShow=false mHasDrawn=true
  Window #2 Window{40673050 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity paused=false}:
    mSession=Session{407498f0 uid 10030} mClient=android.os.BinderProxy@4073ad38
    mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#10100 fmt=-1}
    mBaseLayer=21000 mSubLayer=0 mAnimLayer=21010+0=21010 mLastLayer=21010
    mSurface=Surface(name=cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity, identity=8)
    Surface: shown=true layer=21010 alpha=1.0 rect=(0,0) 480 x 800
    mToken=AppWindowToken{4081df70 token=HistoryRecord{405527c8 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity}}
    mRootToken=AppWindowToken{4081df70 token=HistoryRecord{405527c8 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity}}
    mAppToken=AppWindowToken{4081df70 token=HistoryRecord{405527c8 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity}}
    mViewVisibility=0x0 mLastHidden=false mHaveFrame=true mObscured=true
    Requested w=480 h=800 mLayoutSeq=43
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mConfiguration={ scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=5}
    mShownFrame=[0,0][480,800] last=[0,0][480,800]
    mFrame=[0,0][480,800] last=[0,0][480,800]
    mContainingFrame=[0,0][480,800] mDisplayFrame=[0,0][480,800]
    mContentFrame=[0,38][480,800] mVisibleFrame=[0,38][480,800]
    mContentInsets=[0,38][0,0] last=[0,38][0,0] mVisibleInsets=[0,38][0,0] last=[0,38][0,0]
    mDrawPending=false mCommitDrawPending=false mReadyToShow=false mHasDrawn=true
  Window #1 Window{4093df78 com.android.launcher/com.android.launcher2.Launcher paused=false}:
    mSession=Session{409464b8 uid 10013} mClient=android.os.BinderProxy@4081c9e0
    mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#110100 fmt=-2 wanim=0x1030001}
    mBaseLayer=21000 mSubLayer=0 mAnimLayer=21005+0=21005 mLastLayer=21005
    mSurface=Surface(name=com.android.launcher/com.android.launcher2.Launcher, identity=6)
    Surface: shown=true layer=21005 alpha=1.0 rect=(0,0) 480 x 800
    mToken=AppWindowToken{409c3128 token=HistoryRecord{40757508 com.android.launcher/com.android.launcher2.Launcher}}
    mRootToken=AppWindowToken{409c3128 token=HistoryRecord{40757508 com.android.launcher/com.android.launcher2.Launcher}}
    mAppToken=AppWindowToken{409c3128 token=HistoryRecord{40757508 com.android.launcher/com.android.launcher2.Launcher}}
    mViewVisibility=0x0 mLastHidden=false mHaveFrame=true mObscured=true
    Requested w=480 h=800 mLayoutSeq=43
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mConfiguration={ scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=5}
    mShownFrame=[0,0][480,800] last=[0,0][480,800]
    mFrame=[0,0][480,800] last=[0,0][480,800]
    mContainingFrame=[0,0][480,800] mDisplayFrame=[0,0][480,800]
    mContentFrame=[0,38][480,800] mVisibleFrame=[0,38][480,800]
    mContentInsets=[0,38][0,0] last=[0,38][0,0] mVisibleInsets=[0,38][0,0] last=[0,38][0,0]
    mDrawPending=false mCommitDrawPending=false mReadyToShow=false mHasDrawn=true
    mWallpaperX=0.5 mWallpaperY=0.0
    mWallpaperXStep=0.25 mWallpaperYStep=0.0
  Window #0 Window{407a61d8 com.android.internal.service.wallpaper.ImageWallpaper paused=false}:
    mSession=Session{4070fda0 uid 1000} mClient=android.service.wallpaper.WallpaperService$Engine$4@407352d0
    mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#33 ty=2013 fl=#318 fmt=4 wanim=0x1030079}
    mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=false
    mBaseLayer=21000 mSubLayer=0 mAnimLayer=21000+0=21000 mLastLayer=21000
    mSurface=Surface(name=com.android.internal.service.wallpaper.ImageWallpaper, identity=2)
    Surface: shown=false layer=21000 alpha=1.0 rect=(0,0) 480 x 800
    mToken=WindowToken{406589a0 token=android.os.Binder@40550d80}
    mRootToken=WindowToken{406589a0 token=android.os.Binder@40550d80}
    mViewVisibility=0x0 mLastHidden=true mHaveFrame=true mObscured=true
    Requested w=-1 h=-1 mLayoutSeq=34
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mConfiguration={ scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=5}
    mShownFrame=[0,0][480,800] last=[0,0][480,800]
    mFrame=[0,0][480,800] last=[0,0][480,800]
    mContainingFrame=[0,0][480,800] mDisplayFrame=[-10000,-10000][10000,10000]
    mContentFrame=[0,0][480,800] mVisibleFrame=[0,0][480,800]
    mContentInsets=[0,0][0,0] last=[0,0][0,0] mVisibleInsets=[0,0][0,0] last=[0,0][0,0]
    mDrawPending=false mCommitDrawPending=false mReadyToShow=false mHasDrawn=true
    mWallpaperX=0.5 mWallpaperY=0.0
    mWallpaperXStep=0.25 mWallpaperYStep=0.0
 
  All active sessions:
  Session Session{407498f0 uid 10030}:
    mNumWindow=2 mClientDead=false mSurfaceSession=android.view.SurfaceSession@406b7280
  Session Session{409464b8 uid 10013}:
    mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@40528e28
  Session Session{4064f0f0 uid 1000}:
    mNumWindow=3 mClientDead=false mSurfaceSession=android.view.SurfaceSession@4054aa38
  Session Session{4070fda0 uid 1000}:
    mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@409588d0
 
  All tokens:
  Token null:
    token=null
    windows=[Window{40891f18 StatusBar paused=false}, Window{408d2310 TrackingView paused=false}, Window{40635b50 StatusBarExpanded paused=false}]
    windowType=-1 hidden=false hasVisible=true
  Token HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}:
    token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}
    windows=[Window{40745458 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity paused=false}]
    windowType=2 hidden=false hasVisible=true
    app=true
    allAppWindows=[Window{40745458 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity paused=false}]
    groupId=4 appFullscreen=false requestedOrientation=1
    hiddenRequested=false clientHidden=false willBeHidden=false reportedVisible=true
    numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true
    startingData=null removed=false firstWindowDrawn=true
  Token HistoryRecord{40757508 com.android.launcher/com.android.launcher2.Launcher}:
    token=HistoryRecord{40757508 com.android.launcher/com.android.launcher2.Launcher}
    windows=[Window{4093df78 com.android.launcher/com.android.launcher2.Launcher paused=false}]
    windowType=2 hidden=false hasVisible=true
    app=true
    allAppWindows=[Window{4093df78 com.android.launcher/com.android.launcher2.Launcher paused=false}]
    groupId=3 appFullscreen=true requestedOrientation=5
    hiddenRequested=false clientHidden=false willBeHidden=false reportedVisible=true
    numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true
    startingData=null removed=false firstWindowDrawn=true
  Token android.os.Binder@40549038:
    token=android.os.Binder@40549038
    windows=[]
    windowType=2011 hidden=false hasVisible=false
  Token android.os.Binder@40550d80:
    token=android.os.Binder@40550d80
    windows=[Window{407a61d8 com.android.internal.service.wallpaper.ImageWallpaper paused=false}]
    windowType=2013 hidden=true hasVisible=true
  Token HistoryRecord{405527c8 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity}:
    token=HistoryRecord{405527c8 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity}
    windows=[Window{40673050 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity paused=false}]
    windowType=2 hidden=false hasVisible=true
    app=true
    allAppWindows=[Window{40673050 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity paused=false}]
    groupId=4 appFullscreen=false requestedOrientation=1
    hiddenRequested=false clientHidden=false willBeHidden=false reportedVisible=true
    numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true
    startingData=null removed=false firstWindowDrawn=true
 
  Window token list:
  #0: WindowToken{406589a0 token=android.os.Binder@40550d80}
  #1: WindowToken{405270a8 token=android.os.Binder@40549038}
  #2: WindowToken{40746708 token=null}
  #3: AppWindowToken{409c3128 token=HistoryRecord{40757508 com.android.launcher/com.android.launcher2.Launcher}}
  #4: AppWindowToken{4081df70 token=HistoryRecord{405527c8 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity}}
  #5: AppWindowToken{40970358 token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}}
 
  Wallpaper tokens:
  Wallpaper #0 WindowToken{406589a0 token=android.os.Binder@40550d80}:
    token=android.os.Binder@40550d80
    windows=[Window{407a61d8 com.android.internal.service.wallpaper.ImageWallpaper paused=false}]
    windowType=2013 hidden=true hasVisible=true
 
  Application tokens in Z order:
  App #2: AppWindowToken{40970358 token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}}
  App #1: AppWindowToken{4081df70 token=HistoryRecord{405527c8 cn.opda.a.phonoalbumshoushou/cn.com.opda.android.mainui.MainActivity}}
  App #0: AppWindowToken{409c3128 token=HistoryRecord{40757508 com.android.launcher/com.android.launcher2.Launcher}}
 
  mCurrentFocus=Window{40745458 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity paused=false}
  mLastFocus=Window{40745458 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity paused=false}
  mFocusedApp=AppWindowToken{40970358 token=HistoryRecord{4081ad10 cn.opda.a.phonoalbumshoushou/com.dianxinos.optimizer.recommend.RecommendTabActivity}}
  mInputMethodTarget=null
  mInputMethodWindow=null
  mWallpaperTarget=Window{4093df78 com.android.launcher/com.android.launcher2.Launcher paused=false}
  mCurConfiguration={ scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=5}
  mInTouchMode=false mLayoutSeq=43
  mSystemBooted=true mDisplayEnabled=true
  mLayoutNeeded=false mBlurShown=false
  no DimAnimator 
  mInputMethodAnimLayerAdjustment=0  mWallpaperAnimLayerAdjustment=0
  mLastWallpaperX=0.5 mLastWallpaperY=0.0
  mDisplayFrozen=false mWindowsFreezingScreen=false mAppsFreezingScreen=0 mWaitingForConfig=false
  mRotation=0, mForcedAppOrientation=1, mRequestedRotation=0
  mAnimationPending=false mWindowAnimationScale=1.0 mTransitionWindowAnimationScale=1.0
  mNextAppTransition=0xffffffff, mAppTransitionReady=false, mAppTransitionRunning=false, mAppTransitionTimeout=false
  mStartingIconInTransition=false, mSkipAppTransitionAnimation=false
  DisplayWidth=480 DisplayHeight=800
分享到:
评论

相关推荐

    Android中dumpsys命令用法简单介绍

    在Android手机上, 通过使用adb shell命令可以进入android系统的shell, 该shell除支持一些常用的标准命令之外,还支持一些和android系统相关的其他命令, 这些命令可以打印出系统当前的状态信息。 dumpsys就是这样...

    Android 分析工具-dumpsys

    不需要打trace了,实时监控关心的关键信息的值...Android的服务基本都有dump信息,debug的利器,效率极高(相比trace和断点调试) 开发、维护人员需要经常使用并熟悉相关的表示 适时扩展dump的输出及格式,方便适时调试。

    monkey_android自动化工具

    android monkey python3 统计性能信息cpu,men,fps,battery,flow 支持wifi,gprs统计 统计crash信息 fps统计:需要打开开发者里面的GPU呈现模式分析-在adb shell dumpsys gfxinfo中

    (Mac/Linux版)Android实时显示帧率(GameBench)

    android帧率可以通过adb shell dumpsys gfxinfo packages来查看,但是需要分析log,这种特别麻烦,分享一个免root获取帧率工具。注意:.jar文件在PC上运行。

    华为手机P30的Input 的Dumpsys信息详解.txt

    本资源以华为P30为例,详解地分析dumpsys input 的信息:1 帮助用户了解dumpsys 命令; 2 分析华为P30 的输入设备以及配置文件; 3. 针对input 的参数详解;

    android启动相机三种方式

    基于android 2.3.3 三种调用相机的方式 分别为使用android自带的照相功能 指定存储目录 使用SurfaceHolder预览相机的图片

    Tencent_apt:【腾讯开源】Android性能测试工具APT

    另外还支持自动获取内存快照、PMAP文件分析等,方便开发人员自测或者测试人员完成性能测试,快速发现产品问题。功能摘要1.支持多进程的CPU测试,并提供top和dumpsys cpuinfo两种方式.2.支持多进程的内存测试,并支持...

    Android测试常用命令.chm格式文档

    Android测试中常用的命令,以及常用命令的常用选项解释和实例。adb、logcat、monkey、getprop、setprop、dumpsys、am、pm、aapt...

    android群雄传

    9.3 Android Apk应用信息获取之Activity Manager 215 9.4 解析Packages.xml获取系统信息 218 9.5 Android安全机制 220 9.5.1 Android安全机制简介 220 9.5.2 Android系统安全隐患 222 9.5.3 Android Apk反编译 ...

    android9.0ble补丁蓝牙语音遥控器支持补丁.rar

    ble audio补丁原理是利用hidraw节点捕捉协议栈发送的语音数据,目前Android Blueroid将ble语音数据和按键信息通过hid发送出去,通过建立hidraw节点,可以从中捕捉到语音数据。目前通过ble hal实现从hidraw中读取遥控...

    android audio 音频调试技巧

    android audio 音频调试技巧,pcm 声卡使用情况查看。dumpsys *audio*等

    Android设备挂机dump日志抓取脚本bat

    使用bat脚本编写,简单,点击就能用 不要安装各种软件环境

    Android脚本中写服务应用中启动服务

    Android脚本init.rc中写service,应用中启动该service

    Android代码-XiaomiPJ

    title: 辅助功能 之 小米手机悬浮窗权限 date: 2016-06-02 16:19:59 categories: android tags: 小米手机悬浮窗权限 辅助功能 之 小米手机悬浮窗权限 最近做项目遇到小米手机比较人(zhuang)性(bi)化的悬浮窗权限,当...

    Appium:用于移动测试自动化的Appium-Selenium 3.0 API

    用于移动自动化测试的Appium-selenium 3.0 API 最新版本 Android 11 11 -2020年2月19日Android 10 10-2019年9月3日API级别29 Android 9派8月6日2018 appium Java客户端7.3.0 Selenium3.14 appium gui桌面-1.17 ...

    安卓性能监控V1.1.8.exe

    监控Android的CPU、内存、电量、流量、FPS与CPU温度等性能指标 具体步骤如下: 1、勾选对应的指标:cpu(%)、流量(k)、fps(ms)、电量(%)、内存(k)、温度(℃)、占用总内存(k)、占用总cpu(%)、导出...

    cepheus_input.txt(dumpsys input信息)

    dumpsys input信息 cepheus_input.txt(小米9机器)

    dumpsys命令1

    dumpsys命令这是安卓提供的调试命令.和名字的翻译一样,倾倒系统信息.主要用来查询系统服务的运行状态.列出所有的系统服务:adb shell dumpsys

Global site tag (gtag.js) - Google Analytics