Searched refs:MODE_NIGHT_YES (Results 1 – 10 of 10) sorted by relevance
29 import static android.app.UiModeManager.MODE_NIGHT_YES;600 mService.setNightMode(MODE_NIGHT_YES); in nightModeCustomBedtime_duringBedtime_changeModeToYes_shouldKeepNightModeActivated()612 mService.setNightMode(MODE_NIGHT_YES); in nightModeCustomBedtime_duringBedtime_changeModeToYesAndThenExitBedtime_shouldKeepNightModeActivated()645 mService.setNightMode(MODE_NIGHT_YES); in nightModeYes_thenChangeToCustomTypeBedtime_shouldDeactivateNightMode()655 mService.setNightMode(MODE_NIGHT_YES); in nightModeYes_thenChangeToCustomTypeBedtimeAndActivate_shouldActivateNightMode()710 mService.setNightMode(MODE_NIGHT_YES); in setNightModeActive_fromNightModeYesToNoWhenFalse()726 assertEquals(MODE_NIGHT_YES, mService.getNightMode()); in setNightModeActive_fromNightModeNoToYesWhenTrue()752 mService.setNightMode(MODE_NIGHT_YES); in getNightModeCustomType_nightModeYes_shouldReturnUnknown()798 mService.setNightMode(MODE_NIGHT_YES); in isNightModeActive_nightModeYes()825 mService.setNightMode(MODE_NIGHT_YES); in customTime_darkThemeOff_afterScreenOff()[all …]
19 import static android.app.UiModeManager.MODE_NIGHT_YES;79 mUiModeManager.setNightMode(MODE_NIGHT_YES); in setUp()
30 import static android.app.UiModeManager.MODE_NIGHT_YES;416 mode = MODE_NIGHT_YES; in updateSystemProperties()839 case UiModeManager.MODE_NIGHT_YES: in setNightModeInternal()940 case UiModeManager.MODE_NIGHT_YES: in setApplicationNightMode()949 case MODE_NIGHT_YES: in setApplicationNightMode()1038 mNightMode.set(UiModeManager.MODE_NIGHT_YES); in setNightModeActivatedForModeInternal()1039 } else if (mNightMode.get() == UiModeManager.MODE_NIGHT_YES in setNightModeActivatedForModeInternal()1727 if (mNightMode.get() == MODE_NIGHT_YES || mNightMode.get() == UiModeManager.MODE_NIGHT_NO) { in updateConfigurationLocked()1728 updateComputedNightModeLocked(mNightMode.get() == MODE_NIGHT_YES); in updateConfigurationLocked()2078 if (mNightMode.get() != MODE_NIGHT_YES && mNightMode.get() != UiModeManager.MODE_NIGHT_NO) { in updateComputedNightModeLocked()[all …]
131 `when`(uiModeManager.nightMode).thenReturn(UiModeManager.MODE_NIGHT_YES) in setNightModeOn()
243 MODE_NIGHT_YES270 public static final int MODE_NIGHT_YES = 2; field in UiModeManager
367 createModel(nightMode = true, powerSave = false, uiMode = UiModeManager.MODE_NIGHT_YES) in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsNightYesInNightMode()
1778 ", yes: " + UiModeManager.MODE_NIGHT_YES + in dump()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
5182 field public static final int MODE_NIGHT_YES = 2; // 0x2
7651 field public static final int MODE_NIGHT_YES = 2; // 0x2