Android abd shell dumpsys命令探究,腾讯架构师深入讲解Android开发

13: (data_connection) null

14: (phone_evdo_signal) null

15: (phone_signal) null

16: (battery) null

17: (alarm_clock) StatusBarIcon(pkg=com.android.systemuiuser=0 id=0x7f0200ca level=0 visible=false num=0 )

18: (secure) null

19: (clock) null

Notification list:

0: StatusBarNotification(pkg=android user=UserHandle{-1} id=17040500 tag=null score=0: Notification(pri=0 contentView=android/0x1090064 vibrate=null sound=null defaults=0x0 flags=0x2 kind=[null]))

1: StatusBarNotification(pkg=com.android.phone user=UserHandle{0} id=103 tag=null score=0: Notification(pri=0 contentView=com.android.phone/0x1090064 vibrate=null sound=null defaults=0x0 flags=0x10 kind=[null]))

2: StatusBarNotification(pkg=android user=UserHandle{-1} id=17040508 tag=null score=-10: Notification(pri=-1 contentView=android/0x1090064 vibrate=null sound=null defaults=0x0 flags=0x2 kind=[null]))

mDisabled=0x0

mDisableRecords.size=0

dumpsys meminfo用法:

root@zms:/ # dumpsys meminfo -h

dumpsys meminfo -h

meminfo dump options: [-a] [-d] [-c] [–oom] [process]

-a: include all available information for each process.

-d: include dalvik details when dumping process details.

-c: dump in a compact machine-parseable representation.

–oom: only show processes organized by oom adj.

–local: only collect details locally, don’t call process.

If [process] is specified it can be the name or

pid of a specific process to dump.

执行结果:

root@zms:/ # dumpsys memoinfo

dumpsys memoinfo

Can’t find service: memoinfo

root@esky82_tb_cn_kk:/ # dumpsys meminfo

dumpsys meminfo

Applications Memory Usage (kB):

Uptime: 5890684 Realtime: 5890684

Total PSS by process:

38821 kB: com.test.speech (pid 1560)

30357 kB: com.test.inputmethod (pid 839)

26352 kB: system (pid 621)

22843 kB: com.test.demoa (pid 781 / activities)

20629 kB: com.android.systemui (pid 709)

13530 kB: com.android.settings (pid 1111)

12954 kB: zygote (pid 129)

12419 kB: com.android.phone (pid 858)

11972 kB: com.test.democ (pid 1367)

11146 kB: mediaserver (pid 131)

9586 kB: android.process.media (pid 997)

9532 kB: com.test.demoa:remote (pid 1080)

6525 kB: com.android.mms (pid 1150)

6497 kB: com.android.contacts (pid 1132)

4858 kB: com.android.browser (pid 1638)

4838 kB: surfaceflinger (pid 128)

4633 kB: com.test.democ:xpush (pid 1543)

3599 kB: drmserver (pid 130)

3540 kB: com.test.bluetooth (pid 872)

2972 kB: com.test.systemupdate (pid 1093)

2659 kB: com.test.videofavorites (pid 1666)

2641 kB: em_svr (pid 152)

2567 kB: com.camera.simplewebcam (pid 1232)

1559 kB: mtkbt (pid 144)

1449 kB: logcat (pid 2400)

1296 kB: gocsdk (pid 140)

1170 kB: wpa_supplicant (pid 820)

1117 kB: gocsdk (pid 568)

1000 kB: mtk_agpsd (pid 135)

726 kB: rild (pid 589)

639 kB: netd (pid 124)

589 kB: vold (pid 115)

436 kB: keystore (pid 134)

384 kB: /init (pid 1)

363 kB: dm_agent_binder (pid 142)

297 kB: debuggerd (pid 122)

284 kB: mdlogger (pid 522)

277 kB: nvram_agent_binder (pid 147)

268 kB: adbd (pid 153)

268 kB: sdcard (pid 764)

266 kB: ppl_agent (pid 143)

266 kB: GoogleOtaBinder (pid 146)

260 kB: gsm0710muxd (pid 523)

259 kB: sh (pid 3019)

