Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiModeManagerServiceTest.java266 mService.setNightMode(MODE_NIGHT_NO); in setNightModeActivated_overridesFunctionCorrectly()
273 mService.setNightMode(MODE_NIGHT_AUTO); in setNightModeActivated_overridesFunctionCorrectly()
319 mService.setNightMode(MODE_NIGHT_NO); in setAutoMode_deviceInactiveRegistered()
321 mService.setNightMode(MODE_NIGHT_AUTO); in setAutoMode_deviceInactiveRegistered()
329 mService.setNightMode(MODE_NIGHT_AUTO); in setAutoMode_deviceInactiveUnRegistered()
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()
445 mService.setNightMode(MODE_NIGHT_CUSTOM); in setNightModeActivatedForCustomMode_customTypeSchedule_withParamOnAndBedtime_shouldNotActivate()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java706 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_nightMode_successfullyApplied()
727 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied()
760 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied()
768 packageConfigUpdater.setNightMode(Configuration.UI_MODE_NIGHT_NO).commit(); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied()
788 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply()
817 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply()
828 .setNightMode(Configuration.UI_MODE_NIGHT_UNDEFINED).commit(); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply()
851 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_WhenUserRemoved_configShouldNotApply()
880 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_setLocaleListToEmpty_doesNotOverlayLocaleListInWpc()
909 .setNightMode(Configuration.UI_MODE_NIGHT_YES).commit(); in testPackageConfigUpdate_resetNightMode_doesNotOverrideNightModeInWpc()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DFakePackageConfigurationUpdater.java39 public PackageConfigurationUpdater setNightMode(int nightMode) { in setNightMode() method in FakePackageConfigurationUpdater
/frameworks/base/core/java/android/app/
DIUiModeManager.aidl63 void setNightMode(int mode); in setNightMode() method
DUiModeManager.java742 public void setNightMode(@NightMode int mode) { in setNightMode() method in UiModeManager
745 sGlobals.mService.setNightMode(mode); in setNightMode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewTest.java79 mUiModeManager.setNightMode(MODE_NIGHT_YES); in setUp()
189 mUiModeManager.setNightMode(mNightMode); in tearDown()
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigurationUpdaterImpl.java57 public ActivityTaskManagerInternal.PackageConfigurationUpdater setNightMode(int nightMode) { in setNightMode() method in PackageConfigurationUpdaterImpl
DActivityTaskManagerInternal.java715 PackageConfigurationUpdater setNightMode(int nightMode); in setNightMode() method
/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java339 public Builder setNightMode(boolean nightMode) { in setNightMode() method in BrightnessChangeEvent.Builder
/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/services/core/java/com/android/server/display/
DBrightnessTracker.java415 builder.setNightMode(mInjector.isNightDisplayActivated(mContext)); in handleBrightnessChanged()
713 builder.setNightMode(parser.getAttributeBoolean(null, ATTR_NIGHT_MODE)); in readEventsLocked()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java822 public void setNightMode(int mode) { in setNightMode() method in UiModeManagerService.Stub
960 updater.setNightMode(configNightMode); in setApplicationNightMode()
2220 mInterface.setNightMode(mode); in handleNightMode()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java691 builder.setNightMode(false); in testParcelUnParcel()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt6957 Landroid/app/IUiModeManager$Stub$Proxy;->setNightMode(I)V
6972 Landroid/app/IUiModeManager;->setNightMode(I)V
19707 Landroid/hardware/display/BrightnessChangeEvent$Builder;->setNightMode(Z)Landroid/hardware/display/…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5172 method public void setNightMode(int);
/frameworks/base/core/api/
Dcurrent.txt7640 method public void setNightMode(int);