Searched defs:age (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
H A DFileUtilsTest.java318 private void touch(String name, long age) throws Exception { argument
321 file.setLastModified(System.currentTimeMillis() - age);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java165 * Method to get cached scan results that are less than 'age' old.
167 * @param age long Time window of desired results.
170 public WifiConfiguration.Visibility getVisibilityByRssi(long age) { argument
195 + " age = " + age);
197 if ((now_elapsed_ms - (result.timestamp / 1000)) > age) continue;
200 if ((now_ms - result.seen) > age) continue;
224 * @param age long Desired time window for matches.
227 public WifiConfiguration.Visibility getVisibilityByPasspointMatch(long age) { argument
240 if ((now_ms - result.seen) > age) continu
282 getVisibility(long age) argument
[all...]
H A DWifiLastResortWatchdog.java138 availableNetworkFailureCount.age = -1;
148 if (entry.getValue().age < MAX_BSSID_AGE - 1) {
149 entry.getValue().age++;
512 public int age = 0; field in class:WifiLastResortWatchdog.AvailableNetworkFailureCount
553 + ", Age: " + age;
H A DWifiConfigManager.java544 * @param scanResultAgeMs The maximum age (in ms) of scan results for which we calculate the
2382 public HashSet<Integer> makeChannelList(WifiConfiguration config, int age) { argument
2397 dbg.append("makeChannelList age=" + Integer.toString(age)
2418 boolean test = (now_ms - result.seen) < age;
2420 + " age=" + Long.toString(now_ms - result.seen) + " ?=" + test);
2422 if (((now_ms - result.seen) < age)) {
2444 + " age=" + Long.toString(now_ms - result.seen));
2449 if (((now_ms - result.seen) < age)) {
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DIconCache.java112 private long age(long now) { method in class:IconCache.QueryEntry
364 long age = queryEntry.age(now);
365 if (age > RequeryTimeHigh) {
378 } else if (age > RequeryTimeLow) {

Completed in 917 milliseconds