Home
last modified time | relevance | path

Searched refs:getIntervalMillis (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/location/lib/java/com/android/location/provider/
DProviderRequestUnbundled.java63 return mRequest.getIntervalMillis(); in getInterval()
118 new LocationRequest.Builder(mRequest.getIntervalMillis()) in getLocationRequests()
DLocationRequestUnbundled.java86 return delegate.getIntervalMillis(); in getInterval()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java858 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest()
871 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest()
879 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest()
905 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(60000); in testProviderRequest_DelayedRequest()
935 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_BackgroundThrottle()
938 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo( in testProviderRequest_BackgroundThrottle()
955 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_IgnoreLocationSettings()
966 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest_IgnoreLocationSettings()
992 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_IgnoreLocationSettings_ProviderDisabled()
1013 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest_IgnoreLocationSettings_NoAllowlist()
[all …]
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java503 && getRequest().getIntervalMillis() < MAX_HIGH_POWER_INTERVAL_MS in isUsingHighPower()
620 if (baseRequest.getIntervalMillis() < MIN_COARSE_INTERVAL_MS) { in calculateProviderLocationRequest()
657 builder.setIntervalMillis(max(baseRequest.getIntervalMillis(), in calculateProviderLocationRequest()
792 long maxLocationAgeMs = getRequest().getIntervalMillis(); in onProviderListenerActive()
862 * getRequest().getIntervalMillis()), in acceptLocationChange()
1974 } else if (newRequest.getIntervalMillis() > oldRequest.getIntervalMillis()) {
1981 delayMs = calculateRequestDelayMillis(newRequest.getIntervalMillis(), registrations);
1985 Preconditions.checkState(delayMs >= 0 && delayMs <= newRequest.getIntervalMillis());
2131 if (request.getIntervalMillis() == LocationRequest.PASSIVE_INTERVAL) {
2135 intervalMs = min(request.getIntervalMillis(), intervalMs);
[all …]
DStationaryThrottlingLocationProvider.java182 throttlingIntervalMs = mIncomingRequest.getIntervalMillis(); in onThrottlingChangedLocked()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java142 long gpsInterval = mRequest.getQuality() < QUALITY_LOW_POWER ? mRequest.getIntervalMillis() in updateRequirementsLocked()
144 long networkInterval = mRequest.getIntervalMillis(); in updateRequirementsLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java272 assertEquals("Period not equal.", loaded.getJob().getIntervalMillis(), in testWritingTaskWithFlex()
273 taskStatus.getJob().getIntervalMillis()); in testWritingTaskWithFlex()
496 assertEquals("Different period.", first.getIntervalMillis(), second.getIntervalMillis()); in assertTasksEqual()
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DPnoSettings.java51 public @DurationMillisLong long getIntervalMillis() { in getIntervalMillis() method in PnoSettings
/frameworks/base/services/core/java/com/android/server/location/injector/
DLocationUsageLogger.java73 : bucketizeInterval(locationRequest.getIntervalMillis()), in logLocationApiUsage()
/frameworks/base/location/java/android/location/provider/
DProviderRequest.java106 public @IntRange(from = 0) long getIntervalMillis() { in getIntervalMillis() method in ProviderRequest
/frameworks/base/location/java/android/location/
DLocationRequest.java405 return getIntervalMillis(); in getInterval()
420 public @IntRange(from = 0) long getIntervalMillis() { in getIntervalMillis() method in LocationRequest
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java555 public long getIntervalMillis() { in getIntervalMillis() method in JobInfo
1051 mIntervalMillis = job.getIntervalMillis(); in Builder()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java841 if (mProviderRequest.getIntervalMillis() <= Integer.MAX_VALUE) { in updateRequirements()
842 mFixInterval = (int) mProviderRequest.getIntervalMillis(); in updateRequirements()
844 Log.w(TAG, "interval overflow: " + mProviderRequest.getIntervalMillis()); in updateRequirements()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java633 Math.min(JobSchedulerService.MAX_ALLOWED_PERIOD_MS, job.getIntervalMillis())); in createFromJobInfo()
1867 TimeUtils.formatDuration(job.getIntervalMillis(), pw); in dump()
2133 proto.write(JobStatusDumpProto.JobInfo.PERIOD_INTERVAL_MS, job.getIntervalMillis()); in dump()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java139 getAggregateStats(provider, identity).markRequestAdded(request.getIntervalMillis()); in logProviderClientRegistered()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java614 out.attribute(null, "period", Long.toString(job.getIntervalMillis()));
DJobSchedulerService.java1803 Math.min(MAX_ALLOWED_PERIOD_MS, periodicToReschedule.getJob().getIntervalMillis()));
/frameworks/base/core/api/
Dsystem-current.txt5085 method @IntRange(from=0) public long getIntervalMillis();
7868 method public long getIntervalMillis();
Dcurrent.txt7935 method public long getIntervalMillis();
20079 method @IntRange(from=0) public long getIntervalMillis();
/frameworks/base/boot/
Dboot-image-profile.txt3089 HSPLandroid/app/job/JobInfo;->getIntervalMillis()J
10733 HSPLandroid/location/LocationRequest;->getIntervalMillis()J
/frameworks/base/config/
Dboot-image-profile.txt3087 HSPLandroid/app/job/JobInfo;->getIntervalMillis()J
10728 HSPLandroid/location/LocationRequest;->getIntervalMillis()J
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5538 method public long getIntervalMillis();