/external/python/oauth2client/oauth2client/ |
D | service_account.py | 424 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 …]
|
D | client.py | 288 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/ |
D | trace_data.py | 318 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/ |
D | output_generator.py | 154 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/ |
D | common_util_unittest.py | 24 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/ |
D | anv_icd.py | 38 json_data = { variable 47 json.dump(json_data, f, indent = 4, sort_keys=True)
|
/external/python/apitools/apitools/base/py/ |
D | extra_types.py | 225 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)
|
D | credentials_lib.py | 432 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)
|
D | transfer.py | 237 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/ |
D | privet_helper.py | 152 json_data = json.loads(data) 153 data = json.dumps(json_data) # Drop newlines, pretty format. 157 return json_data
|
/external/pdfium/testing/tools/ |
D | gold.py | 72 json_data = response.read() 79 data = json.loads(json_data)
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | chrome_tracing_agent.py | 55 json_data = json.loads(json_category_list)['traceCategoriesList'] 56 for item in json_data:
|
/external/v8/tools/ |
D | perf-to-html.py | 351 with open(opts.filename) as json_data: 352 data = json.load(json_data)
|
D | perf-compare.py | 415 with open(filename) as json_data: 416 data = json.load(json_data)
|
/external/python/oauth2client/oauth2client/contrib/ |
D | gce.py | 80 def from_json(cls, json_data): argument
|
D | devshell.py | 139 def from_json(cls, json_data): argument
|
D | appengine.py | 156 def from_json(cls, json_data): argument 157 data = json.loads(json_data)
|
/external/python/oauth2client/tests/ |
D | test_client.py | 177 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)
|