Home
last modified time | relevance | path

Searched refs:LocationRequest (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/location/lib/java/com/android/location/provider/
DLocationRequestUnbundled.java19 import android.location.LocationRequest;
34 public static final int ACCURACY_FINE = LocationRequest.ACCURACY_FINE;
43 public static final int ACCURACY_BLOCK = LocationRequest.ACCURACY_BLOCK;
52 public static final int ACCURACY_CITY = LocationRequest.ACCURACY_CITY;
61 public static final int POWER_NONE = LocationRequest.POWER_NONE;
69 public static final int POWER_LOW = LocationRequest.POWER_LOW;
76 public static final int POWER_HIGH = LocationRequest.POWER_HIGH;
78 private final LocationRequest delegate;
80 LocationRequestUnbundled(LocationRequest delegate) { in LocationRequestUnbundled()
DProviderRequestUnbundled.java19 import android.location.LocationRequest;
64 for (LocationRequest r : mRequest.locationRequests) { in getLocationRequests()
/frameworks/base/location/java/android/location/
DLocationRequest.java98 public final class LocationRequest implements Parcelable { class
185 public static LocationRequest create() { in create()
186 return new LocationRequest(); in create()
192 public static LocationRequest createFromDeprecatedProvider( in createFromDeprecatedProvider()
208 LocationRequest request = new LocationRequest() in createFromDeprecatedProvider()
221 public static LocationRequest createFromDeprecatedCriteria( in createFromDeprecatedCriteria()
245 LocationRequest request = new LocationRequest() in createFromDeprecatedCriteria()
255 public LocationRequest() { in LocationRequest() method in LocationRequest
273 public LocationRequest(LocationRequest src) { in LocationRequest() method in LocationRequest
290 private LocationRequest( in LocationRequest() method in LocationRequest
[all …]
DLocationManager.java644 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in getLastKnownLocation()
688 getCurrentLocation(LocationRequest.createFromDeprecatedProvider(provider, 0, 0, true), in getCurrentLocation()
713 public void getCurrentLocation(@NonNull LocationRequest locationRequest, in getCurrentLocation()
716 LocationRequest currentLocationRequest = new LocationRequest(locationRequest) in getCurrentLocation()
772 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestSingleUpdate()
804 LocationRequest request = LocationRequest.createFromDeprecatedCriteria( in requestSingleUpdate()
831 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestSingleUpdate()
859 LocationRequest request = LocationRequest.createFromDeprecatedCriteria( in requestSingleUpdate()
930 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestLocationUpdates()
959 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestLocationUpdates()
[all …]
DILocationManager.aidl33 import android.location.LocationRequest;
47 Location getLastLocation(in LocationRequest request, String packageName, String featureId); in getLastLocation()
48 boolean getCurrentLocation(in LocationRequest request, in getCurrentLocation()
52 void requestLocationUpdates(in LocationRequest request, in ILocationListener listener, in requestLocationUpdates()
56 void requestGeofence(in LocationRequest request, in Geofence geofence, in requestGeofence()
118 List<LocationRequest> getTestProviderCurrentRequests(String provider); in getTestProviderCurrentRequests()
DLocationRequest.aidl19 parcelable LocationRequest;
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/
DFusedLocationServiceTest.java31 import android.location.LocationRequest;
125 LocationRequest request = LocationRequest.createFromDeprecatedProvider(FUSED_PROVIDER, 1000, in testNetworkRequest()
143 LocationRequest request = LocationRequest.createFromDeprecatedProvider(FUSED_PROVIDER, 1000, in testGpsRequest()
144 0, false).setQuality(LocationRequest.POWER_HIGH); in testGpsRequest()
161 LocationRequest request = LocationRequest.createFromDeprecatedProvider(FUSED_PROVIDER, 1000, in testBypassRequest()
162 0, false).setQuality(LocationRequest.POWER_HIGH).setLocationSettingsIgnored(true); in testBypassRequest()
173 for (LocationRequest iRequest : mLocationManager.getTestProviderCurrentRequests( in testBypassRequest()
182 for (LocationRequest iRequest : mLocationManager.getTestProviderCurrentRequests( in testBypassRequest()
/frameworks/base/location/java/com/android/internal/location/
DProviderRequest.java20 import android.location.LocationRequest;
66 public final List<LocationRequest> locationRequests;
71 boolean locationSettingsIgnored, List<LocationRequest> locationRequests, in ProviderRequest()
91 in.createTypedArrayList(LocationRequest.CREATOR),
143 private List<LocationRequest> mLocationRequests = Collections.emptyList();
176 public List<LocationRequest> getLocationRequests() { in getLocationRequests()
181 public Builder setLocationRequests(List<LocationRequest> locationRequests) { in setLocationRequests()
/frameworks/base/core/proto/android/stats/location/
Dlocation_enums.proto57 // frameworks/base/location/java/android/location/LocationRequest.java
69 // frameworks/base/location/java/android/location/LocationRequest.java
81 // frameworks/base/location/java/android/location/LocationRequest.java
91 // frameworks/base/location/java/android/location/LocationRequest.java
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java67 import android.location.LocationRequest;
222 private static final LocationRequest DEFAULT_LOCATION_REQUEST = new LocationRequest();
811 public List<LocationRequest> getMockProviderRequests() { in getMockProviderRequests()
1542 ArrayList<LocationRequest> requests = new ArrayList<>(records.size()); in applyRequirementsLocked()
1572 LocationRequest locationRequest = record.mRealRequest; in applyRequirementsLocked()
1583 locationRequest = new LocationRequest(locationRequest); in applyRequirementsLocked()
1611 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked()
1696 private final LocationRequest mRealRequest; // original request from client
1697 LocationRequest mRequest; // possibly throttled version of the request
1707 private UpdateRecord(String provider, LocationRequest request, Receiver receiver) { in UpdateRecord()
[all …]
DGeofenceManager.java27 import android.location.LocationRequest;
123 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, in addFence()
298 LocationRequest request = new LocationRequest(); in updateFences()
DLocationUsageLogger.java24 import android.location.LocationRequest;
53 String packageName, LocationRequest locationRequest, in logLocationApiUsage()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java32 import android.location.LocationRequest;
224 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in resetProviderRequestLocked()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java41 import android.location.LocationRequest;
793 LocationRequest locationRequest = new LocationRequest() in handleRequestLocation()
801 locationRequest.setQuality(LocationRequest.POWER_LOW); in handleRequestLocation()
806 locationRequest.setQuality(LocationRequest.ACCURACY_FINE); in handleRequestLocation()
2139 LocationRequest request = LocationRequest.createFromDeprecatedProvider(
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java30 import android.location.LocationRequest;
253 mLocationManager.requestLocationUpdates(LocationRequest.create() in onStartLoading()
254 .setQuality(LocationRequest.POWER_LOW).setInterval(LOCATION_UPDATE_MS), this, in onStartLoading()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java41 import android.location.LocationRequest;
286 private LocationRequest mLocationRequest;
2075 mLocationRequest = LocationRequest.create() in onBootPhase()
2076 .setQuality(LocationRequest.ACCURACY_FINE) in onBootPhase()
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt148 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, java.util.co…
Dsystem-current.txt4008 …_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable an…
4018 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and…
4019 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull jav…
4020 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and…
4028 public final class LocationRequest implements android.os.Parcelable {
4029 method @NonNull public static android.location.LocationRequest create();
4030 …method @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNu…
4031 …method @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNu…
4045 method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long);
4046 method @NonNull public android.location.LocationRequest setExpireIn(long);
[all …]
/frameworks/base/api/
Dtest-current.txt1679 …_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable an…
1682 …method @NonNull public java.util.List<android.location.LocationRequest> getTestProviderCurrentRequ…
1683 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and…
1684 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull jav…
1685 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and…
1690 public final class LocationRequest implements android.os.Parcelable {
1691 method @NonNull public static android.location.LocationRequest create();
1701 method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long);
1702 method @NonNull public android.location.LocationRequest setExpireIn(long);
1703 method @NonNull public android.location.LocationRequest setFastestInterval(long);
[all …]
Dtest-lint-baseline.txt434 GetterSetterNames: android.location.LocationRequest#isLocationSettingsIgnored():
436 GetterSetterNames: android.location.LocationRequest#isLowPowerMode():
510 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, android.loca…
852 MissingNullability: android.location.LocationRequest#writeToParcel(android.os.Parcel, int) paramete…
2534 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, android.loca…
2536 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, java.util.co…
Dsystem-lint-baseline.txt333 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, java.util.co…
Dsystem-current.txt4060 …_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable an…
4070 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and…
4071 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull jav…
4072 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and…
4080 public final class LocationRequest implements android.os.Parcelable {
4081 method @NonNull public static android.location.LocationRequest create();
4082 …method @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNu…
4083 …method @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNu…
4097 method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long);
4098 method @NonNull public android.location.LocationRequest setExpireIn(long);
[all …]
/frameworks/base/config/
Dboot-image-profile.txt12482 …ocationManager$Stub$Proxy;->requestLocationUpdates(Landroid/location/LocationRequest;Landroid/loca…
12596 HSPLandroid/location/LocationManager;->requestLocationUpdates(Landroid/location/LocationRequest;Lan…
12597 HSPLandroid/location/LocationManager;->requestLocationUpdates(Landroid/location/LocationRequest;Lja…
12602 HSPLandroid/location/LocationRequest$1;->createFromParcel(Landroid/os/Parcel;)Landroid/location/Loc…
12603 HSPLandroid/location/LocationRequest$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
12604 HSPLandroid/location/LocationRequest;-><init>()V
12605 HSPLandroid/location/LocationRequest;-><init>(Landroid/location/LocationRequest;)V
12606 HSPLandroid/location/LocationRequest;-><init>(Ljava/lang/String;IJJZJJIFZZZLandroid/os/WorkSource;)V
12607 HSPLandroid/location/LocationRequest;->checkQuality(I)V
12608 HSPLandroid/location/LocationRequest;->create()Landroid/location/LocationRequest;
[all …]
Dpreloaded-classes3575 android.location.LocationRequest$1
3576 android.location.LocationRequest
/frameworks/base/services/
Dart-profile17515 PLcom/android/server/location/GeofenceManager;->addFence(Landroid/location/LocationRequest;Landroid…
17647 …/location/LocationManagerService;Ljava/lang/String;Landroid/location/LocationRequest;Lcom/android/…
17648 …/location/LocationManagerService;Ljava/lang/String;Landroid/location/LocationRequest;Lcom/android/…
17651 …com/android/server/location/LocationManagerService$UpdateRecord;)Landroid/location/LocationRequest;
17689 …zedRequest(Landroid/location/LocationRequest;Lcom/android/server/location/CallerIdentity;Z)Landroi…
17694 …cation/LocationManagerService;->getCurrentLocation(Landroid/location/LocationRequest;Landroid/os/I…
17699 …/location/LocationManagerService;->getLastLocation(Landroid/location/LocationRequest;Ljava/lang/St…
17745 …/location/LocationManagerService;->requestGeofence(Landroid/location/LocationRequest;Landroid/loca…
17746 …on/LocationManagerService;->requestLocationUpdates(Landroid/location/LocationRequest;Landroid/loca…
17747 …ationManagerService;->requestLocationUpdatesLocked(Landroid/location/LocationRequest;Lcom/android/…
[all …]