Searched refs:setNightMode (Results 1 – 6 of 6) sorted by relevance
109 mUiModeManager.setNightMode(UiModeManager.MODE_NIGHT_NO); in resetNightMode()178 setNightMode(UiModeManager.MODE_NIGHT_NO); in testNightModeYesPersisted()180 setNightMode(UiModeManager.MODE_NIGHT_YES); in testNightModeYesPersisted()191 setNightMode(UiModeManager.MODE_NIGHT_NO); in testNightModeAutoPersisted()193 setNightMode(UiModeManager.MODE_NIGHT_AUTO); in testNightModeAutoPersisted()229 mUiModeManager.setNightMode(MODE_NIGHT_NO); in testGetNightModeCustomType_nightModeNo_shouldReturnUnknown()237 mUiModeManager.setNightMode(MODE_NIGHT_YES); in testGetNightModeCustomType_nightModeYes_shouldReturnUnknown()245 mUiModeManager.setNightMode(MODE_NIGHT_AUTO); in testGetNightModeCustomType_nightModeAuto_shouldReturnUnknown()253 mUiModeManager.setNightMode(MODE_NIGHT_CUSTOM); in testGetNightModeCustomType_nightModeCustom_shouldReturnScheduleAsDefault()300 mUiModeManager.setNightMode(MODE_NIGHT_NO); in testSetNightModeActivatedForCustomMode_modeNo_activateAtBedtime_shouldNotActivateNightMode()[all …]
32 uiManager.setNightMode(UiModeManager.MODE_NIGHT_YES); in onCreate()33 uiManager.setNightMode(UiModeManager.MODE_NIGHT_NO); in onCreate()
70 final int setNightMode = Integer.parseInt(nightMode); in onCreate() local71 mUiModeManager.setApplicationNightMode(setNightMode); in onCreate()
50 setNightMode(); in testUserSwitchingConfigConsistency()78 private void setNightMode() throws Exception { in setNightMode() method in UiModeHostTest
58 () -> uiManager.setNightMode(UiModeManager.MODE_NIGHT_YES), in enableForceDark()68 SystemUtil.runWithShellPermissionIdentity(() -> uiManager.setNightMode(sPreviousUiMode), in restoreForceDarkSetting()
7641 method public void setNightMode(int);