Searched refs:GO_TO_SLEEP_REASON_DEVICE_ADMIN (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerGroupTest.java | 25 import static android.os.PowerManager.GO_TO_SLEEP_REASON_DEVICE_ADMIN; 217 GO_TO_SLEEP_REASON_DEVICE_ADMIN, /* opUid= */ 0, /* opPackageName= */ null, in testLastWakeAndSleepTimeIsUpdated() 223 eq(WAKEFULNESS_ASLEEP), eq(TIMESTAMP2), eq(GO_TO_SLEEP_REASON_DEVICE_ADMIN), in testLastWakeAndSleepTimeIsUpdated() 240 GO_TO_SLEEP_REASON_DEVICE_ADMIN, /* opUid= */ 0, /* opPackageName= */ null, in testLastWakeAndSleepTimeIsUpdated() 246 eq(WAKEFULNESS_ASLEEP), eq(TIMESTAMP3), eq(GO_TO_SLEEP_REASON_DEVICE_ADMIN), in testLastWakeAndSleepTimeIsUpdated()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerPolicyConstants.java | 127 case PowerManager.GO_TO_SLEEP_REASON_DEVICE_ADMIN: in translateSleepReasonToOffReason()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 444 public static final int GO_TO_SLEEP_REASON_DEVICE_ADMIN = 1; field in PowerManager 531 case GO_TO_SLEEP_REASON_DEVICE_ADMIN: return "device_admin"; in sleepReasonToString() 633 GO_TO_SLEEP_REASON_DEVICE_ADMIN,
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 754 mockGoToSleep(vibrateStartTime + 10, PowerManager.GO_TO_SLEEP_REASON_DEVICE_ADMIN); in shouldCancelVibrationOnScreenOff_withUidZero_returnsFalseForUsagesInAllowlist()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 6316 PowerManager.GO_TO_SLEEP_REASON_DEVICE_ADMIN, 0);
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37543 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_DEVICE_ADMIN:I
|