Home
last modified time | relevance | path

Searched refs:MODE_NIGHT_YES (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java29 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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewTest.java19 import static android.app.UiModeManager.MODE_NIGHT_YES;
79 mUiModeManager.setNightMode(MODE_NIGHT_YES); in setUp()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java30 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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUiModeNightTileTest.kt131 `when`(uiModeManager.nightMode).thenReturn(UiModeManager.MODE_NIGHT_YES) in setNightModeOn()
/frameworks/base/core/java/android/app/
DUiModeManager.java243 MODE_NIGHT_YES
270 public static final int MODE_NIGHT_YES = 2; field in UiModeManager
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapperTest.kt367 createModel(nightMode = true, powerSave = false, uiMode = UiModeManager.MODE_NIGHT_YES) in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsNightYesInNightMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java1778 ", yes: " + UiModeManager.MODE_NIGHT_YES + in dump()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5182 field public static final int MODE_NIGHT_YES = 2; // 0x2
/frameworks/base/core/api/
Dcurrent.txt7651 field public static final int MODE_NIGHT_YES = 2; // 0x2