Home
last modified time | relevance | path

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

/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/vo/
DAvgWeightByAge.java34 public AvgWeightByAge(int age, float weight) { in AvgWeightByAge() argument
35 mAge = age; in AvgWeightByAge()
43 public void setAge(int age) { in setAge() argument
44 mAge = age; in setAge()
DUser.java77 public void setAge(int age) { in setAge() argument
78 this.mAge = age; in setAge()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetailCache.java184 public WifiConfiguration.Visibility getVisibilityByRssi(long age) { in getVisibilityByRssi() argument
209 + " age = " + age); in getVisibilityByRssi()
211 if ((now_elapsed_ms - (result.timestamp / 1000)) > age) continue; in getVisibilityByRssi()
214 if ((now_ms - result.seen) > age) continue; in getVisibilityByRssi()
242 public WifiConfiguration.Visibility getVisibility(long age) { in getVisibility() argument
243 return getVisibilityByRssi(age); in getVisibility()
DWifiLastResortWatchdog.java141 availableNetworkFailureCount.age = -1; in updateAvailableNetworks()
151 if (entry.getValue().age < MAX_BSSID_AGE - 1) { in updateAvailableNetworks()
152 entry.getValue().age++; in updateAvailableNetworks()
408 .append(", Age: ").append(entry.getValue().age); in toString()
500 public int age = 0; field in WifiLastResortWatchdog.AvailableNetworkFailureCount
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/dao/
DUserDao.java94 public abstract int deleteAgeGreaterThan(int age); in deleteAgeGreaterThan() argument
124 public abstract List<User> findByAge(int age); in findByAge() argument
187 public abstract LivePagedListProvider<Integer, User> loadPagedByAge(int age);
193 public abstract int deleteByAgeAndIds(int age, List<Integer> ids);
196 public abstract int updateByAgeAndIds(float weight, int age, List<Integer> ids);
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
DWriterDao.java60 stmt.bindLong(4, value.age); in WriterDao_Impl()
83 stmt.bindLong(4, value.age); in WriterDao_Impl()
DComplexDao.java86 _result.age = _cursor.getInt(_cursorIndexOfAge); in getById()
127 _result.age = _cursor.getInt(_cursorIndexOfAge); in findByName()
168 _item_1.age = _cursor.getInt(_cursorIndexOfAge); in loadAllByIds()
303 _result.age = _cursor.getInt(_cursorIndexOfAge); in getByIdLive()
364 _item_1.age = _cursor.getInt(_cursorIndexOfAge); in loadUsersByIdsLive()
DUpdateDao.java47 stmt.bindLong(4, value.age); in UpdateDao_Impl()
/frameworks/support/room/compiler/src/test/data/common/input/
DUser.java26 public int age; field in User
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java241 long age = seen - previousSeen; in averageRssi() local
243 if (previousSeen > 0 && age > 0 && age < maxAge/2) { in averageRssi()
245 double alpha = 0.5 - (double) age / (double) maxAge; in averageRssi()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java796 String age; in dump() local
798 age = "___?___"; in dump()
800 age = " 0.000"; in dump()
802 age = ">1000.0"; in dump()
804 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dump()
811 age, in dump()
DWifiScanningServiceImpl.java2138 String age; in dump() local
2140 age = "___?___"; in dump()
2142 age = " 0.000"; in dump()
2144 age = ">1000.0"; in dump()
2146 age = String.format("%3.3f", (nowMs - timeStampMs) / 1000.0); in dump()
2153 age, in dump()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DIconCache.java290 long age = now - fileEntry.getTimestamp(); in tick() local
291 if (age > REQUERY_TIMEOUT || fileEntry.getAndIncrementRetry() > MAX_RETRY) { in tick()
293 } else if (age > REQUERY_TIME) { in tick()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java143 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
144 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_ageCullingWorks()
145 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_ageCullingWorks()
147 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[3]).age, in testAvailableNetworkBuffering_ageCullingWorks()
211 mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[j]).age, 0); in testAvailableNetworkBuffering_addNewNetworksOverTime()
244 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[0]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
245 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[1]).age, 0); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
246 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[2]).age, in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
248 assertEquals(mLastResortWatchdog.getRecentAvailableNetworks().get(mBssids[3]).age, in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java347 private void touch(String name, long age) throws Exception { in touch() argument
350 file.setLastModified(System.currentTimeMillis() - age); in touch()
/frameworks/native/libs/input/
DVelocityTracker.cpp577 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getEstimator() local
578 if (age > HORIZON) { in getEstimator()
586 time[m] = -age * 0.000000001f; in getEstimator()
/frameworks/base/core/java/android/os/
DFileUtils.java397 final long age = System.currentTimeMillis() - file.lastModified(); in deleteOlderFiles() local
398 if (age > minAgeMs) { in deleteOlderFiles()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java331 final long age = System.currentTimeMillis() - session.createdMillis; in readSessionsLocked() local
334 if (age >= MAX_AGE_MILLIS) { in readSessionsLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt55434 field public static final java.lang.String MAX_AGE_ATTR = "max-age";