Dumpsysによるシステム診断

3472 ワード

1.Dumpsysによるシステム診断
    Android     dumpsys             。    #adb shell dumpsys  ,             ,             ,  input  (          ) ,        :$ adb shell dumpsys input。
 
  
2.  #$ adb shell dumpsys input
               ,  :

Currently runningservices:
  SurfaceFlinger
  accessibility
  account
  activity
  alarm
  android.security.keystore
  appops
  appwidget
  assetatlas
  audio
  backup
  battery
  batterypropreg
  batterystats
  bluetooth_manager
  breathinglight
  clipboard
  commontime_management
  connectivity
  consumer_ir
  content
  country_detector
  cpuinfo
  dbinfo
  device_policy
  devicestoragemonitor
  diskstats
  display
  display.qservice
  dreams
  drm.drmManager
  dropbox
  entropy
  gfxinfo
  haptics
  hardware
  input
  input_method
  iphonesubinfo
  iphonesubinfo_msim
  isms
  isms_msim
  listen.service
  location
  lock_settings
  media.audio_flinger
  media.audio_policy
  media.camera
  media.player
  media_router
  meminfo
  mount
  netpolicy
  netstats
  network_management
  notification
  nproot
  nubia-iphonesubinfo
  nubia-phone
  nubia-simphonebook
  nubia-tel-callback
  nubia.clipserviceext
  nubia.tel.extra
  package
  permission
  phone
  phone_msim
  power
  print
  procstats
  samplingprofiler
  scheduling_policy
  search
  security.root
  sensorservice
  serial
  servicediscovery
  simphonebook
  simphonebook_msim
  sip
  statusbar
  telephony.msim.registry
  telephony.registry
  textservices
  uimode
  updatelock
  usagestats
  usb
  user
  vibrator
  wakeGesture
  wallpaper
  wifi
  wifip2p
 window
3.   dumpsys     -c  ,                  。
    power   :
#adb shell dumpsys power –c

Display PowerState:
  mScreenOn=true
  mScreenBrightness=10
  mScreenReady=true
  mScreenUpdatePending=false
  mElectronBeamPrepared=false
  mElectronBeamLevel=1.0
  mElectronBeamReady=true
  mElectronBeamDrawPending=false
 
PhotonicModulator State:
  mPendingOn=true
  mPendingBacklight=10
  mActualOn=true
  mActualBacklight=10
  mChangeInProgress=false
 
Electron BeamState:
  mPrepared=false
  mMode=2
  mDisplayLayerStack=0
  mDisplayWidth=720
  mDisplayHeight=1280
  mSurfaceVisible=false
  mSurfaceAlpha=0.0
 
Wireless ChargerDetector State:
  mGravitySensor=null
  mPoweredWirelessly=false
  mAtRest=false
  mRestX=0.0, mRestY=0.0, mRestZ=0.0
  mDetectionInProgress=false
  mDetectionStartTime=0 (never)
  mMustUpdateRestPosition=false
  mTotalSamples=0
  mMovingSamples=0
  mFirstSampleX=0.0, mFirstSampleY=0.0,mFirstSampleZ=0.0
  mLastSampleX=0.0, mLastSampleY=0.0, mLastSampleZ=0.0