Home
last modified time | relevance | path

Searched refs:DozeLog (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java117 DozeLog.tracePulseDropped(mContext, "wakeDisplaySensor"); in onNotification()
123 DozeLog.tracePulseDropped(mContext, "pulseOnNotificationsDisabled"); in onNotification()
126 requestPulse(DozeLog.PULSE_REASON_NOTIFICATION, false /* performedProxCheck */, in onNotification()
128 DozeLog.traceNotificationPulse(mContext); in onNotification()
151 DozeLog.traceProximityResult(mContext, result == RESULT_NEAR, in proximityCheckThenCall()
161 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor()
162 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
163 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor()
164 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor()
165 boolean isWakeDisplay = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP; in onSensor()
[all …]
DDozeSensors.java101 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, false /* touchCoords */, in DozeSensors()
108 DozeLog.REASON_SENSOR_PICKUP, false /* touchCoords */, in DozeSensors()
115 DozeLog.REASON_SENSOR_DOUBLE_TAP, in DozeSensors()
122 DozeLog.REASON_SENSOR_TAP, in DozeSensors()
130 DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, in DozeSensors()
137 DozeLog.REASON_SENSOR_WAKE_UP, in DozeSensors()
144 DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN, in DozeSensors()
478 DozeLog.traceSensor(mContext, mPulseReason); in onTrigger()
589 DozeLog.traceSensor(mContext, mPulseReason); in onSensorChanged()
DDozeLog.java31 public class DozeLog { class
97 synchronized (DozeLog.class) { in init()
217 synchronized (DozeLog.class) { in dump()
246 synchronized (DozeLog.class) { in log()
278 synchronized (DozeLog.class) { in setRegisterKeyguardCallback()
DDozeUi.java100 reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN in pulseWhileDozing()
179 DozeLog.traceTimeTickScheduled(time, time + delta); in scheduleTimeTick()
196 DozeLog.traceMissedTick(delay); in verifyLastTimeTick()
DDozeMachine.java162 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()
250 DozeLog.traceState(newState); in transitionTo()
264 mPulseReason = DozeLog.PULSE_REASON_NONE; in updatePulseReason()
359 transitionTo(nextState, DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
DDozeDockHandler.java85 mMachine.requestPulse(DozeLog.PULSE_REASON_DOCKING); in requestPulse()
94 if (pulseReason == DozeLog.PULSE_REASON_DOCKING) { in requestPulseOutNow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java116 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToDoze()
129 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToAoD()
173 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_heldInPulseStates()
196 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_releasedAfterPulse()
208 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDuringPulse_doesntCrash()
210 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDuringPulse_doesntCrash()
219 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testSuppressingPulse_doesntCrash()
232 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testTransitions_canRequestTransitions()
241 mMachine.requestPulse(DozeLog.REASON_SENSOR_DOUBLE_TAP); in testPulseReason_getMatchesRequest()
243 assertEquals(DozeLog.REASON_SENSOR_DOUBLE_TAP, mMachine.getPulseReason()); in testPulseReason_getMatchesRequest()
[all …]
DDozeDockHandlerTest.java64 DozeLog.setRegisterKeyguardCallback(false); in setupSuite()
98 verify(mMachine).requestPulse(eq(DozeLog.PULSE_REASON_DOCKING)); in testOnEvent_dockedWhenDoze_requestPulse()
108 verify(mMachine).requestPulse(eq(DozeLog.PULSE_REASON_DOCKING)); in testOnEvent_dockedWhenDozeAoD_requestPulse()
115 when(mMachine.getPulseReason()).thenReturn(DozeLog.PULSE_REASON_DOCKING); in testOnEvent_dockedHideWhenPulsing_requestPulseOut()
126 when(mMachine.getPulseReason()).thenReturn(DozeLog.PULSE_REASON_DOCKING); in testOnEvent_undockedWhenPulsing_requestPulseOut()
164 verify(mMachine).requestPulse(eq(DozeLog.PULSE_REASON_DOCKING)); in testTransitionToDoze_whenDocked_requestPulse()
177 verify(mMachine).requestPulse(eq(DozeLog.PULSE_REASON_DOCKING)); in testTransitionToDozeAoD_whenDocked_requestPulse()
189 verify(mMachine, never()).requestPulse(eq(DozeLog.PULSE_REASON_DOCKING)); in testTransitionToDoze_whenDockedHide_neverRequestPulse()
208 when(mMachine.getPulseReason()).thenReturn(DozeLog.PULSE_REASON_DOCKING); in testTransitionToPulsing_whenDockedHide_requestPulseOut()
DDozeSensorsTest.java104 verify(mCallback).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN), in testSensorDebounce()
111 verify(mCallback, never()).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN), in testSensorDebounce()
DDozeTriggersTest.java69 DozeLog.setRegisterKeyguardCallback(false); in setupSuite()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeScrimController.java26 import com.android.systemui.doze.DozeLog;
50 + DozeLog.reasonToString(mPulseReason));
71 if (mPulseReason != DozeLog.PULSE_REASON_NOTIFICATION
72 && mPulseReason != DozeLog.PULSE_REASON_DOCKING) {
93 return mPulseReason == DozeLog.PULSE_REASON_DOCKING;
171 DozeLog.tracePulseStart(mPulseReason); in pulseStarted()
178 DozeLog.tracePulseFinish(); in pulseFinished()
DStatusBar.java153 import com.android.systemui.doze.DozeLog;
2414 DozeLog.dump(pw); in dump()
4058 DozeLog.traceDozing(mContext, mDozing); in startDozing()
4066 if (reason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS) { in pulseWhileDozing()
4073 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN) { in pulseWhileDozing()
4077 if (reason == DozeLog.PULSE_REASON_DOCKING && mStatusBarWindow != null) { in pulseWhileDozing()
4081 boolean passiveAuthInterrupt = reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN in pulseWhileDozing()
4132 DozeLog.traceDozing(mContext, mDozing); in stopDozing()
4140 DozeLog.tracePulseTouchDisabledByProx(mContext, ignore); in onIgnoreTouchWhilePulsing()
4184 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN) { in extendPulse()
DPanelView.java45 import com.android.systemui.doze.DozeLog;
479 DozeLog.traceFling(expand, mTouchAboveFalsingThreshold, in endMotionEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java82 import com.android.systemui.doze.DozeLog;
230 DozeLog.traceDozing(mContext, false /* dozing */); in setup()
634 DozeLog.PULSE_REASON_NOTIFICATION); in testPulseWhileDozing_updatesScrimController()
645 Collections.singletonList(DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN)); in testPulseWhileDozing_notifyAuthInterrupt()
647 Arrays.asList(DozeLog.PULSE_REASON_INTENT, in testPulseWhileDozing_notifyAuthInterrupt()
648 DozeLog.PULSE_REASON_NOTIFICATION, in testPulseWhileDozing_notifyAuthInterrupt()
649 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, in testPulseWhileDozing_notifyAuthInterrupt()
650 DozeLog.REASON_SENSOR_PICKUP, in testPulseWhileDozing_notifyAuthInterrupt()
651 DozeLog.REASON_SENSOR_DOUBLE_TAP, in testPulseWhileDozing_notifyAuthInterrupt()
652 DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, in testPulseWhileDozing_notifyAuthInterrupt()
[all …]