Home
last modified time | relevance | path

Searched refs:setCustomNightModeEnd (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/
DIUiModeManager.aidl106 void setCustomNightModeEnd(long time); in setCustomNightModeEnd() method
DUiModeManager.java678 public void setCustomNightModeEnd(@NonNull LocalTime time) { in setCustomNightModeEnd() method in UiModeManager
681 mService.setCustomNightModeEnd(time.toNanoOfDay() / 1000); in setCustomNightModeEnd()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java350 mService.setCustomNightModeEnd(now.plusHours(1L).toNanoOfDay() / 1000); in customTime_darkThemeOn()
361 mService.setCustomNightModeEnd(now.minusHours(1L).toNanoOfDay() / 1000); in customTime_darkThemeOff()
372 mService.setCustomNightModeEnd(now.plusHours(2L).toNanoOfDay() / 1000); in customTime_darkThemeOff_afterStartEnd()
383 mService.setCustomNightModeEnd(now.plusHours(2L).toNanoOfDay() / 1000); in customTime_darkThemeOn_afterStartEnd()
396 mService.setCustomNightModeEnd(now.minusHours(2L).toNanoOfDay() / 1000); in customTime_darkThemeOn_beforeStartEnd()
407 mService.setCustomNightModeEnd(now.minusHours(1L).toNanoOfDay() / 1000); in customTime_darkThemeOff_beforeStartEnd()
430 mService.setCustomNightModeEnd(now.toLocalTime().plusHours(1L).toNanoOfDay() / 1000); in customTime_alarmSetInTheFutureWhenOn()
444 mService.setCustomNightModeEnd(now.plusHours(1L).toNanoOfDay() / 1000); in customTime_appliesImmediatelyWhenScreenOff()
454 mService.setCustomNightModeEnd(now.plusHours(1L).toNanoOfDay() / 1000); in customTime_appliesOnlyWhenScreenOff()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java887 public void setCustomNightModeEnd(long time) {
1894 mInterface.setCustomNightModeEnd(toMilliSeconds(LocalTime.parse(end))); in handleCustomTime()
/frameworks/base/core/api/
Dcurrent.txt6802 method public void setCustomNightModeEnd(@NonNull java.time.LocalTime);