Lines Matching refs:location
2 package android.location {
48 …field @NonNull public static final android.os.Parcelable.Creator<android.location.Address> CREATOR;
53 ctor @Deprecated public Criteria(android.location.Criteria);
81 …field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.Crit…
91 …method @Deprecated @Nullable public java.util.List<android.location.Address> getFromLocation(@Floa…
92 …(from=-180.0, to=180.0) double, @IntRange(from=1) int, @NonNull android.location.Geocoder.GeocodeL…
93 …method @Deprecated @Nullable public java.util.List<android.location.Address> getFromLocationName(@…
94 …omLocationName(@NonNull String, @IntRange(from=1) int, @NonNull android.location.Geocoder.GeocodeL…
95 …method @Deprecated @Nullable public java.util.List<android.location.Address> getFromLocationName(@…
96 ….0) double, @FloatRange(from=-180.0, to=180.0) double, @NonNull android.location.Geocoder.GeocodeL…
102 method public void onGeocode(@NonNull java.util.List<android.location.Address>);
108 … method @NonNull public android.location.GnssAntennaInfo.PhaseCenterOffset getPhaseCenterOffset();
109 …method @Nullable public android.location.GnssAntennaInfo.SphericalCorrections getPhaseCenterVariat…
110 …method @Nullable public android.location.GnssAntennaInfo.SphericalCorrections getSignalGainCorrect…
112 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssAntennaInfo>…
117 …ctor public GnssAntennaInfo.Builder(double, @NonNull android.location.GnssAntennaInfo.PhaseCenterO…
118 ctor public GnssAntennaInfo.Builder(@NonNull android.location.GnssAntennaInfo);
119 method @NonNull public android.location.GnssAntennaInfo build();
120 …method @NonNull public android.location.GnssAntennaInfo.Builder setCarrierFrequencyMHz(@FloatRange…
121 …method @NonNull public android.location.GnssAntennaInfo.Builder setPhaseCenterOffset(@NonNull andr…
122 …thod @NonNull public android.location.GnssAntennaInfo.Builder setPhaseCenterVariationCorrections(@…
123 …method @NonNull public android.location.GnssAntennaInfo.Builder setSignalGainCorrections(@Nullable…
127 …method public void onGnssAntennaInfoReceived(@NonNull java.util.List<android.location.GnssAntennaI…
140 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssAntennaInfo.…
151 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssAntennaInfo.…
160 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssAutomaticGai…
165 … ctor public GnssAutomaticGainControl.Builder(@NonNull android.location.GnssAutomaticGainControl);
166 method @NonNull public android.location.GnssAutomaticGainControl build();
167 …method @NonNull public android.location.GnssAutomaticGainControl.Builder setCarrierFrequencyHz(@In…
168 …method @NonNull public android.location.GnssAutomaticGainControl.Builder setConstellationType(int);
169 …method @NonNull public android.location.GnssAutomaticGainControl.Builder setLevelDb(@FloatRange(fr…
174 method @NonNull public java.util.List<android.location.GnssSignalType> getGnssSignalTypes();
205 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssCapabilities…
210 ctor public GnssCapabilities.Builder(@NonNull android.location.GnssCapabilities);
211 method @NonNull public android.location.GnssCapabilities build();
212 …ethod @NonNull public android.location.GnssCapabilities.Builder setGnssSignalTypes(@NonNull java.u…
213 … method @NonNull public android.location.GnssCapabilities.Builder setHasAccumulatedDeltaRange(int);
214 method @NonNull public android.location.GnssCapabilities.Builder setHasAntennaInfo(boolean);
215 method @NonNull public android.location.GnssCapabilities.Builder setHasGeofencing(boolean);
216 method @NonNull public android.location.GnssCapabilities.Builder setHasLowPowerMode(boolean);
217 …method @NonNull public android.location.GnssCapabilities.Builder setHasMeasurementCorrections(bool…
218 …method @NonNull public android.location.GnssCapabilities.Builder setHasMeasurementCorrectionsExces…
219 …method @NonNull public android.location.GnssCapabilities.Builder setHasMeasurementCorrectionsForDr…
220 …method @NonNull public android.location.GnssCapabilities.Builder setHasMeasurementCorrectionsLosSa…
221 …method @NonNull public android.location.GnssCapabilities.Builder setHasMeasurementCorrectionsRefle…
222 …method @NonNull public android.location.GnssCapabilities.Builder setHasMeasurementCorrelationVecto…
223 method @NonNull public android.location.GnssCapabilities.Builder setHasMeasurements(boolean);
224 method @NonNull public android.location.GnssCapabilities.Builder setHasMsa(boolean);
225 method @NonNull public android.location.GnssCapabilities.Builder setHasMsb(boolean);
226 …method @NonNull public android.location.GnssCapabilities.Builder setHasNavigationMessages(boolean);
227 method @NonNull public android.location.GnssCapabilities.Builder setHasOnDemandTime(boolean);
228 …method @NonNull public android.location.GnssCapabilities.Builder setHasPowerMultibandAcquisition(b…
229 …method @NonNull public android.location.GnssCapabilities.Builder setHasPowerMultibandTracking(bool…
230 method @NonNull public android.location.GnssCapabilities.Builder setHasPowerOtherModes(boolean);
231 …method @NonNull public android.location.GnssCapabilities.Builder setHasPowerSinglebandAcquisition(…
232 …method @NonNull public android.location.GnssCapabilities.Builder setHasPowerSinglebandTracking(boo…
233 method @NonNull public android.location.GnssCapabilities.Builder setHasPowerTotal(boolean);
234 …method @NonNull public android.location.GnssCapabilities.Builder setHasSatelliteBlocklist(boolean);
235 method @NonNull public android.location.GnssCapabilities.Builder setHasSatellitePvt(boolean);
236 method @NonNull public android.location.GnssCapabilities.Builder setHasScheduling(boolean);
237 method @NonNull public android.location.GnssCapabilities.Builder setHasSingleShotFix(boolean);
269 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssClock> CREAT…
318 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssMeasurement>…
347 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssMeasurementR…
353 ctor public GnssMeasurementRequest.Builder(@NonNull android.location.GnssMeasurementRequest);
354 method @NonNull public android.location.GnssMeasurementRequest build();
355 method @NonNull public android.location.GnssMeasurementRequest.Builder setFullTracking(boolean);
356 …method @NonNull public android.location.GnssMeasurementRequest.Builder setIntervalMillis(@IntRange…
361 method @NonNull public android.location.GnssClock getClock();
362 …method @NonNull public java.util.Collection<android.location.GnssAutomaticGainControl> getGnssAuto…
363 method @NonNull public java.util.Collection<android.location.GnssMeasurement> getMeasurements();
367 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssMeasurements…
372 ctor public GnssMeasurementsEvent.Builder(@NonNull android.location.GnssMeasurementsEvent);
373 method @NonNull public android.location.GnssMeasurementsEvent build();
374 method @NonNull public android.location.GnssMeasurementsEvent.Builder clearIsFullTracking();
375 …method @NonNull public android.location.GnssMeasurementsEvent.Builder setClock(@NonNull android.lo…
376 …ull public android.location.GnssMeasurementsEvent.Builder setGnssAutomaticGainControls(@NonNull ja…
377 … method @NonNull public android.location.GnssMeasurementsEvent.Builder setIsFullTracking(boolean);
378 …d @NonNull public android.location.GnssMeasurementsEvent.Builder setMeasurements(@NonNull java.uti…
383 method public void onGnssMeasurementsReceived(android.location.GnssMeasurementsEvent);
400 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssNavigationMe…
415 …field @FlaggedApi("android.location.flags.gnss_api_navic_l1") public static final int TYPE_IRN_L1 …
416 …field @FlaggedApi("android.location.flags.gnss_api_navic_l1") public static final int TYPE_IRN_L5 …
425 method public void onGnssNavigationMessageReceived(android.location.GnssNavigationMessage);
433 …method @NonNull public static android.location.GnssSignalType create(int, @FloatRange(from=0.0f, f…
439 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssSignalType> …
466 …field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssStatus> CREA…
471 …method @NonNull public android.location.GnssStatus.Builder addSatellite(int, @IntRange(from=1, to=…
472 method @NonNull public android.location.GnssStatus build();
473 method @NonNull public android.location.GnssStatus.Builder clearSatellites();
479 method public void onSatelliteStatusChanged(@NonNull android.location.GnssStatus);
495 …method @Deprecated @NonNull public static android.location.GpsStatus create(@NonNull android.locat…
497 method @Deprecated public Iterable<android.location.GpsSatellite> getSatellites();
515 method public void onLocationChanged(@NonNull android.location.Location);
516 … method public default void onLocationChanged(@NonNull java.util.List<android.location.Location>);
523 …ssion.ACCESS_FINE_LOCATION) public boolean addGpsStatusListener(android.location.GpsStatus.Listene…
524 …n.ACCESS_FINE_LOCATION) public boolean addNmeaListener(@NonNull android.location.GpsStatus.NmeaLis…
525 …n.ACCESS_FINE_LOCATION) public boolean addNmeaListener(@NonNull android.location.OnNmeaMessageList…
526 …n.ACCESS_FINE_LOCATION) public boolean addNmeaListener(@NonNull android.location.OnNmeaMessageList…
527 …ddNmeaListener(@NonNull java.util.concurrent.Executor, @NonNull android.location.OnNmeaMessageList…
530 …method public void addTestProvider(@NonNull String, @NonNull android.location.provider.ProviderPro…
531 …method public void addTestProvider(@NonNull String, @NonNull android.location.provider.ProviderPro…
536 …method @Deprecated @Nullable public String getBestProvider(@NonNull android.location.Criteria, boo…
537 …ll java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.location.Location>);
538 …location.LocationRequest, @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.E…
539 method @Nullable public java.util.List<android.location.GnssAntennaInfo> getGnssAntennaInfos();
540 method @NonNull public android.location.GnssCapabilities getGnssCapabilities();
543 …ermission.ACCESS_FINE_LOCATION) public android.location.GpsStatus getGpsStatus(@Nullable android.l…
544 …TION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public android.location.Location getLastK…
545 …method @Deprecated @Nullable public android.location.LocationProvider getProvider(@NonNull String);
546 …method @Nullable public android.location.provider.ProviderProperties getProviderProperties(@NonNul…
548 …l public java.util.List<java.lang.String> getProviders(@NonNull android.location.Criteria, boolean…
552 …naInfoListener(@NonNull java.util.concurrent.Executor, @NonNull android.location.GnssAntennaInfo.L…
553 …ATION) public boolean registerGnssMeasurementsCallback(@NonNull android.location.GnssMeasurementsE…
554 …ATION) public boolean registerGnssMeasurementsCallback(@NonNull android.location.GnssMeasurementsE…
555 …ementsCallback(@NonNull java.util.concurrent.Executor, @NonNull android.location.GnssMeasurementsE…
556 …sCallback(@NonNull android.location.GnssMeasurementRequest, @NonNull java.util.concurrent.Executor…
557 …d public boolean registerGnssNavigationMessageCallback(@NonNull android.location.GnssNavigationMes…
558 …) public boolean registerGnssNavigationMessageCallback(@NonNull android.location.GnssNavigationMes…
559 …essageCallback(@NonNull java.util.concurrent.Executor, @NonNull android.location.GnssNavigationMes…
560 …NE_LOCATION) public boolean registerGnssStatusCallback(@NonNull android.location.GnssStatus.Callba…
561 …NE_LOCATION) public boolean registerGnssStatusCallback(@NonNull android.location.GnssStatus.Callba…
562 …StatusCallback(@NonNull java.util.concurrent.Executor, @NonNull android.location.GnssStatus.Callba…
563 method @Deprecated public void removeGpsStatusListener(android.location.GpsStatus.Listener);
564 …method @Deprecated public void removeNmeaListener(@NonNull android.location.GpsStatus.NmeaListener…
565 method public void removeNmeaListener(@NonNull android.location.OnNmeaMessageListener);
568 …INE_LOCATION"}, apis="..22") public void removeUpdates(@NonNull android.location.LocationListener);
570 … method public void requestFlush(@NonNull String, @NonNull android.location.LocationListener, int);
572 …d requestLocationUpdates(@NonNull String, long, float, @NonNull android.location.LocationListener);
573 …d requestLocationUpdates(@NonNull String, long, float, @NonNull android.location.LocationListener,…
574 …, long, float, @NonNull java.util.concurrent.Executor, @NonNull android.location.LocationListener);
575 … requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android.location…
576 …tes(long, float, @NonNull android.location.Criteria, @NonNull java.util.concurrent.Executor, @NonN…
578 …TION}) public void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNul…
579 …nNull String, @NonNull android.location.LocationRequest, @NonNull java.util.concurrent.Executor, @…
580 …}) public void requestLocationUpdates(@NonNull String, @NonNull android.location.LocationRequest, …
581 …ION}) public void requestSingleUpdate(@NonNull String, @NonNull android.location.LocationListener,…
582 …ON}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android.location…
584 …ACCESS_FINE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNul…
587 method public void setTestProviderLocation(@NonNull String, @NonNull android.location.Location);
589 …method public void unregisterAntennaInfoListener(@NonNull android.location.GnssAntennaInfo.Listene…
590 …method public void unregisterGnssMeasurementsCallback(@NonNull android.location.GnssMeasurementsEv…
591 …method public void unregisterGnssNavigationMessageCallback(@NonNull android.location.GnssNavigatio…
592 method public void unregisterGnssStatusCallback(@NonNull android.location.GnssStatus.Callback);
593 …field public static final String ACTION_GNSS_CAPABILITIES_CHANGED = "android.location.action.GNSS_…
594 …field public static final String EXTRA_GNSS_CAPABILITIES = "android.location.extra.GNSS_CAPABILITI…
595 …field public static final String EXTRA_LOCATION_ENABLED = "android.location.extra.LOCATION_ENABLED…
596 …field public static final String EXTRA_PROVIDER_ENABLED = "android.location.extra.PROVIDER_ENABLED…
597 field public static final String EXTRA_PROVIDER_NAME = "android.location.extra.PROVIDER_NAME";
602 field public static final String KEY_LOCATION_CHANGED = "location";
606 field public static final String MODE_CHANGED_ACTION = "android.location.MODE_CHANGED";
609 … field public static final String PROVIDERS_CHANGED_ACTION = "android.location.PROVIDERS_CHANGED";
617 method @Deprecated public boolean meetsCriteria(android.location.Criteria);
639 …field @NonNull public static final android.os.Parcelable.Creator<android.location.LocationRequest>…
648 ctor public LocationRequest.Builder(@NonNull android.location.LocationRequest);
649 method @NonNull public android.location.LocationRequest build();
650 method @NonNull public android.location.LocationRequest.Builder clearMinUpdateIntervalMillis();
651 …method @NonNull public android.location.LocationRequest.Builder setDurationMillis(@IntRange(from=1…
652 …method @NonNull public android.location.LocationRequest.Builder setIntervalMillis(@IntRange(from=0…
653 …method @NonNull public android.location.LocationRequest.Builder setMaxUpdateDelayMillis(@IntRange(…
654 …method @NonNull public android.location.LocationRequest.Builder setMaxUpdates(@IntRange(from=1, to…
655 …method @NonNull public android.location.LocationRequest.Builder setMinUpdateDistanceMeters(@FloatR…
656 …method @NonNull public android.location.LocationRequest.Builder setMinUpdateIntervalMillis(@IntRan…
657 method @NonNull public android.location.LocationRequest.Builder setQuality(int);
672 …field public static final String ACTION_INJECTED_SETTING_CHANGED = "android.location.InjectedSetti…
673 …field public static final String ACTION_SERVICE_INTENT = "android.location.SettingInjectorService";
674 field public static final String ATTRIBUTES_NAME = "injected-location-setting";
675 field public static final String META_DATA_NAME = "android.location.SettingInjectorService";
680 package android.location.altitude {
684 …slAltitudeToLocation(@NonNull android.content.Context, @NonNull android.location.Location) throws …
685 …aggedApi("android.location.flags.geoid_heights_via_altitude_hal") public boolean tryAddMslAltitude…
690 package android.location.provider {
706 …field @NonNull public static final android.os.Parcelable.Creator<android.location.provider.Provide…
714 ctor public ProviderProperties.Builder(@NonNull android.location.provider.ProviderProperties);
715 method @NonNull public android.location.provider.ProviderProperties build();
716 method @NonNull public android.location.provider.ProviderProperties.Builder setAccuracy(int);
717 …method @NonNull public android.location.provider.ProviderProperties.Builder setHasAltitudeSupport(…
718 …method @NonNull public android.location.provider.ProviderProperties.Builder setHasBearingSupport(b…
719 …method @NonNull public android.location.provider.ProviderProperties.Builder setHasCellRequirement(…
720 …method @NonNull public android.location.provider.ProviderProperties.Builder setHasMonetaryCost(boo…
721 …method @NonNull public android.location.provider.ProviderProperties.Builder setHasNetworkRequireme…
722 …method @NonNull public android.location.provider.ProviderProperties.Builder setHasSatelliteRequire…
723 …method @NonNull public android.location.provider.ProviderProperties.Builder setHasSpeedSupport(boo…
724 method @NonNull public android.location.provider.ProviderProperties.Builder setPowerUsage(int);