254 kB: mobile_log_d (pid 123)

246 kB: ccci_mdinit (pid 119)

246 kB: MtkCodecService (pid 137)

245 kB: netdiag (pid 125)

204 kB: sdcard (pid 945)

187 kB: dumpsys (pid 3028)

174 kB: ueventd (pid 78)

159 kB: drvbd (pid 111)

156 kB: installd (pid 133)

152 kB: healthd (pid 113)

127 kB: 6620_launcher (pid 159)

115 kB: servicemanager (pid 114)

114 kB: thermal (pid 149)

112 kB: logwrapper (pid 117)

107 kB: batterywarning (pid 136)

102 kB: thermald (pid 150)

Total PSS by OOM adjustment:

51051 kB: Native

12954 kB: zygote (pid 129)

11146 kB: mediaserver (pid 131)

4838 kB: surfaceflinger (pid 128)

3599 kB: drmserver (pid 130)

2641 kB: em_svr (pid 152)

1559 kB: mtkbt (pid 144)

1449 kB: logcat (pid 2400)

1296 kB: gocsdk (pid 140)

1170 kB: wpa_supplicant (pid 820)

1117 kB: gocsdk (pid 568)

1000 kB: mtk_agpsd (pid 135)

726 kB: rild (pid 589)

639 kB: netd (pid 124)

589 kB: vold (pid 115)

436 kB: keystore (pid 134)

384 kB: /init (pid 1)

363 kB: dm_agent_binder (pid 142)

297 kB: debuggerd (pid 122)

284 kB: mdlogger (pid 522)

277 kB: nvram_agent_binder (pid 147)

268 kB: adbd (pid 153)

268 kB: sdcard (pid 764)

266 kB: ppl_agent (pid 143)

266 kB: GoogleOtaBinder (pid 146)

260 kB: gsm0710muxd (pid 523)

259 kB: sh (pid 3019)

254 kB: mobile_log_d (pid 123)

246 kB: ccci_mdinit (pid 119)

246 kB: MtkCodecService (pid 137)

245 kB: netdiag (pid 125)

204 kB: sdcard (pid 945)

187 kB: dumpsys (pid 3028)

174 kB: ueventd (pid 78)

159 kB: drvbd (pid 111)

156 kB: installd (pid 133)

152 kB: healthd (pid 113)

127 kB: 6620_launcher (pid 159)

115 kB: servicemanager (pid 114)

114 kB: thermal (pid 149)

112 kB: logwrapper (pid 117)

107 kB: batterywarning (pid 136)

102 kB: thermald (pid 150)

26352 kB: System

26352 kB: system (pid 621)

36588 kB: Persistent

20629 kB: com.android.systemui (pid 709)

12419 kB: com.android.phone (pid 858)

3540 kB: com.test.bluetooth (pid 872)

22843 kB: Foreground

22843 kB: com.test.demoa (pid 781 / activities)

9532 kB: Visible

9532 kB: com.test.demoa:remote (pid 1080)

30357 kB: Perceptible

30357 kB: com.test.inputmethod (pid 839)

4633 kB: A Services

4633 kB: com.test.democ:xpush (pid 1543)

60379 kB: B Services

38821 kB: com.test.speech (pid 1560)

11972 kB: com.test.democ (pid 1367)

9586 kB: android.process.media (pid 997)

39608 kB: Cached

13530 kB: com.android.settings (pid 1111)

6525 kB: com.android.mms (pid 1150)

6497 kB: com.android.contacts (pid 1132)

4858 kB: com.android.browser (pid 1638)

2972 kB: com.test.systemupdate (pid 1093)

2659 kB: com.test.videofavorites (pid 1666)

2567 kB: com.camera.simplewebcam (pid 1232)

Total PSS by category:

69844 kB: Dalvik

66262 kB: Unknown

53991 kB: .so mmap

38884 kB: .dex mmap

31369 kB: Dalvik Other

5883 kB: .apk mmap

4473 kB: Other mmap

4420 kB: Stack

3944 kB: Native

1704 kB: .ttf mmap

233 kB: Other dev

168 kB: .jar mmap

164 kB: Ashmem

