HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 976 - 1000 of 1255) sorted by null

<<31323334353637383940>>

  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
AutomaticActivity.java 28 import org.json.JSONException;
29 import org.json.JSONObject;
154 "CanvasCompareInput.json");
168 Log.e(LOG_TAG, "error parsing input json", e);
170 Log.e(LOG_TAG, "error reading input json from sd", e);
224 "CanvasCompareOutput.json");
231 Log.e(LOG_TAG, "error during JSON stringify", e);
233 Log.e(LOG_TAG, "error storing JSON output on sd", e);
272 Log.w(LOG_TAG, "Warning: unable to read from input json", e);
288 Log.e(LOG_TAG, "exception during JSON recording", e)
    [all...]
  /external/chromium_org/chrome/test/chromedriver/chrome/
web_view_impl.cc 9 #include "base/json/json_writer.h"
186 std::string json; local
187 base::JSONWriter::Write(&args, &json);
193 json.c_str());
685 std::string json; local
686 base::JSONWriter::Write(&args, &json);
692 json.c_str());
  /external/chromium_org/ipc/
ipc_message_utils.cc 8 #include "base/json/json_writer.h"
455 std::string json; local
456 base::JSONWriter::Write(&p, &json);
457 l->append(json);
536 std::string json; local
537 base::JSONWriter::Write(&p, &json);
538 l->append(json);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
perftestsrunner_unittest.py 33 import json namespace
139 '--output-json-path=a/output.json',
140 '--slave-config-json-path=a/source.json',
156 self.assertEqual(options.output_json_path, 'a/output.json')
157 self.assertEqual(options.slave_config_json_path, 'a/source.json')
165 port.host.filesystem.files['/mock-checkout/some.json'] = 'some content'
185 self.assertEqual(content_type, 'application/json')
186 self.assertEqual(filename, 'some.json')
    [all...]
  /external/chromium_org/tools/binary_size/
run_binary_size_analysis.py 14 import json namespace
43 # Node dictionary keys. These are output in json read by the webapp so
321 """Convert TreeifySymbols output to a JSON treemap.
362 json.dump(tree_root, out, separators=(',', ':'))
363 print('Writing %d bytes json' % os.path.getsize(outfile))
371 out.write('var kTree = ' + json.dumps(JsonifyTree(dirs, '/')))
394 out.write(json.dumps(entry))
433 out.write(json.dumps(entry))
459 out.write(json.dumps(entry))
    [all...]
  /external/chromium_org/tools/sheriffing/
botinfo.js 81 var json = JSON.parse(request.responseText);
82 botInfo.builds[json.number] = new BuildInfo(json);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsService.java 57 import org.json.JSONArray;
58 import org.json.JSONObject;
324 // Use a separate thread to perform JSON serialization (since this can be slow due to
361 } catch (org.json.JSONException e) {
427 // * Serialized JSON object on a single line (newline-terminated)
431 // * Serialized JSON object on a single line (newline-terminated)
527 // Each command is a serialized JSON object.
550 } catch (org.json.JSONException e) {
579 } catch (org.json.JSONException e) {
580 throw new ItsException("JSON error: ", e)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
TracingTimelineModel.js 975 var json = data.slice(0, index) + "]";
984 var commaIndex = json.indexOf(",");
986 json = json.slice(commaIndex + 1);
987 json = "[" + json;
992 items = /** @type {!Array.<!WebInspector.TracingManager.EventPayload>} */ (JSON.parse(json));
    [all...]
  /external/chromium_org/v8/src/
d8.js 80 JSON: 2 };
101 var trace_debug_json = false; // Tracing all debug json packets?
114 // Process a debugger JSON message into a display text and a running status.
121 // Convert the JSON string to an object.
261 // Converts a text command to a JSON request.
272 // If the very first character is a { assume that a JSON request have been
273 // entered as a command. Converting that to a JSON request is trivial.
467 // Return undefined to indicate command handled internally (no JSON).
475 // Return undefined to indicate command handled internally (no JSON).
498 var json = '{'
    [all...]
  /external/chromium_org/third_party/skia/gm/rebaseline_server/
server.py 15 import json namespace
64 'json': 'application/json'
90 GENERATED_JSON_SUBDIR = 'generated-json'
217 'resultsToLoad=/%s/%s/%s-vs-%s_%s.json">%s</a>' % (
274 json_filename: basename of the JSON summary file to load for each builder
411 # Download the JSON file for each builder we care about.
446 # downloading individual expectation JSON files from
481 json_dir, '%s-vs-%s_%s.json' % (
726 if content_type != 'application/json;charset=UTF-8'
    [all...]
  /developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
MainActivity.java 66 import org.json.JSONArray;
67 import org.json.JSONException;
68 import org.json.JSONObject;
87 private static final String QUIZ_JSON_FILE = "Quiz.json";
255 * Create a quiz, as defined in Quiz.json, when the user clicks on "Read quiz from file."
  /developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
MainActivity.java 66 import org.json.JSONArray;
67 import org.json.JSONException;
68 import org.json.JSONObject;
87 private static final String QUIZ_JSON_FILE = "Quiz.json";
255 * Create a quiz, as defined in Quiz.json, when the user clicks on "Read quiz from file."
  /development/samples/Vault/src/com/example/android/vault/
VaultProvider.java 42 import org.json.JSONArray;
43 import org.json.JSONException;
44 import org.json.JSONObject;
85 /** JSON key storing array of all children documents in a directory. */
  /development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
MainActivity.java 66 import org.json.JSONArray;
67 import org.json.JSONException;
68 import org.json.JSONObject;
87 private static final String QUIZ_JSON_FILE = "Quiz.json";
255 * Create a quiz, as defined in Quiz.json, when the user clicks on "Read quiz from file."
  /external/chromium_org/
PRESUBMIT_test.py 7 import json namespace
22 self.json = json
457 filename = 'valid_json.json'
471 ('invalid_json_1.json',
474 ('invalid_json_2.json',
478 ('invalid_json_3.json',
481 ('invalid_json_4.json',
496 file_with_comments = 'file_with_comments.json'
503 file_without_comments = 'file_without_comments.json'
    [all...]
  /external/chromium_org/build/android/pylib/utils/
json_results_generator.py 11 import json namespace
29 # FIXME: Kill this code once the server returns json instead of jsonp.
37 json_string = json.dumps(json_object, separators=(',', ':'))
125 """A JSON results generator for generic tests."""
128 # Min time (seconds) that will be added to the JSON.
156 RESULTS_FILENAME = 'results.json'
157 TIMES_MS_FILENAME = 'times_ms.json'
158 INCREMENTAL_RESULTS_FILENAME = 'incremental_results.json'
171 """Modifies the results.json file. Grabs it off the archive directory
179 results json file
    [all...]
  /external/chromium_org/chrome/browser/local_discovery/
