Home
last modified time | relevance | path

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

/aosp12/frameworks/base/location/lib/java/com/android/location/provider/
H A DProviderRequestUnbundled.java63 return mRequest.getIntervalMillis(); in getInterval()
118 new LocationRequest.Builder(mRequest.getIntervalMillis()) in getLocationRequests()
H A DLocationRequestUnbundled.java86 return delegate.getIntervalMillis(); in getInterval()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
H A DLocationProviderManagerTest.java900 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest()
913 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest()
921 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest()
992 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_BackgroundThrottle()
995 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo( in testProviderRequest_BackgroundThrottle()
1012 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_IgnoreLocationSettings()
1023 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest_IgnoreLocationSettings()
1049 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_IgnoreLocationSettings_ProviderDisabled()
1070 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest_IgnoreLocationSettings_NoAllowlist()
1087 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_BackgroundThrottle_IgnoreLocationSettings()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/location/provider/
H A DLocationProviderManager.java526 && getRequest().getIntervalMillis() < MAX_HIGH_POWER_INTERVAL_MS in isUsingHighPower()
643 if (baseRequest.getIntervalMillis() < MIN_COARSE_INTERVAL_MS) { in calculateProviderLocationRequest()
680 builder.setIntervalMillis(max(baseRequest.getIntervalMillis(), in calculateProviderLocationRequest()
823 long maxLocationAgeMs = getRequest().getIntervalMillis(); in onProviderListenerActive()
893 * getRequest().getIntervalMillis()), in acceptLocationChange()
2012 } else if (newRequest.getIntervalMillis() > oldRequest.getIntervalMillis()) {
2023 Preconditions.checkState(delayMs >= 0 && delayMs <= newRequest.getIntervalMillis());
2179 if (request.getIntervalMillis() == LocationRequest.PASSIVE_INTERVAL) {
2183 intervalMs = min(request.getIntervalMillis(), intervalMs);
2215 if (registration.getRequest().getIntervalMillis() <= thresholdIntervalMs) {
[all …]
H A DStationaryThrottlingLocationProvider.java185 throttlingIntervalMs = max(mIncomingRequest.getIntervalMillis(), MIN_INTERVAL_MS); in onThrottlingChangedLocked()
/aosp12/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java142 long gpsInterval = mRequest.getQuality() < QUALITY_LOW_POWER ? mRequest.getIntervalMillis() in updateRequirementsLocked()
144 long networkInterval = mRequest.getIntervalMillis(); in updateRequirementsLocked()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A 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()
/aosp12/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
H A DPnoSettings.java51 public @DurationMillisLong long getIntervalMillis() { in getIntervalMillis() method in PnoSettings
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
H A DAnomalyCleanupJobServiceTest.java91 assertThat(pendingJob.getIntervalMillis()).isEqualTo(TimeUnit.DAYS.toMillis(1)); in scheduleCleanUp()
H A DAnomalyConfigJobServiceTest.java91 assertThat(pendingJob.getIntervalMillis()).isEqualTo(TimeUnit.DAYS.toMillis(1)); in testScheduleConfigUpdate()
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/
H A DLocationUsageLogger.java73 : bucketizeInterval(locationRequest.getIntervalMillis()), in logLocationApiUsage()
/aosp12/frameworks/base/location/java/android/location/provider/
H A DProviderRequest.java106 public @IntRange(from = 0) long getIntervalMillis() { in getIntervalMillis() method in ProviderRequest
/aosp12/frameworks/base/location/java/android/location/
H A DLocationRequest.java405 return getIntervalMillis(); in getInterval()
420 public @IntRange(from = 0) long getIntervalMillis() { in getIntervalMillis() method in LocationRequest
/aosp12/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
H A DJobInfo.java555 public long getIntervalMillis() { in getIntervalMillis() method in JobInfo
1051 mIntervalMillis = job.getIntervalMillis(); in Builder()
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssLocationProvider.java852 if (mProviderRequest.getIntervalMillis() <= Integer.MAX_VALUE) { in updateRequirements()
853 mFixInterval = (int) mProviderRequest.getIntervalMillis(); in updateRequirements()
855 Log.w(TAG, "interval overflow: " + mProviderRequest.getIntervalMillis()); in updateRequirements()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/location/eventlog/
H A DLocationEventLog.java139 getAggregateStats(provider, identity).markRequestAdded(request.getIntervalMillis()); in logProviderClientRegistered()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobStore.java614 out.attribute(null, "period", Long.toString(job.getIntervalMillis()));
H A DJobSchedulerService.java1811 Math.min(MAX_ALLOWED_PERIOD_MS, periodicToReschedule.getJob().getIntervalMillis()));
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt5093 method @IntRange(from=0) public long getIntervalMillis();
7916 method public long getIntervalMillis();
H A Dcurrent.txt7942 method public long getIntervalMillis();
20093 method @IntRange(from=0) public long getIntervalMillis();
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt3089 HSPLandroid/app/job/JobInfo;->getIntervalMillis()J
10733 HSPLandroid/location/LocationRequest;->getIntervalMillis()J
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt3087 HSPLandroid/app/job/JobInfo;->getIntervalMillis()J
10728 HSPLandroid/location/LocationRequest;->getIntervalMillis()J
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt5538 method public long getIntervalMillis();