aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-12-16 21:35:41 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-16 21:35:41 -0800
commit70def4677849c696b1d85d9103787a495cf6e54d (patch)
tree24f42bf24aa8767a787473d75ae839769bd21de9 /java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java
parent44e7613c5426e586abd474584409ac22e06cc242 (diff)
parentb54c747d7cc2a89e6bc51d31676a70779d4c41b4 (diff)
downloadlatinime-70def4677849c696b1d85d9103787a495cf6e54d.tar.gz
latinime-70def4677849c696b1d85d9103787a495cf6e54d.tar.xz
latinime-70def4677849c696b1d85d9103787a495cf6e54d.zip
am b54c747d: Merge "Move DictUpdater to the tests directory."
* commit 'b54c747d7cc2a89e6bc51d31676a70779d4c41b4': Move DictUpdater to the tests directory.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java b/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java
index acabea10d..2dbb5eb93 100644
--- a/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java
+++ b/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java
@@ -58,6 +58,7 @@ public final class BinaryDictDecoderUtils {
public int readInt();
public int position();
public void position(int newPosition);
+ @UsedForTesting
public void put(final byte b);
public int limit();
@UsedForTesting
@@ -166,6 +167,7 @@ public final class BinaryDictDecoderUtils {
return size;
}
+ @UsedForTesting
static int getCharArraySize(final int[] chars, final int start, final int end) {
int size = 0;
for (int i = start; i < end; ++i) {
@@ -262,6 +264,7 @@ public final class BinaryDictDecoderUtils {
*/
// TODO: Merge this method with writeCharArray and rename the various write* methods to
// make the difference clear.
+ @UsedForTesting
static int writeCodePoints(final OutputStream stream, final int[] codePoints,
final int startIndex, final int endIndex)
throws IOException {