Searched refs:peekCurrentTime (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | time_keeper_test.cpp | 26 const int startTime = TimeKeeper::peekCurrentTime(); in TEST() 29 EXPECT_EQ(TEST_CURRENT_TIME, TimeKeeper::peekCurrentTime()); in TEST() 31 EXPECT_EQ(TEST_CURRENT_TIME, TimeKeeper::peekCurrentTime()); in TEST() 34 EXPECT_LE(startTime, TimeKeeper::peekCurrentTime()); in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_policy.h | 46 DATE_KEY, TimeKeeper::peekCurrentTime() /* defaultValue */)), in HeaderPolicy() 48 LAST_DECAYED_TIME_KEY, TimeKeeper::peekCurrentTime() /* defaultValue */)), in HeaderPolicy() 71 DATE_KEY, TimeKeeper::peekCurrentTime() /* defaultValue */)), in HeaderPolicy() 73 DATE_KEY, TimeKeeper::peekCurrentTime() /* defaultValue */)), in HeaderPolicy()
|
D | header_policy.cpp | 146 TimeKeeper::peekCurrentTime()); in fillInHeader() 151 TimeKeeper::peekCurrentTime()); in fillInHeader()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | dynamic_language_model_probability_utils.h | 44 const int elapsedTime = TimeKeeper::peekCurrentTime() - historicalInfo.getTimestamp(); in getDecayedProbability() 56 const int elapsedTime = TimeKeeper::peekCurrentTime() - historicalInfo.getTimestamp(); in shouldRemoveEntryDuringGC()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | forgetting_curve_utils.cpp | 141 < TimeKeeper::peekCurrentTime()) { in needsToDecay() 156 const int elapsedTimeInSeconds = TimeKeeper::peekCurrentTime() - timestamp; in getElapsedTimeStepCount()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | time_keeper.h | 32 static int peekCurrentTime() { return sCurrentTime; }; in peekCurrentTime() function
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 79 return TimeKeeper::peekCurrentTime(); in latinime_BinaryDictionaryUtils_setCurrentTimeForTest()
|