4 kB: Cursor

0 kB: code mmap

0 kB: image mmap

0 kB: Graphics

0 kB: GL

0 kB: Memtrack

Total RAM: 988984 kB

Free RAM: 712716 kB (39608 cached pss + 295808 cached + 377300 free)

Used RAM: 269671 kB (241735 used pss + 7840 buffers + 476 shmem + 19620 slab)

Lost RAM: 6597 kB

ZRAM: 4 kB physical used for 0 kB in swap (524284 kB total swap)

Tuning: 128 (large 256), oom 122880 kB, restore limit 40960 kB (high-end-gfx)

package com.test.demo

root@zms:/ # dumpsys package com.test.demo

dumpsys package com.test.demo

Activity Resolver Table:

Non-Data Actions:

android.intent.action.MAIN:

41f7bce8 com.test.demo/.ui.activity.MainActivity filter 41f7bec0

Action: “android.intent.action.MAIN”

Category: “android.intent.category.LAUNCHER”

Category: “android.intent.category.HOME”

Category: “android.intent.category.DEFAULT”

Receiver Resolver Table:

Schemes:

file:

41f7eca8 com.test.demo/.model.CardEjectReceiver filter 41f7ede0

Action: “android.intent.action.MEDIA_MOUNTED”

Action: “android.intent.action.MEDIA_EJECT”

Action: “android.intent.action.MEDIA_BAD_REMOVAL”

Action: “android.intent.action.MEDIA_REMOVED”

Action: “android.intent.action.MEDIA_UNMOUNTED”

Scheme: “file”

mPriority=2147483647, mHasPartialTypes=false

Non-Data Actions:

android.intent.action.ACTION_POWER_DISCONNECTED:

41f7e898 com.test.demo/.model.PowerStateChangeReceiver filter 41f7e9e0

Action: “android.intent.action.ACTION_POWER_CONNECTED”

Action: “android.intent.action.ACTION_POWER_DISCONNECTED”

Action: “com.test.POWER_OFF”

com.test.POWER_OFF:

41f7e898 com.test.demo/.model.PowerStateChangeReceiver filter 41f7e9e0

Action: “android.intent.action.ACTION_POWER_CONNECTED”

Action: “android.intent.action.ACTION_POWER_DISCONNECTED”

Action: “com.test.POWER_OFF”

android.intent.action.ACTION_POWER_CONNECTED:

41f7e898 com.test.demo/.model.PowerStateChangeReceiver filter 41f7e9e0

Action: “android.intent.action.ACTION_POWER_CONNECTED”

Action: “android.intent.action.ACTION_POWER_DISCONNECTED”

Action: “com.test.POWER_OFF”

Service Resolver Table:

Non-Data Actions:

com.baidu.location.service_v2.2:

41f7f9a8 com.test.demo/com.baidu.location.f filter 41f7fc18

Action: “com.baidu.location.service_v2.2”

Key Set Manager:

[com.test.demo]

Signing KeySets: 6

Packages:

Package [com.test.demo] (41eaf840):

userId=10048 gids=[]

sharedUser=SharedUserSetting{41e9ea38 com.test/10048}

pkg=Package{41f79848 com.test.demo}

codePath=/data/app/com.test.demo-1.apk

resourcePath=/data/app/com.test.demo-1.apk

nativeLibraryPath=/data/app-lib/com.test.demo-1

versionCode=2 targetSdk=19

versionName=2015.10.15-18:12

applicationInfo=ApplicationInfo{41f79900 com.test.demo}

flags=[ DEBUGGABLE HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP LARGE_HEAP ]

mtkFlags=[ ]

dataDir=/data/data/com.test.demo

supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]

timeStamp=2015-10-15 18:12:52

firstInstallTime=2015-10-14 22:26:03

lastUpdateTime=2015-10-15 18:12:55

signatures=PackageSignatures{41e7b430 [41e7c268]}

permissionsFixed=true haveGids=true installStatus=1

pkgFlags=[ DEBUGGABLE HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP LARGE_HEAP ]

User 0: installed=true blocked=false stopped=false notLaunched=false enabled=0

