Searched refs:pulseReason (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeTriggers.java | 303 void onSensor(int pulseReason, float screenX, float screenY, float[] rawValues) { in onSensor() argument 304 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor() 305 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor() 306 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor() 307 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor() 308 boolean isWakeOnPresence = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP_PRESENCE; in onSensor() 309 boolean isWakeOnReach = pulseReason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH; in onSensor() 310 boolean isUdfpsLongPress = pulseReason == DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; in onSensor() 311 boolean isQuickPickup = pulseReason == DozeLog.REASON_SENSOR_QUICK_PICKUP; in onSensor() 318 pulseReason); in onSensor() [all …]
|
D | DozeLog.java | 319 public void traceSensorEventDropped(@Reason int pulseReason, String reason) { in traceSensorEventDropped() argument 320 mLogger.logSensorEventDropped(pulseReason, reason); in traceSensorEventDropped() 326 public void tracePulseEvent(String pulseEvent, boolean dozing, int pulseReason) { in tracePulseEvent() argument 327 mLogger.logPulseEvent(pulseEvent, dozing, DozeLog.reasonToString(pulseReason)); in tracePulseEvent() 512 public static String reasonToString(@Reason int pulseReason) { in reasonToString() argument 513 switch (pulseReason) { in reasonToString() 527 default: throw new IllegalArgumentException("invalid reason: " + pulseReason); in reasonToString()
|
D | DozeMachine.java | 218 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()
|
D | DozeSensors.java | 546 int pulseReason, in TriggerSensor() argument 555 pulseReason, in TriggerSensor() 570 int pulseReason, in TriggerSensor() argument 583 pulseReason, in TriggerSensor() 599 int pulseReason, in TriggerSensor() argument 612 mPulseReason = pulseReason; in TriggerSensor() 782 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen) { in PluginSensor() argument 783 this(sensor, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor() 788 int pulseReason, boolean reportsTouchCoordinates, boolean requiresTouchscreen, in PluginSensor() argument 790 super(null, setting, configured, pulseReason, reportsTouchCoordinates, in PluginSensor() [all …]
|
D | DozeLogger.kt | 257 fun logPulseEvent(pulseEvent: String, dozing: Boolean, pulseReason: String) { in logPulseEvent() 261 str2 = pulseReason in logPulseEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSensorsTest.java | 549 int pulseReason, in createDozeSensorForPosture() argument 556 /* pulseReason*/ pulseReason, in createDozeSensorForPosture()
|