Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java214 String age; in dumpScanResults() local
216 age = "___?___"; in dumpScanResults()
218 age = " 0.000"; in dumpScanResults()
220 age = ">1000.0"; in dumpScanResults()
222 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dumpScanResults()
240 age, in dumpScanResults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLastResortWatchdog.java253 availableNetworkFailureCount.age = -1; in updateAvailableNetworks()
263 if (entry.getValue().age < MAX_BSSID_AGE - 1) { in updateAvailableNetworks()
264 entry.getValue().age++; in updateAvailableNetworks()
644 .append(", Age: ").append(entry.getValue().age); in toString()
759 public int age = 0; field in WifiLastResortWatchdog.AvailableNetworkFailureCount
DWifiConfigManager.java2445 long age = result.seen - previousSeen; in updateScanDetailCacheFromWifiInfo() local
2446 if (previousSeen > 0 && age > 0 && age < maxAge / 2) { in updateScanDetailCacheFromWifiInfo()
2448 double alpha = 0.5 - (double) age / (double) maxAge; in updateScanDetailCacheFromWifiInfo()
DWifiScoreCard.java1836 void age() { in age() method in WifiScoreCard.PerUnivariateStatistic
/frameworks/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp139 uint64_t age; in TEST_F() local
144 &age, &timestamps); in TEST_F()
/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.java179 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
180 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
181 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_ageCullingWorks()
183 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[3]).age, in testAvailableNetworkBuffering_ageCullingWorks()
247 mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[j]).age, 0); in testAvailableNetworkBuffering_addNewNetworksOverTime()
280 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
281 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
282 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
284 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.java826 final long age = System.currentTimeMillis() - file.lastModified(); in deleteOlderFiles() local
827 if (age > minAgeMs) { in deleteOlderFiles()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java381 final long age = System.currentTimeMillis() - session.createdMillis; in readSessionsLocked() local
392 } else if (age >= MAX_AGE_MILLIS) { in readSessionsLocked()
/frameworks/base/cmds/statsd/src/
Datoms.proto9080 // The age of the app- more than three months old, or more than six months
9088 optional Age age = 5; field
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt55434 field public static final java.lang.String MAX_AGE_ATTR = "max-age";