Home
last modified time | relevance | path

Searched refs:lastUpdate (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DHistoryEvaluator.java32 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/
DWordListMetadata.java56 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()
DDictionaryService.java248 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/
DDnsStats.h37 lastUpdate = std::chrono::steady_clock::now(); in StatsData()
55 std::chrono::time_point<std::chrono::steady_clock> lastUpdate; member
DDnsStats.cpp88 const int lastUpdateSec = duration_cast<seconds>(now - lastUpdate).count(); in toString()
127 mStatsData.lastUpdate = std::chrono::steady_clock::now(); in updateStatsData()