HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 76 - 100 of 1255) sorted by null

1 2 34 5 6 7 8 91011>>

  /packages/apps/Email/tests/src/com/android/emailcommon/provider/
AccountTest.java 22 import org.json.JSONException;
23 import org.json.JSONObject;
29 final JSONObject json = new JSONObject(); local
30 json.put(EmailContent.AccountColumns.DISPLAY_NAME, "David Hasselhoff");
31 json.put(EmailContent.AccountColumns.EMAIL_ADDRESS, "dhoff@example.com");
32 json.put(EmailContent.AccountColumns.SYNC_LOOKBACK, 42);
33 json.put(EmailContent.AccountColumns.SYNC_INTERVAL, 99);
34 json.put(Account.JSON_TAG_HOST_AUTH_RECV, getHostAuthJSON("receiver", "recpass").toJson());
35 json.put(Account.JSON_TAG_HOST_AUTH_SEND, getHostAuthJSON("send", "sendpass").toJson());
36 json.put(EmailContent.AccountColumns.FLAGS, 22)
    [all...]
  /external/chromium_org/gpu/config/
gpu_control_list_entry_unittest.cc 5 #include "base/json/json_reader.h"
32 const std::string& json, bool supports_feature_type_all) {
34 root.reset(base::JSONReader::Read(json));
48 static ScopedEntry GetEntryFromString(const std::string& json) {
49 return GetEntryFromString(json, false);
72 const std::string json = LONG_STRING_CONST( local
97 ScopedEntry entry(GetEntryFromString(json));
116 const std::string json = LONG_STRING_CONST( local
125 ScopedEntry entry(GetEntryFromString(json));
141 const std::string json = LONG_STRING_CONST local
170 const std::string json = LONG_STRING_CONST( local
202 const std::string json = LONG_STRING_CONST( local
235 const std::string json = LONG_STRING_CONST( local
267 const std::string json = LONG_STRING_CONST( local
293 const std::string json = LONG_STRING_CONST( local
321 const std::string json = LONG_STRING_CONST( local
335 const std::string json = LONG_STRING_CONST( local
349 const std::string json = LONG_STRING_CONST( local
367 const std::string json = LONG_STRING_CONST( local
381 const std::string json = LONG_STRING_CONST( local
412 const std::string json = LONG_STRING_CONST( local
443 const std::string json = LONG_STRING_CONST( local
474 const std::string json = LONG_STRING_CONST( local
502 const std::string json = LONG_STRING_CONST( local
525 const std::string json = LONG_STRING_CONST( local
561 const std::string json = LONG_STRING_CONST( local
584 const std::string json = LONG_STRING_CONST( local
611 const std::string json = LONG_STRING_CONST( local
629 const std::string json = LONG_STRING_CONST( local
647 const std::string json = LONG_STRING_CONST( local
666 const std::string json = LONG_STRING_CONST( local
681 const std::string json = LONG_STRING_CONST( local
704 const std::string json = LONG_STRING_CONST( local
727 const std::string json = LONG_STRING_CONST( local
759 const std::string json = LONG_STRING_CONST( local
797 const std::string json = LONG_STRING_CONST( local
822 const std::string json = LONG_STRING_CONST( local
848 const std::string json = LONG_STRING_CONST( local
865 const std::string json = LONG_STRING_CONST( local
879 const std::string json = LONG_STRING_CONST( local
894 const std::string json = LONG_STRING_CONST( local
916 const std::string json = LONG_STRING_CONST( local
973 const std::string json = LONG_STRING_CONST( local
1014 const std::string json = LONG_STRING_CONST( local
1041 const std::string json = LONG_STRING_CONST( local
1205 const std::string json = LONG_STRING_CONST( local
1227 const std::string json = LONG_STRING_CONST( local
1248 const std::string json = LONG_STRING_CONST( local
1270 const std::string json = LONG_STRING_CONST( local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Account.java 41 import org.json.JSONArray;
42 import org.json.JSONException;
43 import org.json.JSONObject;
263 JSONObject json = new JSONObject(); local
265 json.put(AccountColumns.NAME, displayName);
266 json.put(AccountColumns.TYPE, type);
267 json.put(AccountColumns.SENDER_NAME, senderName);
268 json.put(AccountColumns.ACCOUNT_MANAGER_NAME, accountManagerName);
269 json.put(AccountColumns.ACCOUNT_ID, accountId);
270 json.put(AccountColumns.PROVIDER_VERSION, providerVersion)
360 final JSONObject json = new JSONObject(serializedAccount); local
    [all...]
Settings.java 37 import org.json.JSONException;
38 import org.json.JSONObject;
87 // ask viki to replace the above two members with a single JSON object representing the default
203 private Settings(JSONObject json) {
204 signature = json.optString(SettingsColumns.SIGNATURE, sDefault.signature);
205 mAutoAdvance = json.optInt(SettingsColumns.AUTO_ADVANCE, sDefault.getAutoAdvanceSetting());
206 snapHeaders = json.optInt(SettingsColumns.SNAP_HEADERS, sDefault.snapHeaders);
207 replyBehavior = json.optInt(SettingsColumns.REPLY_BEHAVIOR, sDefault.replyBehavior);
208 convListIcon = json.optInt(SettingsColumns.CONV_LIST_ICON, sDefault.convListIcon);
209 confirmDelete = json.optBoolean(SettingsColumns.CONFIRM_DELETE, sDefault.confirmDelete)
238 final JSONObject json = toJSON(); local
252 final JSONObject json = new JSONObject(); local
    [all...]
  /external/chromium_org/ui/base/webui/
jstemplate_builder.h 10 // - given a json data object, run the jstemplate javascript which fills in
44 const base::DictionaryValue* json,
52 const base::DictionaryValue* json);
59 const base::DictionaryValue* json,
65 // Appends a script tag with a variable name |templateData| that has the JSON
67 UI_BASE_EXPORT void AppendJsonHtml(const base::DictionaryValue* json,
72 UI_BASE_EXPORT void AppendJsonJS(const base::DictionaryValue* json,
78 // Appends the code that processes the JsTemplate with the JSON. You should
87 // Appends the code that processes the i18n Template with the JSON. You
jstemplate_builder.cc 10 #include "base/json/json_file_value_serializer.h"
11 #include "base/json/json_string_value_serializer.h"
36 const base::DictionaryValue* json,
39 AppendJsonHtml(json, &output);
46 const base::DictionaryValue* json) {
48 AppendJsonHtml(json, &output);
55 const base::DictionaryValue* json,
60 AppendJsonHtml(json, &output);
66 void AppendJsonHtml(const base::DictionaryValue* json, std::string* output) {
68 AppendJsonJS(json, &javascript_string)
    [all...]
  /external/chromium_org/tools/sheriffing/
buildinfo.js 6 function BuildInfo(json) {
9 if (json.currentStep) {
10 statusText = 'running ' + json.currentStep.name;
12 statusText = json.text.join(' ');
33 var failures = (state == 'failed') ? this.parseFailures(json) : null;
35 this.number = json.number;
43 BuildInfo.prototype.parseFailures = function(json) {
44 var revisionRange = this.getRevisionRange(json);
48 var botName = json.builderName;
49 for (var i = 0; i < json.steps.length; ++i)
    [all...]
  /external/chromium_org/build/android/pylib/device/
device_blacklist.py 5 import json namespace
13 'bad_devices.json')
30 return json.load(f)
41 json.dump(list(set(blacklist)), f)
  /external/chromium_org/remoting/base/
vlog_net_log.cc 7 #include "base/json/json_writer.h"
37 std::string json; local
38 base::JSONWriter::Write(value.get(), &json);
39 VLOG(4) << json;
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/
generate_supported_css.py 31 import simplejson as json namespace
33 import json namespace
55 f.write("WebInspector.CSSMetadata.initializeWithSupportedProperties(%s);" % json.dumps(properties))
concatenate_module_descriptors.py 7 """Inlines all module.json files into "var allDescriptors" in Runtime.js."""
16 import simplejson as json namespace
18 import json namespace
34 module_json = json.loads(read_file(json_filename))
42 return json.dumps(result)
  /external/chromium_org/chrome/test/chromedriver/chrome/
dom_tracker.cc 9 #include "base/json/json_writer.h"
45 std::string json; local
46 base::JSONWriter::Write(nodes, &json);
48 "DOM.setChildNodes has invalid 'nodes': " + json);
56 std::string json; local
57 base::JSONWriter::Write(node, &json);
59 "DOM.childNodeInserted has invalid 'node': " + json);
log.cc 7 #include "base/json/json_reader.h"
8 #include "base/json/json_writer.h"
86 std::string json; local
88 &value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json);
90 base::RemoveChars(json, "\r", &json);
93 if (json.length())
94 json.resize(json.length() - 1);
95 return json;
    [all...]
  /external/chromium_org/tools/deep_memory_profiler/visualizer/
services.py 9 import json namespace
16 """Profiler entity to store json data. Use run_id as its key.
17 Json data will be stored at blobstore, but can be referred by BlobKey."""
30 json_obj = json.loads(json_str)
54 json_obj = json.loads(json_str)
65 content_str = json.dumps(content)
79 content_str = json.dumps(content)
93 return json.dumps(template.content)
  /external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/
uninstall_host.sh 24 rm $TARGET_DIR/com.google.chrome.example.echo.json
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
jsonchecker.py 23 """Checks WebKit style for JSON files."""
25 import json namespace
30 """Processes JSON lines for checking style."""
32 categories = set(('json/syntax',))
40 json.loads('\n'.join(lines) + '\n')
42 self._handle_style_error(self.line_number_from_json_exception(e), 'json/syntax', 5, str(e))
  /external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/
adb 15 import json namespace
22 # Load the dictionary of expected_cmd -> planned_response from the json file
25 responses = json.load(f)
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
tracing_backend_unittest.py 6 import json namespace
50 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, []))
55 j = json.loads(v)
60 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, [
67 j = json.loads(v)
72 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, [
80 j = json.loads(v)
86 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, [
  /external/chromium_org/tools/telemetry/telemetry/value/
histogram_util.py 12 import json namespace
27 Both parameters and the returned result are json serializations.
29 start_histogram = json.loads(start_histogram_json)
35 histogram = json.loads(histogram_json)
60 return json.dumps(histogram)
66 The parameter is a list of json serializations and the returned result is a
67 json serialization too.
75 h = json.loads(histogram_json)
86 return json.dumps(result_histogram)
90 """Get a json serialization of a histogram.""
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/web_components/
results_viewer.py 5 import json namespace
20 json.dump(self.data_to_view, f)
  /frameworks/opt/bluetooth/src/android/bluetooth/client/map/
BluetoothMapBmessage.java 21 import org.json.JSONException;
22 import org.json.JSONObject;
156 JSONObject json = new JSONObject(); local
159 json.put("status", mBmsgStatus);
160 json.put("type", mBmsgType);
161 json.put("folder", mBmsgFolder);
162 json.put("message", mMessage);
167 return json.toString();
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
PackageInstallerCompatV16.java 26 import org.json.JSONException;
27 import org.json.JSONObject;
28 import org.json.JSONStringer;
29 import org.json.JSONTokener;
91 final String json = mPrefs.getString(packageName, null); local
92 if (!TextUtils.isEmpty(json)) {
93 updates.add(infoFromJson(packageName, json));
144 private static PackageInstallInfo infoFromJson(String packageName, String json) {
147 JSONObject object = (JSONObject) new JSONTokener(json).nextValue();
159 JSONStringer json = new JSONStringer( local
    [all...]
  /external/chromium_org/third_party/libaddressinput/src/cpp/src/
rule.cc 30 #include "util/json.h"
163 Json json; local
164 if (!json.ParseObject(serialized_rule)) {
167 ParseJsonRule(json);
171 void Rule::ParseJsonRule(const Json& json) {
173 if (json.GetStringValueForKey("id", &value)) {
177 if (json.GetStringValueForKey("fmt", &value)) {
181 if (json.GetStringValueForKey("lfmt", &value))
    [all...]
  /external/chromium_org/build/
env_dump.py 7 # it, or just simply dump the current environment as JSON into a file.
9 import json namespace
19 parser.add_option('-f', '--output-json',
20 help='File to dump the environment as JSON into.')
29 parser.error('Cannot specify args or --output-json with --dump-mode.')
30 json.dump(dict(os.environ), sys.stdout)
33 parser.error('Requires --output-json option.')
46 new_env = json.loads(output)
52 json.dump(env_diff, f)
  /external/chromium_org/chrome/common/extensions/docs/server2/
permissions_data_source_test.py 6 import json namespace
19 # permissions.json file.
24 # since the entry appears in _api_features.json.
28 # This won't appear for anything since there's no entry in permissions.json
134 '_api_features.json': json.dumps(_API_FEATURES),
135 '_manifest_features.json': '{}',
136 '_permission_features.json': json.dumps(_PERMISSION_FEATURES),
140 'json':
    [all...]

Completed in 1253 milliseconds

1 2 34 5 6 7 8 91011>>