/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssMeasurementsProvider.java | 131 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()
|
D | GnssLocationProvider.java | 1033 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/ |
D | ProviderRequestUnbundled.java | 63 return mRequest.getIntervalMillis(); in getInterval() 118 new LocationRequest.Builder(mRequest.getIntervalMillis()) in getLocationRequests()
|
D | LocationRequestUnbundled.java | 86 return delegate.getIntervalMillis(); in getInterval()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/ |
D | GnssMeasurementsProviderTest.java | 116 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/ |
D | GnssMeasurementRequest.java | 113 public @IntRange(from = 0) int getIntervalMillis() { in getIntervalMillis() method in GnssMeasurementRequest 233 mIntervalMillis = request.getIntervalMillis(); in Builder()
|
D | LocationRequest.java | 402 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/ |
D | LocationProviderManagerTest.java | 986 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/ |
D | TimelineRequest.java | 74 public int getIntervalMillis() { in getIntervalMillis() method in TimelineRequest
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 556 && 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 …]
|
D | StationaryThrottlingLocationProvider.java | 195 throttlingIntervalMs = max(mIncomingRequest.getIntervalMillis(), MIN_INTERVAL_MS); in onThrottlingChangedLocked()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 169 ? 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/ |
D | GnssOverlayLocationProvider.java | 121 new LocationRequest.Builder(request.getIntervalMillis()) in onSetRequest()
|
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/ |
D | PnoSettings.java | 56 public @DurationMillisLong long getIntervalMillis() { in getIntervalMillis() method in PnoSettings
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | LocationUsageLogger.java | 73 : bucketizeInterval(locationRequest.getIntervalMillis()), in logLocationApiUsage()
|
/frameworks/base/location/java/android/location/provider/ |
D | ProviderRequest.java | 106 public @IntRange(from = 0) long getIntervalMillis() { in getIntervalMillis() method in ProviderRequest
|
/frameworks/base/services/core/java/com/android/server/location/eventlog/ |
D | LocationEventLog.java | 170 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/ |
D | JobInfo.java | 737 public long getIntervalMillis() { in getIntervalMillis() method in JobInfo 1322 mIntervalMillis = job.getIntervalMillis(); in Builder()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 498 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/ |
D | JobServiceContext.java | 526 job.getJob().getIntervalMillis(), in executeRunnableJob() 1586 completedJob.getJob().getIntervalMillis(), in closeAndCleanupJobLocked()
|
D | JobSchedulerService.java | 1945 jobStatus.getJob().getIntervalMillis(), 2395 cancelled.getJob().getIntervalMillis(), 3094 Math.min(MAX_ALLOWED_PERIOD_MS, periodicToReschedule.getJob().getIntervalMillis()));
|
D | JobStore.java | 952 out.attribute(null, "period", Long.toString(job.getIntervalMillis()));
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | JobStatus.java | 821 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/ |
D | current.txt | 344 method @IntRange(from=0) public int getIntervalMillis(); 632 method @IntRange(from=0) public long getIntervalMillis();
|
D | system-current.txt | 647 method @IntRange(from=0) public long getIntervalMillis();
|