Searched refs:lastUpdate (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | HistoryEvaluator.java | 32 private long lastUpdate; field in HistoryEvaluator 35 lastUpdate = SystemClock.elapsedRealtime(); in HistoryEvaluator() 73 if (time <= lastUpdate) { in decayValue() 78 float factor = (float) Math.pow(HISTORY_FACTOR, (time - lastUpdate) / INTERVAL); in decayValue() 82 lastUpdate = time; in decayValue()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | WordListMetadata.java | 56 final String description, final long lastUpdate, final long fileSize, in WordListMetadata() argument 64 mLastUpdate = lastUpdate; // In milliseconds in WordListMetadata() 86 final Long lastUpdate = values.getAsLong(MetadataDbHelper.DATE_COLUMN); in createFromContentValues() local 100 || null == lastUpdate in createFromContentValues() 111 return new WordListMetadata(id, type, description, lastUpdate, fileSize, rawChecksum, in createFromContentValues()
|
D | DictionaryService.java | 248 final long lastUpdate = MetadataDbHelper.getOldestUpdateTime(context); in isLastUpdateAtLeastThisOld() local 249 PrivateLog.log("Last update was " + lastUpdate); in isLastUpdateAtLeastThisOld() 250 return lastUpdate + time < now; in isLastUpdateAtLeastThisOld()
|
/packages/modules/DnsResolver/ |
D | DnsStats.h | 37 lastUpdate = std::chrono::steady_clock::now(); in StatsData() 55 std::chrono::time_point<std::chrono::steady_clock> lastUpdate; member
|
D | DnsStats.cpp | 88 const int lastUpdateSec = duration_cast<seconds>(now - lastUpdate).count(); in toString() 127 mStatsData.lastUpdate = std::chrono::steady_clock::now(); in updateStatsData()
|