Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssMeasurementsProvider.java131 if (request.getIntervalMillis() == GnssMeasurementRequest.PASSIVE_INTERVAL) { in registerWithService()
136 request.getIntervalMillis())) { in registerWithService()
151 if (request.getIntervalMillis() == GnssMeasurementRequest.PASSIVE_INTERVAL) { in reregisterWithService()
210 if (request.getIntervalMillis() == GnssMeasurementRequest.PASSIVE_INTERVAL) { in mergeRegistrations()
219 intervalMillis = Math.min(intervalMillis, request.getIntervalMillis()); in mergeRegistrations()
DGnssLocationProvider.java1033 if (mProviderRequest.getIntervalMillis() <= Integer.MAX_VALUE) { in updateRequirements()
1034 mFixInterval = (int) mProviderRequest.getIntervalMillis(); in updateRequirements()
1036 Log.w(TAG, "interval overflow: " + mProviderRequest.getIntervalMillis()); in updateRequirements()
/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/gnss/
DGnssMeasurementsProviderTest.java116 eq(ACTIVE_REQUEST.getIntervalMillis())); in testAddListener_active()
150 eq(ACTIVE_REQUEST.getIntervalMillis())); in testReregister_aidlV3Plus()
176 eq(ACTIVE_REQUEST.getIntervalMillis())); in testReregister_preAidlV3()
/frameworks/base/location/java/android/location/
DGnssMeasurementRequest.java113 public @IntRange(from = 0) int getIntervalMillis() { in getIntervalMillis() method in GnssMeasurementRequest
233 mIntervalMillis = request.getIntervalMillis(); in Builder()
DLocationRequest.java402 return getIntervalMillis(); in getInterval()
417 public @IntRange(from = 0) long getIntervalMillis() { in getIntervalMillis() method in LocationRequest
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java986 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest()
999 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest()
1007 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest()
1033 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(60000); in testProviderRequest_DelayedRequest()
1078 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_BackgroundThrottle()
1081 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo( in testProviderRequest_BackgroundThrottle()
1113 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_IgnoreLocationSettings()
1124 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest_IgnoreLocationSettings()
1150 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(5); in testProviderRequest_IgnoreLocationSettings_ProviderDisabled()
1171 assertThat(mProvider.getRequest().getIntervalMillis()).isEqualTo(1); in testProviderRequest_IgnoreLocationSettings_NoAllowlist()
[all …]
/frameworks/base/media/java/android/media/tv/
DTimelineRequest.java74 public int getIntervalMillis() { in getIntervalMillis() method in TimelineRequest
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java556 && getRequest().getIntervalMillis() < MAX_HIGH_POWER_INTERVAL_MS in isUsingHighPower()
689 if (mBaseRequest.getIntervalMillis() < MIN_COARSE_INTERVAL_MS) { in calculateProviderLocationRequest()
731 builder.setIntervalMillis(max(mBaseRequest.getIntervalMillis(), in calculateProviderLocationRequest()
875 long maxLocationAgeMs = getRequest().getIntervalMillis(); in onActive()
950 * getRequest().getIntervalMillis()), in acceptLocationChange()
1000 getRequest().getIntervalMillis() != LocationRequest.PASSIVE_INTERVAL; in acceptLocationChange()
2227 } else if (newRequest.getIntervalMillis() > oldRequest.getIntervalMillis()) {
2234 delayMs = calculateRequestDelayMillis(newRequest.getIntervalMillis(), registrations);
2238 Preconditions.checkState(delayMs >= 0 && delayMs <= newRequest.getIntervalMillis());
2385 if (request.getIntervalMillis() == LocationRequest.PASSIVE_INTERVAL) {
[all …]
DStationaryThrottlingLocationProvider.java195 throttlingIntervalMs = max(mIncomingRequest.getIntervalMillis(), MIN_INTERVAL_MS); in onThrottlingChangedLocked()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java169 ? mRequest.getIntervalMillis() : INTERVAL_DISABLED; in updateRequirementsLocked()
170 long networkInterval = mNlpPresent ? mRequest.getIntervalMillis() : INTERVAL_DISABLED; in updateRequirementsLocked()
/frameworks/base/packages/FusedLocation/src/com/android/location/gnss/
DGnssOverlayLocationProvider.java121 new LocationRequest.Builder(request.getIntervalMillis()) in onSetRequest()
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DPnoSettings.java56 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/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java170 getAggregateStats(provider, identity).markRequestAdded(request.getIntervalMillis()); in logProviderClientRegistered()
256 getGnssMeasurementAggregateStats(identity).markRequestAdded(request.getIntervalMillis(), in logGnssMeasurementClientRegistered()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java737 public long getIntervalMillis() { in getIntervalMillis() method in JobInfo
1322 mIntervalMillis = job.getIntervalMillis(); in Builder()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java498 assertEquals("Period not equal.", loaded.getJob().getIntervalMillis(), in testWritingTaskWithFlex()
499 taskStatus.getJob().getIntervalMillis()); in testWritingTaskWithFlex()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java526 job.getJob().getIntervalMillis(), in executeRunnableJob()
1586 completedJob.getJob().getIntervalMillis(), in closeAndCleanupJobLocked()
DJobSchedulerService.java1945 jobStatus.getJob().getIntervalMillis(),
2395 cancelled.getJob().getIntervalMillis(),
3094 Math.min(MAX_ALLOWED_PERIOD_MS, periodicToReschedule.getJob().getIntervalMillis()));
DJobStore.java952 out.attribute(null, "period", Long.toString(job.getIntervalMillis()));
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java821 Math.min(JobSchedulerService.MAX_ALLOWED_PERIOD_MS, job.getIntervalMillis())); in createFromJobInfo()
2704 TimeUtils.formatDuration(job.getIntervalMillis(), pw); in dump()
3022 proto.write(JobStatusDumpProto.JobInfo.PERIOD_INTERVAL_MS, job.getIntervalMillis()); in dump()
/frameworks/base/location/api/
Dcurrent.txt344 method @IntRange(from=0) public int getIntervalMillis();
632 method @IntRange(from=0) public long getIntervalMillis();
Dsystem-current.txt647 method @IntRange(from=0) public long getIntervalMillis();

12