Home
last modified time | relevance | path

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/
DPowerGroupTest.java25 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/
DWindowManagerPolicyConstants.java127 case PowerManager.GO_TO_SLEEP_REASON_DEVICE_ADMIN: in translateSleepReasonToOffReason()
/frameworks/base/core/java/android/os/
DPowerManager.java444 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/
DVibrationSettingsTest.java754 mockGoToSleep(vibrateStartTime + 10, PowerManager.GO_TO_SLEEP_REASON_DEVICE_ADMIN); in shouldCancelVibrationOnScreenOff_withUidZero_returnsFalseForUsagesInAllowlist()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6316 PowerManager.GO_TO_SLEEP_REASON_DEVICE_ADMIN, 0);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37543 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_DEVICE_ADMIN:I