Home
last modified time | relevance | path

Searched refs:age (Results 1 – 11 of 11) 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.java262 availableNetworkFailureCount.age = -1; in updateAvailableNetworks()
272 if (entry.getValue().age < MAX_BSSID_AGE - 1) { in updateAvailableNetworks()
273 entry.getValue().age++; in updateAvailableNetworks()
632 .append(", Age: ").append(entry.getValue().age); in toString()
726 public int age = 0; field in WifiLastResortWatchdog.AvailableNetworkFailureCount
DWifiConfigManager.java2361 long age = result.seen - previousSeen; in updateScanDetailCacheFromWifiInfo() local
2362 if (previousSeen > 0 && age > 0 && age < maxAge / 2) { in updateScanDetailCacheFromWifiInfo()
2364 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.java174 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
175 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
176 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_ageCullingWorks()
178 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[3]).age, in testAvailableNetworkBuffering_ageCullingWorks()
242 mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[j]).age, 0); in testAvailableNetworkBuffering_addNewNetworksOverTime()
275 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
276 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
277 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
279 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.java367 final long age = System.currentTimeMillis() - session.createdMillis; in readSessionsLocked() local
378 } else if (age >= MAX_AGE_MILLIS) { in readSessionsLocked()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp6160 uint64_t age; in TEST_F() local
6165 &age, &timestamps); in TEST_F()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt55434 field public static final java.lang.String MAX_AGE_ATTR = "max-age";