Home
last modified time | relevance | path

Searched refs:json_data (Results 1 – 18 of 18) sorted by relevance

/external/python/oauth2client/oauth2client/
Dservice_account.py424 def from_json(cls, json_data): argument
436 if not isinstance(json_data, dict):
437 json_data = json.loads(_helpers._from_bytes(json_data))
440 pkcs12_val = json_data.get(_PKCS12_KEY)
443 private_key_pkcs8_pem = json_data['_private_key_pkcs8_pem']
450 password = json_data['_private_key_password']
454 json_data['_service_account_email'],
456 scopes=json_data['_scopes'],
457 private_key_id=json_data['_private_key_id'],
458 client_id=json_data['client_id'],
[all …]
Dclient.py288 def new_from_json(cls, json_data): argument
300 json_data_as_unicode = _helpers._from_bytes(json_data)
614 def from_json(cls, json_data): argument
625 data = json.loads(_helpers._from_bytes(json_data))
973 def from_json(cls, json_data): argument
974 data = json.loads(_helpers._from_bytes(json_data))
1138 def from_json(cls, json_data): argument
1142 data = json.loads(_helpers._from_bytes(json_data))
/external/chromium-trace/catapult/tracing/tracing/trace_data/
Dtrace_data.py318 json_data = json.loads(raw_data)
320 json_data = raw_data
323 if not json_data:
325 if isinstance(json_data, dict):
326 assert 'traceEvents' in json_data, 'Only raw chrome trace is supported'
328 for k in json_data:
331 b.AddTraceFor(TraceDataPart(k), json_data[k])
334 del json_data[k]
335 b.AddTraceFor(CHROME_TRACE_PART, json_data)
336 elif isinstance(json_data, list):
[all …]
/external/chromium-trace/catapult/systrace/systrace/
Doutput_generator.py154 json_data = json.loads(result.raw_data)
158 json_data))
170 json_data = candidate.raw_data
171 for key, value in json_data.items():
/external/autotest/client/common_lib/cros/fake_device_server/
Dcommon_util_unittest.py24 json_data = json.dumps(dict(a='b', b='c'))
27 json_file.write(json.dumps(json_data))
34 self.assertEquals(common_util.parse_serialized_json(), json_data)
/external/mesa3d/src/intel/vulkan/
Danv_icd.py38 json_data = { variable
47 json.dump(json_data, f, indent = 4, sort_keys=True)
/external/python/apitools/apitools/base/py/
Dextra_types.py225 def _JsonToJsonProto(json_data, unused_decoder=None): argument
226 return _PythonValueToJsonProto(json.loads(json_data))
229 def _JsonToJsonValue(json_data, unused_decoder=None): argument
230 result = _PythonValueToJsonProto(json.loads(json_data))
239 'Malformed JsonValue: %s' % json_data)
Dcredentials_lib.py432 def from_json(cls, json_data): argument
433 data = json.loads(json_data)
477 def from_json(cls, json_data): argument
478 data = json.loads(json_data)
Dtransfer.py237 def FromData(cls, stream, json_data, http=None, auto_transfer=None, argument
240 info = json.loads(json_data)
597 def FromData(cls, stream, json_data, http, auto_transfer=None, **kwds): argument
599 info = json.loads(json_data)
/external/autotest/client/common_lib/cros/tendo/
Dprivet_helper.py152 json_data = json.loads(data)
153 data = json.dumps(json_data) # Drop newlines, pretty format.
157 return json_data
/external/pdfium/testing/tools/
Dgold.py72 json_data = response.read()
79 data = json.loads(json_data)
/external/chromium-trace/catapult/systrace/profile_chrome/
Dchrome_tracing_agent.py55 json_data = json.loads(json_category_list)['traceCategoriesList']
56 for item in json_data:
/external/v8/tools/
Dperf-to-html.py351 with open(opts.filename) as json_data:
352 data = json.load(json_data)
Dperf-compare.py415 with open(filename) as json_data:
416 data = json.load(json_data)
/external/python/oauth2client/oauth2client/contrib/
Dgce.py80 def from_json(cls, json_data): argument
Ddevshell.py139 def from_json(cls, json_data): argument
Dappengine.py156 def from_json(cls, json_data): argument
157 data = json.loads(json_data)
/external/python/oauth2client/tests/
Dtest_client.py177 json_data = json.dumps(creds_data)
179 client.Credentials.new_from_json(json_data)
186 json_data = json.dumps(creds_data)
187 credentials = client.Credentials.new_from_json(json_data)
195 json_data = json.dumps(creds_data)
196 credentials = client.Credentials.new_from_json(json_data)
204 json_data = json.dumps(creds_data)
206 client.Credentials.new_from_json(json_data)
213 json_data = json.dumps(creds_data)
215 client.Credentials.new_from_json(json_data)