Home
last modified time | relevance | path

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

/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java122 public long minTime; field in FusionEngine.ProviderStats
129 private void enableProvider(String name, long minTime) { in enableProvider() argument
137 stats.minTime = minTime; in enableProvider()
138 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); in enableProvider()
139 } else if (stats.minTime != minTime) { in enableProvider()
140 stats.minTime = minTime; in enableProvider()
141 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); in enableProvider()
/frameworks/base/location/java/android/location/
DLocationRequest.java176 public static LocationRequest createFromDeprecatedProvider(String provider, long minTime, in createFromDeprecatedProvider() argument
178 if (minTime < 0) minTime = 0; in createFromDeprecatedProvider()
193 .setInterval(minTime) in createFromDeprecatedProvider()
194 .setFastestInterval(minTime) in createFromDeprecatedProvider()
202 public static LocationRequest createFromDeprecatedCriteria(Criteria criteria, long minTime, in createFromDeprecatedCriteria() argument
204 if (minTime < 0) minTime = 0; in createFromDeprecatedCriteria()
228 .setInterval(minTime) in createFromDeprecatedCriteria()
229 .setFastestInterval(minTime) in createFromDeprecatedCriteria()
DLocationManager.java554 public void requestLocationUpdates(String provider, long minTime, float minDistance, in requestLocationUpdates() argument
560 provider, minTime, minDistance, false); in requestLocationUpdates()
586 public void requestLocationUpdates(String provider, long minTime, float minDistance, in requestLocationUpdates() argument
592 provider, minTime, minDistance, false); in requestLocationUpdates()
619 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
625 criteria, minTime, minDistance, false); in requestLocationUpdates()
647 public void requestLocationUpdates(String provider, long minTime, float minDistance, in requestLocationUpdates() argument
653 provider, minTime, minDistance, false); in requestLocationUpdates()
749 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
755 criteria, minTime, minDistance, false); in requestLocationUpdates()
/frameworks/base/cmds/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp69 StatsdConfig MakeValueMetricConfig(int64_t minTime) { in MakeValueMetricConfig() argument
86 valueMetric->set_min_bucket_size_nanos(minTime); in MakeValueMetricConfig()
91 StatsdConfig MakeGaugeMetricConfig(int64_t minTime) { in MakeGaugeMetricConfig() argument
107 gaugeMetric->set_min_bucket_size_nanos(minTime); in MakeGaugeMetricConfig()
/frameworks/base/core/java/com/android/internal/app/procstats/
DIProcessStats.aidl25 ParcelFileDescriptor getStatsOverTime(long minTime); in getStatsOverTime() argument
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/
DNNBenchmark.java85 private Result runBenchmarkLoop(float minTime) { in runBenchmarkLoop() argument
97 } while (r.totalTime < minTime); in runBenchmarkLoop()
/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.java248 private Result runBenchmarkLoop(float minTime, int minIter) { in runBenchmarkLoop() argument
297 } 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.java487 public ParcelFileDescriptor getStatsOverTime(long minTime) {
502 if (curTime < minTime) {
511 - stats.mTimePeriodStartRealtime) < minTime) {
DActiveServices.java888 final long minTime = aa.mStartVisibleTime in foregroundAppShownEnoughLocked() local
892 if (nowElapsed >= minTime) { in foregroundAppShownEnoughLocked()
900 aa.mHideTime = reportTime > minTime ? reportTime : minTime; in foregroundAppShownEnoughLocked()
905 final long minTime = aa.mEndTime in foregroundAppShownEnoughLocked() local
907 if (nowElapsed >= minTime) { in foregroundAppShownEnoughLocked()
916 aa.mHideTime = minTime; in foregroundAppShownEnoughLocked()
/frameworks/native/libs/input/
DVelocityTracker.cpp912 nsecs_t minTime = newestMovement.eventTime - HORIZON; in getEstimator() local
919 || nextOldestMovement.eventTime < minTime) { in getEstimator()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java3098 final long minTime = lastTime + getWhileIdleMinIntervalLocked(alarm.creatorUid); in triggerAlarmsLocked() local
3099 if (lastTime >= 0 && nowELAPSED < minTime) { in triggerAlarmsLocked()
3103 alarm.expectedWhenElapsed = alarm.whenElapsed = minTime; in triggerAlarmsLocked()
3104 if (alarm.maxWhenElapsed < minTime) { in triggerAlarmsLocked()
3105 alarm.maxWhenElapsed = minTime; in triggerAlarmsLocked()
DLocationManagerService.java2858 long minTime = record.mRealRequest.getFastestInterval(); in shouldBroadcastSafe() local
2861 if (delta < minTime - MAX_PROVIDER_SCHEDULING_JITTER_MS) { in shouldBroadcastSafe()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java2429 long minTime = 0;
2434 minTime,