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

本文涉及的产品
性能测试 PTS,5000VUM额度
简介:
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


相关实践学习
通过性能测试PTS对云服务器ECS进行规格选择与性能压测
本文为您介绍如何利用性能测试PTS对云服务器ECS进行规格选择与性能压测。
目录
相关文章
|
3天前
|
机器学习/深度学习 人工智能 自然语言处理
智能化软件测试:AI驱动的自动化测试策略与实践####
本文深入探讨了人工智能(AI)在软件测试领域的创新应用,通过分析AI技术如何优化测试流程、提升测试效率及质量,阐述了智能化软件测试的核心价值。文章首先概述了传统软件测试面临的挑战,随后详细介绍了AI驱动的自动化测试工具与框架,包括自然语言处理(NLP)、机器学习(ML)算法在缺陷预测、测试用例生成及自动化回归测试中的应用实例。最后,文章展望了智能化软件测试的未来发展趋势,强调了持续学习与适应能力对于保持测试策略有效性的重要性。 ####
|
15天前
|
安全 前端开发 测试技术
如何选择合适的自动化安全测试工具
选择合适的自动化安全测试工具需考虑多个因素,包括项目需求、测试目标、系统类型和技术栈,工具的功能特性、市场评价、成本和许可,以及集成性、误报率、社区支持、易用性和安全性。综合评估这些因素,可确保所选工具满足项目需求和团队能力。
|
15天前
|
机器学习/深度学习 SQL 安全
如何确保自动化安全测试的全面性和准确性?
如何确保自动化安全测试的全面性和准确性?
|
2月前
|
测试技术
自动化测试项目实战笔记(三):测试用户注册(验证码错误,成功,出现弹框时处理)
本文是关于自动化测试项目实战笔记,主要介绍了如何测试用户注册功能,包括验证码错误、注册成功以及弹框处理的测试步骤和代码实现。
94 2
自动化测试项目实战笔记(三):测试用户注册(验证码错误,成功,出现弹框时处理)
|
2月前
|
测试技术
自动化测试项目学习笔记(五):Pytest结合allure生成测试报告以及重构项目
本文介绍了如何使用Pytest和Allure生成自动化测试报告。通过安装allure-pytest和配置环境,可以生成包含用例描述、步骤、等级等详细信息的美观报告。文章还提供了代码示例和运行指南,以及重构项目时的注意事项。
211 1
自动化测试项目学习笔记(五):Pytest结合allure生成测试报告以及重构项目
|
2月前
|
测试技术 Python
自动化测试项目学习笔记(一):unittest简单运行(初始化,清除,设置测试行为)
本文介绍了Python的unittest框架的基础用法,包括测试初始化(setup)、清除(tearDown)函数的使用,以及assertEqual和assertGreaterEqual等断言方法,并展示了如何创建测试用例,强调了测试函数需以test_开头才能被运行。
64 1
自动化测试项目学习笔记(一):unittest简单运行(初始化,清除,设置测试行为)
|
25天前
|
前端开发 数据管理 测试技术
前端自动化测试:Jest与Cypress的实战应用与最佳实践
【10月更文挑战第27天】本文介绍了前端自动化测试中Jest和Cypress的实战应用与最佳实践。Jest适合React应用的单元测试和快照测试,Cypress则擅长端到端测试,模拟用户交互。通过结合使用这两种工具,可以有效提升代码质量和开发效率。最佳实践包括单元测试与集成测试结合、快照测试、并行执行、代码覆盖率分析、测试环境管理和测试数据管理。
43 2
|
26天前
|
前端开发 JavaScript 数据可视化
前端自动化测试:Jest与Cypress的实战应用与最佳实践
【10月更文挑战第26天】前端自动化测试在现代软件开发中至关重要,Jest和Cypress分别是单元测试和端到端测试的流行工具。本文通过解答一系列问题,介绍Jest与Cypress的实战应用与最佳实践,帮助开发者提高测试效率和代码质量。
32 2
|
20天前
|
Web App开发 测试技术 数据安全/隐私保护
自动化测试的魔法:使用Python进行Web应用测试
【10月更文挑战第32天】本文将带你走进自动化测试的世界,通过Python和Selenium库的力量,展示如何轻松对Web应用进行自动化测试。我们将一起探索编写简单而强大的测试脚本的秘诀,并理解如何利用这些脚本来确保我们的软件质量。无论你是测试新手还是希望提升自动化测试技能的开发者,这篇文章都将为你打开一扇门,让你看到自动化测试不仅可行,而且充满乐趣。
|
2月前
|
测试技术 数据安全/隐私保护 Python
自动化测试项目实战笔记(四):测试用户登录(账号密码错误,成功,出现弹框等情况)
本文介绍了使用Selenium进行自动化测试时如何测试用户登录的不同情况,包括账号密码错误、登录成功以及处理登录时出现的弹框,并提供了相应的Python代码实现。
64 0
自动化测试项目实战笔记(四):测试用户登录(账号密码错误,成功,出现弹框等情况)
下一篇
无影云桌面