Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/timezonedetector/
DConfigurationInternal.java195 public ConfigurationInternal merge(TimeZoneConfiguration newConfiguration) { in merge() argument
197 if (newConfiguration.hasIsAutoDetectionEnabled()) { in merge()
198 builder.setAutoDetectionEnabled(newConfiguration.isAutoDetectionEnabled()); in merge()
200 if (newConfiguration.hasIsGeoDetectionEnabled()) { in merge()
201 builder.setGeoDetectionEnabled(newConfiguration.isGeoDetectionEnabled()); in merge()
DTimeZoneDetectorStrategyImpl.java97 void storeConfiguration(@UserIdInt int userId, TimeZoneConfiguration newConfiguration); in storeConfiguration() argument
259 final TimeZoneConfiguration newConfiguration = in updateConfiguration() local
261 if (newConfiguration == null) { in updateConfiguration()
268 mEnvironment.storeConfiguration(userId, newConfiguration); in updateConfiguration()
272 + ", newConfiguration=" + newConfiguration; in updateConfiguration()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DFakeTimeZoneDetectorStrategy.java83 TimeZoneConfiguration newConfiguration = in updateConfiguration() local
85 if (newConfiguration == null) { in updateConfiguration()
89 if (!newConfiguration.equals(capabilitiesAndConfig.getConfiguration())) { in updateConfiguration()
90 mConfigurationInternal = mConfigurationInternal.merge(newConfiguration); in updateConfiguration()
DTimeZoneDetectorStrategyImplTest.java1128 @UserIdInt int userId, TimeZoneConfiguration newConfiguration) { in storeConfiguration() argument
1134 ConfigurationInternal mergedConfiguration = oldConfiguration.merge(newConfiguration); in storeConfiguration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeConfigurationController.java30 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DConfigurationController.java28 void onConfigurationChanged(Configuration newConfiguration); in onConfigurationChanged() argument
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DControllerImpl.java233 @NonNull ConfigurationInternal newConfiguration) { in alterProvidersStartedStateIfRequired() argument
239 boolean newGeoDetectionEnabled = newConfiguration.getGeoDetectionEnabledBehavior(); in alterProvidersStartedStateIfRequired()
255 tryStartProvider(mPrimaryProvider, newConfiguration); in alterProvidersStartedStateIfRequired()
263 tryStartProvider(mSecondaryProvider, newConfiguration); in alterProvidersStartedStateIfRequired()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java623 void setDisplayOverrideConfigurationIfNeeded(Configuration newConfiguration, in setDisplayOverrideConfigurationIfNeeded() argument
627 final boolean configChanged = currentConfig.diff(newConfiguration) != 0; in setDisplayOverrideConfigurationIfNeeded()
632 displayContent.onRequestedOverrideConfigurationChanged(newConfiguration); in setDisplayOverrideConfigurationIfNeeded()
637 setGlobalConfigurationIfNeeded(newConfiguration); in setDisplayOverrideConfigurationIfNeeded()
641 private void setGlobalConfigurationIfNeeded(Configuration newConfiguration) { in setGlobalConfigurationIfNeeded() argument
642 final boolean configChanged = getConfiguration().diff(newConfiguration) != 0; in setGlobalConfigurationIfNeeded()
646 onConfigurationChanged(newConfiguration); in setGlobalConfigurationIfNeeded()
/frameworks/av/services/audioflinger/
DTracks.cpp1348 sp<VolumeShaper::Configuration> newConfiguration; in applyVolumeShaper() local
1358 newConfiguration = new VolumeShaper::Configuration(*configuration); in applyVolumeShaper()
1359 newConfiguration->setOptionFlags( in applyVolumeShaper()
1366 (newConfiguration.get() != nullptr ? newConfiguration : configuration), operation); in applyVolumeShaper()
/frameworks/base/core/java/android/app/
DActivityThread.java5966 Configuration newConfiguration) { in handleWindowingModeChangeIfNeeded() argument
5967 final int newWindowingMode = newConfiguration.windowConfiguration.getWindowingMode(); in handleWindowingModeChangeIfNeeded()
5974 activity.dispatchPictureInPictureModeChanged(true, newConfiguration); in handleWindowingModeChangeIfNeeded()
5976 activity.dispatchPictureInPictureModeChanged(false, newConfiguration); in handleWindowingModeChangeIfNeeded()
5983 activity.dispatchMultiWindowModeChanged(nowInMultiWindowMode, newConfiguration); in handleWindowingModeChangeIfNeeded()