Skip to content

Instantly share code, notes, and snippets.

@jiripospisil
Created May 17, 2017 14:35
Show Gist options
  • Save jiripospisil/7ab59571d81b8d1a46601ed077b1b427 to your computer and use it in GitHub Desktop.
Save jiripospisil/7ab59571d81b8d1a46601ed077b1b427 to your computer and use it in GitHub Desktop.
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #1:
mFullscreen=true
mBounds=null
Task id #7
mFullscreen=true
mBounds=null
mMinWidth=-1
mMinHeight=-1
mLastNonFullscreenBounds=null
* TaskRecord{f1a51 #7 A=com.android.chrome U=0 StackId=1 sz=1}
userId=0 effectiveUid=u0a30 mCallingUid=u0a30 mUserSetupComplete=true mCallingPackage=com.android.chrome
affinity=com.android.chrome
intent={act=android.intent.action.VIEW dat=https://sso.dev/connect/v1.0/authorize?redirect_uri=https%3A%2F%2Fexample.com%2Fcallback&client_id=56698545cd8fb6417b0074c9&response_type=code&state=9Tj3JPP1AcSirm87t_-lZQ&scope=openid%20email&code_challenge=aP84xiibrjNP4xeuL5Bb7YTeCE9b4QSEAYr95ob-hQY&code_challenge_method=S256 flg=0x10800000 pkg=com.android.chrome cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity}
realActivity=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity
autoRemoveRecents=false isPersistable=false numFullscreen=1 taskType=0 mTaskToReturnTo=0
rootWasReset=false mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
Activities=[ActivityRecord{7868133 u0 com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity t7}]
askedCompatMode=false inRecents=true isAvailable=true
lastThumbnail=null lastThumbnailFile=/data/system_ce/0/recent_images/7_task_thumbnail.png
stackId=1
hasBeenVisible=true mResizeMode=RESIZE_MODE_RESIZEABLE isResizeable=true firstActiveTime=1495031551126 lastActiveTime=1495031551126 (inactive for 56s)
* Hist #0: ActivityRecord{7868133 u0 com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity t7}
packageName=com.android.chrome processName=com.android.chrome
launchedFromUid=10030 launchedFromPackage=com.android.chrome userId=0
app=ProcessRecord{834447a 3252:com.android.chrome/u0a30}
Intent { act=android.intent.action.VIEW dat=https://sso.dev/connect/v1.0/authorize?redirect_uri=https%3A%2F%2Fexample.com%2Fcallback&client_id=56698545cd8fb6417b0074c9&response_type=code&state=9Tj3JPP1AcSirm87t_-lZQ&scope=openid%20email&code_challenge=aP84xiibrjNP4xeuL5Bb7YTeCE9b4QSEAYr95ob-hQY&code_challenge_method=S256 flg=0x10800000 pkg=com.android.chrome cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity (has extras) }
frontOfTask=true task=TaskRecord{f1a51 #7 A=com.android.chrome U=0 StackId=1 sz=1}
taskAffinity=com.android.chrome
realActivity=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity
baseDir=/system/app/Chrome/Chrome.apk
dataDir=/data/user/0/com.android.chrome
stateNotNeeded=false componentSpecified=true mActivityType=0
compat={420dpi} labelRes=0x7f0a0479 icon=0x7f030000 theme=0x7f0e018a
config={1.0 310mcc260mnc [en_US] ldltr sw411dp w411dp h659dp 420dpi nrml port finger -keyb/v/h -nav/h s.7}
taskConfigOverride={1.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/?}
taskDescription: iconFilename=null label="null" color=fff2f2f2
launchFailed=false launchCount=1 lastLaunchTime=-56s371ms
haveState=false icicle=null
state=RESUMED stopped=false delayedResume=false finishing=false
keysPaused=false inHistory=true visible=true sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_SHOWN
fullscreen=true noDisplay=false immersive=false launchMode=0
frozenBeforeDestroy=false forceNewConfig=false
mActivityType=APPLICATION_ACTIVITY_TYPE
waitingVisible=false nowVisible=true lastVisibleTime=-56s34ms
connections=[ConnectionRecord{f2824e u0 CR !FG com.google.android.googlequicksearchbox/com.google.android.ssb.service.SsbService:@820a949}]
resizeMode=RESIZE_MODE_RESIZEABLE
Task id #5
mFullscreen=true
mBounds=null
mMinWidth=-1
mMinHeight=-1
mLastNonFullscreenBounds=null
* TaskRecord{c1912b6 #5 A=de.testing.androidsdk U=0 StackId=1 sz=2}
userId=0 effectiveUid=u0a71 mCallingUid=2000 mUserSetupComplete=true mCallingPackage=null
affinity=de.testing.androidsdk
intent={act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=de.testing.androidsdk/de.testing.androidsdkapp.LoginActivity}
realActivity=de.testing.androidsdk/de.testing.androidsdkapp.LoginActivity
autoRemoveRecents=false isPersistable=true numFullscreen=1 taskType=0 mTaskToReturnTo=1
rootWasReset=false mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
Activities=[ActivityRecord{4120246 u0 de.testing.androidsdk/de.testing.androidsdkapp.LoginActivity t5}, ActivityRecord{40960f u0 de.testing.androidsdk/net.openid.appauth.AuthorizationManagementActivity t5}]
askedCompatMode=false inRecents=true isAvailable=true
lastThumbnail=android.graphics.Bitmap@9249bb7 lastThumbnailFile=/data/system_ce/0/recent_images/5_task_thumbnail.png
stackId=1
hasBeenVisible=true mResizeMode=RESIZE_MODE_FORCE_RESIZEABLE isResizeable=true firstActiveTime=1495031540643 lastActiveTime=1495031540643 (inactive for 66s)
* Hist #1: ActivityRecord{40960f u0 de.testing.androidsdk/net.openid.appauth.AuthorizationManagementActivity t5}
packageName=de.testing.androidsdk processName=de.testing.androidsdk
launchedFromUid=10071 launchedFromPackage=de.testing.androidsdk userId=0
app=ProcessRecord{49add70 2806:de.testing.androidsdk/u0a71}
Intent { flg=0x10000000 cmp=de.testing.androidsdk/net.openid.appauth.AuthorizationManagementActivity (has extras) }
frontOfTask=false task=TaskRecord{c1912b6 #5 A=de.testing.androidsdk U=0 StackId=1 sz=2}
taskAffinity=de.testing.androidsdk
realActivity=de.testing.androidsdk/net.openid.appauth.AuthorizationManagementActivity
baseDir=/data/app/de.testing.androidsdk-1/base.apk
dataDir=/data/user/0/de.testing.androidsdk
splitDir=[/data/app/de.testing.androidsdk-1/split_lib_dependencies_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_0_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_1_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_2_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_3_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_4_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_5_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_6_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_7_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_8_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_9_apk.apk]
stateNotNeeded=false componentSpecified=true mActivityType=0
compat={420dpi} labelRes=0x7f070027 icon=0x7f030000 theme=0x1030010
config={1.0 310mcc260mnc [en_US] ldltr sw411dp w411dp h659dp 420dpi nrml port finger -keyb/v/h -nav/h s.7}
taskConfigOverride={1.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/?}
taskDescription: iconFilename=null label="null" color=ff222222
launchFailed=false launchCount=0 lastLaunchTime=-1m7s62ms
haveState=true icicle=Bundle[mParcelledData.dataSize=5548]
state=STOPPED stopped=true delayedResume=false finishing=false
keysPaused=false inHistory=true visible=false sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_NOT_SHOWN
fullscreen=false noDisplay=false immersive=false launchMode=2
frozenBeforeDestroy=false forceNewConfig=false
mActivityType=APPLICATION_ACTIVITY_TYPE
waitingVisible=false nowVisible=false lastVisibleTime=-56s301ms
resizeMode=RESIZE_MODE_FORCE_RESIZEABLE
* Hist #0: ActivityRecord{4120246 u0 de.testing.androidsdk/de.testing.androidsdkapp.LoginActivity t5}
packageName=de.testing.androidsdk processName=de.testing.androidsdk
launchedFromUid=2000 launchedFromPackage=null userId=0
app=ProcessRecord{49add70 2806:de.testing.androidsdk/u0a71}
Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=de.testing.androidsdk/de.testing.androidsdkapp.LoginActivity }
frontOfTask=true task=TaskRecord{c1912b6 #5 A=de.testing.androidsdk U=0 StackId=1 sz=2}
taskAffinity=de.testing.androidsdk
realActivity=de.testing.androidsdk/de.testing.androidsdkapp.LoginActivity
baseDir=/data/app/de.testing.androidsdk-1/base.apk
dataDir=/data/user/0/de.testing.androidsdk
splitDir=[/data/app/de.testing.androidsdk-1/split_lib_dependencies_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_0_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_1_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_2_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_3_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_4_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_5_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_6_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_7_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_8_apk.apk, /data/app/de.testing.androidsdk-1/split_lib_slice_9_apk.apk]
stateNotNeeded=false componentSpecified=true mActivityType=0
compat={420dpi} labelRes=0x7f070027 icon=0x7f030000 theme=0x7f0900a6
config={1.0 310mcc260mnc [en_US] ldltr sw411dp w411dp h659dp 420dpi nrml port finger -keyb/v/h -nav/h s.7}
taskConfigOverride={1.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/?}
taskDescription: iconFilename=null label="null" color=ff3f51b5
launchFailed=false launchCount=0 lastLaunchTime=-1m38s871ms
haveState=true icicle=Bundle[mParcelledData.dataSize=756]
state=STOPPED stopped=true delayedResume=false finishing=false
keysPaused=false inHistory=true visible=false sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_SHOWN
fullscreen=true noDisplay=false immersive=false launchMode=0
frozenBeforeDestroy=false forceNewConfig=false
mActivityType=APPLICATION_ACTIVITY_TYPE
waitingVisible=false nowVisible=false lastVisibleTime=-56s301ms
connections=[ConnectionRecord{176496e u0 CR WPRI com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabsConnectionService:@a0898e9}]
resizeMode=RESIZE_MODE_FORCE_RESIZEABLE
Running activities (most recent first):
TaskRecord{f1a51 #7 A=com.android.chrome U=0 StackId=1 sz=1}
Run #2: ActivityRecord{7868133 u0 com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity t7}
TaskRecord{c1912b6 #5 A=de.testing.androidsdk U=0 StackId=1 sz=2}
Run #1: ActivityRecord{40960f u0 de.testing.androidsdk/net.openid.appauth.AuthorizationManagementActivity t5}
Run #0: ActivityRecord{4120246 u0 de.testing.androidsdk/de.testing.androidsdkapp.LoginActivity t5}
mResumedActivity: ActivityRecord{7868133 u0 com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity t7}
mLastPausedActivity: ActivityRecord{7132d34 u0 com.android.chrome/com.google.android.apps.chrome.Main t6 f}
Stack #0:
mFullscreen=true
mBounds=null
Task id #4
mFullscreen=true
mBounds=null
mMinWidth=-1
mMinHeight=-1
mLastNonFullscreenBounds=null
* TaskRecord{2923f24 #4 I=com.google.android.apps.nexuslauncher/.NexusLauncherActivity U=0 StackId=0 sz=1}
userId=0 effectiveUid=u0a14 mCallingUid=0 mUserSetupComplete=true mCallingPackage=null
intent={act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity}
realActivity=com.google.android.apps.nexuslauncher/.NexusLauncherActivity
autoRemoveRecents=false isPersistable=true numFullscreen=1 taskType=1 mTaskToReturnTo=1
rootWasReset=false mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
Activities=[ActivityRecord{bf534b0 u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t4}]
askedCompatMode=false inRecents=true isAvailable=true
lastThumbnail=null lastThumbnailFile=/data/system_ce/0/recent_images/4_task_thumbnail.png
stackId=0
hasBeenVisible=true mResizeMode=RESIZE_MODE_RESIZEABLE isResizeable=false firstActiveTime=1495031508576 lastActiveTime=1495031508576 (inactive for 98s)
* Hist #0: ActivityRecord{bf534b0 u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t4}
packageName=com.google.android.apps.nexuslauncher processName=com.google.android.apps.nexuslauncher
launchedFromUid=0 launchedFromPackage=null userId=0
app=ProcessRecord{e9bd632 2311:com.google.android.apps.nexuslauncher/u0a14}
Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity }
frontOfTask=true task=TaskRecord{2923f24 #4 I=com.google.android.apps.nexuslauncher/.NexusLauncherActivity U=0 StackId=0 sz=1}
taskAffinity=null
realActivity=com.google.android.apps.nexuslauncher/.NexusLauncherActivity
baseDir=/system/priv-app/NexusLauncherPrebuilt/NexusLauncherPrebuilt.apk
dataDir=/data/user/0/com.google.android.apps.nexuslauncher
stateNotNeeded=true componentSpecified=false mActivityType=1
compat={420dpi} labelRes=0x7f0c0076 icon=0x7f030000 theme=0x7f120001
config={1.0 310mcc260mnc [en_US] ldltr sw411dp w411dp h659dp 420dpi nrml port finger -keyb/v/h -nav/h s.7}
taskConfigOverride={1.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/?}
taskDescription: iconFilename=null label="null" color=fff5f5f5
launchFailed=false launchCount=0 lastLaunchTime=-1m41s304ms
haveState=true icicle=Bundle[mParcelledData.dataSize=3400]
state=STOPPED stopped=true delayedResume=false finishing=false
keysPaused=false inHistory=true visible=false sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_SHOWN
fullscreen=true noDisplay=false immersive=false launchMode=2
frozenBeforeDestroy=false forceNewConfig=false
mActivityType=HOME_ACTIVITY_TYPE
waitingVisible=false nowVisible=false lastVisibleTime=-1m40s688ms
connections=[ConnectionRecord{723ae30 u0 CR IMP WACT com.google.android.googlequicksearchbox/com.google.android.apps.gsa.nowoverlayservice.DrawerOverlayService:@f216f73}]
resizeMode=RESIZE_MODE_RESIZEABLE
Running activities (most recent first):
TaskRecord{2923f24 #4 I=com.google.android.apps.nexuslauncher/.NexusLauncherActivity U=0 StackId=0 sz=1}
Run #0: ActivityRecord{bf534b0 u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t4}
mLastPausedActivity: ActivityRecord{bf534b0 u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t4}
mFocusedActivity: ActivityRecord{7868133 u0 com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity t7}
mFocusedStack=ActivityStack{15a0a8d stackId=1, 2 tasks} mLastFocusedStack=ActivityStack{15a0a8d stackId=1, 2 tasks}
mSleepTimeout=false
mCurTaskIdForUser={0=7}
mUserStackInFront={}
mActivityContainers={0=ActivtyContainer{0}A, 1=ActivtyContainer{1}A}
mLockTaskModeState=NONE mLockTaskPackages (userId:packages)=
0:[]
mLockTaskModeTasks[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment