/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
ios_browser_backend.py | 6 import json 20 _DEVICE_LIST_URL = 'http://localhost:9221/json' 60 device_urls = json.loads(json_urls) 82 urllib2.urlopen('http://%s/json' % d['url'])) as f: 84 data = json.loads(json_result)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
monsoon_power_monitor.py | 5 import json 44 json.dump(result, output) 107 result = json.loads(powermonitor_output)
|
/external/chromium-trace/catapult/telemetry/telemetry/wpr/ |
archive_info_unittest.py | 4 import json 43 self.tmp_dir, 'info.json') 122 archive_file_contents = json.load(f) 176 archive_data_file": "new_archive_info.json", 184 story_set_file = os.path.join(self.tmp_dir, 'new_story_set.json') 189 'new_archive_info.json')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudsearch/ |
document.py | 26 from boto.compat import json 139 :returns: JSON-formatted string of the documents in SDF 142 return self._sdf if self._sdf else json.dumps(self.documents_batch) 199 r = session.post(url, data=sdf, headers={'Content-Type': 'application/json'}) 227 self.content = json.loads(_body)
|
optionstatus.py | 26 from boto.compat import json 34 merged from a JSON object that is stored as the Option part of 68 self.update(json.loads(options)) 85 Return the JSON representation of the options as a string. 87 return json.dumps(self)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
test_service_account.py | 23 import json 101 ({'status': '200'}, json.dumps(token_response_first).encode('utf-8')), 102 ({'status': '200'}, json.dumps(token_response_second).encode('utf-8')),
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
ReflectionTest.java | 25 import com.badlogic.gdx.utils.Json; 69 Json json = new Json(); local 70 String jsonString = json.toJson(fromCopyConstructor); 71 Vector2 fromJson = json.fromJson(Vector2.class, jsonString); 72 println("JSON serialized: " + jsonString); 73 println("JSON deserialized: " + fromJson); 76 println("JSON deserialized + 1/1: " + fromJson);
|
/external/skia/tools/ |
nanobench_flags.py | 18 import json 162 golden = this_file.replace('.py', '.json') 164 json.dump(args, f, indent=2, sort_keys=True) 177 json.dump(get_args(sys.argv[2]), out)
|
parse_llvm_coverage.py | 11 import json 99 """Return the results in JSON format like that produced by nanobench.""" 174 help='output file for line-by-line JSON data.') 187 json.dump(line_by_line, f) 190 # Parse the key and properties for use in the nanobench JSON output. 200 json.dump(format_results, f)
|
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson_info.cc | 132 output_file.append(".json"); 147 std::string json = out_device ? VkJsonDeviceToJson(*out_device) local 149 fwrite(json.data(), 1, json.size(), file);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
AndroidAppAsset.java | 19 import org.json.JSONArray; 20 import org.json.JSONException; 21 import org.json.JSONObject; 32 * <p>An Android app can be named by its package name and certificate fingerprints using this JSON
|
/frameworks/native/services/surfaceflinger/ |
GpuService.cpp | 95 " vkjson dump Vulkan device capabilities as JSON\n"); 138 std::string json = VkJsonAllPropertiesToJson(props); local 139 fwrite(json.data(), 1, json.size(), out);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
UserPresetsManager.java | 85 String json; field in class:UserPresetsManager.SaveOperation 92 op.json = preset.getJsonString(ImagePreset.JASON_SAVED); 133 mUserPresets.insertStack(op.name, op.json.getBytes());
|
/packages/apps/Settings/src/com/android/settings/ |
SettingsDumpService.java | 29 import org.json.JSONArray; 30 import org.json.JSONException; 31 import org.json.JSONObject;
|
/build/soong/env/ |
env.go | 15 // env implements the environment JSON file handling for the soong_env command line tool run before 20 "encoding/json" 38 data, err := json.MarshalIndent(contents, "", " ") 61 err = json.Unmarshal(data, &contents)
|
/external/autotest/client/cros/bluetooth/ |
bluetooth_tester_xmlrpc_server.py | 8 import json 267 @return the information as a JSON-encoded tuple of: 273 return json.dumps(self._control.read_info(self.index)) 298 @return List of devices found as JSON-encoded tuples with the format 318 return json.dumps([ 350 return json.dumps( 375 return json.dumps( 403 return json.dumps(
|
/external/autotest/client/site_tests/network_DestinationVerification/ |
network_DestinationVerification.py | 6 import json 140 The output of the json python decoder looks like a dictionary with 216 json data we're given by the destination. 338 test_data = unicode2str(json.loads(TEST_DATA1)) 342 test_data = unicode2str(json.loads(TEST_DATA1)) 348 test_data = unicode2str(json.loads(TEST_DATA1)) 354 test_data = unicode2str(json.loads(TEST_DATA2)) 358 test_data = unicode2str(json.loads(TEST_DATA3))
|
/external/autotest/tko/perf_upload/ |
perf_uploader_unittest.py | 7 import json, unittest 146 """Sanity tests for the JSON-formatted presentation config file.""" 155 """Verifies the file can be parsed as proper JSON.""" 158 json.load(fp) 160 self.fail('Presentation config file could not be parsed as JSON.') 164 """Verifies that each test name appears only once in the JSON file.""" 168 json_obj = json.load(fp) 170 self.fail('Presentation config file could not be parsed as JSON.') 174 msg='Autotest names not unique in the JSON file.') 182 json_obj = json.load(fp [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
debug_alert.py | 7 import json 39 config: Config parameters for in JSON form. 79 'config_json': json.dumps(config_dict, indent=2, sort_keys=True), 80 'plot_data': json.dumps(plot_data), 81 'lookup': json.dumps(lookup), 82 'anomalies': json.dumps([c.AsDict() for c in change_points]), 123 return json.loads(input_config_json) 125 raise QueryParameterError('Invalid JSON.') 204 serialized as JSON and embedded on the page.
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/awslambda/ |
layer1.py | 24 from boto.compat import json 95 function as JSON. 133 data=json.dumps(params), headers=headers, 219 :param invoke_args: JSON that you want to provide to your Lambda 287 data=json.dumps(params), headers=headers, 321 data=json.dumps(params), headers=headers, 402 data=json.dumps(params), headers=headers, 511 body = json.loads(body)
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PhoneNumberPickerFragment.java | 36 import org.json.JSONException; 37 import org.json.JSONObject; 382 * @param lookupKey The lookup key JSON object. 386 JSONObject json = new JSONObject(lookupKey); local 388 String analyticsCategory = json.getString( 390 String analyticsAction = json.getString( 392 String analyticsValue = json.getString(
|
/prebuilts/go/darwin-x86/doc/progs/ |
error.go | 10 "encoding/json" 96 func decodeError(dec *json.Decoder, val struct{}) error { // OMIT 99 if serr, ok := err.(*json.SyntaxError); ok {
|
/prebuilts/go/linux-x86/doc/progs/ |
error.go | 10 "encoding/json" 96 func decodeError(dec *json.Decoder, val struct{}) error { // OMIT 99 if serr, ok := err.(*json.SyntaxError); ok {
|
/external/autotest/client/common_lib/perf_expectations/ |
expectation_checker.py | 43 Defaults to perf_expectations.json under the same folder 52 'perf_expectations.json')) 70 import json 72 self._expectations = json.load(expectation_file)
|
/external/autotest/client/site_tests/platform_CrosDisksFilesystem/ |
platform_CrosDisksFilesystem.py | 8 import json 98 test_configs.extend(json.load(f))
|