/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | DozeServiceHostTest.java | 43 import com.android.systemui.doze.DozeLog; 84 @Mock private DozeLog mDozeLog; 152 }, DozeLog.PULSE_REASON_NOTIFICATION); in testPulseWhileDozing_updatesScrimController() 158 pulseCallbackArgumentCaptor.capture(), eq(DozeLog.PULSE_REASON_NOTIFICATION)); in testPulseWhileDozing_updatesScrimController() 170 Collections.singletonList(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH)); in testPulseWhileDozing_notifyAuthInterrupt() 172 Arrays.asList(DozeLog.PULSE_REASON_INTENT, in testPulseWhileDozing_notifyAuthInterrupt() 173 DozeLog.PULSE_REASON_NOTIFICATION, in testPulseWhileDozing_notifyAuthInterrupt() 174 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, in testPulseWhileDozing_notifyAuthInterrupt() 175 DozeLog.REASON_SENSOR_PICKUP, in testPulseWhileDozing_notifyAuthInterrupt() 176 DozeLog.REASON_SENSOR_DOUBLE_TAP, in testPulseWhileDozing_notifyAuthInterrupt() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeMachineTest.java | 81 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 …]
|
D | DozeTriggersTest.java | 99 private DozeLog mDozeLog; 330 mTriggers.onSensor(DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, 100, 100, null); in testProximitySensorNotAvailable() 331 mTriggers.onSensor(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH, 100, 100, in testProximitySensorNotAvailable() 333 mTriggers.onSensor(DozeLog.REASON_SENSOR_TAP, 100, 100, null); in testProximitySensorNotAvailable() 350 mTriggers.onSensor(DozeLog.REASON_SENSOR_QUICK_PICKUP, 100, 100, null); in testQuickPickup() 367 mTriggers.onSensor(DozeLog.REASON_SENSOR_PICKUP, 100, 100, null); in testPickupGesture() 370 verify(mMachine).wakeUp(DozeLog.REASON_SENSOR_PICKUP); in testPickupGesture() 375 mTriggers.onSensor(DozeLog.REASON_SENSOR_TAP, 100, 200, null); in test_onSensor_tap() 378 verify(mMachine).wakeUp(DozeLog.REASON_SENSOR_TAP); in test_onSensor_tap() 383 mTriggers.onSensor(DozeLog.REASON_SENSOR_DOUBLE_TAP, 100, 200, null); in test_onSensor_double_tap() [all …]
|
D | DozeScreenStatePreventingAdapterTest.java | 88 mWrapper.requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp() 89 verify(mInner).requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
|
D | DozeSensorsTest.java | 21 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_TAP; 22 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; 99 private DozeLog mDozeLog; 156 verify(mCallback).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH), in testSensorDebounce() 163 verify(mCallback, never()).onSensorPulse(eq(DozeLog.PULSE_REASON_SENSOR_WAKE_REACH), in testSensorDebounce() 488 if (sensor.mPulseReason == DozeLog.REASON_SENSOR_PICKUP) { in liftToWake_defaultSetting_configDefaultFalse() 507 if (sensor.mPulseReason == DozeLog.REASON_SENSOR_PICKUP) { in liftToWake_defaultSetting_configDefaultTrue()
|
D | DozeSuspendScreenStatePreventingAdapterTest.java | 91 mWrapper.requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp() 92 verify(mInner).requestWakeUp(DozeLog.REASON_SENSOR_PICKUP); in forwards_requestWakeUp()
|
D | DozeServiceFake.java | 51 public void requestWakeUp(@DozeLog.Reason int reason) { in requestWakeUp()
|
D | DozeUiTest.java | 69 private DozeLog mDozeLog;
|
D | DozeSuppressorTest.java | 69 private DozeLog mDozeLog;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeTriggers.java | 91 private final DozeLog mDozeLog; 201 DozeLog dozeLog, BroadcastDispatcher broadcastDispatcher, in DozeTriggers() 264 requestPulse(DozeLog.PULSE_REASON_NOTIFICATION, false /* performedProxCheck */, in onNotification() 270 requestPulse(DozeLog.PULSE_REASON_FINGERPRINT_ACTIVATED, false, null); in onSideFingerprintAcquisitionStarted() 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() [all …]
|
D | DozeMachine.java | 59 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() 533 public void requestWakeUp(@DozeLog.Reason int reason) { in requestWakeUp()
|
D | DozeSensors.java | 21 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_QUICK_PICKUP; 22 import static com.android.systemui.doze.DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS; 99 private final DozeLog mDozeLog; 155 DozeLog dozeLog, in DozeSensors() 188 DozeLog.PULSE_REASON_SENSOR_SIGMOTION, in DozeSensors() 198 DozeLog.REASON_SENSOR_PICKUP, false /* touchCoords */, in DozeSensors() 209 DozeLog.REASON_SENSOR_DOUBLE_TAP, in DozeSensors() 218 DozeLog.REASON_SENSOR_TAP, in DozeSensors() 232 DozeLog.PULSE_REASON_SENSOR_LONG_PRESS, in DozeSensors() 245 DozeLog.REASON_SENSOR_UDFPS_LONG_PRESS, in DozeSensors() [all …]
|
D | DozeService.java | 118 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()
|
D | DozeUi.java | 56 private final DozeLog mDozeLog; 77 DozeLog dozeLog) { in DozeUi() 107 reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH in pulseWhileDozing()
|
D | DozeLogger.kt | 20 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
|
D | DozeLog.java | 52 public class DozeLog implements Dumpable { class 66 public DozeLog( in DozeLog() method in DozeLog 281 synchronized (DozeLog.class) { in dump() 327 mLogger.logPulseEvent(pulseEvent, dozing, DozeLog.reasonToString(pulseReason)); in tracePulseEvent()
|
D | DozeSuppressor.java | 58 private final DozeLog mDozeLog; 68 DozeLog dozeLog, in DozeSuppressor()
|
D | DozeScreenState.java | 82 private final DozeLog mDozeLog; 98 DozeLog dozeLog, in DozeScreenState()
|
D | DozeScreenBrightness.java | 81 private final DozeLog mDozeLog; 115 DozeLog dozeLog, in DozeScreenBrightness()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeScrimController.java | 25 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()
|
D | DozeServiceHost.java | 40 import com.android.systemui.doze.DozeLog; 75 private final DozeLog mDozeLog; 115 public DozeServiceHost(DozeLog dozeLog, PowerManager powerManager, in DozeServiceHost() 267 if (reason == DozeLog.PULSE_REASON_SENSOR_LONG_PRESS) { in pulseWhileDozing() 274 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH) { in pulseWhileDozing() 278 boolean passiveAuthInterrupt = reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH in pulseWhileDozing() 368 if (reason == DozeLog.PULSE_REASON_SENSOR_WAKE_REACH) { in extendPulse()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/doze/ |
D | DozeLogKosmos.kt | 23 val Kosmos.dozeLog: DozeLog by Fixture { mock<DozeLog>() } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | DozeScrimControllerTest.java | 30 import com.android.systemui.doze.DozeLog; 47 private DozeLog mDozeLog;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/dagger/ |
D | DozeLog.java | 32 public @interface DozeLog { annotation
|
/frameworks/base/packages/SystemUI/docs/device-entry/ |
D | doze.md | 70 Enable DozeLog to print directly to logcat: 72 adb shell settings put global systemui/buffer/DozeLog v
|