Searched refs:pulseReason (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeLog.java | 173 int pulseReason) { in traceProximityResult() argument 176 log("proximityResult reason=" + pulseReasonToString(pulseReason) + " near=" + near in traceProximityResult() 178 sProxStats[pulseReason][near ? 0 : 1].append(); in traceProximityResult() 181 public static String pulseReasonToString(int pulseReason) { in pulseReasonToString() argument 182 switch (pulseReason) { in pulseReasonToString() 189 default: throw new IllegalArgumentException("bad reason: " + pulseReason); in pulseReasonToString() 258 public static void traceSensor(Context context, int pulseReason) { in traceSensor() argument 261 log("sensor type=" + pulseReasonToString(pulseReason)); in traceSensor()
|
D | DozeMachine.java | 152 public void requestPulse(int pulseReason) { in requestPulse() argument 157 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse() 160 private void requestState(State requestedState, int pulseReason) { in requestState() argument 174 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState() local 216 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument 235 updatePulseReason(newState, oldState, pulseReason); in transitionTo() 242 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument 244 mPulseReason = pulseReason; in updatePulseReason()
|
D | DozeTriggers.java | 106 int pulseReason) { in proximityCheckThenCall() argument 119 end - start, pulseReason); in proximityCheckThenCall() 126 private void onSensor(int pulseReason, boolean sensorPerformedProxCheck, in onSensor() argument 128 boolean isDoubleTap = pulseReason == DozeLog.PULSE_REASON_SENSOR_DOUBLE_TAP; in onSensor() 129 boolean isPickup = pulseReason == DozeLog.PULSE_REASON_SENSOR_PICKUP; in onSensor() 130 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor() 144 }, sensorPerformedProxCheck, pulseReason); in onSensor() 147 requestPulse(pulseReason, sensorPerformedProxCheck); in onSensor()
|
D | DozeSensors.java | 302 public TriggerSensor(Sensor sensor, String setting, boolean configured, int pulseReason, in TriggerSensor() argument 304 this(sensor, setting, true /* settingDef */, configured, pulseReason, in TriggerSensor() 309 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument 315 mPulseReason = pulseReason; in TriggerSensor() 422 void onSensorPulse(int pulseReason, boolean sensorPerformedProxCheck, in onSensorPulse() argument
|