Shared users:

SharedUser [com.test] (41e9ea38):

userId=10048 gids=[3002, 3003, 1028, -1, 1015, 1023]

grantedPermissions:

android.permission.READ_EXTERNAL_STORAGE

android.permission.WRITE_EXTERNAL_STORAGE

android.permission.PROCESS_OUTGOING_CALLS

android.permission.ACCESS_WIFI_STATE

android.permission.ACCESS_COARSE_LOCATION

android.permission.READ_CONTACTS

android.permission.CALL_PHONE

android.permission.READ_PHONE_STATE

android.permission.READ_SMS

android.permission.RECEIVE_BOOT_COMPLETED

android.permission.CAMERA

android.permission.ACCESS_FINE_LOCATION

android.permission.BROADCAST_STICKY

android.permission.WAKE_LOCK

android.permission.RECORD_AUDIO

android.permission.ACCESS_NETWORK_STATE

android.permission.ACCESS_MOCK_LOCATION

com.android.launcher.permission.INSTALL_SHORTCUT

android.permission.NFC

android.permission.SEND_SMS

android.permission.MODIFY_AUDIO_SETTINGS

android.permission.KILL_BACKGROUND_PROCESSES

android.permission.DISABLE_KEYGUARD

android.permission.SYSTEM_ALERT_WINDOW

android.permission.WRITE_SETTINGS

android.permission.INTERNET

android.permission.BLUETOOTH

android.permission.CHANGE_WIFI_STATE

android.permission.CHANGE_NETWORK_STATE

dumpsys window用法:

root@zms:/ # dumpsys window -h

dumpsys window -h

Dump time : 2015年10月16日 上午11:14:03

Window manager dump options:

[-a] [-h] [cmd] …

cmd may be one of:

i[input]: input subsystem state

p[policy]: policy state

s[essions]: active sessions

d[isplays]: active display contents

t[okens]: token list

w[indows]: window list

cmd may also be a NAME to dump windows. NAME may

be a partial substring in a window name, a

Window hex object identifier, or

“all” for all windows, or

“visible” for the visible windows.

-a: include all available server state.

-d list list the all of debug zones

-d enable <zone zone …> enable the debug zone

-d disable <zone zone …> disable the debug zone

zone usage :

0 : DEBUG

1 : DEBUG_FOCUS

2 : DEBUG_ANIM

3 : DEBUG_LAYOUT

4 : DEBUG_RESIZE

5 : DEBUG_LAYERS

6 : DEBUG_INPUT

7 : DEBUG_INPUT_METHOD

8 : DEBUG_VISIBILITY

9 : DEBUG_WINDOW_MOVEMENT

10 : DEBUG_ORIENTATION

11 : DEBUG_CONFIGURATION

12 : DEBUG_APP_TRANSITIONS

13 : DEBUG_STARTING_WINDOW

14 : DEBUG_REORDER

15 : DEBUG_WALLPAPER

16 : DEBUG_WALLPAPER_LIGHT

17 : SHOW_TRANSCATIONS

18 : HIDE_STACK_CRAWLS

19 : PROFILE_ORIENTATION

20 : DEBUG_TASK_MOVEMENT

21 : DEBUG_ADD_REMOVE

22 : DEBUG_TOKEN_MOVEMENT

23 : DEBUG_APP_ORIENTATION

24 : DEBUG_DRAG

25 : DEBUG_SCREEN_ON

26 : DEBUG_SCREENSHOT

27 : DEBUG_BOOT

28 : SHOW_SURFACE_ALLOC

29 : SHOW_LIGHT_TRANSACTIONS

30 : DEBUG_LAYOUT_REPEATS

31 : DEBUG_SURFACE_TRACE

32 : DEBUG_WINDOW_TRACE

33 : DEBUG_WINDOW

34 : DEBUG_STACK

执行结果:

Dump time : 2015年10月16日 上午11:18:17

WINDOW MANAGER LAST ANR (dumpsys window lastanr)

WINDOW MANAGER POLICY STATE (dumpsys window policy)

mSafeMode=false mSystemReady=true mSystemBooted=true

