Home
last modified time | relevance | path

Searched refs:setWakefulnessLocked (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java134 boolean setWakefulnessLocked(int newWakefulness, long eventTime, int uid, int reason, int opUid, in setWakefulnessLocked() method in PowerGroup
227 setWakefulnessLocked(WAKEFULNESS_AWAKE, eventTime, uid, reason, opUid, in wakeUpLocked()
243 setWakefulnessLocked(WAKEFULNESS_DREAMING, eventTime, uid, /* reason= */0, in dreamLocked()
270 setWakefulnessLocked(WAKEFULNESS_DOZING, eventTime, uid, reason, /* opUid= */ 0, in dozeLocked()
289 setWakefulnessLocked(WAKEFULNESS_ASLEEP, eventTime, uid, reason, /* opUid= */0, in sleepLocked()
DPowerManagerService.java2258 void setWakefulnessLocked(int groupId, int wakefulness, long eventTime, int uid, int reason,
2260 mPowerGroups.get(groupId).setWakefulnessLocked(wakefulness, eventTime, uid, reason, opUid,
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java205 mPowerGroup.setWakefulnessLocked(WAKEFULNESS_DOZING, TIMESTAMP1, UID, in testLastWakeAndSleepTimeIsUpdated()
216 mPowerGroup.setWakefulnessLocked(WAKEFULNESS_ASLEEP, TIMESTAMP2, UID, in testLastWakeAndSleepTimeIsUpdated()
228 mPowerGroup.setWakefulnessLocked(WAKEFULNESS_AWAKE, TIMESTAMP2, UID, in testLastWakeAndSleepTimeIsUpdated()
239 mPowerGroup.setWakefulnessLocked(WAKEFULNESS_ASLEEP, TIMESTAMP3, UID, in testLastWakeAndSleepTimeIsUpdated()
DPowerManagerServiceTest.java2070 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_ASLEEP, 0, 0, 0, 0, in testMultiDisplay_wakefulnessUpdates()
2074 mService.setWakefulnessLocked(nonDefaultDisplayGroupId, WAKEFULNESS_ASLEEP, 0, 0, 0, 0, in testMultiDisplay_wakefulnessUpdates()
2078 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_AWAKE, 0, 0, 0, 0, in testMultiDisplay_wakefulnessUpdates()
2098 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_ASLEEP, 0, 0, 0, 0, in testMultiDisplay_addDisplayGroup_wakesDeviceUp()
2123 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_ASLEEP, 0, 0, 0, 0, in testMultiDisplay_removeDisplayGroup_updatesWakefulness()
2130 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_AWAKE, 0, 0, 0, 0, in testMultiDisplay_removeDisplayGroup_updatesWakefulness()
2155 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_DOZING, eventTime1, in testMultiDisplay_updatesLastGlobalWakeTime()
2159 mService.setWakefulnessLocked(nonDefaultPowerGroupId, WAKEFULNESS_DOZING, eventTime2, in testMultiDisplay_updatesLastGlobalWakeTime()
2166 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_AWAKE, in testMultiDisplay_updatesLastGlobalWakeTime()
2178 mService.setWakefulnessLocked(nonDefaultPowerGroupId, WAKEFULNESS_AWAKE, in testMultiDisplay_updatesLastGlobalWakeTime()
[all …]