Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/settings/
DLocationSettings.java45 void onLocationUserSettingsChanged(int userId, LocationUserSettings oldSettings, in onLocationUserSettingsChanged()
46 LocationUserSettings newSettings); in onLocationUserSettingsChanged()
97 public final LocationUserSettings getUserSettings(int userId) { in getUserSettings()
103 Function<LocationUserSettings, LocationUserSettings> updater) { in updateUserSettings() argument
127 protected final void fireListeners(int userId, LocationUserSettings oldSettings, in fireListeners()
128 LocationUserSettings newSettings) { in fireListeners()
134 class LocationUserSettingsStore extends SettingsStore<LocationUserSettings> {
144 protected LocationUserSettings read(int version, DataInput in) throws IOException { in read()
145 return filterSettings(LocationUserSettings.read(mContext.getResources(), version, in)); in read()
149 protected void write(DataOutput out, LocationUserSettings settings) throws IOException { in write()
[all …]
DLocationUserSettings.java29 public final class LocationUserSettings implements SettingsStore.VersionedSettings { class
37 private LocationUserSettings(boolean adasGnssLocationEnabled) { in LocationUserSettings() method in LocationUserSettings
51 public LocationUserSettings withAdasGnssLocationEnabled(boolean adasEnabled) { in withAdasGnssLocationEnabled()
56 return new LocationUserSettings(adasEnabled); in withAdasGnssLocationEnabled()
63 static LocationUserSettings read(Resources resources, int version, DataInput in) in read()
79 return new LocationUserSettings(adasGnssLocationEnabled); in read()
87 if (!(o instanceof LocationUserSettings)) { in equals()
90 LocationUserSettings that = (LocationUserSettings) o; in equals()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/settings/
DLocationSettingsTest.java130 ArgumentCaptor<LocationUserSettings> oldCaptor = ArgumentCaptor.forClass( in testListeners()
131 LocationUserSettings.class); in testListeners()
132 ArgumentCaptor<LocationUserSettings> newCaptor = ArgumentCaptor.forClass( in testListeners()
133 LocationUserSettings.class); in testListeners()
141 oldCaptor = ArgumentCaptor.forClass(LocationUserSettings.class); in testListeners()
142 newCaptor = ArgumentCaptor.forClass(LocationUserSettings.class); in testListeners()
DFakeLocationSettings.java48 protected void onChange(LocationUserSettings oldSettings, in onChange()
49 LocationUserSettings newSettings) { in onChange()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java140 import com.android.server.location.settings.LocationUserSettings;
485 private void onLocationUserSettingsChanged(int userId, LocationUserSettings oldSettings, in onLocationUserSettingsChanged()
486 LocationUserSettings newSettings) { in onLocationUserSettingsChanged()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java117 import com.android.server.location.settings.LocationUserSettings;
2245 private void onLocationUserSettingsChanged(int userId, LocationUserSettings oldSettings,
2246 LocationUserSettings newSettings) {