public class DozeLog extends Object
Modifier and Type | Field and Description |
---|---|
static int |
PULSE_REASON_INTENT |
static int |
PULSE_REASON_NOTIFICATION |
static int |
PULSE_REASON_SENSOR_DOUBLE_TAP |
static int |
PULSE_REASON_SENSOR_PICKUP |
static int |
PULSE_REASON_SENSOR_SIGMOTION |
Constructor and Description |
---|
DozeLog() |
Modifier and Type | Method and Description |
---|---|
static void |
dump(PrintWriter pw) |
static String |
pulseReasonToString(int pulseReason) |
static void |
traceDozing(Context context,
boolean dozing) |
static void |
traceEmergencyCall() |
static void |
traceFling(boolean expand,
boolean aboveThreshold,
boolean thresholdNeeded,
boolean screenOnFromTouch) |
static void |
traceKeyguard(boolean showing) |
static void |
traceKeyguardBouncerChanged(boolean showing) |
static void |
traceNotificationPulse(Context context,
long instance) |
static void |
tracePickupPulse(Context context,
boolean withinVibrationThreshold) |
static void |
traceProximityResult(Context context,
boolean near,
long millis,
int pulseReason) |
static void |
tracePulseFinish() |
static void |
tracePulseStart(int reason) |
static void |
traceScreenOff(int why) |
static void |
traceScreenOn() |
public static final int PULSE_REASON_INTENT
public static final int PULSE_REASON_NOTIFICATION
public static final int PULSE_REASON_SENSOR_SIGMOTION
public static final int PULSE_REASON_SENSOR_PICKUP
public static final int PULSE_REASON_SENSOR_DOUBLE_TAP
public static void tracePickupPulse(Context context, boolean withinVibrationThreshold)
public static void tracePulseStart(int reason)
public static void tracePulseFinish()
public static void traceNotificationPulse(Context context, long instance)
public static void traceDozing(Context context, boolean dozing)
public static void traceFling(boolean expand, boolean aboveThreshold, boolean thresholdNeeded, boolean screenOnFromTouch)
public static void traceEmergencyCall()
public static void traceKeyguardBouncerChanged(boolean showing)
public static void traceScreenOn()
public static void traceScreenOff(int why)
public static void traceKeyguard(boolean showing)
public static void traceProximityResult(Context context, boolean near, long millis, int pulseReason)
public static String pulseReasonToString(int pulseReason)
public static void dump(PrintWriter pw)