Home
last modified time | relevance | path

Searched refs:MODE_NIGHT_CUSTOM (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java24 import static android.app.UiModeManager.MODE_NIGHT_CUSTOM;
445 mService.setNightMode(MODE_NIGHT_CUSTOM); in setNightModeActivatedForCustomMode_customTypeSchedule_withParamOnAndBedtime_shouldNotActivate()
455 mService.setNightMode(MODE_NIGHT_CUSTOM); in setNightModeActivatedForCustomMode_customTypeSchedule_withParamOnAndBedtime_thenCustomTypeBedtime_shouldActivate()
471 mService.setNightMode(MODE_NIGHT_CUSTOM); in setNightModeActivatedForCustomMode_customTypeBedtime_withParamOnAndBedtime_thenCustomTypeSchedule_shouldKeepNightModeActivate()
486 mService.setNightMode(MODE_NIGHT_CUSTOM); in setNightModeActivatedForCustomMode_customTypeBedtime_withParamOnAndBedtime_thenCustomTypeScheduleAndScreenOff_shouldDeactivateNightMode()
771 mService.setNightMode(MODE_NIGHT_CUSTOM); in getNightModeCustomType_nightModeCustom_shouldReturnSchedule()
817 mService.setNightMode(MODE_NIGHT_CUSTOM); in customTime_darkThemeOn_afterScreenOff()
828 mService.setNightMode(MODE_NIGHT_CUSTOM); in customTime_darkThemeOff_afterScreenOff()
839 mService.setNightMode(MODE_NIGHT_CUSTOM); in customTime_darkThemeOn_afterDreamingStarted()
850 mService.setNightMode(MODE_NIGHT_CUSTOM); in customTime_darkThemeOff_afterDreamingStarted()
[all …]
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java25 import static android.app.UiModeManager.MODE_NIGHT_CUSTOM;
415 if (mode == MODE_NIGHT_AUTO || mode == MODE_NIGHT_CUSTOM) { in updateSystemProperties()
607 if (mNightMode.get() != MODE_NIGHT_CUSTOM) return; in updateCustomTimeLocked()
824 int customModeType = mode == MODE_NIGHT_CUSTOM in setNightMode()
842 case MODE_NIGHT_CUSTOM: in setNightModeInternal()
860 || mNightMode.get() == MODE_NIGHT_CUSTOM) { in setNightModeInternal()
864 mNightModeCustomType = mode == MODE_NIGHT_CUSTOM in setNightModeInternal()
874 && mNightMode.get() != MODE_NIGHT_CUSTOM) in setNightModeInternal()
899 setNightModeInternal(MODE_NIGHT_CUSTOM, nightModeCustomType); in setNightModeCustomType()
942 case UiModeManager.MODE_NIGHT_CUSTOM: in setApplicationNightMode()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapperTest.kt415 uiMode = UiModeManager.MODE_NIGHT_CUSTOM, in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsUnknownCustomNotInNightMode()
442 uiMode = UiModeManager.MODE_NIGHT_CUSTOM, in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsUnknownCustomInNightMode()
469 uiMode = UiModeManager.MODE_NIGHT_CUSTOM, in secondaryLabelCorrectWhenInPowerSaveAndUiModeIsUnknownCustomNotInNightMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapper.kt62 } else if (uiMode == UiModeManager.MODE_NIGHT_CUSTOM) { in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java134 } else if (uiMode == UiModeManager.MODE_NIGHT_CUSTOM) { in handleUpdateState()
/frameworks/base/core/java/android/app/
DUiModeManager.java241 MODE_NIGHT_CUSTOM,
258 public static final int MODE_NIGHT_CUSTOM = 3; field in UiModeManager
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt7649 field public static final int MODE_NIGHT_CUSTOM = 3; // 0x3