Searched refs:age (Results 1 - 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java147 public WifiConfiguration.Visibility getVisibilityByRssi(long age) { argument
171 + " age = " + age);
173 if ((now_elapsed_ms - (result.timestamp/1000)) > age) continue;
176 if ((now_ms - result.seen) > age) continue;
197 public WifiConfiguration.Visibility getVisibilityByPasspointMatch(long age) { argument
211 if ((now_ms - result.seen) > age) continue;
246 public WifiConfiguration.Visibility getVisibility(long age) { argument
248 return getVisibilityByPasspointMatch(age);
250 return getVisibilityByRssi(age);
[all...]
H A DWifiAutoJoinController.java1007 WifiConfiguration current, int age, String currentBSSID) {
1053 || ((nowMs - sd.getSeen()) > age)
1157 int getConfigNetworkScore(WifiConfiguration config, int age, boolean isActive) { argument
1183 if ((nowMs - sd.getSeen()) < age) {
1441 int age = mScanResultAutoJoinAge;
1447 age = 14000;
1457 mWifiConfigStore.getRecentConfiguredNetworks(age, false);
1006 attemptRoam(ScanResult a, WifiConfiguration current, int age, String currentBSSID) argument
H A DWifiConfigStore.java3170 public HashSet<Integer> makeChannelList(WifiConfiguration config, int age, boolean restrict) { argument
3184 dbg.append("makeChannelList age=" + Integer.toString(age)
3205 boolean test = (now_ms - result.seen) < age;
3207 + " age=" + Long.toString(now_ms - result.seen) + " ?=" + test);
3209 if (((now_ms - result.seen) < age)/*||(!restrict || result.is24GHz())*/) {
3230 + " age=" + Long.toString(now_ms - result.seen));
3235 if (((now_ms - result.seen) < age)/*||(!restrict || result.is24GHz())*/) {
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java139 long age = seen - previousSeen;
141 if (previousSeen > 0 && age > 0 && age < maxAge/2) {
143 double alpha = 0.5 - (double) age / (double) maxAge;
/frameworks/base/core/java/android/os/
H A DFileUtils.java337 * @param minAge Always keep files younger than this age.
362 final long age = System.currentTimeMillis() - file.lastModified();
363 if (age > minAge) {
/frameworks/base/core/tests/coretests/src/android/os/
H A DFileUtilsTest.java304 private void touch(String name, long age) throws Exception { argument
307 file.setLastModified(System.currentTimeMillis() - age);
/frameworks/native/libs/input/
H A DVelocityTracker.cpp575 nsecs_t age = newestMovement.eventTime - movement.eventTime;
576 if (age > HORIZON) {
584 time[m] = -age * 0.000000001f;
648 // Weight points based on their age, weighing very recent and very old points less.
649 // age 0ms: 0.5
650 // age 10ms: 1.0
651 // age 50ms: 1.0
652 // age 60ms: 0.5
671 // Weight points based on their age, weighing older points less.
672 // age
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java353 final long age = System.currentTimeMillis() - session.createdMillis;
356 if (age >= MAX_AGE_MILLIS) {

Completed in 421 milliseconds