/external/skia/experimental/webtry/poly/ |
Gruntfile.js | 5 pkg: grunt.file.readJSON('package.json'), 6 // Install all the packages listed in the bower.json file.
|
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsUtils.java | 34 import org.json.JSONArray; 35 import org.json.JSONObject; 77 } catch (org.json.JSONException e) { 78 throw new ItsException("JSON error: ", e); 89 } catch (org.json.JSONException e) { 90 throw new ItsException("JSON error: ", e);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_check_circular.py | 1 from json.tests import PyTest, CTest
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_check_circular.py | 1 from json.tests import PyTest, CTest
|
/external/chromium_org/chrome/browser/themes/ |
browser_theme_pack_unittest.cc | 8 #include "base/json/json_file_value_serializer.h" 9 #include "base/json/json_reader.h" 96 void LoadColorJSON(const std::string& json) { 97 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 106 void LoadTintJSON(const std::string& json) { 107 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 116 void LoadDisplayPropertiesJSON(const std::string& json) { 117 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 127 void ParseImageNamesJSON(const std::string& json, 129 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 446 std::string json = "{ \\"ntp_background_alignment\\": \\"bottom\\", " local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/ |
devtools.js | 23 args: escape(JSON.stringify(Array.prototype.slice.call(arguments, 0))) 120 var json = ""; 133 json += json_part.substring(0, json_part.lastIndexOf("|")); 137 var message = JSON.parse(json); 140 Console.error("Failed to parse FirePHP log message: " + json); 142 json = "";
|
/external/chromium_org/google_apis/drive/ |
base_requests.cc | 7 #include "base/json/json_reader.h" 46 // Parse JSON string to base::Value object. 47 scoped_ptr<base::Value> ParseJsonInternal(const std::string& json) { 51 json, base::JSON_PARSE_RFC, &error_code, &error_message)); 55 if (json.size() < 80) { 56 trimmed_json = json; 61 json.substr(0, 50).c_str(), 62 base::Uint64ToString(json.size() - 60).c_str(), 63 json.substr(json.size() - 10).c_str()) [all...] |
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_message_process_host.cc | 208 void NativeMessageProcessHost::Send(const std::string& json) { 216 new net::IOBufferWithSize(json.size() + kMessageHeaderSize); 220 *reinterpret_cast<uint32*>(buffer->data()) = json.size(); 221 memcpy(buffer->data() + kMessageHeaderSize, json.data(), json.size());
|
/external/chromium_org/third_party/skia/tools/tests/ |
render_pictures_test.py | 14 import json namespace 170 TODO(epoger): This test generates undesired results! The JSON summary 181 output_json_path = os.path.join(self._output_dir, 'actuals.json') 214 output_json_path = os.path.join(self._output_dir, 'actuals.json') 257 output_json_path = os.path.join(self._output_dir, 'actuals.json') 315 output_json_path = os.path.join(self._output_dir, 'actuals.json') 361 output_json_path = os.path.join(self._output_dir, 'actuals.json') 383 output_json_path = os.path.join(self._output_dir, 'actuals.json') 417 output_json_path = os.path.join(self._output_dir, 'actuals.json') 449 output_json_path = os.path.join(self._output_dir, 'actuals.json') [all...] |
/external/chromium_org/tools/deep_memory_profiler/lib/ |
policy.py | 5 import json namespace 14 POLICIES_JSON_PATH = os.path.join(BASE_PATH, 'policies.json') 26 # POLICY_DEEP_3 is in JSON format. 261 filetype: A string to specify a type of the file. Only 'json' is 276 filetype: A string to specify a type of the file. Only 'json' is 282 if filetype == 'json': 291 """Parses policy file in json format. 305 policy = json.loads(policy_json) 360 For example, a policy "policy.l0.json" is labeled "l0" in the default 361 policy directory "policies.json" [all...] |
/external/skia/tools/tests/ |
render_pictures_test.py | 14 import json namespace 170 TODO(epoger): This test generates undesired results! The JSON summary 181 output_json_path = os.path.join(self._output_dir, 'actuals.json') 214 output_json_path = os.path.join(self._output_dir, 'actuals.json') 257 output_json_path = os.path.join(self._output_dir, 'actuals.json') 315 output_json_path = os.path.join(self._output_dir, 'actuals.json') 361 output_json_path = os.path.join(self._output_dir, 'actuals.json') 383 output_json_path = os.path.join(self._output_dir, 'actuals.json') 417 output_json_path = os.path.join(self._output_dir, 'actuals.json') 449 output_json_path = os.path.join(self._output_dir, 'actuals.json') [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/buildbot/ |
bg.js | 14 "http://chromium-status.appspot.com/allstatus?limit=20&format=json"; 39 var entries = JSON.parse(text); 134 "http://build.chromium.org/p/tryserver.chromium/json/builders/" + 143 buildbot.requestURL(tryJobURL, "json", function(tryJobResult) { 173 buildbot.requestURL(patchURL, "json", function(patch) { 209 buildbot.requestURL(issueURL, "json", function(issue) { 239 "?closed=3&commit=1&limit=100&order=-modified&format=json&owner=" + 241 buildbot.requestURL(url, "json", updateTryStatus);
|
/external/chromium_org/components/cloud_devices/tools/prototype/ |
prototype.py | 21 import json namespace 38 _API_CLIENT_FILE = 'config.json' 39 _API_DISCOVERY_FILE = 'discovery.json' 40 _DEVICE_STATE_FILE = 'device_state.json' 324 json.dump(json_obj, statefile) 333 json_obj = json.load(statefile) 445 credentials_f.write(json.dumps(credentials, sort_keys=True, 451 credentials = json.load(credentials_f) 460 'cloud-devices/v1/discovery.json') 643 return json.loads(cyphertext[len(self.key):] [all...] |
/external/chromium_org/v8/test/mjsunit/ |
debug-mirror-cache.js | 61 var json; 62 json = '{"seq":0,"type":"request","command":"backtrace"}' 63 dcp.processDebugJSONRequest(json);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ContactLoader.java | 57 import org.json.JSONArray; 58 import org.json.JSONException; 59 import org.json.JSONObject; 354 final JSONObject json = new JSONObject(jsonString); local 359 final String displayName = json.optString(Contacts.DISPLAY_NAME); 360 final String altDisplayName = json.optString( 362 final int displayNameSource = json.getInt(Contacts.DISPLAY_NAME_SOURCE); 363 final String photoUri = json.optString(Contacts.PHOTO_URI, null); 385 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); 388 final String accountType = json.getString(RawContacts.ACCOUNT_TYPE) [all...] |
/external/chromium_org/build/util/lib/common/ |
perf_tests_results_helper.py | 8 import json namespace 40 histogram = json.loads(histogram_json)
|
/external/chromium_org/chrome/browser/web_resource/ |
promo_resource_service_mobile_ntp_unittest.cc | 7 #include "base/json/json_reader.h" 43 void Init(const std::string& json, 49 base::Value* value(base::JSONReader::Read(json));
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
api_models_test.py | 6 import json namespace 23 'inspected_window.json': ReadFile( 24 CHROME_API, 'devtools', 'inspected_window.json'), 26 '_api_features.json': json.dumps({ 37 '_manifest_features.json': '{}', 38 '_permission_features.json': '{}', 40 'declarative_web_request.json': ReadFile( 41 CHROME_API, 'declarative_web_request.json'), 42 'input_ime.json': ReadFile(CHROME_API, 'input_ime.json') [all...] |
content_providers_test.py | 6 import json namespace 59 'json': { 60 'content_providers.json': json.dumps(_CONTENT_PROVIDERS),
|
subversion_file_system_test.py | 6 import json namespace 67 child_versions=json.loads(ReadFile( 68 SERVER2, 'test_data', 'file_system', 'stat_result.json')))
|
/external/chromium_org/components/cronet/android/ |
org_chromium_net_UrlRequestContext.cc | 11 #include "base/json/json_reader.h" 82 DLOG(ERROR) << "Bad JSON: " << config_string; 129 // Gets current statistics with |filter| as a substring as JSON text (an empty 133 std::string json = base::StatisticsRecorder::ToJSON(query); local 134 return base::android::ConvertUTF8ToJavaString(env, json).Release();
|
/external/chromium_org/components/domain_reliability/ |
config.cc | 14 #include "base/json/json_reader.h" 15 #include "base/json/json_value_converter.h" 94 const base::StringPiece& json) { 95 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 99 // If we can parse and convert the JSON into a valid config, return that.
|
/external/chromium_org/content/test/ |
mock_google_streaming_server.cc | 115 std::string json = local 117 SimulateServerResponse(true, json);
|
/external/chromium_org/remoting/webapp/ |
error.js | 11 * @enum {string} All error messages from messages.json
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/ |
print_layout_test_times.py | 29 import json namespace 36 parser = optparse.OptionParser(usage='%prog [times_ms.json]') 61 times_ms_path = host.filesystem.join(port.results_directory(), 'times_ms.json') 63 times_trie = json.loads(host.filesystem.read_text_file(times_ms_path))
|