mLidState=-1 mLidOpenRotation=-1 mHdmiPlugged=false

mUiMode=1 mDockMode=0 mCarDockRotation=-1 mDeskDockRotation=-1

mUserRotationMode=1 mUserRotation=0 mAllowAllRotations=-1

mCurrentAppOrientation=0

mCarDockEnablesAccelerometer=true mDeskDockEnablesAccelerometer=true

mLidKeyboardAccessibility=0 mLidNavigationAccessibility=0 mLidControlsSleep=false

mLongPressOnPowerBehavior=-1 mHasSoftInput=true

mScreenOnEarly=false mScreenOnFully=false mOrientationSensorEnabled=false

mOverscanScreen=(0,0) 854x480

mRestrictedOverscanScreen=(108,0) 746x480

mUnrestrictedScreen=(108,0) 746x480

mRestrictedScreen=(108,0) 746x480

mStableFullscreen=(108,0)-(854,480)

mStable=(108,0)-(854,480)

mSystem=(108,0)-(854,480)

mCur=(108,0)-(854,480)

mContent=(108,0)-(854,480)

mDock=(108,0)-(854,480)

mDockLayer=268435456 mStatusBarLayer=161000

mShowingLockscreen=false mShowingDream=false mDreamingLockscreen=false

mStatusBar=Window{41ec95f0 u0 StatusBar}

mNavigationBar=Window{41fde108 u0 NavigationBar}

mFocusedWindow=Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}

mFocusedApp=Token{421f8a10 ActivityRecord{421f8798 u0 com.test.carlauncher/.ui.activity.MainActivity t1}}

mTopFullscreenOpaqueWindowState=Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}

mTopIsFullscreen=true mHideLockScreen=false

mForceStatusBar=false mForceStatusBarFromKeyguard=false

mDismissKeyguard=0 mWinDismissingKeyguard=null mHomePressed=false

mAllowLockscreenWhenOn=false mLockScreenTimeout=30000 mLockScreenTimerActive=false

mEndcallBehavior=2 mIncallPowerBehavior=1 mLongPressOnHomeBehavior=0

mLandscapeRotation=0 mSeascapeRotation=2

mPortraitRotation=3 mUpsideDownRotation=1

mDemoHdmiRotation=3 mDemoHdmiRotationLock=true

mUndockedHdmiRotation=-1

BarController.StatusBar

mState=WINDOW_STATE_HIDDEN

mTransientBar=TRANSIENT_BAR_NONE

BarController.NavigationBar

mState=WINDOW_STATE_SHOWING

mTransientBar=TRANSIENT_BAR_NONE

WINDOW MANAGER ANIMATOR STATE (dumpsys window animator)

DisplayContentsAnimator #0:

Window #0: WindowStateAnimator{4205f960 com.android.systemui.ImageWallpaper}

Window #1: WindowStateAnimator{42241a30 SurfaceView}

Window #2: WindowStateAnimator{42081328 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}

Window #3: WindowStateAnimator{42223080 InputMethod}

Window #4: WindowStateAnimator{42043c58 KeyguardScrim}

Window #5: WindowStateAnimator{4218bc60 StatusBar}

Window #6: WindowStateAnimator{42009d00 NavigationBar}

Window #7: WindowStateAnimator{41de3a50 SearchPanel}

mBulkUpdateParams=0x8 ORIENTATION_CHANGE_COMPLETE

WINDOW MANAGER SESSIONS (dumpsys window sessions)

Session Session{42009350 839:u0a10052}:

mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@420555b0

Session Session{420227f0 709:u0a10006}:

mNumWindow=4 mClientDead=false mSurfaceSession=android.view.SurfaceSession@41d25f58

Session Session{420808e0 781:u0a10048}:

mNumWindow=2 mClientDead=false mSurfaceSession=android.view.SurfaceSession@41d970b0

Session Session{41ec4ce8 1111:1000}:

mNumWindow=0 mClientDead=false mSurfaceSession=android.view.SurfaceSession@41e6cc78

Session Session{41db9830 621:1000}:

mNumWindow=1 mClientDead=false mSurfaceSession=android.view.SurfaceSession@41dc30e0

