Home
last modified time | relevance | path

Searched refs:pulseReason (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java140 void onSensor(int pulseReason, boolean sensorPerformedProxCheck, in onSensor() argument
142 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor()
143 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
144 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor()
145 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor()
146 boolean isWakeDisplay = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP; in onSensor()
147 boolean isWakeLockScreen = pulseReason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN; in onSensor()
153 requestPulse(pulseReason, sensorPerformedProxCheck); in onSensor()
156 requestPulse(pulseReason, sensorPerformedProxCheck); in onSensor()
168 gentleWakeUp(pulseReason); in onSensor()
[all …]
DDozeMachine.java158 public void requestPulse(int pulseReason) { in requestPulse() argument
163 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
166 private void requestState(State requestedState, int pulseReason) { in requestState() argument
180 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState() local
226 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument
245 updatePulseReason(newState, oldState, pulseReason); in transitionTo()
252 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument
254 mPulseReason = pulseReason; in updatePulseReason()
DDozeSensors.java358 public TriggerSensor(Sensor sensor, String setting, boolean configured, int pulseReason, in TriggerSensor() argument
360 this(sensor, setting, true /* settingDef */, configured, pulseReason, in TriggerSensor()
365 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
367 this(sensor, setting, settingDef, configured, pulseReason, reportsTouchCoordinates, in TriggerSensor()
372 boolean configured, int pulseReason, boolean reportsTouchCoordinates, in TriggerSensor() argument
378 mPulseReason = pulseReason; in TriggerSensor()
498 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen) { in PluginSensor() argument
499 this(sensor, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
504 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument
506 super(null, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
[all …]
DDozeDockHandler.java92 final int pulseReason = mMachine.getPulseReason(); in requestPulseOutNow() local
93 if (pulseReason == DozeLog.PULSE_REASON_DOCKING) { in requestPulseOutNow()
DDozeLog.java200 public static String reasonToString(int pulseReason) { in reasonToString() argument
201 switch (pulseReason) { in reasonToString()
212 default: throw new IllegalArgumentException("bad reason: " + pulseReason); in reasonToString()