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.java56 private HashMap<String, Short> mStringRefs = new HashMap<>(); field in FastDataOutput
151 Short ref = mStringRefs.get(s); in writeInternedUTF()
160 ref = (short) mStringRefs.size(); in writeInternedUTF()
162 mStringRefs.put(s, ref); in writeInternedUTF()