Session Session{4223a198 1560:u0a10051}:

mNumWindow=0 mClientDead=false mSurfaceSession=android.view.SurfaceSession@42116720

WINDOW MANAGER DISPLAY CONTENTS (dumpsys window displays)

Display: mDisplayId=0

init=854x480 160dpi cur=854x480 app=746x480 rng=480x480-746x746

layoutNeeded=false

StackBox #0

mParent=null

mBounds=[108,0][854,480] mVertical=false layoutNeeded=true

mStack={stackId=0 tasks=[{taskId=1 appTokens=[AppWindowToken{421fa438 token=Token{421f8a10 ActivityRecord{421f8798 u0 com.test.carlauncher/.ui.activity.MainActivity t1}}}]}]}

mStackId=0

{taskId=1 appTokens=[AppWindowToken{421fa438 token=Token{421f8a10 ActivityRecord{421f8798 u0 com.test.carlauncher/.ui.activity.MainActivity t1}}}]}

Application tokens in Z order:

App #1 AppWindowToken{421fa438 token=Token{421f8a10 ActivityRecord{421f8798 u0 com.test.carlauncher/.ui.activity.MainActivity t1}}}:

windows=[Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}]

windowType=2 hidden=false hasVisible=true

app=true

allAppWindows=[Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}, Window{4225ad98 u0 SurfaceView}]

groupId=1 appFullscreen=true requestedOrientation=0

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 TOKENS (dumpsys window tokens)

All tokens:

WindowToken{41cfe980 null}

WindowToken{4212d200 android.os.Binder@4212cee0}

WindowToken{4210f740 android.os.Binder@4210e490}

AppWindowToken{421fa438 token=Token{421f8a10 ActivityRecord{421f8798 u0 com.test.carlauncher/.ui.activity.MainActivity t1}}}

WindowToken{4225ad40 android.os.BinderProxy@42080b18}

Wallpaper tokens:

Wallpaper #0 WindowToken{4210f740 android.os.Binder@4210e490}

WINDOW MANAGER WINDOWS (dumpsys window windows)

Window #7 Window{4231b5b0 u0 SearchPanel}:

mDisplayId=0 mSession=Session{420227f0 709:u0a10006} mClient=android.os.BinderProxy@4230e8e8

mOwnerUid=10006 mShowToOwnerOnly=false package=com.android.systemui appop=NONE

mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#800053 sim=#31 ty=2024 fl=#1820100 fmt=-3 wanim=0x10301f5 flagsEx=10007f}

Requested w=746 h=480 mLayoutSeq=166

mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false

WindowStateAnimator{41de3a50 SearchPanel}:

mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0

Window #6 Window{41fde108 u0 NavigationBar}:

mDisplayId=0 mSession=Session{420227f0 709:u0a10006} mClient=android.os.BinderProxy@41f59a30

mOwnerUid=10006 mShowToOwnerOnly=false package=com.android.systemui appop=NONE

mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=2019 fl=#1840068 fmt=-3 flagsEx=10007f}

Requested w=108 h=480 mLayoutSeq=172

mHasSurface=true mShownFrame=[0.0,0.0][108.0,480.0] isReadyForDisplay()=true

WindowStateAnimator{42009d00 NavigationBar}:

Surface: shown=true layer=201000 alpha=1.0 rect=(0.0,0.0) 108.0 x 480.0

mLastFreezeDuration=+20s136ms

Window #5 Window{41ec95f0 u0 StatusBar}:

mDisplayId=0 mSession=Session{420227f0 709:u0a10006} mClient=android.os.BinderProxy@41eb9bf0

mOwnerUid=10006 mShowToOwnerOnly=false package=com.android.systemui appop=NONE

