Home
last modified time | relevance | path

Searched refs:mindsBlockByGC (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java261 public void runGCIfRequired(final boolean mindsBlockByGC) { in runGCIfRequired() argument
268 runGCIfRequiredLocked(mindsBlockByGC); in runGCIfRequired()
273 protected void runGCIfRequiredLocked(final boolean mindsBlockByGC) { in runGCIfRequiredLocked() argument
274 if (mBinaryDictionary.needsToRunGC(mindsBlockByGC)) { in runGCIfRequiredLocked()
H A DBinaryDictionary.java177 private static native boolean needsToRunGCNative(long dict, boolean mindsBlockByGC); in needsToRunGCNative() argument
579 public boolean needsToRunGC(final boolean mindsBlockByGC) { in needsToRunGC() argument
583 return needsToRunGCNative(mNativeDict, mindsBlockByGC); in needsToRunGC()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Ddictionary.cpp175 bool Dictionary::needsToRunGC(const bool mindsBlockByGC) { in needsToRunGC() argument
177 return mDictionaryStructureWithBufferPolicy->needsToRunGC(mindsBlockByGC); in needsToRunGC()
H A Ddictionary.h102 bool needsToRunGC(const bool mindsBlockByGC);
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
H A Ddictionary_structure_with_buffer_policy.h100 virtual bool needsToRunGC(const bool mindsBlockByGC) const = 0;
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_policy.h107 bool needsToRunGC(const bool mindsBlockByGC) const;
H A Dver4_patricia_trie_policy.cpp456 bool Ver4PatriciaTriePolicy::needsToRunGC(const bool mindsBlockByGC) const { in needsToRunGC()
473 return ForgettingCurveUtils::needsToDecay(mindsBlockByGC, mEntryCounters.getEntryCounts(), in needsToRunGC()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
H A Dpatricia_trie_policy.h130 bool needsToRunGC(const bool mindsBlockByGC) const { in needsToRunGC() argument
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_policy.h128 bool needsToRunGC(const bool mindsBlockByGC) const;
H A Dver4_patricia_trie_policy.cpp501 bool Ver4PatriciaTriePolicy::needsToRunGC(const bool mindsBlockByGC) const { in needsToRunGC()
518 return ForgettingCurveUtils::needsToDecay(mindsBlockByGC, mEntryCounters.getEntryCounts(), in needsToRunGC()
/aosp12/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp111 jlong dict, jboolean mindsBlockByGC) { in latinime_BinaryDictionary_needsToRunGC() argument
114 return dictionary->needsToRunGC(mindsBlockByGC == JNI_TRUE); in latinime_BinaryDictionary_needsToRunGC()