Skip to content

Instantly share code, notes, and snippets.

@rockbot
Last active December 23, 2015 08:59
Show Gist options
  • Save rockbot/6611922 to your computer and use it in GitHub Desktop.
Save rockbot/6611922 to your computer and use it in GitHub Desktop.
WINDOW MANAGER LAST ANR (dumpsys window lastanr)
<no ANR has occurred since boot>
WINDOW MANAGER POLICY STATE (dumpsys window policy)
mSafeMode=false mSystemReady=true mSystemBooted=true
mLidState=-1 mLidOpenRotation=-1 mHdmiPlugged=false
mLastSystemUiFlags=0xe00008 mResettingSystemUiFlags=0x0 mForceClearedSystemUiFlags=0x0
mUiMode=1 mDockMode=0 mCarDockRotation=-1 mDeskDockRotation=-1
mUserRotationMode=0 mUserRotation=0 mAllowAllRotations=-1
mCurrentAppOrientation=5
mCarDockEnablesAccelerometer=true mDeskDockEnablesAccelerometer=false
mLidKeyboardAccessibility=0 mLidNavigationAccessibility=0 mLidControlsSleep=false
mLongPressOnPowerBehavior=-1 mHasSoftInput=true
mScreenOnEarly=false mScreenOnFully=false mOrientationSensorEnabled=false
mUnrestrictedScreen=(0,0) 720x1280
mRestrictedScreen=(0,0) 720x1280
mStableFullscreen=(0,0)-(720,1280)
mStable=(0,50)-(720,1280)
mSystem=(0,50)-(720,1280)
mCur=(0,50)-(720,1280)
mContent=(0,50)-(720,1280)
mDock=(0,50)-(720,1280)
mDockLayer=268435456 mStatusBarLayer=151000
mTopRemoveNavigationWindowState=Window{42458820 Keyguard paused=false}
mTopFullscreenOpaqueWindowState=Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}
mTopIsFullscreen=false mForceStatusBar=true mHideLockScreen=false
mDismissKeyguard=false mHomePressed=false
mAllowLockscreenWhenOn=false mLockScreenTimeout=30000 mLockScreenTimerActive=false
mEndcallBehavior=2 mIncallPowerBehavior=1 mLongPressOnHomeBehavior=-1
mLandscapeRotation=1 mSeascapeRotation=3
mPortraitRotation=0 mUpsideDownRotation=2
WINDOW MANAGER SESSIONS (dumpsys window sessions)
Session Session{440ac710 uid 1000}:
mNumWindow=0 mClientDead=false mSurfaceSession=android.view.SurfaceSession@44090c50
Session Session{424329c0 uid 10122}:
mNumWindow=3 mClientDead=false mSurfaceSession=android.view.SurfaceSession@4232c4a8
Session Session{43ed1a50 uid 10001}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@42163b40
Session Session{423ccba8 uid 1000}:
mNumWindow=3 mClientDead=false mSurfaceSession=android.view.SurfaceSession@41fc9b60
WINDOW MANAGER TOKENS (dumpsys window tokens)
All tokens:
Token null
Token android.os.Binder@4240da50
Token android.view.ViewRootImpl$W@42468a28
Token android.os.Binder@4247cca8
Token Token{423b71e8 ActivityRecord{4234bd98 com.sec.android.app.launcher/com.android.launcher2.Launcher}}
Wallpaper tokens:
Wallpaper #0 WindowToken{4246d5e0 token=android.os.Binder@4247cca8}
Application tokens in Z order:
App #0:
token=Token{423b71e8 ActivityRecord{4234bd98 com.sec.android.app.launcher/com.android.launcher2.Launcher}}
windows=[Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}]
windowType=2 hidden=false hasVisible=true
appWindowMode=16777216
app=true
allAppWindows=[Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}]
groupId=2 appFullscreen=true requestedOrientation=1
hiddenRequested=false clientHidden=false willBeHidden=false reportedDrawn=true reportedVisible=true
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true
WINDOW MANAGER WINDOWS (dumpsys window windows)
Window #6 Window{42474b00 SPenGesture paused=false}:
mSession=Session{423ccba8 uid 1000} mClient=android.view.ViewRootImpl$W@42350d40
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=2099 fl=#518 fmt=-3 if=0x2}
Requested w=720 h=1280 mLayoutSeq=64
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0]
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
appWindowMode=normal
Window #5 Window{423af918 RecentsPanel paused=false}:
mSession=Session{424329c0 uid 10122} mClient=android.os.BinderProxy@424d4dc0
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#53 sim=#31 ty=2014 fl=#1820100 fmt=-3 wanim=0x10301e9}
Requested w=720 h=1280 mLayoutSeq=8
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0]
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
appWindowMode=normal
Window #4 Window{423aed80 StatusBar paused=false}:
mSession=Session{424329c0 uid 10122} mClient=android.os.BinderProxy@423aeba8
mAttrs=WM.LayoutParams{(0,0)(fillx50) gr=#37 sim=#10 ty=2000 fl=#1800048 fmt=-3 vsysui=0x80000}
Requested w=720 h=50 mLayoutSeq=64
mHasSurface=true mShownFrame=[0.0,0.0][720.0,50.0]
Surface: shown=true layer=151000 alpha=1.0 rect=(0.0,0.0) 720.0 x 50.0
appWindowMode=normal
Window #3 Window{42458820 Keyguard paused=false}:
mSession=Session{423ccba8 uid 1000} mClient=android.view.ViewRootImpl$W@42468a28
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=2004 fl=#1020800 pfl=0xa fmt=-3 wanim=0x10301de or=5 sysui=0x8 vsysui=0xe00000}
Requested w=720 h=1230 mLayoutSeq=64
mHasSurface=true mShownFrame=[0.0,50.0][720.0,1280.0]
Surface: shown=true layer=111005 alpha=1.0 rect=(0.0,50.0) 720.0 x 1230.0
appWindowMode=normal
Window #2 Window{429f7448 SurfaceView paused=false}:
mSession=Session{423ccba8 uid 1000} mClient=android.view.SurfaceView$MyWindow@44127f70
mAttrs=WM.LayoutParams{(0,0)(720x1230) gr=#33 ty=1001 fl=#4218 fmt=3}
Requested w=720 h=1230 mLayoutSeq=64
mAttachedWindow=Window{42458820 Keyguard paused=false} mLayoutAttached=true
mHasSurface=true mShownFrame=[0.0,50.0][720.0,1280.0]
Surface: shown=true layer=111000 alpha=1.0 rect=(0.0,50.0) 720.0 x 1230.0
appWindowMode=normal
Window #1 Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}:
mSession=Session{43ed1a50 uid 10001} mClient=android.os.BinderProxy@43ed4fa0
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#1910100 pfl=0x8 fmt=-2 wanim=0x10302f5}
Requested w=720 h=1280 mLayoutSeq=64
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAttachedHidden=false
mHasSurface=true mShownFrame=[0.0,0.0][720.0,1280.0]
Surface: shown=false layer=21005 alpha=1.0 rect=(0.0,0.0) 720.0 x 1280.0
mWallpaperX=0.5 mWallpaperY=0.5
appWindowMode=normal
Window #0 Window{4244c3e0 com.android.systemui.ImageWallpaper paused=false}:
mSession=Session{424329c0 uid 10122} mClient=android.os.BinderProxy@423dad30
mAttrs=WM.LayoutParams{(0,0)(1280x1280) gr=#33 ty=2013 fl=#318 fmt=2 wanim=0x10301e8}
Requested w=1280 h=1280 mLayoutSeq=63
mIsControlBar=false mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=false
Offsets x=-280 y=0
mHasSurface=true mShownFrame=[-280.0,0.0][1000.0,1280.0]
Surface: shown=false layer=21000 alpha=1.0 rect=(-280.0,0.0) 1280.0 x 1280.0
mWallpaperX=0.5 mWallpaperY=0.5
appWindowMode=normal
Display: init=720x1280 cur=720x1280 app=720x1280 rng=720x670-1280x1230
mDisableKeyguardTag=null
mCurConfiguration={1 0 1.0 0mcc0mnc en_US sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.4}
mCurrentFocus=Window{42458820 Keyguard paused=false}
mFocusedApp=AppWindowToken{4234a248 token=Token{423b71e8 ActivityRecord{4234bd98 com.sec.android.app.launcher/com.android.launcher2.Launcher}}}
mInTouchMode=true mLayoutSeq=64
WINDOW MANAGER LAST ANR (dumpsys window lastanr)
<no ANR has occurred since boot>
WINDOW MANAGER POLICY STATE (dumpsys window policy)
mSafeMode=false mSystemReady=true mSystemBooted=true
mLidState=-1 mLidOpenRotation=-1 mHdmiPlugged=false
mLastSystemUiFlags=0xe00008 mResettingSystemUiFlags=0x0 mForceClearedSystemUiFlags=0x0
mUiMode=1 mDockMode=0 mCarDockRotation=-1 mDeskDockRotation=-1
mUserRotationMode=0 mUserRotation=0 mAllowAllRotations=-1
mCurrentAppOrientation=5
mCarDockEnablesAccelerometer=true mDeskDockEnablesAccelerometer=false
mLidKeyboardAccessibility=0 mLidNavigationAccessibility=0 mLidControlsSleep=false
mLongPressOnPowerBehavior=-1 mHasSoftInput=true
mScreenOnEarly=true mScreenOnFully=true mOrientationSensorEnabled=true
mUnrestrictedScreen=(0,0) 720x1280
mRestrictedScreen=(0,0) 720x1280
mStableFullscreen=(0,0)-(720,1280)
mStable=(0,50)-(720,1280)
mSystem=(0,50)-(720,1280)
mCur=(0,50)-(720,1280)
mContent=(0,50)-(720,1280)
mDock=(0,50)-(720,1280)
mDockLayer=268435456 mStatusBarLayer=151000
mTopRemoveNavigationWindowState=Window{42458820 Keyguard paused=false}
mTopFullscreenOpaqueWindowState=Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}
mTopIsFullscreen=false mForceStatusBar=true mHideLockScreen=false
mDismissKeyguard=false mHomePressed=false
mAllowLockscreenWhenOn=false mLockScreenTimeout=30000 mLockScreenTimerActive=false
mEndcallBehavior=2 mIncallPowerBehavior=1 mLongPressOnHomeBehavior=-1
mLandscapeRotation=1 mSeascapeRotation=3
mPortraitRotation=0 mUpsideDownRotation=2
WINDOW MANAGER SESSIONS (dumpsys window sessions)
Session Session{440ac710 uid 1000}:
mNumWindow=0 mClientDead=false mSurfaceSession=android.view.SurfaceSession@44090c50
Session Session{424329c0 uid 10122}:
mNumWindow=3 mClientDead=false mSurfaceSession=android.view.SurfaceSession@4232c4a8
Session Session{43ed1a50 uid 10001}:
mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@42163b40
Session Session{423ccba8 uid 1000}:
mNumWindow=3 mClientDead=false mSurfaceSession=android.view.SurfaceSession@41fc9b60
WINDOW MANAGER TOKENS (dumpsys window tokens)
All tokens:
Token null
Token android.os.Binder@4240da50
Token android.view.ViewRootImpl$W@42468a28
Token android.os.Binder@4247cca8
Token Token{423b71e8 ActivityRecord{4234bd98 com.sec.android.app.launcher/com.android.launcher2.Launcher}}
Wallpaper tokens:
Wallpaper #0 WindowToken{4246d5e0 token=android.os.Binder@4247cca8}
Application tokens in Z order:
App #0:
token=Token{423b71e8 ActivityRecord{4234bd98 com.sec.android.app.launcher/com.android.launcher2.Launcher}}
windows=[Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}]
windowType=2 hidden=false hasVisible=true
appWindowMode=16777216
app=true
allAppWindows=[Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}]
groupId=2 appFullscreen=true requestedOrientation=1
hiddenRequested=false clientHidden=false willBeHidden=false reportedDrawn=true reportedVisible=true
numInterestingWindows=1 numDrawnWindows=1 inPendingTransaction=false allDrawn=true (animator=true)
startingData=null removed=false firstWindowDrawn=true
WINDOW MANAGER WINDOWS (dumpsys window windows)
Window #6 Window{42474b00 SPenGesture paused=false}:
mSession=Session{423ccba8 uid 1000} mClient=android.view.ViewRootImpl$W@42350d40
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=2099 fl=#518 fmt=-3 if=0x2}
Requested w=720 h=1280 mLayoutSeq=57
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0]
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
appWindowMode=normal
Window #5 Window{423af918 RecentsPanel paused=false}:
mSession=Session{424329c0 uid 10122} mClient=android.os.BinderProxy@424d4dc0
mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#53 sim=#31 ty=2014 fl=#1820100 fmt=-3 wanim=0x10301e9}
Requested w=720 h=1280 mLayoutSeq=8
mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0]
mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
appWindowMode=normal
Window #4 Window{423aed80 StatusBar paused=false}:
mSession=Session{424329c0 uid 10122} mClient=android.os.BinderProxy@423aeba8
mAttrs=WM.LayoutParams{(0,0)(fillx50) gr=#37 sim=#10 ty=2000 fl=#1800048 fmt=-3 vsysui=0x80000}
Requested w=720 h=50 mLayoutSeq=57
mHasSurface=true mShownFrame=[0.0,0.0][720.0,50.0]
Surface: shown=true layer=151000 alpha=1.0 rect=(0.0,0.0) 720.0 x 50.0
appWindowMode=normal
Window #3 Window{42458820 Keyguard paused=false}:
mSession=Session{423ccba8 uid 1000} mClient=android.view.ViewRootImpl$W@42468a28
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=2004 fl=#1020800 pfl=0xa fmt=-3 wanim=0x10301de or=5 sysui=0x8 vsysui=0xe00000}
Requested w=720 h=1230 mLayoutSeq=57
mHasSurface=true mShownFrame=[0.0,50.0][720.0,1280.0]
Surface: shown=true layer=111005 alpha=1.0 rect=(0.0,50.0) 720.0 x 1230.0
appWindowMode=normal
Window #2 Window{44016c48 SurfaceView paused=false}:
mSession=Session{423ccba8 uid 1000} mClient=android.view.SurfaceView$MyWindow@4402ef38
mAttrs=WM.LayoutParams{(0,0)(720x1230) gr=#33 ty=1001 fl=#4218 fmt=3}
Requested w=720 h=1230 mLayoutSeq=57
mAttachedWindow=Window{42458820 Keyguard paused=false} mLayoutAttached=true
mHasSurface=true mShownFrame=[0.0,50.0][720.0,1280.0]
Surface: shown=true layer=111000 alpha=1.0 rect=(0.0,50.0) 720.0 x 1230.0
appWindowMode=normal
Window #1 Window{43ed5250 com.sec.android.app.launcher/com.android.launcher2.Launcher paused=false}:
mSession=Session{43ed1a50 uid 10001} mClient=android.os.BinderProxy@43ed4fa0
mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#1910100 pfl=0x8 fmt=-2 wanim=0x10302f5}
Requested w=720 h=1280 mLayoutSeq=57
mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAttachedHidden=false
mHasSurface=true mShownFrame=[0.0,0.0][720.0,1280.0]
Surface: shown=false layer=21005 alpha=1.0 rect=(0.0,0.0) 720.0 x 1280.0
mWallpaperX=0.5 mWallpaperY=0.5
appWindowMode=normal
Window #0 Window{4244c3e0 com.android.systemui.ImageWallpaper paused=false}:
mSession=Session{424329c0 uid 10122} mClient=android.os.BinderProxy@423dad30
mAttrs=WM.LayoutParams{(0,0)(1280x1280) gr=#33 ty=2013 fl=#318 fmt=2 wanim=0x10301e8}
Requested w=1280 h=1280 mLayoutSeq=56
mIsControlBar=false mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=false
Offsets x=-280 y=0
mHasSurface=true mShownFrame=[-280.0,0.0][1000.0,1280.0]
Surface: shown=false layer=21000 alpha=1.0 rect=(-280.0,0.0) 1280.0 x 1280.0
mWallpaperX=0.5 mWallpaperY=0.5
appWindowMode=normal
Display: init=720x1280 cur=720x1280 app=720x1280 rng=720x670-1280x1230
mDisableKeyguardTag=null
mCurConfiguration={1 0 1.0 0mcc0mnc en_US sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.4}
mCurrentFocus=Window{42458820 Keyguard paused=false}
mFocusedApp=AppWindowToken{4234a248 token=Token{423b71e8 ActivityRecord{4234bd98 com.sec.android.app.launcher/com.android.launcher2.Launcher}}}
mInTouchMode=true mLayoutSeq=57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment