Searched refs:jsonWriter (Results 1 - 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
H A D | JsonUtils.java | 39 /* package */ static void writeJson(final CompletionInfo[] ci, final JsonWriter jsonWriter) argument 41 jsonWriter.beginArray(); 43 jsonWriter.value(ci[j].toString()); 45 jsonWriter.endArray(); 48 /* package */ static void writeJson(final SharedPreferences prefs, final JsonWriter jsonWriter) argument 50 jsonWriter.beginObject(); 52 jsonWriter.name(entry.getKey()); 55 jsonWriter.nullValue(); 57 jsonWriter.value((Boolean) innerValue); 59 jsonWriter 67 writeJson(final Key[] keys, final JsonWriter jsonWriter) argument 76 writeJson(final Key key, final JsonWriter jsonWriter) argument 87 writeJson(final SuggestedWords words, final JsonWriter jsonWriter) argument 108 writeJson(final MotionEvent me, final JsonWriter jsonWriter) argument [all...] |
H A D | LogStatement.java | 168 * Write the contents out through jsonWriter. 172 * Note that this method is not thread safe for the same jsonWriter. Callers must ensure 175 public boolean outputToLocked(final JsonWriter jsonWriter, final Long time, argument 183 jsonWriter.beginObject(); 184 jsonWriter.name(CURRENT_TIME_KEY).value(System.currentTimeMillis()); 185 jsonWriter.name(UPTIME_KEY).value(time); 186 jsonWriter.name(EVENT_TYPE_KEY).value(mType); 189 jsonWriter.name(mKeys[i]); 192 jsonWriter.value(value.toString()); 194 jsonWriter [all...] |
H A D | LogUnit.java | 147 // Note that jsonWriter is only set to a non-null value if the logUnit start text is 149 JsonWriter jsonWriter = null; 158 // Only retrieve the jsonWriter if we need to. If we don't get this far, then 161 if (jsonWriter == null) { 162 jsonWriter = researchLog.getInitializedJsonWriterLocked(); 163 outputLogUnitStart(jsonWriter, canIncludePrivateData); 165 logStatement.outputToLocked(jsonWriter, mTimeList.get(i), mValuesList.get(i)); 167 if (jsonWriter != null) { 169 outputLogUnitStop(jsonWriter); 185 private void outputLogUnitStart(final JsonWriter jsonWriter, argument 200 outputLogUnitStop(final JsonWriter jsonWriter) argument [all...] |
H A D | ResearchLog.java | 260 final JsonWriter jsonWriter = createJsonWriter(mContext, mFile); 261 if (jsonWriter == null) throw new IOException("Could not create JsonWriter"); 263 jsonWriter.beginArray(); 264 mJsonWriter = jsonWriter;
|
Completed in 67 milliseconds