Condividi tramite


PidHealthStats.MeasurementWakeNestingCount Field

Definition

Key for a measurement of the current nesting depth of wakelocks for this process.

[Android.Runtime.Register("MEASUREMENT_WAKE_NESTING_COUNT", ApiSince=24)]
public const int MeasurementWakeNestingCount = 20001;
[<Android.Runtime.Register("MEASUREMENT_WAKE_NESTING_COUNT", ApiSince=24)>]
val mutable MeasurementWakeNestingCount : int

Field Value

Value = 20001
Attributes

Remarks

Key for a measurement of the current nesting depth of wakelocks for this process. That is to say, the number of times a nested wakelock has been started but not stopped. A high number here indicates an improperly paired wakelock acquire/release combination.

More details on the individual wake locks is available by getting the UidHealthStats#TIMERS_WAKELOCKS_FULL, UidHealthStats#TIMERS_WAKELOCKS_PARTIAL, UidHealthStats#TIMERS_WAKELOCKS_WINDOW and UidHealthStats#TIMERS_WAKELOCKS_DRAW keys.

Java documentation for android.os.health.PidHealthStats.MEASUREMENT_WAKE_NESTING_COUNT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to