/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
SimpleWikiHelper.java | 25 import org.json.JSONArray; 26 import org.json.JSONException; 27 import org.json.JSONObject; 56 "rvprop=content&format=json%s"; 147 // Drill into the JSON response to find the content body
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
SimpleWikiHelper.java | 25 import org.json.JSONArray; 26 import org.json.JSONException; 27 import org.json.JSONObject; 63 "rvprop=content&format=json%s"; 154 // Drill into the JSON response to find the content body
|
/external/chromium_org/android_webview/browser/ |
aw_dev_tools_manager_delegate.cc | 9 #include "base/json/json_writer.h" 94 std::string json; local 95 base::JSONWriter::Write(&description, &json); 96 return json;
|
/external/chromium_org/chrome/browser/extensions/api/permissions/ |
permissions_api_helpers.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 53 std::string json; local 54 base::JSONWriter::Write(value.get(), &json); 55 permissions->permissions->push_back(name + kDelimiter + json);
|
/external/chromium_org/chrome/browser/local_discovery/ |
privetv3_session.cc | 7 #include "base/json/json_writer.h" 130 std::string json; local 132 &request->GetInput(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &json); 133 url_fetcher->SetUploadData(cloud_print::kContentTypeJSON, json);
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
extension_settings_helper.cc | 8 #include "base/json/json_writer.h" 33 std::string json; local 36 &json); 37 return json;
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
manifest_data_source.py | 6 import json namespace 27 '''To display json in examples more clearly, convert the example of 33 feature['example'] = json.dumps(feature['example']) 47 example = json.dumps(value['example'])
|
/external/chromium_org/content/browser/devtools/ |
devtools_protocol.h | 164 const std::string& json, 168 const std::string& json, 184 const std::string& json);
|
/external/chromium_org/content/child/webcrypto/test/ |
test_helpers.h | 75 // Helpers for working with JSON data files for test expectations. 79 // The file must be JSON, however it can also include C++ style comments. 139 // Parses a vector of JSON into a dictionary. 141 const std::vector<uint8_t>& json); 152 const std::vector<uint8_t>& json, 157 // Verifies that the JSON in the input vector contains the provided 160 const std::vector<uint8_t>& json,
|
/external/chromium_org/net/data/ssl/scripts/ |
crlsetutil.py | 7 This utility takes a JSON input that describes a CRLSet and produces a 29 import json namespace 163 config = json.load(sys.stdin) 179 header = json.dumps(header_json)
|
/external/chromium_org/net/tools/dns_fuzz_stub/ |
dns_fuzz_stub.cc | 13 #include "base/json/json_reader.h" 55 std::string json; local 56 if (!base::ReadFileToString(filepath, &json)) { 61 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 63 LOG(ERROR) << filename << ": couldn't parse JSON.";
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
HostListLoader.java | 12 import org.json.JSONArray; 13 import org.json.JSONException; 14 import org.json.JSONObject; 42 /** Path from which to download a user's host list JSON object. */
|
/external/chromium_org/remoting/host/ |
pairing_registry_delegate_win_unittest.cc | 80 base::DictionaryValue* json; local 81 EXPECT_TRUE(pairings->GetDictionary(0, &json)); 82 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2);
|
/external/chromium_org/sync/internal_api/public/engine/ |
model_safe_worker.cc | 8 #include "base/json/json_writer.h" 29 std::string json; local 30 base::JSONWriter::Write(dict.get(), &json); 31 return json;
|
/external/chromium_org/sync/internal_api/public/sessions/ |
sync_session_snapshot.cc | 7 #include "base/json/json_writer.h" 105 std::string json; local 108 &json); 109 return json;
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
concatenate_application_code.py | 8 Concatenates autostart modules, application modules' module.json descriptors, 21 import simplejson as json namespace 23 import json namespace 64 output.write('/* Application descriptor %s */\n' % (application_name + '.json')) 69 output.write(json.dumps(descriptors.modules.values())) 104 descriptors = loader.load_application(application_name + '.json')
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
print-json-test-results | 2 import json namespace 12 parser = optparse.OptionParser(usage='%prog [path-to-results.json]') 38 txt = host.filesystem.read_text_file(host.filesystem.join(host.port_factory.get(options=options).results_directory(), 'full_results.json')) 42 results = json.loads(txt) 60 results = json.loads(txt)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/ |
reflectionhandler.py | 35 import json namespace 70 return json.loads(self.read_entity_body()) 119 self.send_header('Content-type', 'application/json') 121 json.dump(json_object, self.wfile)
|
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/ |
APPRTCAppClient.m | 64 [[url absoluteString] stringByAppendingString:@"&t=json"]; 127 [self logVerbose:[NSString stringWithFormat:@"Room JSON:\n%@", roomJSON]]; 141 [self logVerbose:[NSString stringWithFormat:@"PCConfig JSON:\n%@", 169 NSDictionary* json = 172 return json; 228 // TODO(tkchin): figure out json formats for optional constraints. 258 NSDictionary* json = [self parseJSONData:responseData]; 259 NSString* username = json[@"username"]; 260 NSString* password = json[@"password"]; 261 NSArray* uris = json[@"uris"] [all...] |
/external/chromium_org/tools/findit/ |
chromium_deps.py | 6 import json namespace 16 CONFIG = json.loads(open(os.path.join(_THIS_DIR, 17 'deps_config.json'), 'r').read()) 126 cr_rev_data = json.loads(content)
|
/external/chromium_org/tools/profile_chrome/ |
trace_packager.py | 6 import json namespace 50 # Try to detect a JSON file cheaply since that's all we can merge. 55 json_data = json.load(f) 72 json.dump(merged_data, f)
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
monsoon_power_monitor.py | 5 import json namespace 43 json.dump(result, output) 113 result = json.loads(powermonitor_output)
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_set_archive_info_unittest.py | 4 import json namespace 40 self.page_set_archive_info_file = os.path.join(self.tmp_dir, 'info.json') 94 archive_file_contents = json.load(f) 143 archive_data_file": "new_archive_info.json", 151 page_set_file = os.path.join(self.tmp_dir, 'new_page_set.json') 156 'new_archive_info.json')
|
/external/chromium_org/tools/telemetry/telemetry/results/ |
html_output_formatter.py | 6 import json namespace 26 _UNIT_JSON = ('tools', 'perf', 'unit-info.json') 31 # based on JSON anyway. 79 '^<script id="results-json" type="application/json">(.*?)</script>$', 84 return json.loads(m.group(1))[:512] 120 html = html.replace('%json_results%', json.dumps(self.GetCombinedResults()))
|
/external/jsoncpp/src/test_lib_json/ |
jsontest.h | 9 # include <json/config.h> 10 # include <json/value.h> 11 # include <json/writer.h> 103 TestResult &operator << ( Json::Int64 value ); 104 TestResult &operator << ( Json::UInt64 value );
|