Home
last modified time | relevance | path

Searched refs:json_response (Results 1 – 12 of 12) sorted by relevance

/external/chromium-trace/catapult/third_party/pipeline/pipeline/
Dstatus_ui.py129 self.json_response = {}
132 output = json.dumps(self.json_response, cls=util.JsonEncoder)
134 self.json_response.clear()
135 self.json_response['error_class'] = e.__class__.__name__
136 self.json_response['error_message'] = str(e)
137 self.json_response['error_traceback'] = traceback.format_exc()
138 output = json.dumps(self.json_response, cls=util.JsonEncoder)
154 self.json_response.update(
163 self.json_response['classPaths'] = pipeline.get_pipeline_names()
171 self.json_response.update(
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dbase_handler.py184 self.json_response = {}
213 self.json_response.clear()
218 self.json_response.clear()
219 self.json_response["error_class"] = "Notice"
220 self.json_response["error_message"] = "Could not find 'mapreduce.yaml'"
224 self.json_response.clear()
225 self.json_response["error_class"] = e.__class__.__name__
226 self.json_response["error_message"] = str(e)
230 output = json.dumps(self.json_response, cls=json_util.JsonEncoder)
Dstatus.py308 self.json_response["configs"] = MapReduceYaml.to_dict(get_mapreduce_yaml())
325 self.json_response["cursor"] = str(jobs_list[-1].key())
350 self.json_response["jobs"] = all_jobs
364 self.json_response.update(job.mapreduce_spec.to_json())
365 self.json_response.update(job.counters_map.to_json())
366 self.json_response.update({
378 self.json_response["result_status"] = job.result_status
395 self.json_response["shards"] = all_shards
Dhandlers.py1648 self.json_response["mapreduce_id"] = mapreduce_id
1870 self.json_response["status"] = ("Job %s successfully cleaned up." %
1879 self.json_response["status"] = "Abort signal sent."
/external/v8/test/mjsunit/
Ddebug-clearbreakpoint.js50 var json_response = dcp.processDebugJSONRequest(request);
51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
Ddebug-listbreakpoints.js71 var json_response = dcp.processDebugJSONRequest(request);
79 var json_response = dcp.processDebugJSONRequest(request);
86 var json_response = dcp.processDebugJSONRequest(request);
87 var response = safeEval(json_response);
91 assertTrue(response.success, json_response);
111 assertFalse(response.success, json_response);
Ddebug-setbreakpoint.js54 var json_response = dcp.processDebugJSONRequest(request);
55 var response = safeEval(json_response);
57 assertTrue(response.success, request + ' -> ' + json_response);
59 assertEquals('scriptName', response.body.type, request + ' -> ' + json_response);
61 assertEquals('scriptId', response.body.type, request + ' -> ' + json_response);
64 assertFalse(response.success, request + ' -> ' + json_response);
Ddebug-setexceptionbreak.js55 var json_response = dcp.processDebugJSONRequest(request);
56 var response = safeEval(json_response);
58 assertTrue(response.success, json_response);
62 assertFalse(response.success, json_response);
Ddebug-changebreakpoint.js50 var json_response = dcp.processDebugJSONRequest(request);
51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
Ddebug-scripts-request.js50 var json_response = dcp.processDebugJSONRequest(request);
51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
Ddebug-clearbreakpointgroup.js54 var json_response = dcp.processDebugJSONRequest(request);
55 var response = safeEval(json_response);
57 assertTrue(response.success, json_response);
59 assertFalse(response.success, json_response);
/external/libweave/src/
Dweave_unittest.cc192 const std::string& json_response) { in ExpectRequest() argument
195 [json_response](const HttpClient::SendRequestCallback& callback) { in ExpectRequest()
205 .WillRepeatedly(Return(json_response)); in ExpectRequest()