Android_adb shell dumpsys介绍

1.dumpsys是Android系统的调试工具,提供有关系统服务的信息,默认打印出当前系统所有service信息,可以在后面加上具体的服务名。

官方介绍:https://developer.android.google.cn/studio/command-line/dumpsys

2.查看系统服务,任选一个查看当前系统支持的dump服务

adb shell dumpsys –l

shell@R7sm:/ $ dumpsys -l
Currently running services:
  AtCmdFwd
  DockObserver
  OPPO
  OPPOExService
  OppoTranslateManagerService
  SurfaceFlinger
  accessibility
  account
  activity
  alarm
  android.security.keystore
  appops
  appwidget
  assetatlas
  audio
  backup
  battery
  batteryproperties
  batterystats
  bluetooth_manager
  cabc
  clipboard
  cneservice
  color_screenshot
  commontime_management
  connectivity
  consumer_ir
  content
  country_detector
  cpuinfo
  critical.log
  dbinfo
  device_policy
  devicestoragemonitor
  diskstats
  display
  display.qservice
  dpmservice
  dreams
  drm.drmManager
  dropbox
  entropy
  fingerprint
  gfxinfo
  hardware
  imms
  ims
  input
  input_method
  iphonesubinfo
  isms
  isub
  jobscheduler
  launcherapps
  location
  lock_settings
  media.audio_flinger
  media.audio_policy
  media.camera
  media.player
  media.sound_trigger_hw
  media_projection
  media_router
  media_session
  meminfo
  mount
  netpolicy
  netstats
  network_management
  network_score
  notification
  oppo.com.IRUtils
  package
  permission
  persistent_data_block
  phone
  power
  print
  procstats
  restrictions
  rttmanager
  samplingprofiler
  scheduling_policy
  search
  sensorservice
  serial
  servicediscovery
  simphonebook
  sip
  statusbar
  telecom
  telephony.registry
  textservices
  trust
  uimode
  updatelock
  usage
  usagestats
  usb
  user
  vibrator
  voiceinteraction
  wallpaper
  webviewupdate
  wifi
  wifip2p
  wifiscanner
  window
shell@R7sm:/ $

adb shell service list

shell@R7sm:/ $ service list
Found 108 services:
0       AtCmdFwd: [com.qualcomm.atfwd.IAtCmdFwd]
1       ims: [com.android.ims.internal.IImsService]
2       sip: [android.net.sip.ISipService]
3       oppo.com.IRUtils: []
4       phone: [com.android.internal.telephony.ITelephony]
5       isms: [com.android.internal.telephony.ISms]
6       iphonesubinfo: [com.android.internal.telephony.IPhoneSubInfo]
7       simphonebook: [com.android.internal.telephony.IIccPhoneBook]
8       telecom: [com.android.internal.telecom.ITelecomService]
9       isub: [com.android.internal.telephony.ISub]
10      cneservice: [com.quicinc.cne.ICNEManager]
11      imms: [com.android.internal.telephony.IMms]
12      media_projection: [android.media.projection.IMediaProjectionManager]
13      launcherapps: [android.content.pm.ILauncherApps]
14      fingerprint: [android.service.fingerprint.IFingerprintService]
15      trust: [android.app.trust.ITrustManager]
16      media_router: [android.media.IMediaRouterService]
17      media_session: [android.media.session.ISessionManager]
18      restrictions: [android.content.IRestrictionsManager]
19      print: [android.print.IPrintManager]
20      assetatlas: [android.view.IAssetAtlas]
21      dreams: [android.service.dreams.IDreamManager]
22      commontime_management: []
23      samplingprofiler: []
24      usage: [android.os.IOppoUsageService]
25      OPPO: [android.os.IOppoService]
26      cabc: [com.android.internal.cabc.ICabcManager]
27      diskstats: []
28      voiceinteraction: [com.android.internal.app.IVoiceInteractionManagerService]
29      appwidget: [com.android.internal.appwidget.IAppWidgetService]
30      backup: [android.app.backup.IBackupManager]
31      jobscheduler: [android.app.job.IJobScheduler]
32      uimode: [android.app.IUiModeManager]
33      serial: [android.hardware.ISerialManager]
34      usb: [android.hardware.usb.IUsbManager]
35      DockObserver: []
36      audio: [android.media.IAudioService]
37      wallpaper: [android.app.IWallpaperManager]
38      dropbox: [com.android.internal.os.IDropBoxManagerService]
39      search: [android.app.ISearchManager]
40      country_detector: [android.location.ICountryDetector]
41      location: [android.location.ILocationManager]
42      devicestoragemonitor: []
43      notification: [android.app.INotificationManager]
44      OPPOExService: [android.os.IOppoExService]
45      updatelock: [android.os.IUpdateLock]
46      dpmservice: [com.qti.dpm.IDpmService]
47      servicediscovery: [android.net.nsd.INsdManager]
48      connectivity: [android.net.IConnectivityManager]
49      rttmanager: [android.net.wifi.IRttManager]
50      wifiscanner: [android.net.wifi.IWifiScanner]
51      wifi: [android.net.wifi.IWifiManager]
52      media.sound_trigger_hw: [android.hardware.ISoundTriggerHwService]
53      wifip2p: [android.net.wifi.p2p.IWifiP2pManager]
54      netpolicy: [android.net.INetworkPolicyManager]
55      netstats: [android.net.INetworkStatsService]
56      network_score: [android.net.INetworkScoreService]
57      textservices: [com.android.internal.textservice.ITextServicesManager]
58      network_management: [android.os.INetworkManagementService]
59      clipboard: [android.content.IClipboard]
60      statusbar: [com.android.internal.statusbar.IStatusBarService]
61      device_policy: [android.app.admin.IDevicePolicyManager]
62      persistent_data_block: [android.service.persistentdata.IPersistentDataBlockService]
63      lock_settings: [com.android.internal.widget.ILockSettings]
64      mount: [IMountService]
65      accessibility: [android.view.accessibility.IAccessibilityManager]
66      input_method: [com.android.internal.view.IInputMethodManager]
67      color_screenshot: [com.color.screenshot.IColorScreenshotManager]
68      OppoTranslateManagerService: [com.oppo.translate.IOppoTranslateManager]
69      bluetooth_manager: [android.bluetooth.IBluetoothManager]
70      input: [android.hardware.input.IInputManager]
71      window: [android.view.IWindowManager]
72      media.audio_policy: [android.media.IAudioPolicyService]
73      alarm: [android.app.IAlarmManager]
74      consumer_ir: [android.hardware.IConsumerIrService]
75      vibrator: [android.os.IVibratorService]
76      content: [android.content.IContentService]
77      account: [android.accounts.IAccountManager]
78      entropy: []
79      telephony.registry: [com.android.internal.telephony.ITelephonyRegistry]
80      scheduling_policy: [android.os.ISchedulingPolicyService]
81      webviewupdate: [android.webkit.IWebViewUpdateService]
82      usagestats: [android.app.usage.IUsageStatsManager]
83      battery: []
84      hardware: [android.os.IHardwareService]
85      permission: [android.os.IPermissionController]
86      cpuinfo: []
87      dbinfo: []
88      gfxinfo: []
89      meminfo: []
90      procstats: [com.android.internal.app.IProcessStats]
91      activity: [android.app.IActivityManager]
92      user: [android.os.IUserManager]
93      package: [android.content.pm.IPackageManager]
94      sensorservice: [android.gui.SensorServer]
95      media.camera: [android.hardware.ICameraService]
96      media.player: [android.media.IMediaPlayerService]
97      display: [android.hardware.display.IDisplayManager]
98      power: [android.os.IPowerManager]
99      appops: [com.android.internal.app.IAppOpsService]
100     batterystats: [com.android.internal.app.IBatteryStats]
101     android.security.keystore: [android.security.keystore]
102     SurfaceFlinger: [android.ui.ISurfaceComposer]
103     media.audio_flinger: [android.media.IAudioFlinger]
104     display.qservice: [android.display.IQService]
105     critical.log: []
106     drm.drmManager: [drm.IDrmManagerService]
107     batteryproperties: [android.os.IBatteryPropertiesRegistrar]
shell@R7sm:/ $

3.activity信息查询

帮助信息:

shell@R7sm:/ $ dumpsys activity –h

shell@R7sm:/ $ dumpsys activity -h
Activity manager dump options:
  [-a] [-c] [-p package] [-h] [cmd] ...
  cmd may be one of:
    a[ctivities]: activity stack state
    r[recents]: recent activities state
    b[roadcasts] [PACKAGE_NAME] [history [-s]]: broadcast state
    i[ntents] [PACKAGE_NAME]: pending intent state
    p[rocesses] [PACKAGE_NAME]: process state
    o[om]: out of memory management
    prov[iders] [COMP_SPEC ...]: content provider state
    provider [COMP_SPEC]: provider client-side state
    s[ervices] [COMP_SPEC ...]: service state
    as[sociations]: tracked app associations
    service [COMP_SPEC]: service client-side state
    package [PACKAGE_NAME]: all state related to given package
    all: dump all activities
    top: dump the top activity
    write: write all pending state to storage
    track-associations: enable association tracking
    untrack-associations: disable and clear association tracking
  cmd may also be a COMP_SPEC to dump activities.
  COMP_SPEC may be a component name (com.foo/.myApp),
    a partial substring in a component name, a
    hex object identifier.
  -a: include all available server state.
  -c: include client state.
  -p: limit output to given package.
