Home
last modified time | relevance | path

Searched refs:minTime (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java84 public long minTime; field in FusionEngine.ProviderStats
92 private void enableProvider(String name, long minTime) { in enableProvider() argument
100 stats.minTime = minTime; in enableProvider()
101 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); in enableProvider()
102 } else if (stats.minTime != minTime) { in enableProvider()
103 stats.minTime = minTime; in enableProvider()
104 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); in enableProvider()
/frameworks/base/location/java/android/location/
DLocationRequest.java197 @NonNull String provider, long minTime, float minDistance, boolean singleShot) { in createFromDeprecatedProvider() argument
198 if (minTime < 0) minTime = 0; in createFromDeprecatedProvider()
213 .setInterval(minTime) in createFromDeprecatedProvider()
214 .setFastestInterval(minTime) in createFromDeprecatedProvider()
224 @NonNull Criteria criteria, long minTime, float minDistance, boolean singleShot) { in createFromDeprecatedCriteria() argument
225 if (minTime < 0) minTime = 0; in createFromDeprecatedCriteria()
247 .setInterval(minTime) in createFromDeprecatedCriteria()
248 .setFastestInterval(minTime) in createFromDeprecatedCriteria()
DLocationManager.java551 public void requestLocationUpdates(@NonNull String provider, long minTime, float minDistance, in requestLocationUpdates() argument
557 provider, minTime, minDistance, false); in requestLocationUpdates()
583 public void requestLocationUpdates(@NonNull String provider, long minTime, float minDistance, in requestLocationUpdates() argument
589 provider, minTime, minDistance, false); in requestLocationUpdates()
616 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates() argument
622 criteria, minTime, minDistance, false); in requestLocationUpdates()
644 public void requestLocationUpdates(@NonNull String provider, long minTime, float minDistance, in requestLocationUpdates() argument
650 provider, minTime, minDistance, false); in requestLocationUpdates()
751 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates() argument
757 criteria, minTime, minDistance, false); in requestLocationUpdates()
/frameworks/base/services/core/java/com/android/server/display/utils/
DRollingBuffer.java107 public void truncate(long minTime) { in truncate() argument
108 if (isEmpty() || getTime(0) >= minTime) { in truncate()
111 final int index = getLatestIndexBefore(minTime); in truncate()
121 mTimes[mStart] = minTime; in truncate()
/frameworks/base/cmds/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp69 StatsdConfig MakeValueMetricConfig(int64_t minTime) { in MakeValueMetricConfig() argument
87 valueMetric->set_min_bucket_size_nanos(minTime); in MakeValueMetricConfig()
92 StatsdConfig MakeGaugeMetricConfig(int64_t minTime) { in MakeGaugeMetricConfig() argument
109 gaugeMetric->set_min_bucket_size_nanos(minTime); in MakeGaugeMetricConfig()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientFilter.java150 final long minTime = time - mHorizon; in truncateOldValues() local
151 mBuffer.truncate(minTime); in truncateOldValues()
/frameworks/base/core/java/com/android/internal/app/procstats/
DIProcessStats.aidl25 ParcelFileDescriptor getStatsOverTime(long minTime); in getStatsOverTime() argument
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java107 private Result runBenchmarkLoop(float minTime) { in runBenchmarkLoop() argument
120 } while (r.totalTime < minTime); in runBenchmarkLoop()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java247 private Result runBenchmarkLoop(float minTime, int minIter) { in runBenchmarkLoop() argument
296 } while (r.getTotalTime() < minTime || r.getIterations() < minIter); in runBenchmarkLoop()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java284 private Result runBenchmarkLoop(float minTime) { in runBenchmarkLoop() argument
339 } while (r.totalTime < minTime); in runBenchmarkLoop()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java626 public ParcelFileDescriptor getStatsOverTime(long minTime) {
641 if (curTime < minTime) {
650 - stats.mTimePeriodStartRealtime) < minTime) {
DActiveServices.java975 final long minTime = aa.mStartVisibleTime in foregroundAppShownEnoughLocked() local
979 if (nowElapsed >= minTime) { in foregroundAppShownEnoughLocked()
987 aa.mHideTime = reportTime > minTime ? reportTime : minTime; in foregroundAppShownEnoughLocked()
992 final long minTime = aa.mEndTime in foregroundAppShownEnoughLocked() local
994 if (nowElapsed >= minTime) { in foregroundAppShownEnoughLocked()
1003 aa.mHideTime = minTime; in foregroundAppShownEnoughLocked()
/frameworks/native/libs/input/
DVelocityTracker.cpp938 nsecs_t minTime = newestMovement.eventTime - HORIZON; in getEstimator() local
945 || nextOldestMovement.eventTime < minTime) { in getEstimator()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java2128 long minTime = 0;
2132 minTime,
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java3490 final long minTime = lastTime + getWhileIdleMinIntervalLocked(alarm.creatorUid); in triggerAlarmsLocked() local
3491 if (lastTime >= 0 && nowELAPSED < minTime) { in triggerAlarmsLocked()
3495 alarm.expectedWhenElapsed = alarm.whenElapsed = minTime; in triggerAlarmsLocked()
3496 if (alarm.maxWhenElapsed < minTime) { in triggerAlarmsLocked()
3497 alarm.maxWhenElapsed = minTime; in triggerAlarmsLocked()
DLocationManagerService.java3261 long minTime = record.mRealRequest.getFastestInterval(); in shouldBroadcastSafeLocked() local
3264 if (delta < minTime - MAX_PROVIDER_SCHEDULING_JITTER_MS) { in shouldBroadcastSafeLocked()