OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:binaryDictionary
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java
56
private void forcePassingShortTime(final
BinaryDictionary
binaryDictionary
) {
60
binaryDictionary
.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY);
61
binaryDictionary
.flushWithGC();
65
private void forcePassingLongTime(final
BinaryDictionary
binaryDictionary
) {
70
binaryDictionary
.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY);
71
binaryDictionary
.flushWithGC();
83
if (
BinaryDictionary
.createEmptyDictFile(file.getAbsolutePath(),
98
BinaryDictionary
binaryDictionary = new BinaryDictionary(dictFile.getAbsolutePath()
[
all
...]
BinaryDictionaryTests.java
57
if (
BinaryDictionary
.createEmptyDictFile(file.getAbsolutePath(),
72
BinaryDictionary
binaryDictionary
= new
BinaryDictionary
(dictFile.getAbsolutePath(),
75
assertTrue("
binaryDictionary
must be valid for existing valid dictionary file.",
76
binaryDictionary
.isValidDictionary());
77
binaryDictionary
.close();
78
assertFalse("
binaryDictionary
must be invalid after closing.",
79
binaryDictionary
.isValidDictionary());
81
binaryDictionary
= new BinaryDictionary(dictFile.getAbsolutePath(), 0 /* offset */
[
all
...]
Completed in 31 milliseconds