shell@R7sm:/ $

4.package信息查询

帮助信息:

shell@R7sm:/ $ dumpsys package –h

shell@R7sm:/ $ dumpsys package -h
Package manager dump options:
  [-h] [-f] [--checkin] [cmd] ...
    --checkin: dump for a checkin
    -f: print details of intent filters
    -h: print this help
  cmd may be one of:
    l[ibraries]: list known shared libraries
    f[ibraries]: list device features
    k[eysets]: print known keysets
    r[esolvers]: dump intent resolvers
    perm[issions]: dump permissions
    pref[erred]: print preferred package settings
    preferred-xml [--full]: print preferred package settings as xml
    prov[iders]: dump content providers
    p[ackages]: dump installed packages
    s[hared-users]: dump shared user IDs
    m[essages]: print collected runtime messages
    v[erifiers]: print package verifier info
    version: print database version info
    write: write current settings now
    <package.name>: info about given package
    installs: details about install sessions
shell@R7sm:/ $

查看指定包信息:

shell@R7sm:/ $ dumpsys package com.oppo.music

shell@R7sm:/ $ dumpsys package com.oppo.music
Activity Resolver Table:
  Full MIME Types:
      vnd.android.cursor.dir/audio:
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity
      application/x-ogg:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity
      application/ogg:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity
      audio/*:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity
      application/itunes:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
      application/x-flac:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity

  Base MIME Types:
      vnd.android.cursor.dir:
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity
      application:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity (4 filters)
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity (2 filters)

  Wild MIME Types:
      audio:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity

  Schemes:
      uccredit:
        214bb9f7 com.oppo.music/com.ucsdk.creditlib.ui.CreditDeepLinkActivity
      opmusic:
        3f9619ce com.oppo.music/com.nearme.music.push.MCSBridgeActivity (2 filters)
      tencent1108845991:
        356db283 com.oppo.music/com.tencent.tauth.AuthActivity
      file:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
      http:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
      content:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity

  Non-Data Actions:
      com.heytap.music.account.auth:
        1d61448e com.oppo.music/com.nearme.music.auth.AuthTransmitDialogActivity
      com.heytap.music.playlist:
        11671a33 com.oppo.music/com.nearme.music.playlist.ui.NormalPlayListActivity
      com.heytap.music.addToPlayList:
        5757a4f com.oppo.music/com.nearme.migu.addsong.MiguAddSongDialogActivity
      com.heytap.music.radio.feekback.dislike:
        eb9def8 com.oppo.music/com.nearme.music.play.ui.PersonalityRadioDisLikeActivity
      android.intent.action.MAIN:
        1ca0b49d com.oppo.music/com.nearme.music.splash.SplashActivity
      com.heytap.music.vip:
        f747406 com.oppo.music/com.nearme.music.auth.VipTransmitDialogActivity
      com.heytap.music.ACTION_PLAYER:
        2ed3ca92 com.oppo.music/com.nearme.music.play.ui.MusicPlayerActivity
      com.oppo.music.SONG_AUDITION:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
      com.oppo.music.PLAY_MEDIA_DIR:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity
      com.heytap.music.play.together:
        478b005 com.oppo.music/com.nearme.music.play.ui.PlayTogetherTipActivity
      com.heytap.music.lyric.feedback:
        2d47184f com.oppo.music/com.nearme.music.play.ui.LyricFeedbackActivity
      com.customer.feedback.START:
        1f8c9c28 com.oppo.music/com.customer.feedback.sdk.activity.FeedbackActivity
      com.sina.weibo.sdk.action.ACTION_SDK_REQ_STORY:
        d7cace9 com.oppo.music/com.sina.weibo.sdk.share.WbShareResultActivity
      com.sina.weibo.sdk.action.ACTION_SDK_REQ_ACTIVITY:
        d7cace9 com.oppo.music/com.sina.weibo.sdk.share.WbShareResultActivity
      com.heytap.music.artist:
        22ab4cd7 com.oppo.music/com.nearme.music.online.ui.OnlineSingerDetailActivity
      com.heytap.music.album:
        184e8592 com.oppo.music/com.nearme.music.online.ui.OnlineAlbumDetailActivity
      com.heytap.music.lyric.setting:
        226d498d com.oppo.music/com.nearme.music.play.ui.LyricSettingActivity
      com.heytap.music.loading:
        24ff7742 com.oppo.music/com.nearme.migu.MiguLoadingActivity

  MIME Typed Actions:
      android.intent.action.PICK:
        f2dc8c2 com.oppo.music/com.nearme.music.trdsupport.pick.MusicPickerActivity (2 filters)
      android.intent.action.VIEW:
        1994f3c com.oppo.music/com.nearme.music.trdsupport.play.AuditionActivity

Receiver Resolver Table:
  Non-Data Actions:
      com.usercenter.action.receiver.SUPPORT_LOGIN:
        21ccfb40 com.oppo.music/com.heytap.usercenter.accountsdk.utils.app.UserCenterOperateReceiver
      com.onplus.account.oplus.login.broadcast:
        3e970da com.oppo.music/com.heytap.opnearmesdk.receiver.OPAccountReceiver
      android.intent.action.MEDIA_BUTTON:
        4c4686b com.oppo.music/androidx.media.session.MediaButtonReceiver

Service Resolver Table:
  Non-Data Actions:
      com.oplus.music.playbackservice:
        1dcc9c35 com.oppo.music/com.nearme.service.MediaPlaybackService
      com.heytap.music.service.command:
        1dcc9c35 com.oppo.music/com.nearme.service.MediaPlaybackService
      com.heytap.mcs.action.RECEIVE_MCS_MESSAGE:
        35d23e19 com.oppo.music/com.nearme.music.push.MusicService
      com.coloros.mcs.action.RECEIVE_MCS_MESSAGE:
        13c6ced8 com.oppo.music/com.nearme.music.push.OldPushService
      com.oppo.music.service.command:
        1dcc9c35 com.oppo.music/com.nearme.service.MediaPlaybackService
      com.heytap.music.service.migu:
        1acb844c com.oppo.music/com.migu.service.MiguService
      android.media.browse.MediaBrowserService:
        1dcc9c35 com.oppo.music/com.nearme.service.MediaPlaybackService
      android.intent.action.MEDIA_BUTTON:
        1dcc9c35 com.oppo.music/com.nearme.service.MediaPlaybackService

Registered ContentProviders:
  com.oppo.music/com.oplus.tingle.ipc.internal.TingleProvider:
    Provider{af162aa com.oppo.music/com.oplus.tingle.ipc.internal.TingleProvider}
  com.oppo.music/com.nearme.platform.opensdk.pay.NearMeFileProvider:
    Provider{2c5aff76 com.oppo.music/com.nearme.platform.opensdk.pay.NearMeFileProvider}
  com.oppo.music/com.nearme.instant.router.ui.UpdateFileProvider:
    Provider{1def9d02 com.oppo.music/com.nearme.instant.router.ui.UpdateFileProvider}
  com.oppo.music/com.nearme.music.provider.external.ExternalContentProvider:
    Provider{23973a03 com.oppo.music/com.nearme.music.provider.external.ExternalContentProvider}
  com.oppo.music/fm.qingting.log.LogProvider:
    Provider{1f49735f com.oppo.music/fm.qingting.log.LogProvider}
  com.oppo.music/com.heytap.usercenter.accountsdk.utils.UCAccountSDKInitProvider:
    Provider{27688bc8 com.oppo.music/com.heytap.usercenter.accountsdk.utils.UCAccountSDKInitProvider}
  com.oppo.music/com.oplus.webview.extension.utils.FileProvider:
    Provider{c3a76f8 com.oppo.music/com.oplus.webview.extension.utils.FileProvider}
  com.oppo.music/com.nearme.music.provider.MusicProvider:
    Provider{259821c3 com.oppo.music/com.nearme.music.provider.MusicProvider}
  com.oppo.music/com.oplus.epona.internal.EponaProvider:
    Provider{19fe22b1 com.oppo.music/com.oplus.epona.internal.EponaProvider}
  com.oppo.music/androidx.lifecycle.ProcessLifecycleOwnerInitializer:
    Provider{11f34088 com.oppo.music/androidx.lifecycle.ProcessLifecycleOwnerInitializer}
  com.oppo.music/me.jessyan.autosize.InitProvider:
    Provider{336c1a21 com.oppo.music/me.jessyan.autosize.InitProvider}
  com.oppo.music/androidx.core.content.FileProvider:
    Provider{1905e4f6 com.oppo.music/androidx.core.content.FileProvider}
  com.oppo.music/com.heytap.nearx.track.internal.storage.db.DataProvider:
    Provider{3bb09cce com.oppo.music/com.heytap.nearx.track.internal.storage.db.DataProvider}
  com.oppo.music/com.heytap.nearx.track.internal.storage.db.ConfigProvider:
    Provider{1ea04d85 com.oppo.music/com.heytap.nearx.track.internal.storage.db.ConfigProvider}

ContentProvider Authorities:
  [com.oppo.music.lifecycle-process]:
    Provider{11f34088 com.oppo.music/androidx.lifecycle.ProcessLifecycleOwnerInitializer}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.UCAccountSDKInitProvider]:
    Provider{27688bc8 com.oppo.music/com.heytap.usercenter.accountsdk.utils.UCAccountSDKInitProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [oppomusic]:
    Provider{259821c3 com.oppo.music/com.nearme.music.provider.MusicProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.fm.qingting.log]:
    Provider{1f49735f com.oppo.music/fm.qingting.log.LogProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.epona]:
    Provider{19fe22b1 com.oppo.music/com.oplus.epona.internal.EponaProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.router.upgrade.file]:
    Provider{1def9d02 com.oppo.music/com.nearme.instant.router.ui.UpdateFileProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.fileprovider]:
    Provider{1905e4f6 com.oppo.music/androidx.core.content.FileProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.fileProvider]:
    Provider{2c5aff76 com.oppo.music/com.nearme.platform.opensdk.pay.NearMeFileProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.autosize-init-provider]:
    Provider{336c1a21 com.oppo.music/me.jessyan.autosize.InitProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.Track.DataProvider]:
    Provider{3bb09cce com.oppo.music/com.heytap.nearx.track.internal.storage.db.DataProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.Track.ConfigProvider]:
    Provider{1ea04d85 com.oppo.music/com.heytap.nearx.track.internal.storage.db.ConfigProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.WebExt.fileProvider]:
    Provider{c3a76f8 com.oppo.music/com.oplus.webview.extension.utils.FileProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.heytap.music.externalContentProvider]:
    Provider{23973a03 com.oppo.music/com.nearme.music.provider.external.ExternalContentProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
  [com.oppo.music.tingle]:
    Provider{af162aa com.oppo.music/com.oplus.tingle.ipc.internal.TingleProvider}
      applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}

Key Set Manager:
  [com.oppo.music]
      Signing KeySets: 3

Packages:
  Package [com.oppo.music] (24d8dd4e):
    userId=10010 gids=[3003, 1028, 1015, 1023, 3002]
    pkg=Package{380496ac com.oppo.music}
    codePath=/data/app/com.oppo.music-2
    resourcePath=/data/app/com.oppo.music-2
    legacyNativeLibraryDir=/data/app/com.oppo.music-2/lib
    primaryCpuAbi=arm64-v8a
    secondaryCpuAbi=null
    versionCode=703002 targetSdk=30
    versionName=50.7.3.2
    splits=[base]
    applicationInfo=ApplicationInfo{11f3fbc4 com.oppo.music}
    flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA UPDATED_SYSTEM_APP LARGE_HEAP PRIVILEGED ]
    dataDir=/data/data/com.oppo.music
    supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
    usesOptionalLibraries:
      org.apache.http.legacy
    timeStamp=2021-03-06 16:08:49
    firstInstallTime=1971-08-09 08:09:40
    lastUpdateTime=2021-03-06 16:09:17
    signatures=PackageSignatures{3c182e6f [1f2fb269]}
    permissionsFixed=true haveGids=true installStatus=1
    pkgFlags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA UPDATED_SYSTEM_APP LARGE_HEAP PRIVILEGED ]
    User 0:  installed=true hidden=false stopped=false notLaunched=false enabled=0
      disabledComponents:
      com.oppo.music.mcs.DeliveryBtMcsReceiver
      com.oppo.music.playerservice.MusicPlayerService
      enabledComponents:
      com.oppo.music.playerservice.MusicPlayerSingleProcessService
      com.oppo.music.MusicPageWidgetProvider
    grantedPermissions:
      android.permission.USE_CREDENTIALS
      android.permission.MODIFY_AUDIO_SETTINGS
      android.permission.MANAGE_ACCOUNTS
      android.permission.SYSTEM_ALERT_WINDOW
      android.permission.BLUETOOTH
      android.permission.WRITE_MEDIA_STORAGE
      android.permission.INTERNET
      android.permission.READ_EXTERNAL_STORAGE
      android.permission.READ_PHONE_STATE
      android.permission.ACCESS_NETWORK_STATE
      android.permission.GET_ACCOUNTS
      android.permission.WRITE_EXTERNAL_STORAGE
      android.permission.VIBRATE
      android.permission.ACCESS_WIFI_STATE
      android.permission.WAKE_LOCK
    seinfo = default
    isSecurepayApp = false

Hidden system packages:
  Package [com.oppo.music] (3a2be688):
    userId=10010 gids=[]
    pkg=Package{3a1ec821 com.oppo.music}
    codePath=/system/priv-app/OppoMusic
    resourcePath=/system/priv-app/OppoMusic
    legacyNativeLibraryDir=/system/priv-app/OppoMusic/lib
    primaryCpuAbi=armeabi-v7a
    secondaryCpuAbi=null
    versionCode=3 targetSdk=16
    versionName=1.3_e56de71_160713
    splits=[base]
    applicationInfo=ApplicationInfo{a9b7446 com.oppo.music}
    flags=[ HAS_CODE ALLOW_TASK_REPARENTING ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
    dataDir=null
    supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
    timeStamp=1971-08-09 08:09:40
    firstInstallTime=1971-08-09 08:09:40
    lastUpdateTime=1971-08-09 08:09:40
    signatures=PackageSignatures{15c20607 []}
    permissionsFixed=false haveGids=false installStatus=1
    pkgFlags=[ SYSTEM PRIVILEGED ]
    User 0:  installed=true hidden=false stopped=false notLaunched=false enabled=0
    grantedPermissions:
      android.permission.WRITE_SETTINGS
      android.permission.MODIFY_AUDIO_SETTINGS
      android.permission.SYSTEM_ALERT_WINDOW
      com.oppo.speechassist.permission.SPEECH_SERVICE
      android.permission.INSTALL_PACKAGES
      android.permission.NFC
      android.permission.RECEIVE_BOOT_COMPLETED
      android.permission.BLUETOOTH
      android.permission.WRITE_MEDIA_STORAGE
      android.permission.GET_TASKS
      android.permission.INTERNET
      android.permission.BLUETOOTH_ADMIN
      android.permission.READ_EXTERNAL_STORAGE
      android.permission.MOUNT_UNMOUNT_FILESYSTEMS
      android.permission.READ_PHONE_STATE
      android.permission.WRITE_APN_SETTINGS
      android.permission.ACCESS_NETWORK_STATE
      android.permission.WRITE_EXTERNAL_STORAGE
      android.permission.VIBRATE
      android.permission.ACCESS_WIFI_STATE
      android.permission.WAKE_LOCK
    seinfo = null
    isSecurepayApp = false
shell@R7sm:/ $

5.network信息查询

shell@R7sm:/ $ dumpsys connectivity //网络连接

shell@R7sm:/ $ dumpsys connectivity
NetworkFactories for:
  Telephony
  Telephony
  WIFI_UT
  WIFI

Active default network: 100

Current Networks:
  NetworkAgentInfo{ ni{[type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "TP-LINK", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]}  network{100}  lp{{InterfaceName: wlan0 LinkAddresses: [fe80::2e5b:b8ff:fe13:93a1/64,192.168.0.103/24,]  Routes: [fe80::/64 -> :: wlan0,192.168.0.0/24 -> 0.0.0.0 wlan0,0.0.0.0/0 -> 192.168.0.1 wlan0,] DnsAddresses: [192.168.1.1,192.168.0.1,] Domains:  MTU: 0 TcpBufferSizes: 524288,1048576,2097152,262144,524288,1048576}}  nc{[ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]}  Score{79}  everValidated{true}  lastValidated{true}  created{true}  explicitlySelected{false} }
    Requests:
      NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
      NetworkRequest [ id=2, legacyType=-1, [] ]
      NetworkRequest [ id=5, legacyType=-1, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
      NetworkRequest [ id=6, legacyType=-1, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
    Lingered:

Network Requests:
  Listen from uid/pid:1000/1486 for NetworkRequest [ id=2, legacyType=-1, [] ]
  Listen from uid/pid:10043/25720 for NetworkRequest [ id=6, legacyType=-1, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
  Listen from uid/pid:10018/5284 for NetworkRequest [ id=5, legacyType=-1, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
  Request from uid/pid:1000/922 for NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]

mLegacyTypeTracker:
  0 none
  1 NetworkAgentInfo [WIFI () - 100] CONNECTED/CONNECTED
  2 none
  3 none
  4 none
  5 none
  7 none
  10 none
  11 none
  12 none
  17 none

NetworkTransitionWakeLock is currently not held.
It was last requested for

mUpstreamIfaceTypes:
 0
 1
 4
 5
 7

Tether state:
 wlan0 - InitialState - Available - lastError =0


Inet condition reports:
shell@R7sm:/ $

shell@R7sm:/ $ dumpsys netpolicy //网络策略

shell@R7sm:/ $ dumpsys netpolicy
Restrict background: false
Restrict power: false
Current foreground state: 2
Network policies:
  NetworkPolicy[NetworkTemplate: matchRule=WIFI, matchSubscriberIds=[null], networkId="0101"]: cycleDay=-1, cycleTimezone=UTC, warningBytes=-1, limitBytes=-1, lastWarningSnooze=-1, lastLimitSnooze=-1, metered=true, inferred=true
  NetworkPolicy[NetworkTemplate: matchRule=MOBILE_ALL, subscriberId=460027..., matchSubscriberIds=[460027...]]: cycleDay=1, cycleTimezone=Asia/Shanghai, warningBytes=-1, limitBytes=-1, lastWarningSnooze=-1, lastLimitSnooze=-1, metered=true, inferred=false
Metered ifaces: {}
Policy for UIDs:
Power save whitelist app ids:
  UID=10005: true
Status for known UIDs:
  UID=1000 state=0 (fg) pids=[1486=0,1521=3,1754=3,1840=0,1862=0,1932=0,2020=3,2133=3,2155=3,2524=3,2885=7,3129=7,4586=13,4640=13,4724=7,5123=7,9331=7,21304=7] rules=UNKNOWN
  UID=1001 state=0 (fg) pids=[1885=0,4439=3] rules=UNKNOWN
  UID=10001 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10002 state=13 (bg) pids=[2060=13] rules=UNKNOWN
  UID=10004 state=3 (bg) pids=[21278=3] rules=UNKNOWN
  UID=10005 state=3 (bg) pids=[1404=3] rules=UNKNOWN
  UID=10006 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10007 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10008 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10009 state=7 (bg) pids=[3203=7] rules=UNKNOWN
  UID=10010 state=2 (fg) pids=[26376=2] rules=UNKNOWN
  UID=10017 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10018 state=7 (bg) pids=[5232=7,5284=13,21998=7] rules=UNKNOWN
  UID=10019 state=7 (bg) pids=[2341=13,2862=7] rules=UNKNOWN
  UID=10020 state=13 (bg) pids=[20849=13] rules=UNKNOWN
  UID=10022 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10025 state=7 (bg) pids=[21328=7] rules=UNKNOWN
  UID=10031 state=7 (bg) pids=[22723=7] rules=UNKNOWN
  UID=10035 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10039 state=7 (bg) pids=[4614=7] rules=UNKNOWN
  UID=10040 state=7 (bg) pids=[3838=7] rules=UNKNOWN
  UID=10041 state=7 (bg) pids=[2665=7] rules=UNKNOWN
  UID=10042 state=9 (bg) pids=[4347=9] rules=UNKNOWN
  UID=10043 state=13 (bg) pids=[25720=13] rules=UNKNOWN
  UID=10046 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10047 state=4 (bg) pids=[1785=4] rules=UNKNOWN
  UID=10048 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10050 state=7 (bg) pids=[5257=7] rules=UNKNOWN
  UID=10056 state=0 (fg) pids=[1910=0] rules=UNKNOWN
  UID=10058 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10060 state=13 (bg) pids=[21350=13] rules=UNKNOWN
  UID=10062 state=9 (bg) pids=[2763=9] rules=UNKNOWN
  UID=10063 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10065 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10069 state=13 (bg) pids=[7838=13] rules=UNKNOWN
  UID=10072 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10074 state=13 (bg) pids=UNKNOWN rules=UNKNOWN
  UID=10075 state=4 (bg) pids=[1727=4] rules=UNKNOWN
  UID=10077 state=3 (bg) pids=[2362=3] rules=UNKNOWN
  UID=10084 state=13 (bg) pids=[21390=13] rules=UNKNOWN
shell@R7sm:/ $

shell@R7sm:/ $ dumpsys netstats //网络状态

shell@R7sm:/ $ dumpsys netstats
Active interfaces:
  iface=wlan0 ident=[[type=WIFI, subType=COMBINED, networkId="TP-LINK"]]
Active UID interfaces:
  iface=wlan0 ident=[[type=WIFI, subType=COMBINED, networkId="TP-LINK"]]
Dev stats:
  Pending bytes: 1829474
  History since boot:
  ident=[[type=WIFI, subType=COMBINED, networkId="TP-LINK"]] uid=-1 set=ALL tag=0x0
    NetworkStatsHistory: bucketDuration=3600
      st=1615100400 rb=3006968 rp=3622 tb=252131 tp=2396 op=0
      st=1615104000 rb=8984874 rp=7882 tb=330729 tp=2974 op=0
      st=1615107600 rb=1656970 rp=2231 tb=62763 tp=792 op=0
Xt stats:
  Pending bytes: 1784832
  History since boot:
  ident=[[type=WIFI, subType=COMBINED, networkId="TP-LINK"]] uid=-1 set=ALL tag=0x0
    NetworkStatsHistory: bucketDuration=3600
      st=1615100400 rb=2999686 rp=3369 tb=214844 tp=2290 op=0
      st=1615104000 rb=8973640 rp=7481 tb=284538 tp=2810 op=0
      st=1615107600 rb=1645944 rp=1837 tb=47494 tp=644 op=0
shell@R7sm:/ $

shell@R7sm:/ $ dumpsys network_management //网络管理

shell@R7sm:/ $ dumpsys network_management
NetworkManagementService NativeDaemonConnector Log:
03-07 17:16:51.071 - SND -> {614 bandwidth gettetherstats}
03-07 17:16:51.072 - RCV <- {200 614 Tethering stats list completed}
03-07 17:17:03.123 - SND -> {615 bandwidth gettetherstats}
03-07 17:17:03.124 - RCV <- {200 615 Tethering stats list completed}
03-07 17:17:15.183 - SND -> {616 bandwidth gettetherstats}
03-07 17:17:15.184 - RCV <- {200 616 Tethering stats list completed}
03-07 17:17:27.232 - SND -> {617 bandwidth gettetherstats}
03-07 17:17:27.233 - RCV <- {200 617 Tethering stats list completed}
03-07 17:17:39.279 - SND -> {618 bandwidth gettetherstats}
03-07 17:17:39.280 - RCV <- {200 618 Tethering stats list completed}
03-07 17:17:51.331 - SND -> {619 bandwidth gettetherstats}
03-07 17:17:51.331 - RCV <- {200 619 Tethering stats list completed}
03-07 17:18:03.378 - SND -> {620 bandwidth gettetherstats}
03-07 17:18:03.379 - RCV <- {200 620 Tethering stats list completed}
03-07 17:18:15.428 - SND -> {621 bandwidth gettetherstats}
03-07 17:18:15.429 - RCV <- {200 621 Tethering stats list completed}
03-07 17:18:27.475 - SND -> {622 bandwidth gettetherstats}
03-07 17:18:27.476 - RCV <- {200 622 Tethering stats list completed}
03-07 17:18:39.513 - SND -> {623 bandwidth gettetherstats}
03-07 17:18:39.514 - RCV <- {200 623 Tethering stats list completed}
03-07 17:18:51.561 - SND -> {624 bandwidth gettetherstats}
03-07 17:18:51.569 - RCV <- {200 624 Tethering stats list completed}
03-07 17:19:03.617 - SND -> {625 bandwidth gettetherstats}
03-07 17:19:03.617 - RCV <- {200 625 Tethering stats list completed}
03-07 17:19:15.669 - SND -> {626 bandwidth gettetherstats}
03-07 17:19:15.670 - RCV <- {200 626 Tethering stats list completed}
03-07 17:19:27.717 - SND -> {627 bandwidth gettetherstats}
03-07 17:19:27.718 - RCV <- {200 627 Tethering stats list completed}
03-07 17:19:39.769 - SND -> {628 bandwidth gettetherstats}
03-07 17:19:39.770 - RCV <- {200 628 Tethering stats list completed}
03-07 17:19:50.530 - RCV <- {614 Address updated 192.168.0.103/24 wlan0 128 0}
03-07 17:19:51.819 - SND -> {629 bandwidth gettetherstats}
03-07 17:19:51.820 - RCV <- {200 629 Tethering stats list completed}
03-07 17:20:03.872 - SND -> {630 bandwidth gettetherstats}
03-07 17:20:03.873 - RCV <- {200 630 Tethering stats list completed}
03-07 17:20:15.917 - SND -> {631 bandwidth gettetherstats}
03-07 17:20:15.918 - RCV <- {200 631 Tethering stats list completed}
03-07 17:20:27.949 - SND -> {632 bandwidth gettetherstats}
03-07 17:20:27.950 - RCV <- {200 632 Tethering stats list completed}
03-07 17:20:39.999 - SND -> {633 bandwidth gettetherstats}
03-07 17:20:40.001 - RCV <- {200 633 Tethering stats list completed}
03-07 17:20:52.061 - SND -> {634 bandwidth gettetherstats}
03-07 17:20:52.062 - RCV <- {200 634 Tethering stats list completed}
03-07 17:21:04.122 - SND -> {635 bandwidth gettetherstats}
03-07 17:21:04.123 - RCV <- {200 635 Tethering stats list completed}
03-07 17:21:16.177 - SND -> {636 bandwidth gettetherstats}
03-07 17:21:16.178 - RCV <- {200 636 Tethering stats list completed}
03-07 17:21:28.236 - SND -> {637 bandwidth gettetherstats}
03-07 17:21:28.239 - RCV <- {200 637 Tethering stats list completed}
03-07 17:21:40.296 - SND -> {638 bandwidth gettetherstats}
03-07 17:21:40.297 - RCV <- {200 638 Tethering stats list completed}
03-07 17:21:52.345 - SND -> {639 bandwidth gettetherstats}
03-07 17:21:52.346 - RCV <- {200 639 Tethering stats list completed}
03-07 17:22:04.390 - SND -> {640 bandwidth gettetherstats}
03-07 17:22:04.390 - RCV <- {200 640 Tethering stats list completed}
03-07 17:22:16.431 - SND -> {641 bandwidth gettetherstats}
03-07 17:22:16.432 - RCV <- {200 641 Tethering stats list completed}
03-07 17:22:28.485 - SND -> {642 bandwidth gettetherstats}
03-07 17:22:28.486 - RCV <- {200 642 Tethering stats list completed}
03-07 17:22:40.545 - SND -> {643 bandwidth gettetherstats}
03-07 17:22:40.545 - RCV <- {200 643 Tethering stats list completed}
03-07 17:22:52.588 - SND -> {644 bandwidth gettetherstats}
03-07 17:22:52.588 - RCV <- {200 644 Tethering stats list completed}
03-07 17:23:04.650 - SND -> {645 bandwidth gettetherstats}
03-07 17:23:04.651 - RCV <- {200 645 Tethering stats list completed}
03-07 17:23:16.712 - SND -> {646 bandwidth gettetherstats}
03-07 17:23:16.714 - RCV <- {200 646 Tethering stats list completed}
03-07 17:23:28.764 - SND -> {647 bandwidth gettetherstats}
03-07 17:23:28.766 - RCV <- {200 647 Tethering stats list completed}
03-07 17:23:40.808 - SND -> {648 bandwidth gettetherstats}
03-07 17:23:40.809 - RCV <- {200 648 Tethering stats list completed}
03-07 17:23:52.860 - SND -> {649 bandwidth gettetherstats}
03-07 17:23:52.861 - RCV <- {200 649 Tethering stats list completed}
03-07 17:24:04.889 - SND -> {650 bandwidth gettetherstats}
03-07 17:24:04.891 - RCV <- {200 650 Tethering stats list completed}
03-07 17:24:16.958 - SND -> {651 bandwidth gettetherstats}
03-07 17:24:16.959 - RCV <- {200 651 Tethering stats list completed}
03-07 17:24:29.012 - SND -> {652 bandwidth gettetherstats}
03-07 17:24:29.013 - RCV <- {200 652 Tethering stats list completed}
03-07 17:24:33.941 - SND -> {653 bandwidth gettetherstats}
03-07 17:24:33.945 - RCV <- {200 653 Tethering stats list completed}
03-07 17:24:33.958 - SND -> {654 bandwidth setglobalalert 2097152}
03-07 17:24:33.959 - RCV <- {200 654 Bandwidth command succeeeded}
03-07 17:24:41.066 - SND -> {655 bandwidth gettetherstats}
03-07 17:24:41.067 - RCV <- {200 655 Tethering stats list completed}
03-07 17:24:53.099 - SND -> {656 bandwidth gettetherstats}
03-07 17:24:53.100 - RCV <- {200 656 Tethering stats list completed}
03-07 17:25:05.154 - SND -> {657 bandwidth gettetherstats}
03-07 17:25:05.156 - RCV <- {200 657 Tethering stats list completed}
03-07 17:25:17.198 - SND -> {658 bandwidth gettetherstats}
03-07 17:25:17.200 - RCV <- {200 658 Tethering stats list completed}
03-07 17:25:29.247 - SND -> {659 bandwidth gettetherstats}
03-07 17:25:29.250 - RCV <- {200 659 Tethering stats list completed}
03-07 17:25:41.300 - SND -> {660 bandwidth gettetherstats}
03-07 17:25:41.301 - RCV <- {200 660 Tethering stats list completed}
03-07 17:25:53.337 - SND -> {661 bandwidth gettetherstats}
03-07 17:25:53.338 - RCV <- {200 661 Tethering stats list completed}
03-07 17:26:05.403 - SND -> {662 bandwidth gettetherstats}
03-07 17:26:05.404 - RCV <- {200 662 Tethering stats list completed}
03-07 17:26:17.451 - SND -> {663 bandwidth gettetherstats}
03-07 17:26:17.453 - RCV <- {200 663 Tethering stats list completed}
03-07 17:26:29.497 - SND -> {664 bandwidth gettetherstats}
03-07 17:26:29.498 - RCV <- {200 664 Tethering stats list completed}
03-07 17:26:41.538 - SND -> {665 bandwidth gettetherstats}
03-07 17:26:41.539 - RCV <- {200 665 Tethering stats list completed}
03-07 17:26:53.592 - SND -> {666 bandwidth gettetherstats}
03-07 17:26:53.593 - RCV <- {200 666 Tethering stats list completed}
03-07 17:27:05.643 - SND -> {667 bandwidth gettetherstats}
03-07 17:27:05.643 - RCV <- {200 667 Tethering stats list completed}
03-07 17:27:17.684 - SND -> {668 bandwidth gettetherstats}
03-07 17:27:17.685 - RCV <- {200 668 Tethering stats list completed}
03-07 17:27:29.731 - SND -> {669 bandwidth gettetherstats}
03-07 17:27:29.732 - RCV <- {200 669 Tethering stats list completed}
03-07 17:27:41.768 - SND -> {670 bandwidth gettetherstats}
03-07 17:27:41.769 - RCV <- {200 670 Tethering stats list completed}
03-07 17:27:53.811 - SND -> {671 bandwidth gettetherstats}
03-07 17:27:53.812 - RCV <- {200 671 Tethering stats list completed}
03-07 17:28:05.861 - SND -> {672 bandwidth gettetherstats}
03-07 17:28:05.862 - RCV <- {200 672 Tethering stats list completed}
03-07 17:28:17.915 - SND -> {673 bandwidth gettetherstats}
03-07 17:28:17.915 - RCV <- {200 673 Tethering stats list completed}
03-07 17:28:29.966 - SND -> {674 bandwidth gettetherstats}
03-07 17:28:29.966 - RCV <- {200 674 Tethering stats list completed}
03-07 17:28:42.036 - SND -> {675 bandwidth gettetherstats}
03-07 17:28:42.038 - RCV <- {200 675 Tethering stats list completed}
03-07 17:28:54.105 - SND -> {676 bandwidth gettetherstats}
03-07 17:28:54.106 - RCV <- {200 676 Tethering stats list completed}
03-07 17:29:06.165 - SND -> {677 bandwidth gettetherstats}
03-07 17:29:06.167 - RCV <- {200 677 Tethering stats list completed}
03-07 17:29:18.220 - SND -> {678 bandwidth gettetherstats}
03-07 17:29:18.221 - RCV <- {200 678 Tethering stats list completed}
03-07 17:29:30.277 - SND -> {679 bandwidth gettetherstats}
03-07 17:29:30.278 - RCV <- {200 679 Tethering stats list completed}
03-07 17:29:42.335 - SND -> {680 bandwidth gettetherstats}
03-07 17:29:42.336 - RCV <- {200 680 Tethering stats list completed}
03-07 17:29:54.397 - SND -> {681 bandwidth gettetherstats}
03-07 17:29:54.398 - RCV <- {200 681 Tethering stats list completed}
03-07 17:30:06.453 - SND -> {682 bandwidth gettetherstats}
03-07 17:30:06.453 - RCV <- {200 682 Tethering stats list completed}
03-07 17:30:18.503 - SND -> {683 bandwidth gettetherstats}
03-07 17:30:18.504 - RCV <- {200 683 Tethering stats list completed}
03-07 17:30:30.565 - SND -> {684 bandwidth gettetherstats}
03-07 17:30:30.566 - RCV <- {200 684 Tethering stats list completed}
03-07 17:30:42.628 - SND -> {685 bandwidth gettetherstats}
03-07 17:30:42.629 - RCV <- {200 685 Tethering stats list completed}
03-07 17:30:54.691 - SND -> {686 bandwidth gettetherstats}
03-07 17:30:54.698 - RCV <- {200 686 Tethering stats list completed}
03-07 17:31:06.762 - SND -> {687 bandwidth gettetherstats}
03-07 17:31:06.763 - RCV <- {200 687 Tethering stats list completed}
03-07 17:31:18.807 - SND -> {688 bandwidth gettetherstats}
03-07 17:31:18.807 - RCV <- {200 688 Tethering stats list completed}
03-07 17:31:30.863 - SND -> {689 bandwidth gettetherstats}
03-07 17:31:30.863 - RCV <- {200 689 Tethering stats list completed}
03-07 17:31:42.926 - SND -> {690 bandwidth gettetherstats}
03-07 17:31:42.927 - RCV <- {200 690 Tethering stats list completed}
03-07 17:31:47.062 - RCV <- {601 limit alert globalAlert wlan0}
03-07 17:31:47.076 - SND -> {691 bandwidth gettetherstats}
03-07 17:31:47.077 - RCV <- {200 691 Tethering stats list completed}
03-07 17:31:47.129 - SND -> {692 bandwidth setglobalalert 2097152}
03-07 17:31:47.132 - RCV <- {200 692 Bandwidth command succeeeded}

Pending requests:

Bandwidth control enabled: true
mMobileActivityFromRadio=false mLastPowerStateFromRadio=1
mNetworkActive=false
Active quota ifaces: {}
Active alert ifaces: {}
UID reject on quota ifaces: []
Idle timers:
Firewall enabled: false
shell@R7sm:/ $

6.常用信息查询示例:

shell@R7sm:/ $ dumpsys meminfo //内存

shell@R7sm:/ $ dumpsys meminfo
Applications Memory Usage (kB):
Uptime: 7712577 Realtime: 7712577

Total PSS by process:
   256982 kB: com.oppo.music (pid 26376 / activities)
   116955 kB: com.migu.music.heytap (pid 22909 / activities)
    79094 kB: system (pid 922)
    57113 kB: com.oppo.market (pid 5284)
    53635 kB: com.android.browser (pid 2341)
    47063 kB: com.android.systemui (pid 1486)
    37575 kB: com.oppo.launcher (pid 4347 / activities)
    37315 kB: surfaceflinger (pid 301)
    31206 kB: com.nearme.gamecenter (pid 21998)
    30890 kB: com.oppo.usercenter (pid 25720)
    26604 kB: android.process.media (pid 1404)
    26531 kB: com.color.safecenter (pid 2020)
    25930 kB: com.android.phone (pid 1885)
    22635 kB: com.sohu.inputmethod.sogouoem (pid 1727)
    22224 kB: com.oppo.exserviceui (pid 2155)
    21064 kB: com.migu.music.heytap:AgentService (pid 22969)
    19029 kB: com.android.browser:mcs (pid 2862)
    16080 kB: com.oppo.recents (pid 2524)
    15367 kB: com.migu.music.heytap:AnalysysService (pid 21390)
    13044 kB: com.color.safecenter:app_protect (pid 2885)
    13026 kB: mediaserver (pid 324)
    12066 kB: com.android.keyguard (pid 26406)
    12039 kB: zygote64 (pid 532)
    11025 kB: com.oppo.gesture (pid 1521)
     9673 kB: com.color.safecenter:task (pid 3129)
     9380 kB: com.android.settings (pid 4586)
     9230 kB: zygote (pid 533)
     9209 kB: android.process.acore (pid 2060)
     8858 kB: com.migu.music.heytap:MiguSsoService (pid 23024)
     8769 kB: com.cleanmaster.sdk:bg.clean (pid 3838)
     7387 kB: com.oppo.weather (pid 2763)
     7302 kB: com.coloros.oppoguardelf (pid 2133)
     6556 kB: com.nearme.sync (pid 2665)
     6463 kB: com.baidu.map.location (pid 1785)
     6039 kB: com.nearme.statistics.rom (pid 5123)
     5993 kB: com.oppo.gallery3d (pid 3203)
     5942 kB: com.quicinc.cne.CNEService (pid 1840)
     5811 kB: com.oppo.resmonitor (pid 1862)
     5704 kB: rild (pid 425)
     5686 kB: com.coloros.appmanager (pid 1932)
     5580 kB: mm-qcamera-daemon (pid 354)
     5291 kB: com.oppo.yellowpage (pid 5232)
     5013 kB: mm-pp-daemon (pid 360)
     4782 kB: rild (pid 430)
     4742 kB: com.oppo.notification.center (pid 1754)
     4578 kB: com.oppo.ota (pid 5257)
     4567 kB: com.oppo.usbselection (pid 4640)
     4437 kB: com.coloros.oppomorningsystem (pid 4724)
     4297 kB: com.oppo.filemanager (pid 22723)
     4184 kB: com.nearme.ocloud (pid 4614)
     4112 kB: com.oppo.alarmclock (pid 21328)
     3882 kB: com.oppo.gestureservice (pid 1910)
     3712 kB: com.qualcomm.qcrilmsgtunnel (pid 4439)
     3607 kB: com.android.printspooler (pid 7838)
     3391 kB: com.oppo.speechassist (pid 21350)
     3374 kB: com.android.dialer (pid 21278)
     3360 kB: com.android.smspush (pid 2362)
     3206 kB: com.oppo.c2u (pid 20849)
     3062 kB: com.oppo.newsimdetect (pid 9331)
     2994 kB: com.qualcomm.telephony (pid 21304)
     2608 kB: drmserver (pid 323)
     2403 kB: wpa_supplicant (pid 1336)
     1862 kB: netmgrd (pid 433)
     1325 kB: audiod (pid 357)
     1139 kB: thermal-engine (pid 337)
     1062 kB: netd (pid 318)
      935 kB: vold (pid 300)
      874 kB: dpmd (pid 503)
      857 kB: ATFWD-daemon (pid 348)
      807 kB: cnd (pid 342)
      801 kB: wcnss_service (pid 339)
      736 kB: keystore (pid 935)
      727 kB: /init (pid 1)
      682 kB: imsdatadaemon (pid 464)
      643 kB: bspCriticalLog (pid 329)
      604 kB: time_daemon (pid 355)
      587 kB: qmuxd (pid 398)
      578 kB: criticallog (pid 322)
      561 kB: qseecomd (pid 525)
      555 kB: logd (pid 294)
      548 kB: ueventd (pid 246)
      499 kB: cnss-daemon (pid 345)
      475 kB: sh (pid 13302)
      462 kB: qseecomd (pid 310)
      429 kB: imsqmidaemon (pid 340)
      421 kB: rmt_storage (pid 317)
      388 kB: rfs_access (pid 305)
      381 kB: lmkd (pid 297)
      373 kB: dpmd (pid 344)
      363 kB: msm_irqbalance (pid 390)
      347 kB: rutilsdaemon (pid 7575)
      325 kB: loc_launcher (pid 346)
      318 kB: dhcpcd (pid 2247)
      307 kB: debuggerd64 (pid 320)
      290 kB: servicemanager (pid 298)
      288 kB: debuggerd (pid 319)
      284 kB: adbd (pid 361)
      282 kB: installd (pid 325)
      280 kB: perfd (pid 3662)
      260 kB: healthd (pid 295)
      184 kB: psensord (pid 351)

Total PSS by OOM adjustment:
   120539 kB: Native
               37315 kB: surfaceflinger (pid 301)
               13026 kB: mediaserver (pid 324)
               12039 kB: zygote64 (pid 532)
                9230 kB: zygote (pid 533)
                5704 kB: rild (pid 425)
                5580 kB: mm-qcamera-daemon (pid 354)
                5013 kB: mm-pp-daemon (pid 360)
                4782 kB: rild (pid 430)
                2608 kB: drmserver (pid 323)
                2403 kB: wpa_supplicant (pid 1336)
                1862 kB: netmgrd (pid 433)
                1325 kB: audiod (pid 357)
                1139 kB: thermal-engine (pid 337)
                1062 kB: netd (pid 318)
                 935 kB: vold (pid 300)
                 874 kB: dpmd (pid 503)
                 857 kB: ATFWD-daemon (pid 348)
                 807 kB: cnd (pid 342)
                 801 kB: wcnss_service (pid 339)
                 736 kB: keystore (pid 935)
                 727 kB: /init (pid 1)
                 682 kB: imsdatadaemon (pid 464)
                 643 kB: bspCriticalLog (pid 329)
                 604 kB: time_daemon (pid 355)
                 587 kB: qmuxd (pid 398)
                 578 kB: criticallog (pid 322)
                 561 kB: qseecomd (pid 525)
                 555 kB: logd (pid 294)
                 548 kB: ueventd (pid 246)
                 499 kB: cnss-daemon (pid 345)
                 475 kB: sh (pid 13302)
                 462 kB: qseecomd (pid 310)
                 429 kB: imsqmidaemon (pid 340)
                 421 kB: rmt_storage (pid 317)
                 388 kB: rfs_access (pid 305)
                 381 kB: lmkd (pid 297)
                 373 kB: dpmd (pid 344)
                 363 kB: msm_irqbalance (pid 390)
                 347 kB: rutilsdaemon (pid 7575)
                 325 kB: loc_launcher (pid 346)
                 318 kB: dhcpcd (pid 2247)
                 307 kB: debuggerd64 (pid 320)
                 290 kB: servicemanager (pid 298)
                 288 kB: debuggerd (pid 319)
                 284 kB: adbd (pid 361)
                 282 kB: installd (pid 325)
                 280 kB: perfd (pid 3662)
                 260 kB: healthd (pid 295)
                 184 kB: psensord (pid 351)
   185474 kB: Persistent
               79094 kB: system (pid 922)
               47063 kB: com.android.systemui (pid 1486)
               25930 kB: com.android.phone (pid 1885)
               12066 kB: com.android.keyguard (pid 26406)
                5942 kB: com.quicinc.cne.CNEService (pid 1840)
                5811 kB: com.oppo.resmonitor (pid 1862)
                5686 kB: com.coloros.appmanager (pid 1932)
                3882 kB: com.oppo.gestureservice (pid 1910)
   159253 kB: Foreground
              116955 kB: com.migu.music.heytap (pid 22909 / activities)
               26531 kB: com.color.safecenter (pid 2020)
               11025 kB: com.oppo.gesture (pid 1521)
                4742 kB: com.oppo.notification.center (pid 1754)
   313034 kB: Visible
              256982 kB: com.oppo.music (pid 26376 / activities)
               22224 kB: com.oppo.exserviceui (pid 2155)
               16080 kB: com.oppo.recents (pid 2524)
                7302 kB: com.coloros.oppoguardelf (pid 2133)
                3712 kB: com.qualcomm.qcrilmsgtunnel (pid 4439)
                3374 kB: com.android.dialer (pid 21278)
                3360 kB: com.android.smspush (pid 2362)
    55702 kB: Perceptible
               26604 kB: android.process.media (pid 1404)
               22635 kB: com.sohu.inputmethod.sogouoem (pid 1727)
                6463 kB: com.baidu.map.location (pid 1785)
    36431 kB: A Services
               21064 kB: com.migu.music.heytap:AgentService (pid 22969)
               15367 kB: com.migu.music.heytap:AnalysysService (pid 21390)
    44962 kB: Home
               37575 kB: com.oppo.launcher (pid 4347 / activities)
                7387 kB: com.oppo.weather (pid 2763)
   124878 kB: B Services
               31206 kB: com.nearme.gamecenter (pid 21998)
               19029 kB: com.android.browser:mcs (pid 2862)
               13044 kB: com.color.safecenter:app_protect (pid 2885)
                9673 kB: com.color.safecenter:task (pid 3129)
                6556 kB: com.nearme.sync (pid 2665)
                6039 kB: com.nearme.statistics.rom (pid 5123)
                5993 kB: com.oppo.gallery3d (pid 3203)
                5291 kB: com.oppo.yellowpage (pid 5232)
                4578 kB: com.oppo.ota (pid 5257)
                4567 kB: com.oppo.usbselection (pid 4640)
                4437 kB: com.coloros.oppomorningsystem (pid 4724)
                4297 kB: com.oppo.filemanager (pid 22723)
                4112 kB: com.oppo.alarmclock (pid 21328)
                3062 kB: com.oppo.newsimdetect (pid 9331)
                2994 kB: com.qualcomm.telephony (pid 21304)
   192242 kB: Cached
               57113 kB: com.oppo.market (pid 5284)
               53635 kB: com.android.browser (pid 2341)
               30890 kB: com.oppo.usercenter (pid 25720)
                9380 kB: com.android.settings (pid 4586)
                9209 kB: android.process.acore (pid 2060)
                8858 kB: com.migu.music.heytap:MiguSsoService (pid 23024)
                8769 kB: com.cleanmaster.sdk:bg.clean (pid 3838)
                4184 kB: com.nearme.ocloud (pid 4614)
                3607 kB: com.android.printspooler (pid 7838)
                3391 kB: com.oppo.speechassist (pid 21350)
                3206 kB: com.oppo.c2u (pid 20849)

Total PSS by category:
   407174 kB: Dalvik
   199118 kB: .dex mmap
   194207 kB: Native
   103517 kB: .so mmap
    68272 kB: EGL mtrack
    62938 kB: Gfx dev
    61457 kB: .oat mmap
    55029 kB: .art mmap
    21388 kB: Dalvik Other
    17331 kB: .apk mmap
    14684 kB: Stack
    12656 kB: Unknown
    10610 kB: Other mmap
     3115 kB: .ttf mmap
      372 kB: GL mtrack
      371 kB: Other dev
      244 kB: Ashmem
       20 kB: .jar mmap
       12 kB: Cursor
        0 kB: Other mtrack

Total RAM: 2945444 kB (status moderate)
 Free RAM: 1548542 kB (192242 cached pss + 1270884 cached kernel + 34800 ion cached + 50616 free)
 Used RAM: 1305253 kB (1040273 used pss + 264980 kernel)
 Lost RAM: 91649 kB
   Tuning: 256 (large 512), oom 322560 kB, restore limit 107520 kB (high-end-gfx)
shell@R7sm:/ $

shell@R7sm:/ $ dumpsys cpuinfo //CPU

shell@R7sm:/ $ dumpsys cpuinfo
Load: 7.29 / 6.83 / 6.44
CPU usage from 7002ms to 1968ms ago:
  75% 22909/com.migu.music.heytap: 57% user + 18% kernel / faults: 23357 minor
  23% 301/surfaceflinger: 12% user + 10% kernel
  4.9% 324/mediaserver: 3.3% user + 1.5% kernel
  3.7% 1486/com.android.systemui: 2.7% user + 0.9% kernel / faults: 308 minor
  2.9% 26283/mdss_fb0: 0% user + 2.9% kernel
  2.7% 922/system_server: 0.9% user + 1.7% kernel / faults: 53 minor
  1.1% 13159/kworker/u16:5: 0% user + 1.1% kernel
  1.1% 20916/kworker/4:1: 0% user + 1.1% kernel
  0.9% 21843/kworker/u16:2: 0% user + 0.9% kernel
  0.9% 23107/kworker/u16:4: 0% user + 0.9% kernel
  0.9% 26376/com.oppo.music: 0.7% user + 0.1% kernel / faults: 40 minor
  0.7% 161/mdss_dsi_event: 0% user + 0.7% kernel
  0.7% 361/adbd: 0.1% user + 0.5% kernel / faults: 68 minor
  0.7% 20928/kworker/5:1: 0% user + 0.7% kernel
  0.5% 1885/com.android.phone: 0.3% user + 0.1% kernel / faults: 9 minor
  0.2% 22969/com.migu.music.heytap:AgentService: 0.2% user + 0% kernel / faults: 104 minor
  0.3% 40/kworker/u17:0: 0% user + 0.3% kernel
  0.3% 195/cfinteractive: 0% user + 0.3% kernel
  0.3% 298/servicemanager: 0.3% user + 0% kernel
  0.3% 15117/kworker/6:0: 0% user + 0.3% kernel
  0.3% 21390/com.migu.music.heytap:AnalysysService: 0% user + 0.3% kernel / faults: 10 minor
  0% 6/kworker/u16:0: 0% user + 0% kernel
  0% 8/rcu_preempt: 0% user + 0% kernel
  0% 12/ksoftirqd/4: 0% user + 0% kernel
  0% 20/ksoftirqd/6: 0% user + 0% kernel
  0% 34/kworker/7:1: 0% user + 0% kernel
  0.1% 223/mmcqd/0: 0% user + 0.1% kernel
  0% 256/jbd2/mmcblk0p37: 0% user + 0% kernel
  0.1% 1336/wpa_supplicant: 0% user + 0.1% kernel
  0% 2885/com.color.safecenter:app_protect: 0% user + 0% kernel / faults: 10 minor
  0.1% 3301/irq/215-408000.: 0% user + 0.1% kernel
  0.1% 5284/com.oppo.market: 0.1% user + 0% kernel / faults: 2 minor
  0.1% 13302/sh: 0.1% user + 0% kernel
  0.1% 22959/irq/215-410000.: 0% user + 0.1% kernel
 +0% 23942/kworker/6:1: 0% user + 0% kernel
18% TOTAL: 11% user + 6.6% kernel + 0.1% iowait + 0.2% softirq
shell@R7sm:/ $

shell@R7sm:/ $ dumpsys diskstats //磁盘

shell@R7sm:/ $ dumpsys diskstats
Latency: 0ms [512B Data Write]
Data-Free: 24405516K / 26704124K total = 91% free
Cache-Free: 122152K / 124896K total = 97% free
System-Free: 336896K / 2031440K total = 16% free
shell@R7sm:/ $

shell@R7sm:/ $ dumpsys power //电源

shell@R7sm:/ $ dumpsys power
POWER MANAGER (dumpsys power)

Power Manager State:
  mDirty=0x0
  mWakefulness=Awake
  mWakefulnessChanging=false
  mIsPowered=true
  mPlugType=2
  mBatteryLevel=100
  mBatteryLevelWhenDreamStarted=0
  mDockState=0
  mStayOn=false
  mProximityPositive=false
  mBootCompleted=true
  mSystemReady=true
  mHalAutoSuspendModeEnabled=false
  mHalInteractiveModeEnabled=true
  mWakeLockSummary=0x23
  mUserActivitySummary=0x1
  mRequestWaitForNegativeProximity=false
  mSandmanScheduled=false
  mSandmanSummoned=false
  mLowPowerModeEnabled=false
  mBatteryLevelLow=false
  mLastWakeTime=3697012 (4241618 ms ago)
  mLastSleepTime=1384224 (6554406 ms ago)
  mLastUserActivityTime=7456200 (482430 ms ago)
  mLastUserActivityTimeNoChangeLights=7834492 (104138 ms ago)
  mLastInteractivePowerHintTime=7834492 (104138 ms ago)
  mLastScreenBrightnessBoostTime=0 (7938630 ms ago)
  mScreenBrightnessBoostInProgress=false
  mDisplayReady=true
  mHoldingWakeLockSuspendBlocker=true
  mHoldingDisplaySuspendBlocker=true

Settings and Configuration:
  mDecoupleHalAutoSuspendModeFromDisplayConfig=false
  mDecoupleHalInteractiveModeFromDisplayConfig=false
  mWakeUpWhenPluggedOrUnpluggedConfig=true
  mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
  mTheaterModeEnabled=false
  mSuspendWhenScreenOffDueToProximityConfig=true
  mDreamsSupportedConfig=true
  mDreamsEnabledByDefaultConfig=true
  mDreamsActivatedOnSleepByDefaultConfig=false
  mDreamsActivatedOnDockByDefaultConfig=true
  mDreamsEnabledOnBatteryConfig=false
  mDreamsBatteryLevelMinimumWhenPoweredConfig=-1
  mDreamsBatteryLevelMinimumWhenNotPoweredConfig=15
  mDreamsBatteryLevelDrainCutoffConfig=5
  mDreamsEnabledSetting=false
  mDreamsActivateOnSleepSetting=false
  mDreamsActivateOnDockSetting=true
  mDozeAfterScreenOffConfig=false
  mLowPowerModeSetting=false
  mAutoLowPowerModeConfigured=false
  mAutoLowPowerModeSnoozing=false
  mMinimumScreenOffTimeoutConfig=10000
  mMaximumScreenDimDurationConfig=7000
  mMaximumScreenDimRatioConfig=0.20000005
  mScreenOffTimeoutSetting=600000
  mSleepTimeoutSetting=-1
  mMaximumScreenOffTimeoutFromDeviceAdmin=2147483647 (enforced=false)
  mStayOnWhilePluggedInSetting=0
  mScreenBrightnessSetting=17
  mScreenAutoBrightnessAdjustmentSetting=-0.48000002
  mScreenBrightnessModeSetting=0
  mScreenBrightnessOverrideFromWindowManager=-1
  mUserActivityTimeoutOverrideFromWindowManager=-1
  mTemporaryScreenBrightnessSettingOverride=-1
  mTemporaryScreenAutoBrightnessAdjustmentSettingOverride=NaN
  mDozeScreenStateOverrideFromDreamManager=0
  mDozeScreenBrightnessOverrideFromDreamManager=-1
  mScreenBrightnessSettingMinimum=2
  mScreenBrightnessSettingMaximum=255
  mScreenBrightnessSettingDefault=54

Sleep timeout: -1 ms
Screen off timeout: 600000 ms
Screen dim duration: 7000 ms

Wake Locks: size=2
  PARTIAL_WAKE_LOCK              'AudioMix' (uid=1013, pid=0, ws=WorkSource{10010})
  SCREEN_BRIGHT_WAKE_LOCK        'WindowManager' ON_AFTER_RELEASE (uid=1000, pid=922, ws=WorkSource{10010})

Suspend Blockers: size=4
  PowerManagerService.WakeLocks: ref count=1
  PowerManagerService.Display: ref count=1
  PowerManagerService.Broadcasts: ref count=0
  PowerManagerService.WirelessChargerDetector: ref count=0

Display Power: state=ON

Wireless Charger Detector State:
  mGravitySensor={Sensor name="oem-gravity", vendor="oem", version=1, type=9, maxRange=40.0, resolution=0.01, power=1.0, minDelay=10000}
  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
shell@R7sm:/ $

 

shell@R7sm:/ $ dumpsys battery //电池

shell@R7sm:/ $ dumpsys battery
Current OPPO Battery Service state:
  Charger voltage : 5109
  Battery current : 0
  Accessory present:false
  Accessory status: 0
  Accessory capacity: 0
  Chargetimeout: false
  Chargesocfall: false
  ChargeFastCharger: false
  PlugType: 2
  UpdatesStopped: false
  LowBatteryVoltageWarningLevel: 3300
  HighBatteryVoltageWarningLevel: 4500
  LowChargerVoltageWarningLevel: 4400
  HighChargerVoltageWarningLevel: 40
  TomorrowLowBatteryWarningLevel: 40

Current Battery Service state:
  AC powered: false
  USB powered: true
  Wireless powered: false
  status: 5
  health: 2
  present: true
  level: 100
  scale: 100
  voltage: 4276
  temperature: 343
  technology: Li-ion
shell@R7sm:/ $

shell@R7sm:/ $ dumpsys location //位置

shell@R7sm:/ $ dumpsys location
Current Location Manager state:
  Location Listeners:
    Reciever[3f37c96f listener UpdateRecord[network android(1000) Request[POWER_LOW network requested=+24h0m0s0ms fastest=+24h0m0s0ms]]]
    Reciever[24fac67c listener UpdateRecord[passive android(1000) Request[POWER_NONE passive fastest=0]]]
    Reciever[27287b05 listener UpdateRecord[passive com.baidu.map.location(10047) Request[POWER_NONE passive fastest=+1s0ms]]]
    Reciever[2c96175a listener UpdateRecord[passive com.qualcomm.location(1000) Request[POWER_NONE passive fastest=0]]]
    Reciever[20a18d8b listener UpdateRecord[passive android(1000) Request[POWER_NONE passive fastest=0]]]
    Reciever[226bce68 listener UpdateRecord[passive android(1000) Request[POWER_NONE passive fastest=0]]]
    Reciever[d3ac281 listener UpdateRecord[passive com.qualcomm.location(1000) Request[POWER_NONE passive fastest=0]]]
  Active Records by Provider:
    network:
      UpdateRecord[network android(1000) Request[POWER_LOW network requested=+24h0m0s0ms fastest=+24h0m0s0ms]]
    passive:
      UpdateRecord[passive android(1000) Request[POWER_NONE passive fastest=0]]
      UpdateRecord[passive android(1000) Request[POWER_NONE passive fastest=0]]
      UpdateRecord[passive android(1000) Request[POWER_NONE passive fastest=0]]
      UpdateRecord[passive com.qualcomm.location(1000) Request[POWER_NONE passive fastest=0]]
      UpdateRecord[passive com.baidu.map.location(10047) Request[POWER_NONE passive fastest=+1s0ms]]
      UpdateRecord[passive com.qualcomm.location(1000) Request[POWER_NONE passive fastest=0]]
  Historical Records by Provider:
    com.qualcomm.location: passive: Interval 0 seconds: Duration requested 133 out of the last 133 minutes: Currently active
    com.oppo.weather.locationservice: passive: Interval 1 seconds: Duration requested 0 out of the last 133 minutes
    android: network: Interval 86400 seconds: Duration requested 133 out of the last 133 minutes: Currently active
    com.baidu.map.location: passive: Interval 1 seconds: Duration requested 133 out of the last 133 minutes: Currently active
    android: passive: Interval 0 seconds: Duration requested 133 out of the last 133 minutes: Currently active
  Last Known Locations:
    fused: Location[fused 30.000000,104.000000 acc=1633783 et=+2h14m14s222ms alt=0.0 vel=0.0 bear=81.0 {Bundle[{}]}]
    passive: Location[fused 30.000000,104.000000 acc=1633783 et=+2h14m14s222ms alt=0.0 vel=0.0 bear=81.0 {Bundle[{}]}]
    gps: Location[fused 30.000000,104.000000 acc=1633939 et=+43s842ms alt=0.0 vel=0.0 bear=81.0 {Bundle[{}]}]
  Last Known Locations Coarse Intervals:
    fused: Location[fused 30.000000,104.000000 acc=1633783 et=+2h10m44s215ms alt=0.0 vel=0.0 bear=81.0 {Bundle[{}]}]
    passive: Location[fused 30.000000,104.000000 acc=1633783 et=+2h10m44s215ms alt=0.0 vel=0.0 bear=81.0 {Bundle[{}]}]
  Geofences:
  Enabled Providers:
    fused
    passive
  mWhitelist=[] mBlacklist=[]
  fudger: offset: 121, 923 (meters)
passive Internal State:
mReportLocation=true
gps Internal State:
  mFixInterval=1000
  mDisableGps (battery saver mode)=false
  mEngineCapabilities=0x31 (SCHED ON_DEMAND_TIME )
nullnetwork Internal State (com.qualcomm.location):
REMOTE SERVICE name=network pkg=com.qualcomm.location version=10000
fused Internal State (com.qualcomm.location):
REMOTE SERVICE name=fused pkg=com.qualcomm.location version=1
shell@R7sm:/ $

 

上一篇:win10安装TensorFlow


下一篇:java微信开发(wechat4j)——access_token中控服务器实现