Searched refs:pulseReason (Results 1 – 2 of 2) sorted by relevance
149 public static void traceProximityResult(boolean near, long millis, int pulseReason) { in traceProximityResult() argument151 log("proximityResult reason=" + pulseReasonToString(pulseReason) + " near=" + near in traceProximityResult()153 sProxStats[pulseReason][near ? 0 : 1].append(); in traceProximityResult()156 public static String pulseReasonToString(int pulseReason) { in pulseReasonToString() argument157 switch (pulseReason) { in pulseReasonToString()162 default: throw new IllegalArgumentException("bad reason: " + pulseReason); in pulseReasonToString()
481 public TriggerSensor(int type, boolean configured, boolean debugVibrate, int pulseReason) { in TriggerSensor() argument485 mPulseReason = pulseReason; in TriggerSensor()