Lines Matching refs:value

55     // Keys for internal key/value pairs
108 * Utility function to test whether a key-value pair exists in a LogStatement.
116 * value in the {@code values} array
120 * queryValue} matches the corresponding value in {@code values}
139 * Utility function to set a value in a LogStatement.
147 * @param newValue the replacement value to go into the {@code values} array
149 * @returns {@true} if the key exists and the value was successfully set, {@false} otherwise
184 jsonWriter.name(CURRENT_TIME_KEY).value(System.currentTimeMillis());
185 jsonWriter.name(UPTIME_KEY).value(time);
186 jsonWriter.name(EVENT_TYPE_KEY).value(mType);
190 final Object value = values[i];
191 if (value instanceof CharSequence) {
192 jsonWriter.value(value.toString());
193 } else if (value instanceof Number) {
194 jsonWriter.value((Number) value);
195 } else if (value instanceof Boolean) {
196 jsonWriter.value((Boolean) value);
197 } else if (value instanceof CompletionInfo[]) {
198 JsonUtils.writeJson((CompletionInfo[]) value, jsonWriter);
199 } else if (value instanceof SharedPreferences) {
200 JsonUtils.writeJson((SharedPreferences) value, jsonWriter);
201 } else if (value instanceof Key[]) {
202 JsonUtils.writeJson((Key[]) value, jsonWriter);
203 } else if (value instanceof SuggestedWords) {
204 JsonUtils.writeJson((SuggestedWords) value, jsonWriter);
205 } else if (value instanceof MotionEvent) {
206 JsonUtils.writeJson((MotionEvent) value, jsonWriter);
207 } else if (value == null) {
212 + (value == null ? "<null>" : value.getClass().getName()));