mAttrs=WM.LayoutParams{(0,0)(fillx0) gr=#37 sim=#20 ty=2000 fl=#1840048 fmt=-3 flagsEx=10007f}

Requested w=746 h=0 mLayoutSeq=172

mPolicyVisibility=false mPolicyVisibilityAfterAnim=false mAppOpVisibility=true mAttachedHidden=false

mHasSurface=true mShownFrame=[108.0,0.0][854.0,0.0] isReadyForDisplay()=false

WindowStateAnimator{4218bc60 StatusBar}:

mAnimating=false mLocalAnimating=false mAnimationIsEntrance=true mAnimation=null

Surface: shown=false layer=161000 alpha=1.0 rect=(108.0,0.0) 746.0 x 1.0

mLastFreezeDuration=+20s100ms

Window #4 Window{41c7bb68 u0 KeyguardScrim}:

mDisplayId=0 mSession=Session{41db9830 621:1000} mClient=android.view.ViewRootImpl$W@41d479d8

mOwnerUid=1000 mShowToOwnerOnly=false package=android appop=NONE

mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=2029 fl=#110900 fmt=-3 or=5 vsysui=0x3610000 flagsEx=10007f}

Requested w=746 h=480 mLayoutSeq=8

mHasSurface=false mShownFrame=[0.0,0.0][0.0,0.0] isReadyForDisplay()=false

WindowStateAnimator{42043c58 KeyguardScrim}:

mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0

Window #3 Window{41dafbd8 u0 InputMethod}:

mDisplayId=0 mSession=Session{42009350 839:u0a10052} mClient=android.os.BinderProxy@41f19948

mOwnerUid=10052 mShowToOwnerOnly=true package=com.iflytek.inputmethod appop=NONE

mAttrs=WM.LayoutParams{(0,0)(fillxfill) gr=#50 sim=#120 ty=2011 fl=#800108 pfl=0x8 fmt=-2 wanim=0x1030056 vsysui=0x300 flagsEx=10007f}

Requested w=746 h=480 mLayoutSeq=61

mIsImWindow=true mIsWallpaper=false mIsFloatingLayer=true mWallpaperVisible=false

mWallpaperCmd=null

mHasSurface=false mShownFrame=[108.0,0.0][854.0,480.0] isReadyForDisplay()=false

WindowStateAnimator{42223080 InputMethod}:

mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.0

Window #2 Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}:

mDisplayId=0 mSession=Session{420808e0 781:u0a10048} mClient=android.os.BinderProxy@42080b18

mOwnerUid=10048 mShowToOwnerOnly=true package=com.test.carlauncher appop=NONE

mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=1 fl=#1810500 pfl=0x8 fmt=-3 wanim=0x10302a1 flagsEx=10007f}

Requested w=746 h=480 mLayoutSeq=172

mHasSurface=true mShownFrame=[108.0,0.0][854.0,480.0] isReadyForDisplay()=true

WindowStateAnimator{42081328 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}:

Surface: shown=true layer=21010 alpha=1.0 rect=(108.0,0.0) 746.0 x 480.0

mLastFreezeDuration=+22s822ms

Window #1 Window{4225ad98 u0 SurfaceView}:

mDisplayId=0 mSession=Session{420808e0 781:u0a10048} mClient=android.os.BinderProxy@4225abc0

mOwnerUid=10048 mShowToOwnerOnly=true package=null appop=NONE

mAttrs=WM.LayoutParams{(0,0)(480x270) gr=#800033 ty=1001 fl=#4218 pfl=0x40 fmt=4 flagsEx=10007f}

Requested w=480 h=270 mLayoutSeq=172

mAttachedWindow=Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity} mLayoutAttached=true

mHasSurface=true mShownFrame=[108.0,0.0][588.0,270.0] isReadyForDisplay()=true

WindowStateAnimator{42241a30 SurfaceView}:

Surface: shown=true layer=21005 alpha=1.0 rect=(108.0,0.0) 480.0 x 270.0

mLastFreezeDuration=+22s513ms

Window #0 Window{421893d8 u0 com.android.systemui.ImageWallpaper}:

mDisplayId=0 mSession=Session{420227f0 709:u0a10006} mClient=android.os.BinderProxy@42189200

mOwnerUid=10006 mShowToOwnerOnly=true package=null appop=NONE

mAttrs=WM.LayoutParams{(0,0)(854x854) gr=#800033 ty=2013 fl=#318 fmt=2 wanim=0x10301f4 flagsEx=10007f}

Requested w=854 h=854 mLayoutSeq=14

mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=false

mWallpaperCmd=null

Offsets x=0 y=-187

mHasSurface=true mShownFrame=[108.0,-187.0][962.0,667.0] isReadyForDisplay()=false

WindowStateAnimator{4205f960 com.android.systemui.ImageWallpaper}:

Surface: shown=false layer=21000 alpha=0.0 rect=(108.0,-187.0) 854.0 x 854.0

mShownAlpha=1.0 mAlpha=1.0 mLastAlpha=0.0

mOrientationChanging=true mAppFreezing=false mTurnOnScreen=false

mWallpaperX=0.5 mWallpaperY=0.5

mCurConfiguration={1.0799999 ?mcc?mnc zh_CN ldltr sw480dp w746dp h480dp 160dpi lrg land finger -keyb/v/h -nav/h skin=/system/framework/framework-res.apk s.5}

mCurrentFocus=Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}

mFocusedApp=AppWindowToken{421fa438 token=Token{421f8a10 ActivityRecord{421f8798 u0 com.test.carlauncher/.ui.activity.MainActivity t1}}}

mInputMethodTarget=Window{41d95b88 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MagicActivity}

IsImTargetWindowFullScreen=true

mInTouchMode=true mLayoutSeq=172

mLastDisplayFreezeDuration=0 due to Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}

dumpsys wifi

Wi-Fi is enabled

Stay-awake conditions: 0

mMulticastEnabled 0

mMulticastDisabled 0

WifiController:

自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数初中级安卓工程师,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年最新Android移动开发全套学习资料》送给大家,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
img
img
img
img

由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频
如果你觉得这些内容对你有帮助,可以添加下面V无偿领取!(备注Android)
img

最后

我坚信,坚持学习,每天进步一点,滴水穿石,我们离成功都很近!
以下是总结出来的字节经典面试题目,包含:计算机网络,Kotlin,数据结构与算法,Framework源码,微信小程序,NDK音视频开发,计算机网络等。

字节高级Android经典面试题和答案


领取方法:

所有资料获取方式:评论666+点赞即可咨询资料免费领取方式!

直达领取链接:【Android高级架构师】文件夹下载!

w{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}

mFocusedApp=AppWindowToken{421fa438 token=Token{421f8a10 ActivityRecord{421f8798 u0 com.test.carlauncher/.ui.activity.MainActivity t1}}}

mInputMethodTarget=Window{41d95b88 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MagicActivity}

IsImTargetWindowFullScreen=true

mInTouchMode=true mLayoutSeq=172

mLastDisplayFreezeDuration=0 due to Window{42080d90 u0 com.test.carlauncher/com.test.carlauncher.ui.activity.MainActivity}

dumpsys wifi

Wi-Fi is enabled

Stay-awake conditions: 0

mMulticastEnabled 0

mMulticastDisabled 0

WifiController:

自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数初中级安卓工程师,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年最新Android移动开发全套学习资料》送给大家,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
[外链图片转存中…(img-9PdhG2xK-1711287698021)]
[外链图片转存中…(img-0xtFA4Vo-1711287698021)]
[外链图片转存中…(img-9QZkk8OJ-1711287698021)]
[外链图片转存中…(img-T14kZvyu-1711287698022)]

由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频
如果你觉得这些内容对你有帮助,可以添加下面V无偿领取!(备注Android)
[外链图片转存中…(img-AqTDDngq-1711287698022)]

最后

我坚信,坚持学习,每天进步一点,滴水穿石,我们离成功都很近!
以下是总结出来的字节经典面试题目,包含:计算机网络,Kotlin,数据结构与算法,Framework源码,微信小程序,NDK音视频开发,计算机网络等。

字节高级Android经典面试题和答案

[外链图片转存中…(img-JiBApTX9-1711287698023)]
[外链图片转存中…(img-xKeL5vHU-1711287698023)]

领取方法:

所有资料获取方式:评论666+点赞即可咨询资料免费领取方式!

直达领取链接:【Android高级架构师】文件夹下载!

  • 30
    点赞
  • 27
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值