adb shell的一些常用命令

1、adb shell dumpsys media.camera dumpsys摄像头的一些参数

picture-size: 3840x2160
    picture-size-values: 1600x1200,1920x1088,2560x1440,2048x1536,2560x1920,3072x1728,3328x1872,3584x2016,3264x2448,3840x2160
    pip-fps-zsd-off: 30
    pip-fps-zsd-on: 30
    preferred-preview-size-for-video: 1920x1088
    preview-format: yuv420sp
    preview-format-values: yuv420sp,yuv420p,yuv420i-yyuvyy-3plane
    preview-fps-range: 30000,30000
    preview-fps-range-values: (15000,15000),(24000,24000),(30000,30000)
    preview-frame-rate: 30
    preview-frame-rate-values: 10,15,20,15,24,30,60,120
    preview-size: 3840x2160
    preview-size-values: 176x144,320x240,352x288,480x320,480x368,640x480,720x480,800x480,800x600,864x480,960x540,1280x720,1440x1088,1920x1088,1920x1088,1872x1120,2560x1440,2048x1536,2560x1920,3072x1728,3328x1872,3584x2016,3264x2448,3840x2160

2、查看内存信息 

 adb shell cat /proc/meminfo

cat /proc/meminfo
MemTotal:        2991040 kB
RawTotal:        2991040 kB
MemFree:          806212 kB
MemAvailable:    2073108 kB
Buffers:           37780 kB
Cached:          1380188 kB
SwapCached:            0 kB
Active:          1361704 kB
Inactive:         520800 kB

展开阅读全文

没有更多推荐了,返回首页