Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java294 void onSensor(int pulseReason, float screenX, float screenY, float[] rawValues) { in onSensor() argument
295 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor()
296 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
297 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor()
298 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor()
299 boolean isWakeOnPresence = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP_PRESENCE; in onSensor()
300 boolean isWakeOnReach = pulseReason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH; in onSensor()
301 boolean isUdfpsLongPress = pulseReason == DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; in onSensor()
302 boolean isQuickPickup = pulseReason == DozeLog.REASON_SENSOR_QUICK_PICKUP; in onSensor()
309 pulseReason); in onSensor()
[all …]
DDozeLog.java310 public void traceSensorEventDropped(@Reason int pulseReason, String reason) { in traceSensorEventDropped() argument
311 mLogger.logSensorEventDropped(pulseReason, reason); in traceSensorEventDropped()
317 public void tracePulseEvent(String pulseEvent, boolean dozing, int pulseReason) { in tracePulseEvent() argument
318 mLogger.logPulseEvent(pulseEvent, dozing, DozeLog.reasonToString(pulseReason)); in tracePulseEvent()
503 public static String reasonToString(@Reason int pulseReason) { in reasonToString() argument
504 switch (pulseReason) { in reasonToString()
517 default: throw new IllegalArgumentException("invalid reason: " + pulseReason); in reasonToString()
DDozeMachine.java218 public void requestPulse(int pulseReason) { in requestPulse() argument
223 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
241 private void requestState(State requestedState, int pulseReason) { in requestState() argument
255 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState() local
302 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument
321 updatePulseReason(newState, oldState, pulseReason); in transitionTo()
328 private void updatePulseReason(State newState, State oldState, int pulseReason) { in updatePulseReason() argument
330 mPulseReason = pulseReason; in updatePulseReason()
DDozeSensors.java542 int pulseReason, in TriggerSensor() argument
551 pulseReason, in TriggerSensor()
566 int pulseReason, in TriggerSensor() argument
579 pulseReason, in TriggerSensor()
595 int pulseReason, in TriggerSensor() argument
608 mPulseReason = pulseReason; in TriggerSensor()
778 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen) { in PluginSensor() argument
779 this(sensor, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
784 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument
786 super(null, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor()
[all …]
DDozeLogger.kt248 fun logPulseEvent(pulseEvent: String, dozing: Boolean, pulseReason: String) { in logPulseEvent()
252 str2 = pulseReason in logPulseEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java546 int pulseReason, in createDozeSensorForPosture() argument
553 /* pulseReason*/ pulseReason, in createDozeSensorForPosture()