Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/biometrics/log/
DOperationContextExt.java31 import android.hardware.biometrics.common.WakeReason;
181 @WakeReason
185 return WakeReason.POWER_BUTTON; in getWakeReason()
187 return WakeReason.GESTURE; in getWakeReason()
189 return WakeReason.WAKE_KEY; in getWakeReason()
191 return WakeReason.WAKE_MOTION; in getWakeReason()
193 return WakeReason.DISPLAY_GROUP_ADDED; in getWakeReason()
195 return WakeReason.TAP; in getWakeReason()
197 return WakeReason.LIFT; in getWakeReason()
199 return WakeReason.BIOMETRIC; in getWakeReason()
[all …]
DBiometricFrameworkStatsLogger.java26 import android.hardware.biometrics.common.WakeReason;
166 @WakeReason final int reason = operationContext.getWakeReason(); in toProtoWakeReason()
168 case WakeReason.POWER_BUTTON: in toProtoWakeReason()
170 case WakeReason.GESTURE: in toProtoWakeReason()
172 case WakeReason.WAKE_KEY: in toProtoWakeReason()
174 case WakeReason.WAKE_MOTION: in toProtoWakeReason()
176 case WakeReason.LID: in toProtoWakeReason()
178 case WakeReason.DISPLAY_GROUP_ADDED: in toProtoWakeReason()
180 case WakeReason.TAP: in toProtoWakeReason()
182 case WakeReason.LIFT: in toProtoWakeReason()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java27 import android.os.PowerManager.WakeReason;
117 public void startedWakingUpGlobal(@WakeReason int reason) { in startedWakingUpGlobal()
121 public void finishedWakingUpGlobal(@WakeReason int reason) { in finishedWakingUpGlobal()
133 public void startedWakingUp(int displayGroupId, @WakeReason int wakeReason) { in startedWakingUp()
137 public void finishedWakingUp(int displayGroupId, @WakeReason int wakeReason) { in finishedWakingUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DBiometricFrameworkStatsLoggerTest.java25 import android.hardware.biometrics.common.WakeReason;
51 context.wakeReason = WakeReason.WAKE_MOTION; in testConvertsWakeReason_whenPowerReason()
101 context.wakeReason = WakeReason.WAKE_KEY; in testConvertsWakeReason_whenPowerAndFaceReason()
119 context.wakeReason = WakeReason.LID; in testConvertsWakeReason_whenPowerAndVendorReason()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/
DPowerInteractor.kt90 fun wakeUpIfDozing(why: String, @PowerManager.WakeReason wakeReason: Int) { in <lambda>()
116 fun wakeUpIfDreaming(why: String, @PowerManager.WakeReason wakeReason: Int) { in <lambda>()
136 @PowerManager.WakeReason reason: Int, in <lambda>()
248 @PowerManager.WakeReason reason: Int = PowerManager.WAKE_REASON_UNKNOWN, in <lambda>()
/frameworks/base/core/java/android/hardware/face/
DFaceAuthenticateOptions.java93 @PowerManager.WakeReason
189 @PowerManager.WakeReason int wakeReason, in FaceAuthenticateOptions()
227 PowerManager.WakeReason.class, null, mWakeReason); in FaceAuthenticateOptions()
276 public @PowerManager.WakeReason int getWakeReason() { in getWakeReason()
447 PowerManager.WakeReason.class, null, mWakeReason); in FaceAuthenticateOptions()
481 private @PowerManager.WakeReason int mWakeReason;
542 public @NonNull Builder setWakeReason(@PowerManager.WakeReason int value) { in setWakeReason()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java78 private @PowerManager.WakeReason int mLastWakeReason = PowerManager.WAKE_REASON_UNKNOWN;
113 public @PowerManager.WakeReason int getLastWakeReason() { in getLastWakeReason()
133 public void dispatchStartedWakingUp(@PowerManager.WakeReason int pmWakeReason) { in dispatchStartedWakingUp()
DKeyguardService.java520 @PowerManager.WakeReason int pmWakeReason, boolean cameraGestureTriggered) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/data/repository/
DFaceWakeUpTriggersConfig.kt37 fun shouldTriggerFaceAuthOnWakeUpFrom(@PowerManager.WakeReason pmWakeReason: Int): Boolean in shouldTriggerFaceAuthOnWakeUpFrom()
76 @PowerManager.WakeReason pmWakeReason: Int in shouldTriggerFaceAuthOnWakeUpFrom()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java773 void startedWakingUpGlobal(@PowerManager.WakeReason int reason); in startedWakingUpGlobal()
780 void finishedWakingUpGlobal(@PowerManager.WakeReason int reason); in finishedWakingUpGlobal()
807 void startedWakingUp(int displayGroupId, @PowerManager.WakeReason int pmWakeReason); in startedWakingUp()
820 void finishedWakingUp(int displayGroupId, @PowerManager.WakeReason int pmWakeReason); in finishedWakingUp()
DWindowWakeUpPolicy.java33 import android.os.PowerManager.WakeReason;
237 private void wakeUp(long wakeTime, @WakeReason int reason, String details) { in wakeUp()
DPhoneWindowManager.java154 import android.os.PowerManager.WakeReason;
5450 public void startedWakingUpGlobal(@WakeReason int reason) {
5455 public void finishedWakingUpGlobal(@WakeReason int reason) {
5540 public void startedWakingUp(int displayGroupId, @WakeReason int pmWakeReason) {
5574 public void finishedWakingUp(int displayGroupId, @WakeReason int pmWakeReason) {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java25 import android.os.PowerManager.WakeReason;
255 public void wakeUp(long time, @WakeReason int reason, String details , String opPackageName) in wakeUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/shared/model/
DWakeSleepReason.kt24 @PowerManager.WakeReason val powerManagerWakeReason: Int,
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/power/data/repository/
DFakePowerRepository.kt53 override fun wakeUp(why: String, @PowerManager.WakeReason wakeReason: Int) { in wakeUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DSysUiFaceAuthenticateOptions.kt44 @PowerManager.WakeReason val wakeReason: Int = WAKE_REASON_UNKNOWN
/frameworks/base/core/java/android/view/
DWindowManagerPolicyConstants.java166 static @OnReason int translateWakeReasonToOnReason(@PowerManager.WakeReason int reason) { in translateWakeReasonToOnReason()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceDetectClientTest.java35 import android.hardware.biometrics.common.WakeReason;
78 private static final int WAKE_REASON = WakeReason.POWER_BUTTON;
DFaceAuthenticationClientTest.java50 import android.hardware.biometrics.common.WakeReason;
107 private static final int WAKE_REASON = WakeReason.LIFT;
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
DPowerRepository.kt68 fun wakeUp(why: String, @PowerManager.WakeReason wakeReason: Int) in wakeUp()
/frameworks/base/core/java/android/os/
DPowerManager.java625 public @interface WakeReason{} annotation in PowerManager
766 public static String wakeReasonToString(@WakeReason int wakeReason) { in wakeReasonToString()
796 public WakeData(long wakeTime, @WakeReason int wakeReason, long sleepDurationRealtime) { in WakeData()
802 public final @WakeReason int wakeReason;
1672 public void wakeUp(long time, @WakeReason int reason, String details) { in wakeUp()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceWrapper.java126 @PowerManager.WakeReason int pmWakeReason, boolean cameraGestureTriggered) { in onStartedWakingUp()
DKeyguardServiceDelegate.java321 @PowerManager.WakeReason int pmWakeReason, boolean cameraGestureTriggered) { in onStartedWakingUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java534 public static @PowerManager.WakeReason int getPowerManagerWakeReason(@Reason int wakeReason) { in getPowerManagerWakeReason()
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java208 void wakeUpLocked(long eventTime, @PowerManager.WakeReason int reason, String details, int uid, in wakeUpLocked()

12