/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | StationaryThrottlingLocationProviderTest.java | 33 import android.location.provider.ProviderRequest; 88 mProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in tearDown() 94 ProviderRequest request = new ProviderRequest.Builder().setIntervalMillis(50).build(); in testThrottle() 103 verify(mDelegate, never()).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle() 106 verify(mDelegate).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle() 117 ProviderRequest request = new ProviderRequest.Builder().setIntervalMillis(50).build(); in testThrottle_NoInitialLocation() 124 verify(mDelegate, never()).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle_NoInitialLocation() 128 verify(mDelegate, times(1)).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle_NoInitialLocation() 138 ProviderRequest request = new ProviderRequest.Builder().setIntervalMillis(50).build(); in testNoThrottle_noLocation() 146 verify(mDelegate, never()).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testNoThrottle_noLocation() [all …]
|
D | MockableLocationProviderTest.java | 20 import static android.location.provider.ProviderRequest.EMPTY_REQUEST; 32 import android.location.provider.ProviderRequest; 112 ProviderRequest request = new ProviderRequest.Builder().setIntervalMillis(1).build(); in testSetRequest()
|
D | LocationProviderManagerTest.java | 73 import android.location.provider.ProviderRequest; 714 any(ProviderRequest.class)); in testProviderRequestListener() 1174 private ProviderRequest mProviderRequest = ProviderRequest.EMPTY_REQUEST; 1201 public ProviderRequest getRequest() { 1206 public void onSetRequest(ProviderRequest request) {
|
/frameworks/base/location/java/android/location/provider/ |
D | ProviderRequest.java | 42 public final class ProviderRequest implements Parcelable { class 46 public static final @NonNull ProviderRequest EMPTY_REQUEST = new ProviderRequest( 74 void onProviderRequestChanged(@NonNull String provider, @NonNull ProviderRequest request); in onProviderRequestChanged() 77 private ProviderRequest( in ProviderRequest() method in ProviderRequest 174 public static final @NonNull Creator<ProviderRequest> CREATOR = new Creator<ProviderRequest>() { 176 public ProviderRequest createFromParcel(Parcel in) { 181 return new ProviderRequest( 193 public ProviderRequest[] newArray(int size) { 194 return new ProviderRequest[size]; 225 ProviderRequest that = (ProviderRequest) o; in equals() [all …]
|
D | IProviderRequestListener.aidl | 19 import android.location.provider.ProviderRequest; 25 void onProviderRequestChanged(String provider, in ProviderRequest request); in onProviderRequestChanged()
|
D | ILocationProvider.aidl | 22 import android.location.provider.ProviderRequest; 32 oneway void setRequest(in ProviderRequest request); in setRequest()
|
D | ProviderRequest.aidl | 19 parcelable ProviderRequest;
|
D | LocationProviderBase.java | 242 public abstract void onSetRequest(@NonNull ProviderRequest request); in onSetRequest() 322 public void setRequest(ProviderRequest request) { in setRequest()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | MockableLocationProvider.java | 24 import android.location.provider.ProviderRequest; 63 private ProviderRequest mRequest; 79 mRequest = ProviderRequest.EMPTY_REQUEST; in MockableLocationProvider() 146 oldProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in setProviderLocked() 161 mProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in setProviderLocked() 206 public ProviderRequest getCurrentRequest() { in getCurrentRequest() 221 if (!mRequest.equals(ProviderRequest.EMPTY_REQUEST)) { in onStart() 236 if (!mRequest.equals(ProviderRequest.EMPTY_REQUEST)) { in onStop() 237 mProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in onStop() 242 mRequest = ProviderRequest.EMPTY_REQUEST; in onStop() [all …]
|
D | StationaryThrottlingLocationProvider.java | 19 import static android.location.provider.ProviderRequest.INTERVAL_DISABLED; 29 import android.location.provider.ProviderRequest; 70 private ProviderRequest mIncomingRequest = ProviderRequest.EMPTY_REQUEST; 72 private ProviderRequest mOutgoingRequest = ProviderRequest.EMPTY_REQUEST; 123 mIncomingRequest = ProviderRequest.EMPTY_REQUEST; in onStop() 124 mOutgoingRequest = ProviderRequest.EMPTY_REQUEST; in onStop() 139 protected void onSetRequest(ProviderRequest request) { in onSetRequest() 185 ProviderRequest newRequest; in onThrottlingChangedLocked() 187 newRequest = ProviderRequest.EMPTY_REQUEST; in onThrottlingChangedLocked()
|
D | PassiveLocationProviderManager.java | 23 import android.location.provider.ProviderRequest; 71 protected ProviderRequest mergeRegistrations(Collection<Registration> registrations) { in mergeRegistrations() 72 return new ProviderRequest.Builder().setIntervalMillis(0).build(); in mergeRegistrations()
|
D | LocationProviderController.java | 20 import android.location.provider.ProviderRequest; 57 void setRequest(ProviderRequest request); in setRequest()
|
D | PassiveLocationProvider.java | 27 import android.location.provider.ProviderRequest; 64 public void onSetRequest(ProviderRequest request) {} in onSetRequest()
|
D | MockLocationProvider.java | 25 import android.location.provider.ProviderRequest; 62 public void onSetRequest(ProviderRequest request) {} in onSetRequest()
|
D | DelegateLocationProvider.java | 20 import android.location.provider.ProviderRequest; 98 protected void onSetRequest(ProviderRequest request) { in onSetRequest()
|
D | AbstractLocationProvider.java | 22 import android.location.provider.ProviderRequest; 338 protected abstract void onSetRequest(ProviderRequest request); in onSetRequest() 394 public void setRequest(ProviderRequest request) { in setRequest()
|
D | LocationProviderManager.java | 63 import android.location.provider.ProviderRequest; 133 LocationProviderManager.Registration, ProviderRequest> implements 1950 protected boolean registerWithService(ProviderRequest request, 1952 return reregisterWithService(ProviderRequest.EMPTY_REQUEST, request, registrations); 1957 protected boolean reregisterWithService(ProviderRequest oldRequest, 1958 ProviderRequest newRequest, Collection<Registration> registrations) { 2023 setProviderRequest(ProviderRequest.EMPTY_REQUEST); 2027 void setProviderRequest(ProviderRequest request) { 2114 protected ProviderRequest mergeRegistrations(Collection<Registration> registrations) { 2119 long intervalMs = ProviderRequest.INTERVAL_DISABLED; [all …]
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderRequestUnbundled.java | 21 import android.location.provider.ProviderRequest; 41 public static final long INTERVAL_DISABLED = ProviderRequest.INTERVAL_DISABLED; 43 private final ProviderRequest mRequest; 46 public ProviderRequestUnbundled(ProviderRequest request) { in ProviderRequestUnbundled()
|
D | LocationProviderBase.java | 29 import android.location.provider.ProviderRequest; 385 public void setRequest(ProviderRequest request) { in setRequest()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/test/ |
D | FakeProvider.java | 19 import android.location.provider.ProviderRequest; 32 void onSetRequest(ProviderRequest request); in onSetRequest() 49 protected void onSetRequest(ProviderRequest request) { in onSetRequest()
|
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/ |
D | ProxyLocationProvider.java | 29 import android.location.provider.ProviderRequest; 96 private volatile ProviderRequest mRequest; 111 mRequest = ProviderRequest.EMPTY_REQUEST; in ProxyLocationProvider() 128 ProviderRequest request = mRequest; in onBind() 129 if (!request.equals(ProviderRequest.EMPTY_REQUEST)) { in onBind() 180 protected void onSetRequest(ProviderRequest request) { in onSetRequest()
|
/frameworks/base/services/core/java/com/android/server/location/eventlog/ |
D | LocationEventLog.java | 34 import android.location.provider.ProviderRequest; 189 public void logProviderUpdateRequest(String provider, ProviderRequest request) { in logProviderUpdateRequest() 209 ProviderRequest request) { in logProviderStationaryThrottled() 254 (ProviderRequest) args[1]); in createLogEvent() 263 (Boolean) args[1], (ProviderRequest) args[2]); in createLogEvent() 389 private final ProviderRequest mRequest; 391 ProviderUpdateEvent(long timeDelta, String provider, ProviderRequest request) { in ProviderUpdateEvent() 439 private final ProviderRequest mRequest; 442 boolean stationaryThrottled, ProviderRequest request) { in ProviderStationaryThrottledEvent()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 39 import android.location.provider.ProviderRequest; 72 private ProviderRequest mRequest; 96 mRequest = ProviderRequest.EMPTY_REQUEST; in FusedLocationProvider() 107 mRequest = ProviderRequest.EMPTY_REQUEST; in stop() 113 public void onSetRequest(ProviderRequest request) { in onSetRequest()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 32 import android.location.provider.ProviderRequest; 121 new ProviderRequest.Builder() in testNetworkRequest() 134 new ProviderRequest.Builder() in testGpsRequest()
|
/frameworks/base/location/lib/ |
D | README.txt | 10 ProviderRequest.java), but it must not expose them in any public method 29 It wraps internal platform classes (like ProviderRequest) with a stable
|