Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java109 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToDoze()
122 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToAoD()
166 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_heldInPulseStates()
189 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_releasedAfterPulse()
201 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDuringPulse_doesntCrash()
203 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDuringPulse_doesntCrash()
212 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testSuppressingPulse_doesntCrash()
225 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testTransitions_canRequestTransitions()
234 mMachine.requestPulse(DozeLog.REASON_SENSOR_DOUBLE_TAP); in testPulseReason_getMatchesRequest()
236 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()
DDozeTriggersTest.java72 DozeLog.setRegisterKeyguardCallback(false); in setupSuite()
128 mTriggers.onSensor(DozeLog.REASON_SENSOR_DOUBLE_TAP, in testOnSensor_whenUndockedWithNearAndDoubleTapScreen_shouldNotWakeUp()
141 mTriggers.onSensor(DozeLog.REASON_SENSOR_DOUBLE_TAP, in testOnSensor_whenDockedWithNearAndDoubleTapScreen_shouldWakeUp()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java113 requestPulse(DozeLog.PULSE_REASON_NOTIFICATION, false /* performedProxCheck */); in onNotification()
114 DozeLog.traceNotificationPulse(mContext); in onNotification()
131 DozeLog.traceProximityResult(mContext, result == RESULT_NEAR, in proximityCheckThenCall()
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()
183 DozeLog.tracePickupWakeUp(mContext, withinVibrationThreshold); in onSensor()
[all …]
DDozeSensors.java99 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, false /* touchCoords */, in DozeSensors()
105 DozeLog.REASON_SENSOR_PICKUP, false /* touchCoords */, in DozeSensors()
111 DozeLog.REASON_SENSOR_DOUBLE_TAP, in DozeSensors()
118 DozeLog.REASON_SENSOR_TAP, in DozeSensors()
126 DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, in DozeSensors()
133 DozeLog.REASON_SENSOR_WAKE_UP, in DozeSensors()
140 DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN, in DozeSensors()
438 DozeLog.traceSensor(mContext, mPulseReason); in onTrigger()
553 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()
272 synchronized (DozeLog.class) { in setRegisterKeyguardCallback()
DDozeUi.java98 reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN in pulseWhileDozing()
176 DozeLog.traceTimeTickScheduled(time, time + delta); in scheduleTimeTick()
193 DozeLog.traceMissedTick(delay); in verifyLastTimeTick()
DDozeMachine.java154 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()
242 DozeLog.traceState(newState); in transitionTo()
256 mPulseReason = DozeLog.PULSE_REASON_NONE; in updatePulseReason()
339 DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
DDozeDockHandler.java86 mMachine.requestPulse(DozeLog.PULSE_REASON_DOCKING); in requestPulse()
93 if (pulseReason == DozeLog.PULSE_REASON_DOCKING) { in requestPulseOutNow()
/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;
163 DozeLog.tracePulseStart(mPulseReason); in pulseStarted()
170 DozeLog.tracePulseFinish(); in pulseFinished()
DStatusBar.java153 import com.android.systemui.doze.DozeLog;
2324 DozeLog.dump(pw); in dump()
3903 DozeLog.traceDozing(mContext, mDozing); in startDozing()
3911 if (reason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS) { in pulseWhileDozing()
3918 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN) { in pulseWhileDozing()
3922 if (reason == DozeLog.PULSE_REASON_DOCKING && mStatusBarWindow != null) { in pulseWhileDozing()
3926 boolean passiveAuthInterrupt = reason == DozeLog.PULSE_REASON_NOTIFICATION; in pulseWhileDozing()
3975 DozeLog.traceDozing(mContext, mDozing); in stopDozing()
3983 DozeLog.tracePulseTouchDisabledByProx(mContext, ignore); in onIgnoreTouchWhilePulsing()
4027 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN) { in extendPulse()
DPanelView.java46 import com.android.systemui.doze.DozeLog;
475 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;
226 DozeLog.traceDozing(mContext, false /* dozing */); in setup()
636 DozeLog.PULSE_REASON_NOTIFICATION); in testPulseWhileDozing_updatesScrimController()
647 Collections.singletonList(DozeLog.PULSE_REASON_NOTIFICATION)); in testPulseWhileDozing_notifyAuthInterrupt()
649 Arrays.asList(DozeLog.PULSE_REASON_INTENT, in testPulseWhileDozing_notifyAuthInterrupt()
650 DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN, in testPulseWhileDozing_notifyAuthInterrupt()
651 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, in testPulseWhileDozing_notifyAuthInterrupt()
652 DozeLog.REASON_SENSOR_PICKUP, in testPulseWhileDozing_notifyAuthInterrupt()
653 DozeLog.REASON_SENSOR_DOUBLE_TAP, in testPulseWhileDozing_notifyAuthInterrupt()
654 DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, in testPulseWhileDozing_notifyAuthInterrupt()
[all …]