HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 501 - 525 of 1526) sorted by null

<<21222324252627282930>>

  /device/google/contexthub/util/nanotool/
androidcontexthub.cpp 66 sp<JSONObject> json, std::vector<uint8_t>& bytes) {
68 if (json->getArray(key, &array)) {
87 auto json = cal_file->GetJSONObject(); local
92 success = CopyInt32Array(key, json, bytes);
98 success = json->getFloat(key, &value);
108 success = CopyInt32Array(key, json, bytes);
111 success = json->getInt32(key, &value);
  /cts/tests/camera/src/android/hardware/camera2/cts/helpers/
CameraMetadataGetter.java 53 import org.json.JSONArray;
54 import org.json.JSONObject;
248 private static Object serializeRational(Rational rat) throws org.json.JSONException {
256 private static Object serializeSize(Size size) throws org.json.JSONException {
264 private static Object serializeSizeF(SizeF size) throws org.json.JSONException {
272 private static Object serializeRect(Rect rect) throws org.json.JSONException {
281 private static Object serializePoint(Point point) throws org.json.JSONException {
290 throws org.json.JSONException {
304 throws org.json.JSONException {
332 throws org.json.JSONException
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/elastictranscoder/
layer1.py 22 from boto.compat import json
84 When you create a job, Elastic Transcoder returns JSON data
142 data=json.dumps(params))
358 data=json.dumps(params))
421 data=json.dumps(params))
659 data=json.dumps(params))
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
VideoProvider.java 22 import org.json.JSONArray;
23 import org.json.JSONException;
24 import org.json.JSONObject;
78 String json = sb.toString(); local
79 return new JSONObject(json);
81 Log.d(TAG, "Failed to parse the json for media list", e);
88 Log.d(TAG, "JSON feed closed", e);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
VideoProvider.java 25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
172 String json = sb.toString(); local
173 return new JSONObject(json);
175 Log.d(TAG, "Failed to parse the json for media list", e);
182 Log.d(TAG, "JSON feed closed", e);
  /external/autotest/client/site_tests/desktopui_SonicExtension/
desktopui_SonicExtension.py 5 import json
45 that contains a manifest.json.
49 manifest_json_file = os.path.join(extension_path, 'manifest.json')
51 manifest_json = json.loads(f.read())
95 @return A json that contains all the different information
152 'test_information.json')
154 self._settings['sender_root_dir'], 'cpu_data.json')
156 self._settings['sender_root_dir'], 'cpu_bound.json')
157 json.dump(test_info, open(info_json_file, 'wb'))
158 json.dump(cpu_usage, open(cpu_json_file, 'wb')
    [all...]
config_json_iterator.py 6 import json
11 """"Exception for config json iterator"""
16 """Class to consolidate multiple config json files.
18 This class reads and combines input JSON instances into one based on the
93 return json.load(config_file)
96 'invalid JSON file %s' % config_file)
  /external/libweave/src/
access_black_list_manager_impl.cc 7 #include <base/json/json_reader.h>
8 #include <base/json/json_writer.h>
75 std::string json; local
76 base::JSONWriter::Write(list, &json);
77 store_->SaveSettings(kConfigFileName, json, callback);
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
RoomParametersFetcher.java 19 import org.json.JSONArray;
20 import org.json.JSONException;
21 import org.json.JSONObject;
162 "Room JSON parsing error: " + e.toString());
202 JSONObject json = new JSONObject(pcConfig); local
203 JSONArray servers = json.getJSONArray("iceServers");
  /external/owasp/sanitizer/empiricism/
html-containment.js 142 var htmlForNullValue = '<span class="json-kw">null</span>';
143 var htmlForErrorValue = '<span class="json-kw json-err">null</span>';
156 out.push('<span class="json-kw">', v, '</span>');
159 out.push('<span class="json-val">', v, '</span>');
164 var token = JSON.stringify(String(v));
166 out.push('<span class="json-str">', token, '</span>');
202 out.push('<span class="json-ext json-block-', depth,
203 depth === 0 || inline ? ' json-nocollapse' : ''
    [all...]
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
ExtendedWikiHelper.java 19 import org.json.JSONArray;
20 import org.json.JSONException;
21 import org.json.JSONObject;
93 "http://en.wiktionary.org/w/api.php?action=query&list=random&format=json";
207 // Drill into the JSON response to find the returned word
SimpleWikiHelper.java 25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
56 "rvprop=content&format=json%s";
147 // Drill into the JSON response to find the content body
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
SimpleWikiHelper.java 25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
63 "rvprop=content&format=json%s";
154 // Drill into the JSON response to find the content body
  /external/autotest/frontend/afe/json_rpc/
serviceHandler.py 23 from json import decoder
27 # Django JSON encoder uses the standard json encoder but can handle DateTime
28 from django.core.serializers import json as django_encoder
31 from json import encoder
42 Recursively process JSON values and do type conversions.
92 Invoke a json RPC call from a decoded json request.
161 @returns translated json result
  /external/autotest/frontend/client/src/autotest/afe/
AbortSynchronousDialog.java 9 import com.google.gwt.json.client.JSONArray;
10 import com.google.gwt.json.client.JSONObject;
11 import com.google.gwt.json.client.JSONValue;
  /external/autotest/frontend/client/src/autotest/tko/
MachineQualHistogramFrontend.java 6 import com.google.gwt.json.client.JSONNumber;
7 import com.google.gwt.json.client.JSONObject;
8 import com.google.gwt.json.client.JSONString;
  /external/autotest/frontend/client/src/autotest/tko/embedded_spreadsheet/
EmbeddedSpreadsheetPresenter.java 16 import com.google.gwt.json.client.JSONNumber;
17 import com.google.gwt.json.client.JSONObject;
18 import com.google.gwt.json.client.JSONValue;
  /external/autotest/frontend/shared/
resource_test_utils.py 2 import json
54 kwargs.setdefault('content_type', 'application/json')
55 if kwargs['content_type'] == 'application/json':
56 kwargs['data'] = json.dumps(kwargs['data'])
71 if response['content-type'] != 'application/json':
75 return json.loads(response.content)
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
log.py 5 import json
66 log_file = open("%s.json" % n, "ab", False)
67 _note("trace_event: tracelog name is %s.json" % n)
92 _log_file.write("%s\n" % json.dumps(x))
118 _log_file.write(",\n".join([json.dumps(e) for e in _cur_events]))
  /external/chromium-trace/catapult/dashboard/dashboard/
graph_revisions_test.py 6 import json
50 for index, row in enumerate(json.loads(response.body)):
65 self.assertEqual([[1, 2, 3]], json.loads(response.body))
issue_tracker_service_test.py 5 import json
109 mock.Mock(return_value={'status': 404}), json.dumps(error_content)))
121 mock.Mock(return_value={'status': 403}), json.dumps(error_content)))
report.py 7 import json
33 self.response.out.write(json.dumps({
66 state_json = json.dumps(state, separators=(',', ':'))
start_try_job_test.py 6 import json
179 'dromaeo tools/perf/page_sets/dromaeo/jslibstylejquery.json',
372 json.loads(response.body))
416 info = json.loads(response.body)
449 info = json.loads(response.body)
459 info = json.loads(response.body)
466 info = json.loads(response.body)
474 info = json.loads(response.body)
482 info = json.loads(response.body)
744 response_dict = json.loads(response.body
    [all...]
  /external/chromium-trace/catapult/systrace/profile_chrome/
trace_packager.py 7 import json
49 # Try to detect a JSON file cheaply since that's all we can merge.
54 json_data = json.load(f)
71 json.dump(merged_data, f)
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
crx_id.py 15 import json
88 manifest = json.load(f)
98 with open(os.path.join(filename, 'manifest.json'), 'rb') as f:
99 manifest = json.load(f)
111 f = open(os.path.join(filename, 'manifest.json'), 'rb')

Completed in 1569 milliseconds

<<21222324252627282930>>