Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java28 import static android.app.UiModeManager.MODE_NIGHT_NO;
266 mService.setNightMode(MODE_NIGHT_NO); in setNightModeActivated_overridesFunctionCorrectly()
319 mService.setNightMode(MODE_NIGHT_NO); in setAutoMode_deviceInactiveRegistered()
332 mService.setNightMode(MODE_NIGHT_NO); in setAutoMode_deviceInactiveUnRegistered()
341 mService.setNightMode(MODE_NIGHT_NO); in setNightModeCustomType_bedtime_shouldNotActivateNightMode()
378 mService.setNightMode(MODE_NIGHT_NO); in setNightModeCustomType_bedtime_shouldHaveNoScreenOffRegistered()
394 mService.setNightMode(MODE_NIGHT_NO); in setNightModeActivated_fromNoToYesAndBack()
497 mService.setNightMode(MODE_NIGHT_NO); in autoNightModeSwitch_batterySaverOn()
574 mService.setNightMode(MODE_NIGHT_NO); in nightModeCustomBedtime_duringBedtime_changeModeToNo_shouldDeactivateNightMode()
585 mService.setNightMode(MODE_NIGHT_NO); in nightModeCustomBedtime_duringBedtime_changeModeToNoAndThenExitBedtime_shouldKeepNightModeDeactivated()
[all …]
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java29 import static android.app.UiModeManager.MODE_NIGHT_NO;
143 private int mNightModeValue = UiModeManager.MODE_NIGHT_NO;
838 case UiModeManager.MODE_NIGHT_NO: in setNightModeInternal()
939 case UiModeManager.MODE_NIGHT_NO: in setApplicationNightMode()
952 case MODE_NIGHT_NO: in setApplicationNightMode()
1036 } else if (mNightMode.get() == UiModeManager.MODE_NIGHT_NO in setNightModeActivatedForModeInternal()
1041 mNightMode.set(UiModeManager.MODE_NIGHT_NO); in setNightModeActivatedForModeInternal()
1727 if (mNightMode.get() == MODE_NIGHT_YES || mNightMode.get() == UiModeManager.MODE_NIGHT_NO) { in updateConfigurationLocked()
2078 if (mNightMode.get() != MODE_NIGHT_YES && mNightMode.get() != UiModeManager.MODE_NIGHT_NO) { in updateComputedNightModeLocked()
2247 case UiModeManager.MODE_NIGHT_NO: in nightModeToStr()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUiModeNightTileTest.kt136 `when`(uiModeManager.nightMode).thenReturn(UiModeManager.MODE_NIGHT_NO) in setNightModeOff()
/frameworks/base/core/java/android/app/
DUiModeManager.java242 MODE_NIGHT_NO,
264 public static final int MODE_NIGHT_NO = 1; field in UiModeManager
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java161 uiModeManager.setNightMode(UiModeManager.MODE_NIGHT_NO); in teardown()
1379 uiModeManager.setNightMode(UiModeManager.MODE_NIGHT_NO); in forceInvertOffDarkThemeOff_forceDarkModeDisabled()
1399 uiModeManager.setNightMode(UiModeManager.MODE_NIGHT_NO); in forceInvertOnDarkThemeOff_forceDarkModeEnabled()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapperTest.kt390 createModel(nightMode = false, powerSave = false, uiMode = UiModeManager.MODE_NIGHT_NO) in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsNightNoNotInNightMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java1779 ", no: " + UiModeManager.MODE_NIGHT_NO + ")"); 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.txt5181 field public static final int MODE_NIGHT_NO = 1; // 0x1
/frameworks/base/core/api/
Dcurrent.txt7650 field public static final int MODE_NIGHT_NO = 1; // 0x1