Home
last modified time | relevance | path

Searched refs:mStringRefs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DFastDataInput.java58 private String[] mStringRefs = new String[32]; field in FastDataInput
163 if (mStringRefCount == mStringRefs.length) { in readInternedUTF()
164 mStringRefs = Arrays.copyOf(mStringRefs, in readInternedUTF()
167 mStringRefs[mStringRefCount++] = s; in readInternedUTF()
172 return mStringRefs[ref]; in readInternedUTF()
DFastDataOutput.java61 private final HashMap<String, Short> mStringRefs = new HashMap<>(); field in FastDataOutput
99 mStringRefs.clear(); in release()
113 mStringRefs.clear(); in setOutput()
198 Short ref = mStringRefs.get(s); in writeInternedUTF()
207 ref = (short) mStringRefs.size(); in writeInternedUTF()
209 mStringRefs.put(s, ref); in writeInternedUTF()