Home
last modified time | relevance | path

Searched refs:WAKE_REASON_GESTURE (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/shared/model/
DWakeSleepReason.kt33 GESTURE(isTouch = true, PowerManager.WAKE_REASON_GESTURE),
64 PowerManager.WAKE_REASON_GESTURE -> GESTURE in fromPowerManagerWakeReason()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/data/repository/
DFaceWakeUpTriggersConfigTest.kt48 intArrayOf(PowerManager.WAKE_REASON_POWER_BUTTON, PowerManager.WAKE_REASON_GESTURE) in testShouldTriggerFaceAuthOnWakeUpFrom_inConfig_returnsTrue()
58 PowerManager.WAKE_REASON_GESTURE in testShouldTriggerFaceAuthOnWakeUpFrom_inConfig_returnsTrue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
DPowerInteractorTest.kt125 underTest.wakeUpIfDozing("testReason", PowerManager.WAKE_REASON_GESTURE) in wakeUpIfDozing_dozingAndAllowed_wokenAndFalsingNotified()
128 assertThat(repository.lastWakeReason).isEqualTo(PowerManager.WAKE_REASON_GESTURE) in wakeUpIfDozing_dozingAndAllowed_wokenAndFalsingNotified()
170 underTest.wakeUpIfDreaming("testReason", PowerManager.WAKE_REASON_GESTURE) in wakeUpIfDreaming_dreaming_woken()
174 assertThat(repository.lastWakeReason).isEqualTo(PowerManager.WAKE_REASON_GESTURE) in wakeUpIfDreaming_dreaming_woken()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
DPowerRepositoryImplTest.kt179 underTest.wakeUp("fakeWhy", PowerManager.WAKE_REASON_GESTURE) in wakeUp_notifiesPowerManager()
183 .wakeUp(eq(345000L), eq(PowerManager.WAKE_REASON_GESTURE), capture(reasonCaptor)) in wakeUp_notifiesPowerManager()
189 underTest.wakeUp("fakeWhy", PowerManager.WAKE_REASON_GESTURE) in wakeUp_usesApplicationPackageName()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowWakeUpPolicy.java20 import static android.os.PowerManager.WAKE_REASON_GESTURE;
214 wakeUp(mClock.uptimeMillis(), WAKE_REASON_GESTURE, "GESTURE"); in wakeUpFromWakeGesture() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/shelf/domain/interactor/
DNotificationShelfInteractor.kt56 powerInteractor.wakeUpIfDozing("SHADE_CLICK", PowerManager.WAKE_REASON_GESTURE) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/scrim/
DBouncerlessScrimController.java84 mPowerManager.wakeUp(SystemClock.uptimeMillis(), PowerManager.WAKE_REASON_GESTURE, in expand()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/scrim/
DBouncerlessScrimControllerTest.java64 verify(mPowerManager).wakeUp(anyLong(), eq(PowerManager.WAKE_REASON_GESTURE), any()); in testWakeupOnSwipeOpen()
/frameworks/base/core/java/android/view/
DWindowManagerPolicyConstants.java170 case PowerManager.WAKE_REASON_GESTURE: in translateWakeReasonToOnReason()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java20 import static android.os.PowerManager.WAKE_REASON_GESTURE;
546 return WAKE_REASON_GESTURE; in getPowerManagerWakeReason()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java72 mPowerInteractor.wakeUpIfDozing("NOTIFICATION_CLICK", PowerManager.WAKE_REASON_GESTURE); in onClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/shelf/domain/interactor/
DNotificationShelfInteractorTest.kt128 assertThat(powerRepository.lastWakeReason).isEqualTo(PowerManager.WAKE_REASON_GESTURE) in goToLockedShadeFromShelf_wakesUpFromDoze()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DWindowWakeUpPolicyTests.java21 import static android.os.PowerManager.WAKE_REASON_GESTURE;
277 WAKE_REASON_GESTURE, in testWakeUpFromWakeGesture() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/shelf/ui/viewmodel/
DNotificationShelfViewModelTest.kt146 assertThat(powerRepository.lastWakeReason).isEqualTo(PowerManager.WAKE_REASON_GESTURE) in onClicked_goesToLockedShade()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java28 import static android.os.PowerManager.WAKE_REASON_GESTURE;
229 WAKE_REASON_GESTURE, /* opUid= */ 0, /* opPackageName= */ null, details); in testLastWakeAndSleepTimeIsUpdated()
234 eq(WAKEFULNESS_AWAKE), eq(TIMESTAMP2), eq(WAKE_REASON_GESTURE), in testLastWakeAndSleepTimeIsUpdated()
/frameworks/proto_logging/stats/enums/hardware/biometrics/
Denums.proto98 WAKE_REASON_GESTURE = 2; enumerator
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DBiometricFrameworkStatsLogger.java171 return BiometricsProtoEnums.WAKE_REASON_GESTURE; in toProtoWakeReason()
DOperationContextExt.java186 case PowerManager.WAKE_REASON_GESTURE: in getWakeReason()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt245 PowerManager.WAKE_REASON_GESTURE, in <lambda>()
DNotificationRemoteInputManager.java128 "NOTIFICATION_CLICK", PowerManager.WAKE_REASON_GESTURE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java246 mPowerInteractor.wakeUpIfDozing("NOTIFICATION_CLICK", PowerManager.WAKE_REASON_GESTURE); in onExpandClicked()
DDozeServiceHost.java268 mPowerManager.wakeUp(SystemClock.uptimeMillis(), PowerManager.WAKE_REASON_GESTURE, in pulseWhileDozing()
DCentralSurfacesCommandQueueCallbacks.java419 PowerManager.WAKE_REASON_GESTURE, in onEmergencyActionLaunchGestureDetected()
/frameworks/base/core/java/android/os/
DPowerManager.java610 WAKE_REASON_GESTURE,
679 public static final int WAKE_REASON_GESTURE = 4; field in PowerManager
772 case WAKE_REASON_GESTURE: return "WAKE_REASON_GESTURE"; in wakeReasonToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java857 : PowerManager.WAKE_REASON_GESTURE,
3022 mPM.wakeUp(mSystemClock.uptimeMillis(), PowerManager.WAKE_REASON_GESTURE,
3056 mPM.wakeUp(mSystemClock.uptimeMillis(), PowerManager.WAKE_REASON_GESTURE,

12