Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java41 import com.android.systemui.doze.DozeLog;
78 @Mock private DozeLog mDozeLog;
149 }, DozeLog.PULSE_REASON_NOTIFICATION); in testPulseWhileDozing_updatesScrimController()
155 pulseCallbackArgumentCaptor.capture(), eq(DozeLog.PULSE_REASON_NOTIFICATION)); in testPulseWhileDozing_updatesScrimController()
167 Collections.singletonList(DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN)); in testPulseWhileDozing_notifyAuthInterrupt()
169 Arrays.asList(DozeLog.PULSE_REASON_INTENT, in testPulseWhileDozing_notifyAuthInterrupt()
170 DozeLog.PULSE_REASON_NOTIFICATION, in testPulseWhileDozing_notifyAuthInterrupt()
171 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, in testPulseWhileDozing_notifyAuthInterrupt()
172 DozeLog.REASON_SENSOR_PICKUP, in testPulseWhileDozing_notifyAuthInterrupt()
173 DozeLog.REASON_SENSOR_DOUBLE_TAP, in testPulseWhileDozing_notifyAuthInterrupt()
[all …]
DDozeScrimControllerTest.java30 import com.android.systemui.doze.DozeLog;
46 private DozeLog mDozeLog;
DNotificationShadeWindowViewTest.java35 import com.android.systemui.doze.DozeLog;
82 @Mock private DozeLog mDozeLog;
DNotificationPanelViewTest.java89 import com.android.systemui.doze.DozeLog;
202 private DozeLog mDozeLog;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java70 private DozeLog mDozeLog;
206 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToDoze()
219 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToAoD()
233 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_dozeSuppressed_goesToSuppressed()
246 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_afterDocked_goesToDockedAoD()
271 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_dozeSuppressed_afterDocked_goesToDoze()
286 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_afterDockPaused_goesToDoze()
302 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_dozeSuppressed_afterDockPaused_goesToDoze()
346 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_heldInPulseStates()
369 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_releasedAfterPulse()
[all …]
DDozeTriggersTest.java116 mProximityCheck, mock(DozeLog.class), mBroadcastDispatcher, new FakeSettings(), in setupDozeTriggers()
198 mTriggers.onSensor(DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, 100, 100, null); in testProximitySensorNotAvailablel()
199 mTriggers.onSensor(DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN, 100, 100, in testProximitySensorNotAvailablel()
201 mTriggers.onSensor(DozeLog.REASON_SENSOR_TAP, 100, 100, null); in testProximitySensorNotAvailablel()
210 mTriggers.onSensor(DozeLog.REASON_SENSOR_QUICK_PICKUP, 100, 100, null); in testQuickPickup()
228 final int reason = DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; in testOnSensor_Fingerprint()
DDozeSensorsTest.java19 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_TAP;
83 private DozeLog mDozeLog;
120 verify(mCallback).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN), in testSensorDebounce()
127 verify(mCallback, never()).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN), in testSensorDebounce()
DDozeUiTest.java72 private DozeLog mDozeLog;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeScrimController.java27 import com.android.systemui.doze.DozeLog;
41 private final DozeLog mDozeLog;
55 + DozeLog.reasonToString(mPulseReason));
76 if (mPulseReason != DozeLog.PULSE_REASON_NOTIFICATION
77 && mPulseReason != DozeLog.PULSE_REASON_DOCKING) {
95 public DozeScrimController(DozeParameters dozeParameters, DozeLog dozeLog) { in DozeScrimController()
DDozeServiceHost.java37 import com.android.systemui.doze.DozeLog;
63 private final DozeLog mDozeLog;
98 public DozeServiceHost(DozeLog dozeLog, PowerManager powerManager, in DozeServiceHost()
222 if (reason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS) { in pulseWhileDozing()
229 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN) { in pulseWhileDozing()
233 boolean passiveAuthInterrupt = reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN in pulseWhileDozing()
332 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN) { in extendPulse()
DNotificationShadeWindowViewController.java41 import com.android.systemui.doze.DozeLog;
83 private final DozeLog mDozeLog;
131 DozeLog dozeLog, in NotificationShadeWindowViewController()
DPanelViewController.java52 import com.android.systemui.doze.DozeLog;
145 private final DozeLog mDozeLog;
213 FalsingManager falsingManager, DozeLog dozeLog, in PanelViewController()
DNotificationPanelViewController.java103 import com.android.systemui.doze.DozeLog;
689 StatusBarStateController statusBarStateController, DozeLog dozeLog, in NotificationPanelViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java107 Callback callback, Consumer<Boolean> proxCallback, DozeLog dozeLog, in DozeSensors()
132 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, false /* touchCoords */, in DozeSensors()
139 DozeLog.REASON_SENSOR_PICKUP, false /* touchCoords */, in DozeSensors()
148 DozeLog.REASON_SENSOR_DOUBLE_TAP, in DozeSensors()
157 DozeLog.REASON_SENSOR_TAP, in DozeSensors()
168 DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, in DozeSensors()
179 DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS, in DozeSensors()
189 DozeLog.REASON_SENSOR_WAKE_UP, in DozeSensors()
197 DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN, in DozeSensors()
208 DozeLog.REASON_SENSOR_QUICK_PICKUP, in DozeSensors()
[all …]
DDozeTriggers.java79 private final DozeLog mDozeLog;
179 DozeLog dozeLog, BroadcastDispatcher broadcastDispatcher, in DozeTriggers()
234 requestPulse(DozeLog.PULSE_REASON_NOTIFICATION, false /* performedProxCheck */, in onNotification()
270 boolean isDoubleTap = pulseReason == DozeLog.REASON_SENSOR_DOUBLE_TAP; in onSensor()
271 boolean isTap = pulseReason == DozeLog.REASON_SENSOR_TAP; in onSensor()
272 boolean isPickup = pulseReason == DozeLog.REASON_SENSOR_PICKUP; in onSensor()
273 boolean isLongPress = pulseReason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS; in onSensor()
274 boolean isWakeOnPresence = pulseReason == DozeLog.REASON_SENSOR_WAKE_UP; in onSensor()
275 boolean isWakeOnReach = pulseReason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN; in onSensor()
276 boolean isUdfpsLongPress = pulseReason == DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; in onSensor()
[all …]
DDozeLogger.kt20 import com.android.systemui.doze.DozeLog.Reason
21 import com.android.systemui.doze.DozeLog.reasonToString
26 import com.android.systemui.log.dagger.DozeLog
34 @DozeLog private val buffer: LogBuffer
DDozeMachine.java58 private final DozeLog mDozeLog;
157 BatteryController batteryController, DozeLog dozeLog, DockManager dockManager, in DozeMachine()
195 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()
304 mPulseReason = DozeLog.PULSE_REASON_NONE; in updatePulseReason()
404 transitionTo(nextState, DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
DDozeUi.java66 private final DozeLog mDozeLog;
104 DozeLog dozeLog, TunerService tunerService, in DozeUi()
158 reason == DozeLog.PULSE_REASON_SENSOR_WAKE_LOCK_SCREEN in pulseWhileDozing()
DDozeLog.java43 public class DozeLog implements Dumpable { class
57 public DozeLog( in DozeLog() method in DozeLog
244 synchronized (DozeLog.class) { in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/dagger/
DDozeLog.java32 public @interface DozeLog { annotation
DLogModule.java42 @DozeLog