/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 266 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/ |
D | ActivityTaskManagerServiceTests.java | 706 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/ |
D | FakePackageConfigurationUpdater.java | 39 public PackageConfigurationUpdater setNightMode(int nightMode) { in setNightMode() method in FakePackageConfigurationUpdater
|
/frameworks/base/core/java/android/app/ |
D | IUiModeManager.aidl | 63 void setNightMode(int mode); in setNightMode() method
|
D | UiModeManager.java | 742 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/ |
D | MenuViewTest.java | 79 mUiModeManager.setNightMode(MODE_NIGHT_YES); in setUp() 189 mUiModeManager.setNightMode(mNightMode); in tearDown()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PackageConfigurationUpdaterImpl.java | 57 public ActivityTaskManagerInternal.PackageConfigurationUpdater setNightMode(int nightMode) { in setNightMode() method in PackageConfigurationUpdaterImpl
|
D | ActivityTaskManagerInternal.java | 715 PackageConfigurationUpdater setNightMode(int nightMode); in setNightMode() method
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessChangeEvent.java | 339 public Builder setNightMode(boolean nightMode) { in setNightMode() method in BrightnessChangeEvent.Builder
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 161 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/ |
D | BrightnessTracker.java | 415 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/ |
D | UiModeManagerService.java | 822 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/ |
D | BrightnessTrackerTest.java | 691 builder.setNightMode(false); in testParcelUnParcel()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 6957 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/ |
D | android-22.txt | 5172 method public void setNightMode(int);
|
/frameworks/base/core/api/ |
D | current.txt | 7640 method public void setNightMode(int);
|