privet_http_unittest.cc 6 #include "base/json/json_reader.h"
7 #include "base/json/json_writer.h"
217 // Return the representation of the given JSON that would be outputted by
218 // JSONWriter. This ensures the same JSON values are represented by the same
220 std::string NormalizeJson(const std::string& json) {
221 std::string result = json;
398 const base::DictionaryValue* json) OVERRIDE {
399 // TODO(noamsml): Save and test for JSON?
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Runtime.js 172 var content = loadResource(moduleName + "/module.json");
175 var scripts = JSON.parse(content)["scripts"];
190 var content = loadResource(moduleName + "/module.json");
194 var scripts = JSON.parse(content)["scripts"];
243 var moduleDescriptors = applicationDescriptor || Runtime._parseJsonURL(appName + ".json");
258 moduleJSON = Runtime._parseJsonURL(name + "/module.json");
302 return /** @type {!Object} */ (JSON.parse(self.localStorage && self.localStorage["experiments"] ? self.localStorage["experiments"] : "{}"));
330 var json = loadResource(url);
331 if (!json)
333 return JSON.parse(json)
    [all...]
  /external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
json_reader.cpp 7 # include <json/assertions.h>
8 # include <json/reader.h>
9 # include <json/value.h>
24 namespace Json {
177 addError( "A valid JSON document must be either an array or an object value.",
906 Json::Reader reader;
920 } // namespace Json
  /external/chromium_org/tools/deep_memory_profiler/lib/
sorter.py 6 import json namespace
19 os.path.join(BASE_PATH, 'sorters', 'malloc.browser-module.json'),
20 os.path.join(BASE_PATH, 'sorters', 'malloc.renderer-module.json'),
21 os.path.join(BASE_PATH, 'sorters', 'malloc.type.json'),
22 os.path.join(BASE_PATH, 'sorters', 'malloc.WebCore.json'),
23 os.path.join(BASE_PATH, 'sorters', 'vm.Android-specific.json'),
24 os.path.join(BASE_PATH, 'sorters', 'vm.base.json'),
25 os.path.join(BASE_PATH, 'sorters', 'vm.GPU.json'),
26 os.path.join(BASE_PATH, 'sorters', 'vm.sharing.json'),
27 os.path.join(BASE_PATH, 'sorters', 'vm.Skia.json'),
    [all...]
  /external/chromium_org/tools/grit/grit/format/policy_templates/writers/
doc_writer.py 7 import json namespace
297 example = json.dumps(policy['example_value'])
310 example = json.dumps(policy['example_value'])
  /external/chromium_org/tools/json_schema_compiler/
idl_schema.py 7 import json namespace
15 # certain format describing APIs (either JSON or IDL), reads files written
18 # the JSON schema compiler understands. compiler.py drives both idl_schema.py
123 dictionary that the JSON schema compiler expects to see.
136 Given an IDL Dictionary node, converts into a Python dictionary that the JSON
164 where the value is a Python dictionary that the JSON schema compiler expects
222 function parameter, converts into a Python dictionary that the JSON schema
299 Given an IDL Enum node, converts into a Python dictionary that the JSON
337 dictionary that the JSON schema compiler expects to see.
402 of api_defs that the JSON schema compiler expects to see
    [all...]
  /external/chromium_org/v8/tools/
run_perf.py 9 Call e.g. with tools/run-perf.py --arch ia32 some_suite.json
11 The suite json format is expected to be:
94 import json namespace
141 f.write(json.dumps(self.ToDict()))
422 parser.add_option("--json-test-results",
423 help="Path to a file for storing json results.")
456 suite = json.loads(f.read())
458 # If no name is given, default to the file name without .json.
  /external/jsoncpp/src/lib_json/
json_reader.cpp 7 # include <json/assertions.h>
8 # include <json/reader.h>
9 # include <json/value.h>
22 namespace Json {
175 addError( "A valid JSON document must be either an array or an object value.",
904 Json::Reader reader;
918 } // namespace Json
  /external/qemu/
android-configure.sh 738 # Generate the QAPI headers and sources from qapi-schema.json
744 python scripts/qapi-types.py qapi.types --output-dir=$AUTOGENERATED_DIR -b < qapi-schema.json
745 python scripts/qapi-visit.py --output-dir=$AUTOGENERATED_DIR -b < qapi-schema.json
746 python scripts/qapi-commands.py --output-dir=$AUTOGENERATED_DIR -m < qapi-schema.json

Completed in 892 milliseconds

<<31323334353637383940>>