Home
last modified time | relevance | path

Searched refs:setNightMode (Results 1 – 6 of 6) sorted by relevance

/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java109 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 …]
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DNightModeActivity.java32 uiManager.setNightMode(UiModeManager.MODE_NIGHT_YES); in onCreate()
33 uiManager.setNightMode(UiModeManager.MODE_NIGHT_NO); in onCreate()
DHandleSplashScreenExitActivity.java70 final int setNightMode = Integer.parseInt(nightMode); in onCreate() local
71 mUiModeManager.setApplicationNightMode(setNightMode); in onCreate()
/cts/hostsidetests/car/src/android/car/cts/
DUiModeHostTest.java50 setNightMode(); in testUserSwitchingConfigConsistency()
78 private void setNightMode() throws Exception { in setNightMode() method in UiModeHostTest
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DForceDarkTests.java58 () -> uiManager.setNightMode(UiModeManager.MODE_NIGHT_YES), in enableForceDark()
68 SystemUtil.runWithShellPermissionIdentity(() -> uiManager.setNightMode(sPreviousUiMode), in restoreForceDarkSetting()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt7641 method public void setNightMode(int);