Home
last modified time | relevance | path

Searched refs:age (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java176 String age; in dumpScanResults() local
178 age = "___?___"; in dumpScanResults()
180 age = " 0.000"; in dumpScanResults()
182 age = ">1000.0"; in dumpScanResults()
184 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dumpScanResults()
202 age, in dumpScanResults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLastResortWatchdog.java183 availableNetworkFailureCount.age = -1; in updateAvailableNetworks()
193 if (entry.getValue().age < MAX_BSSID_AGE - 1) { in updateAvailableNetworks()
194 entry.getValue().age++; in updateAvailableNetworks()
553 .append(", Age: ").append(entry.getValue().age); in toString()
647 public int age = 0; field in WifiLastResortWatchdog.AvailableNetworkFailureCount
DWifiConfigManager.java2279 long age = result.seen - previousSeen; in updateScanDetailCacheFromWifiInfo() local
2280 if (previousSeen > 0 && age > 0 && age < maxAge / 2) { in updateScanDetailCacheFromWifiInfo()
2282 double alpha = 0.5 - (double) age / (double) maxAge; in updateScanDetailCacheFromWifiInfo()
DWifiScoreCard.java734 void age() { in age() method in WifiScoreCard.PerUnivariateStatistic
/frameworks/native/libs/input/
DVelocityTracker.cpp644 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getEstimator() local
645 if (age > HORIZON) { in getEstimator()
653 time[m] = -age * 0.000000001f; in getEstimator()
1177 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getEstimator() local
1178 if (age > HORIZON) { in getEstimator()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java159 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
160 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
161 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_ageCullingWorks()
163 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[3]).age, in testAvailableNetworkBuffering_ageCullingWorks()
227 mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[j]).age, 0); in testAvailableNetworkBuffering_addNewNetworksOverTime()
260 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
261 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
262 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
264 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[3]).age, in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java576 private void touch(String name, long age) throws Exception { in touch() argument
579 file.setLastModified(System.currentTimeMillis() - age); in touch()
/frameworks/base/core/java/android/os/
DFileUtils.java822 final long age = System.currentTimeMillis() - file.lastModified(); in deleteOlderFiles() local
823 if (age > minAgeMs) { in deleteOlderFiles()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java361 final long age = System.currentTimeMillis() - session.createdMillis; in readSessionsLocked() local
372 } else if (age >= MAX_AGE_MILLIS) { in readSessionsLocked()