/external/autotest/frontend/afe/json_rpc/ |
proxy.py | 26 from json import decoder 28 from json import encoder as json_encoder 32 # Try to upgrade to the Django JSON encoder. It uses the standard json encoder 44 from django.core.serializers import json as django_encoder 111 raise JSONRPCException('Error decoding JSON reponse:\n' + respdata)
|
/external/autotest/frontend/client/src/autotest/afe/ |
JobOwnerFilter.java | 12 import com.google.gwt.json.client.JSONArray; 13 import com.google.gwt.json.client.JSONString; 14 import com.google.gwt.json.client.JSONValue;
|
HostTable.java | 6 import com.google.gwt.json.client.JSONObject;
|
/external/autotest/frontend/client/src/autotest/moblab/ |
KeyUploadView.java | 11 import com.google.gwt.json.client.JSONObject; 12 import com.google.gwt.json.client.JSONString; 13 import com.google.gwt.json.client.JSONValue;
|
/external/autotest/frontend/client/src/autotest/tko/ |
ParameterizedField.java | 5 import com.google.gwt.json.client.JSONArray; 6 import com.google.gwt.json.client.JSONObject; 7 import com.google.gwt.json.client.JSONString;
|
Plot.java | 11 import com.google.gwt.json.client.JSONObject; 12 import com.google.gwt.json.client.JSONString; 13 import com.google.gwt.json.client.JSONValue; 67 jsonObjectParams = @com.google.gwt.json.client.JSONObject::new(Lcom/google/gwt/core/client/JavaScriptObject;)(params); 68 instance.@autotest.tko.Plot::refresh(Lcom/google/gwt/json/client/JSONObject;)(jsonObjectParams);
|
PreconfigSelector.java | 11 import com.google.gwt.json.client.JSONObject; 12 import com.google.gwt.json.client.JSONString; 13 import com.google.gwt.json.client.JSONValue;
|
/external/autotest/frontend/shared/ |
json_html_formatter.py | 32 import json 38 <title>JSON output</title> 42 <div id="json"> 62 # Convert a basic JSON datatype (number, string, boolean, null, object, 99 return href + joiner + 'alt=json-html' 102 # Convert a JSON object to an HTML fragment 125 # Convert a whole JSON object into a formatted HTML document. 132 if response['Content-type'] != 'application/json': 134 if request.GET.get('alt', None) != 'json-html': 137 json_value = json.loads(response.content [all...] |
/external/autotest/server/cros/ |
sonic_extension_downloader.py | 7 import json 67 """Modifies the manifest.json to include a public key. 76 'manifest.json') 78 manifest_json = json.loads(f.read()) 83 f.write(json.dumps(manifest_json)) 90 manifest.json to include a public key.
|
/external/autotest/server/site_tests/android_ACTS/ |
android_ACTS.py | 6 import json 92 configs = json.load(f) 95 # Load summary json file. 98 'test_run_summary.json') 100 results = json.load(f)['Results']
|
/external/autotest/site_utils/ |
team_extract.py | 10 import json 25 parser.add_option('-o', '--output-file', help='output file (json)', 26 dest='outputfile', default="kernel-team.json") 75 """Write output in json format.""" 77 json.dump(extracted, f) 82 """Read the json file and format-print its contents as a test.""" 84 team_list = json.load(f)
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
edit_test_owners.py | 7 import json 75 """Returns json list of owner data for a user.""" 83 return json.dumps(results) 86 """Returns json list of all owner data.""" 100 return json.dumps(results)
|
list_monitored_tests_test.py | 5 import json 51 json.loads(response.body)) 61 self.assertEqual([], json.loads(response.body))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
dynamodb_load | 7 from boto.compat import json 27 """Lazily load newline-separated JSON objects from a file-like object.""" 39 # Try to decode a JSON object. 40 json_object = json.loads(buffer.strip()) 49 # We couldn't decode a complete JSON object: load more lines. 79 metadata = json.load(meta_fd)
|
/external/chromium-trace/catapult/tracing/tracing_build/ |
trace2html.py | 9 import json 90 # If the object was previously decoded from valid JSON data (e.g., in 91 # WriteHTMLForTracesToFile), it will be a JSON object at this point and we 95 trace_data = json.dumps(trace_data) 96 mime_type = 'application/json' 110 trace_data = json.loads(trace_data)
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
JsonWireAdapter.java | 17 package com.google.polo.wire.json; 20 import com.google.polo.json.JSONException; 21 import com.google.polo.json.JSONObject; 35 * A {@link PoloWireInterface} which uses JavaScript Object Notation (JSON) for 40 * message is JSON.
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/scenario/ |
Scenario.py | 29 import json 96 # Parsing of Json test file 98 scenarioActions = json.load(scenarioFile) 105 scenarioGatheredActions = json.load(actionGathererFile)
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
StatementParser.java | 21 import org.json.JSONArray; 22 import org.json.JSONException; 23 import org.json.JSONObject; 31 * Utility class that parses JSON-formatted statements. 39 * Parses a JSON array of statements. 55 // The element in the array is well formatted Json but not a well-formed Statement. 67 * Parses a single JSON statement. 77 * Parses a single JSON statement. This method guarantees that exactly one JSON object
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
InstallShortcutReceiver.java | 38 import org.json.JSONException; 39 import org.json.JSONObject; 40 import org.json.JSONStringer; 41 import org.json.JSONTokener; 327 JSONStringer json = new JSONStringer() local 333 json = json.key(ICON_KEY).value( 338 json = json.key(ICON_RESOURCE_NAME_KEY).value(iconResource.resourceName); 339 json = json.key(ICON_RESOURCE_PACKAGE_NAME_KEY [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_recursion.py | 1 from json.tests import PyTest, CTest 47 class RecursiveJSONEncoder(self.json.JSONEncoder): 98 class EndlessJSONEncoder(self.json.JSONEncoder):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_recursion.py | 1 from json.tests import PyTest, CTest 47 class RecursiveJSONEncoder(self.json.JSONEncoder): 98 class EndlessJSONEncoder(self.json.JSONEncoder):
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Skin.java | 41 import com.badlogic.gdx.utils.Json;
42 import com.badlogic.gdx.utils.Json.ReadOnlySerializer;
51 * be looked up by name and type. Resources can be described in JSON. Skin provides useful conversions, such as allowing access to
65 /** Creates a skin containing the resources in the specified skin JSON file. If a file in the same directory with a ".atlas"
78 /** Creates a skin containing the resources in the specified skin JSON file and the texture regions from the specified atlas.
93 /** Adds all resources in the specified skin JSON file. */
420 protected Json getJsonLoader (final FileHandle skinFile) {
423 final Json json = new Json() {
local [all...] |
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
DynamicConfigHandler.java | 19 import org.json.JSONArray; 20 import org.json.JSONException; 21 import org.json.JSONObject; 22 import org.json.JSONTokener;
|
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/ |
UserTest.java | 22 import org.json.JSONObject;
|
/external/autotest/client/common_lib/cros/ |
interactive_xmlrpc_server.py | 8 import json 56 # JSON does a better job of escaping HTML for JavaScript than we could 58 html_escaped = json.dumps(html) 76 # JSON does a better job of escaping HTML for JavaScript than we could 78 html_escaped = json.dumps(html) 178 # JSON does a better job of escaping HTML for JavaScript than we could 200 # JSON does a better job of escaping HTML for JavaScript than we could 202 html_escaped = json.dumps(html)
|