Searched refs:oldSettings (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/settings/ |
D | LocationSettings.java | 45 void onLocationUserSettingsChanged(int userId, LocationUserSettings oldSettings, in onLocationUserSettingsChanged() argument 127 protected final void fireListeners(int userId, LocationUserSettings oldSettings, in fireListeners() argument 130 listener.onLocationUserSettingsChanged(userId, oldSettings, newSettings); in fireListeners() 159 protected void onChange(LocationUserSettings oldSettings, in onChange() argument 161 FgThread.getExecutor().execute(() -> fireListeners(mUserId, oldSettings, newSettings)); in onChange()
|
D | SettingsStore.java | 81 protected abstract void onChange(T oldSettings, T newSettings); in onChange() argument 117 T oldSettings = mCache; 118 T newSettings = Objects.requireNonNull(updater.apply(oldSettings)); 119 if (oldSettings.equals(newSettings)) { 128 onChange(oldSettings, newSettings);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/settings/ |
D | FakeLocationSettings.java | 48 protected void onChange(LocationUserSettings oldSettings, in onChange() argument 50 fireListeners(mUserId, oldSettings, newSettings); in onChange()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 96 @Nullable final OverlayInfo oldSettings) { in mustReinitializeOverlay() argument 97 if (oldSettings == null) { in mustReinitializeOverlay() 100 if (!Objects.equals(theTruth.getOverlayTarget(), oldSettings.targetPackageName)) { in mustReinitializeOverlay() 103 if (!Objects.equals(theTruth.getOverlayTargetName(), oldSettings.targetOverlayableName)) { in mustReinitializeOverlay() 106 if (oldSettings.isFabricated) { in mustReinitializeOverlay() 110 if (isMutable != oldSettings.isMutable) { in mustReinitializeOverlay() 114 if (!isMutable && isPackageConfiguredEnabled(theTruth) != oldSettings.isEnabled()) { in mustReinitializeOverlay() 121 @Nullable final OverlayInfo oldSettings) { in mustReinitializeOverlay() argument 122 if (oldSettings == null) { in mustReinitializeOverlay() 125 if (!Objects.equals(theTruth.targetPackageName, oldSettings.targetPackageName)) { in mustReinitializeOverlay() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationManagerService.java | 485 private void onLocationUserSettingsChanged(int userId, LocationUserSettings oldSettings, in onLocationUserSettingsChanged() argument 487 if (oldSettings.isAdasGnssLocationEnabled() != newSettings.isAdasGnssLocationEnabled()) { in onLocationUserSettingsChanged()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 2245 private void onLocationUserSettingsChanged(int userId, LocationUserSettings oldSettings, 2247 if (oldSettings.isAdasGnssLocationEnabled() != newSettings.isAdasGnssLocationEnabled()) {
|