UidHealthStats 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從SystemHealthManager#takeUidSnapshot(int) SystemHealthManager.takeUidSnapshot(int)
、 SystemHealthManager#takeMyUidSnapshot() SystemHealthManager.takeMyUidSnapshot()
和SystemHealthManager#takeUidSnapshots(int[]) SystemHealthManager.takeUidSnapshots(int[])
傳回的HealthStats
索引鍵。
[Android.Runtime.Register("android/os/health/UidHealthStats", ApiSince=24, DoNotGenerateAcw=true)]
public sealed class UidHealthStats : Java.Lang.Object
[<Android.Runtime.Register("android/os/health/UidHealthStats", ApiSince=24, DoNotGenerateAcw=true)>]
type UidHealthStats = class
inherit Object
- 繼承
- 屬性
備註
從SystemHealthManager#takeUidSnapshot(int) SystemHealthManager.takeUidSnapshot(int)
、 SystemHealthManager#takeMyUidSnapshot() SystemHealthManager.takeMyUidSnapshot()
和SystemHealthManager#takeUidSnapshots(int[]) SystemHealthManager.takeUidSnapshots(int[])
傳回的HealthStats
索引鍵。
的 android.os.health.UidHealthStats
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
欄位
MeasurementBluetoothIdleMs |
藍牙控制器閑置但代表此 uid 開啟的度量單位數的索引鍵。 |
MeasurementBluetoothPowerMams |
此 uid 用於藍牙之估計 mA*ms 測量的索引鍵,也就是表示該期間 mA 目前啟用時間的毫秒數。 |
MeasurementBluetoothRxBytes |
測量藍牙無線電所接收此 uid 之位元組數目的索引鍵。 |
MeasurementBluetoothRxMs |
藍牙傳輸器接收此 uid 數據時,測量毫秒數的關鍵。 |
MeasurementBluetoothRxPackets |
藍牙無線電所接收封包數目的度量索引鍵。 |
MeasurementBluetoothTxBytes |
藍牙無線電針對這個UI所傳輸位元組數目的度量索引鍵。 |
MeasurementBluetoothTxMs |
藍牙傳輸器所測量毫秒數的關鍵是傳輸此 uid 的數據。 |
MeasurementBluetoothTxPackets |
測量藍牙無線電所傳送此 uid 之封包數目的索引鍵。 |
MeasurementButtonUserActivityCount |
由於 UID 所造成的實體按鈕按下,測量用戶活動事件數目的索引鍵。 |
MeasurementCpuPowerMams |
估計此 uid 所使用的 milliamp-microsends 數目。 |
MeasurementMobileIdleMs |
測量移動無線電控制器閑置但代表這個 uid 開啟的單位數的度量索引鍵。 |
MeasurementMobilePowerMams |
此 uid 用於行動數據之估計 mA*ms 測量的索引鍵,也就是表示該期間 mA 目前啟用時間的毫秒數。 |
MeasurementMobileRxBytes |
此行動無線電所接收位元組數目的度量索引鍵。 |
MeasurementMobileRxMs |
測量移動無線電發射機接收此 uid 資料的關鍵秒數。 |
MeasurementMobileRxPackets |
測量行動無線電所接收之封包數目的索引鍵。 |
MeasurementMobileTxBytes |
測量由行動無線電傳送給此UI之位元組數目的索引鍵。 |
MeasurementMobileTxMs |
移動無線電發射機測量千秒數的關鍵是傳輸這個 uid 的數據。 |
MeasurementMobileTxPackets |
測量由行動無線電傳送給此 uid 之封包數目的索引鍵。 |
MeasurementOtherUserActivityCount |
UID 所造成軟體產生的用戶活動事件的度量索引鍵。 |
MeasurementRealtimeBatteryMs |
當裝置處於電池時,此統計數據報告涵蓋多少毫秒,包括螢幕開啟和螢幕關閉時間。 |
MeasurementRealtimeScreenOffBatteryMs |
當裝置處於電池時,此統計數據報告涵蓋的毫秒數,包括僅螢幕關閉時間。 |
MeasurementSystemCpuTimeMs |
測量此 uid CPU 執行核心程式碼所花費毫秒數的索引鍵。 |
MeasurementTouchUserActivityCount |
UID 所造成的觸控事件,測量用戶活動事件數目的索引鍵。 |
MeasurementUptimeBatteryMs |
此統計數據報告所涵蓋的毫秒數,說明裝置在電池時 CPU 正在執行,包括螢幕開啟和螢幕關閉時間。 |
MeasurementUptimeScreenOffBatteryMs |
此統計數據報告所涵蓋的毫秒數涵蓋裝置處於電池狀態時 CPU 正在執行,包括只有螢幕關閉時間。 |
MeasurementUserCpuTimeMs |
測量此 uid CPU 執行使用者空間程式代碼所花費毫秒數的索引鍵。 |
MeasurementWifiFullLockMs |
此 uid 保留完整 wifi 鎖定之毫秒數的度量索引鍵。 |
MeasurementWifiIdleMs |
用來測量 wifi 控制器閒置的毫秒數,但代表此 uid 開啟的索引鍵。 |
MeasurementWifiMulticastMs |
測量此 uid 執行多播 wifi 流量之毫秒數的度量索引鍵。 |
MeasurementWifiPowerMams |
此 uid 針對 wifi 使用的估計 mA*ms 測量索引鍵,也就是表示該期間目前 mA 啟用時間的毫秒數。 |
MeasurementWifiRunningMs |
用來測量 wifi 控制器代表此 uid 使用中之毫秒數的索引鍵。 |
MeasurementWifiRxBytes |
用於測量 wifi 無線電所接收此 uid 位元組數目的索引鍵。 |
MeasurementWifiRxMs |
測量 wifi 傳輸器接收此 uid 數據時,測量毫秒數的關鍵。 |
MeasurementWifiRxPackets |
用於測量 wifi 無線電所接收此 uid 封包數目的索引鍵。 |
MeasurementWifiTxBytes |
用於測量由 wifi 無線電傳送給這個 uid 之位元元組數目的索引鍵。 |
MeasurementWifiTxMs |
測量 wifi 傳輸器的數據是傳輸此 uid 數據之毫秒數的關鍵。 |
MeasurementWifiTxPackets |
用於測量 wifi 無線電所傳送此 uid 之封包數目的索引鍵。 |
StatsPackages |
HealthStats 的索引鍵,其中包含 |
StatsPids |
HealthStats 的索引鍵,其中包含 |
StatsProcesses |
HealthStats 的索引鍵,其中包含 |
TimerAudio |
此 uid 所完成音訊播放計數和持續時間的定時器索引鍵。 |
TimerBluetoothScan |
此 uid 執行藍牙掃描時計數和持續時間的定時器索引鍵。 |
TimerCamera |
這個 uid 開啟相機的計數和持續時間定時器索引鍵。 |
TimerFlashlight |
此 uid 開啟手電筒筒筒的計數和持續時間定時器索引鍵。 |
TimerForegroundActivity |
此 uid 中活動為前景 activitiy 時,定時器計數和持續時間的索引鍵。 |
TimerGpsSensor |
應用程式使用 GPS 感測器之定時器的關鍵。 |
TimerMobileRadioActive |
此 uid 已開啟行動無線電計數和持續時間定時器的關鍵。 |
TimerProcessStateBackgroundMs |
此 uid 處於「背景」進程狀態之計數和持續時間的定時器索引鍵。 |
TimerProcessStateCachedMs |
此 uid 處於「快取」進程狀態之計數和持續時間的定時器索引鍵。 |
TimerProcessStateForegroundMs |
此 uid 處於「前景」進程狀態之計數和持續時間的定時器索引鍵。 |
TimerProcessStateForegroundServiceMs |
此 uid 處於「前景服務」進程狀態之計數和持續時間的定時器索引鍵。 |
TimerProcessStateTopMs |
此 uid 處於「最上層」進程狀態之計數和持續時間的定時器索引鍵。 |
TimerProcessStateTopSleepingMs |
當這個 uid 處於「最上層睡眠」進程狀態時,定時器計數和持續時間的索引鍵。 |
TimersJobs |
此 uid 作業之定時器的 |
TimersSensors |
此 uid 之感測器使用量地圖的索引鍵。 |
TimersSyncs |
同步適配卡同步處理針對此 UID 完成之定時器的對應索引鍵。 |
TimersWakelocksDraw |
取得系統定義喚醒鎖定時 TimerStat 的索引鍵,以允許應用程式在無法繪製時繪製它(e. |
TimersWakelocksFull |
定時器統計數據的索引鍵 |
TimersWakelocksPartial |
定時器統計數據的索引鍵 |
TimersWakelocksWindow |
從 |
TimerVibrator |
這個 uid 開啟振動器計數和持續時間的定時器索引鍵。 |
TimerVideo |
此 uid 所完成視訊播放計數和持續時間的定時器索引鍵。 |
TimerWifiScan |
此 uid 所完成 wifi 掃描計數和持續時間的定時器索引鍵。 |
屬性
Class |
傳回這個 |
Handle |
基礎Android實例的句柄。 (繼承來源 Object) |
JniIdentityHashCode |
從 |
JniPeerMembers |
從 |
PeerReference |
從 |
ThresholdClass |
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 (繼承來源 Object) |
ThresholdType |
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 (繼承來源 Object) |
方法
Clone() |
建立並傳回這個 對象的複本。 (繼承來源 Object) |
Dispose() |
從 |
Dispose(Boolean) |
從 |
Equals(Object) |
指出其他物件是否「等於」這個物件。 (繼承來源 Object) |
GetHashCode() |
傳回此物件的雜湊碼值。 (繼承來源 Object) |
JavaFinalize() |
當垃圾收集決定不再參考物件時,垃圾收集行程在 物件上呼叫。 (繼承來源 Object) |
Notify() |
喚醒正在等候此物件監視器的單一線程。 (繼承來源 Object) |
NotifyAll() |
喚醒正在等候此物件監視器的所有線程。 (繼承來源 Object) |
SetHandle(IntPtr, JniHandleOwnership) |
設定 Handle 屬性。 (繼承來源 Object) |
ToArray<T>() |
從 |
ToString() |
傳回物件的字串表示。 (繼承來源 Object) |
UnregisterFromRuntime() |
從 |
Wait() |
讓目前線程等候直到喚醒為止,通常是藉由em <notified/em>或<em>interrupted</em> 來喚醒它。<> (繼承來源 Object) |
Wait(Int64) |
讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。 (繼承來源 Object) |
Wait(Int64, Int32) |
讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。 (繼承來源 Object) |
明確介面實作
IJavaPeerable.Disposed() |
從 |
IJavaPeerable.DisposeUnlessReferenced() |
從 |
IJavaPeerable.Finalized() |
從 |
IJavaPeerable.JniManagedPeerState |
從 |
IJavaPeerable.SetJniIdentityHashCode(Int32) |
從 |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
從 |
IJavaPeerable.SetPeerReference(JniObjectReference) |
從 |
擴充方法
JavaCast<TResult>(IJavaObject) |
執行 Android 執行時間檢查的類型轉換。 |
JavaCast<TResult>(IJavaObject) |
從 |
GetJniTypeName(IJavaPeerable) |
從 |