Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java42 import com.android.systemui.doze.DozeLog;
80 @Mock private DozeLog mDozeLog;
147 }, DozeLog.PULSE_REASON_NOTIFICATION); in testPulseWhileDozing_updatesScrimController()
153 pulseCallbackArgumentCaptor.capture(), eq(DozeLog.PULSE_REASON_NOTIFICATION)); in testPulseWhileDozing_updatesScrimController()
165 Collections.singletonList(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH)); in testPulseWhileDozing_notifyAuthInterrupt()
167 Arrays.asList(DozeLog.PULSE_REASON_INTENT, in testPulseWhileDozing_notifyAuthInterrupt()
168 DozeLog.PULSE_REASON_NOTIFICATION, in testPulseWhileDozing_notifyAuthInterrupt()
169 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, in testPulseWhileDozing_notifyAuthInterrupt()
170 DozeLog.REASON_SENSOR_PICKUP, in testPulseWhileDozing_notifyAuthInterrupt()
171 DozeLog.REASON_SENSOR_DOUBLE_TAP, in testPulseWhileDozing_notifyAuthInterrupt()
[all …]
DDozeScrimControllerTest.java30 import com.android.systemui.doze.DozeLog;
47 private DozeLog mDozeLog;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java81 private DozeLog mDozeLog;
229 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToDoze()
242 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_goesToAoD()
256 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_alwaysOnSuppressed_goesToSuppressed()
269 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_afterDocked_goesToDockedAoD()
294 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_alwaysOnSuppressed_afterDocked_goesToDoze()
309 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_afterDockPaused_goesToDoze()
325 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testPulseDone_alwaysOnSuppressed_afterDockPaused_goesToDoze()
369 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_heldInPulseStates()
392 mMachine.requestPulse(DozeLog.PULSE_REASON_NOTIFICATION); in testWakeLock_releasedAfterPulse()
[all …]
DDozeTriggersTest.java92 private DozeLog mDozeLog;
260 mTriggers.onSensor(DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, 100, 100, null); in testProximitySensorNotAvailable()
261 mTriggers.onSensor(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH, 100, 100, in testProximitySensorNotAvailable()
263 mTriggers.onSensor(DozeLog.REASON_SENSOR_TAP, 100, 100, null); in testProximitySensorNotAvailable()
280 mTriggers.onSensor(DozeLog.REASON_SENSOR_QUICK_PICKUP, 100, 100, null); in testQuickPickup()
297 mTriggers.onSensor(DozeLog.REASON_SENSOR_PICKUP, 100, 100, null); in testPickupGesture()
300 verify(mMachine).wakeUp(DozeLog.REASON_SENSOR_PICKUP); in testPickupGesture()
310 mTriggers.onSensor(DozeLog.REASON_SENSOR_PICKUP, 100, 100, null); in testPickupGestureDroppedKeyguardOccluded()
313 verify(mMachine, never()).wakeUp(DozeLog.REASON_SENSOR_PICKUP); in testPickupGestureDroppedKeyguardOccluded()
325 final int reason = DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; in testOnSensor_Fingerprint()
[all …]
DDozeScreenStatePreventingAdapterTest.java79 mWrapper.requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
80 verify(mInner).requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
DDozeSuspendScreenStatePreventingAdapterTest.java85 mWrapper.requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
86 verify(mInner).requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
DDozeSensorsTest.java19 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_TAP;
20 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS;
97 private DozeLog mDozeLog;
153 verify(mCallback).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH), in testSensorDebounce()
160 verify(mCallback, never()).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH), in testSensorDebounce()
485 if (sensor.mPulseReason == DozeLog.REASON_SENSOR_PICKUP) { in liftToWake_defaultSetting_configDefaultFalse()
504 if (sensor.mPulseReason == DozeLog.REASON_SENSOR_PICKUP) { in liftToWake_defaultSetting_configDefaultTrue()
DDozeServiceFake.java51 public void requestWakeUp(@DozeLog.Reason int reason) { in requestWakeUp()
DDozeUiTest.java69 private DozeLog mDozeLog;
DDozeSuppressorTest.java69 private DozeLog mDozeLog;
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java89 private final DozeLog mDozeLog;
198 DozeLog dozeLog, BroadcastDispatcher broadcastDispatcher, in DozeTriggers()
259 requestPulse(DozeLog.PULSE_REASON_NOTIFICATION, false /* performedProxCheck */, in onNotification()
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()
[all …]
DDozeMachine.java58 private final DozeLog mDozeLog;
164 DozeLog dozeLog, DockManager dockManager, in DozeMachine()
214 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()
294 public void wakeUp(@DozeLog.Reason int reason) { in wakeUp()
332 mPulseReason = DozeLog.PULSE_REASON_NONE; in updatePulseReason()
441 transitionTo(nextState, DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
508 void requestWakeUp(@DozeLog.Reason int reason); in requestWakeUp()
531 public void requestWakeUp(@DozeLog.Reason int reason) { in requestWakeUp()
DDozeSensors.java19 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_QUICK_PICKUP;
20 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS;
97 private final DozeLog mDozeLog;
153 DozeLog dozeLog, in DozeSensors()
186 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, in DozeSensors()
196 DozeLog.REASON_SENSOR_PICKUP, false /* touchCoords */, in DozeSensors()
207 DozeLog.REASON_SENSOR_DOUBLE_TAP, in DozeSensors()
216 DozeLog.REASON_SENSOR_TAP, in DozeSensors()
230 DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, in DozeSensors()
243 DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS, in DozeSensors()
[all …]
DDozeService.java118 public void requestWakeUp(@DozeLog.Reason int reason) { in requestWakeUp()
120 pm.wakeUp(SystemClock.uptimeMillis(), DozeLog.getPowerManagerWakeReason(reason), in requestWakeUp()
121 "com.android.systemui:NODOZE " + DozeLog.reasonToString(reason)); in requestWakeUp()
DDozeUi.java54 private final DozeLog mDozeLog;
64 DozeLog dozeLog) { in DozeUi()
88 reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH in pulseWhileDozing()
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
36 @DozeLog private val buffer: LogBuffer
DDozeLog.java52 public class DozeLog implements Dumpable { class
66 public DozeLog( in DozeLog() method in DozeLog
272 synchronized (DozeLog.class) { in dump()
318 mLogger.logPulseEvent(pulseEvent, dozing, DozeLog.reasonToString(pulseReason)); in tracePulseEvent()
DDozeSuppressor.java58 private final DozeLog mDozeLog;
68 DozeLog dozeLog, in DozeSuppressor()
DDozeScreenState.java79 private final DozeLog mDozeLog;
94 DozeLog dozeLog, in DozeScreenState()
DDozeScreenBrightness.java81 private final DozeLog mDozeLog;
115 DozeLog dozeLog, in DozeScreenBrightness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeScrimController.java25 import com.android.systemui.doze.DozeLog;
36 private final DozeLog mDozeLog;
69 if (mPulseReason != DozeLog.PULSE_REASON_NOTIFICATION
70 && mPulseReason != DozeLog.PULSE_REASON_DOCKING) {
89 DozeLog dozeLog, in DozeScrimController()
DDozeServiceHost.java37 import com.android.systemui.doze.DozeLog;
66 private final DozeLog mDozeLog;
100 public DozeServiceHost(DozeLog dozeLog, PowerManager powerManager, in DozeServiceHost()
228 if (reason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS) { in pulseWhileDozing()
235 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH) { in pulseWhileDozing()
239 boolean passiveAuthInterrupt = reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH in pulseWhileDozing()
328 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH) { in extendPulse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/dagger/
DDozeLog.java32 public @interface DozeLog { annotation
DLogModule.java46 @DozeLog
/frameworks/base/packages/SystemUI/docs/device-entry/
Ddoze.md70 Enable DozeLog to print directly to logcat:
72 adb shell settings put global systemui/buffer/DozeLog v

12