/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
AlertDialogTask.java | 33 import org.json.JSONArray; 34 import org.json.JSONException;
|
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson.cc | 667 template <typename T> bool VkTypeFromJson(const std::string& json, 671 cJSON* object = cJSON_Parse(json.c_str()); 688 bool VkJsonInstanceFromJson(const std::string& json, 691 return VkTypeFromJson(json, instance, errors); 698 bool VkJsonDeviceFromJson(const std::string& json, 701 return VkTypeFromJson(json, device, errors); 709 bool VkJsonImageFormatPropertiesFromJson(const std::string& json, 712 return VkTypeFromJson(json, properties, errors);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/ |
CardExampleFragment.java | 110 String json = Utils local 112 CardRow[] rows = new Gson().fromJson(json, CardRow[].class);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
DetailViewExampleFragment.java | 67 // Load the card we want to display from a JSON resource. This JSON data could come from 69 String json = Utils local 71 DetailedCard data = new Gson().fromJson(json, DetailedCard.class);
|
/packages/apps/Email/provider_src/com/android/email/ |
Preferences.java | 27 import org.json.JSONArray; 28 import org.json.JSONException;
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
OAuthAuthenticator.java | 23 import org.json.JSONException; 24 import org.json.JSONObject; 185 LogUtils.e(TAG, e, "Invalid JSON"); 187 throw new MessagingException("Invalid JSON", e);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
FilterStackSource.java | 147 String json = new String(b); local 150 preset.readJsonFromString(json);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestClient.java | 41 import org.json.JSONArray; 42 import org.json.JSONException; 119 /* Goto http://www.google.com/complete/search?json=true&q=foo 120 * to see what the data format looks like. It's basically a json
|
/prebuilts/go/darwin-x86/src/cmd/vet/whitelist/ |
whitelist.go | 25 "encoding/json.RawMessage": true,
|
/prebuilts/go/darwin-x86/src/encoding/json/ |
encode.go | 5 // Package json implements encoding and decoding of JSON objects as defined in 6 // RFC 4627. The mapping between JSON objects and Go values is described 9 // See "JSON and Go" for an introduction to this package: 11 package json package 28 // Marshal returns the JSON encoding of v. 33 // to produce JSON. The nil pointer exception is not strictly necessary 39 // Boolean values encode as JSON booleans. 41 // Floating point, integer, and Number values encode as JSON numbers. 43 // String values encode as JSON strings coerced to valid UTF-8 [all...] |
/prebuilts/go/darwin-x86/test/bench/go1/ |
template_test.go | 19 // json.Marshal, making it easy to test for correctness.
|
/prebuilts/go/linux-x86/src/cmd/vet/whitelist/ |
whitelist.go | 25 "encoding/json.RawMessage": true,
|
/prebuilts/go/linux-x86/src/encoding/json/ |
encode.go | 5 // Package json implements encoding and decoding of JSON objects as defined in 6 // RFC 4627. The mapping between JSON objects and Go values is described 9 // See "JSON and Go" for an introduction to this package: 11 package json package 28 // Marshal returns the JSON encoding of v. 33 // to produce JSON. The nil pointer exception is not strictly necessary 39 // Boolean values encode as JSON booleans. 41 // Floating point, integer, and Number values encode as JSON numbers. 43 // String values encode as JSON strings coerced to valid UTF-8 [all...] |
/prebuilts/go/linux-x86/test/bench/go1/ |
template_test.go | 19 // json.Marshal, making it easy to test for correctness.
|
/prebuilts/tools/common/m2/repository/com/google/auth/google-auth-library-oauth2-http/0.3.0/ |
google-auth-library-oauth2-http-0.3.0.jar | |
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
build_and_run.sh | 60 CONTROLLER_PROPERTIES=controller_properties.json
|
/system/weaved/buffet/ |
binder_command_proxy_unittest.cc | 45 MATCHER_P(EqualToJson, json, "") { 46 auto json_value = CreateDictionaryValue(json);
|
/system/webservd/webservd/ |
config_unittest.cc | 170 EXPECT_EQ(brillo::errors::json::kDomain, error->GetDomain()); 171 EXPECT_EQ(brillo::errors::json::kObjectExpected, error->GetCode()); 172 EXPECT_EQ("Protocol handler definition must be a JSON object",
|
/external/autotest/frontend/client/src/autotest/afe/ |
AfeUtils.java | 14 import com.google.gwt.json.client.JSONArray; 15 import com.google.gwt.json.client.JSONBoolean; 16 import com.google.gwt.json.client.JSONObject; 17 import com.google.gwt.json.client.JSONString; 18 import com.google.gwt.json.client.JSONValue;
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
start_try_job.py | 9 import json 83 "prefill-info": Returns JSON with some info to fill into the form. 93 This end-point should always output valid JSON with different contents 99 self.response.out.write(json.dumps({'error': message})) 113 self.response.write(json.dumps(result)) 142 config_python_string = 'config = %s\n' % json.dumps( 175 config_python_string = 'config = %s\n' % json.dumps( 249 """Fills in a JSON response with the filled-in config file. 339 """Fills in a JSON response with the filled-in config file.
|
/external/chromium-trace/catapult/experimental/buildbot/ |
buildbot.py | 7 import json 34 url = '%s/%s/json/%s' % (BASE_URL, master, url) 37 return json.load(urllib2.urlopen(url)) 41 return json.load(urllib2.urlopen(url)) 308 elif link_name == 'json.output': 417 data = json.load(urllib2.urlopen(self.results_link)) 421 data = json.load(urllib2.urlopen(self.results_link))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
protojson_test.py | 85 """Test JSON encoding and decoding.""" 90 """JSON encoding will be laundered to remove string differences.""" 161 This is necessary because JSON outputs integers for numbers with 0 decimals. 256 """Test error when string is not valid JSON.""" 258 protojson.decode_message, MyMessage, '{this is not json}') 264 the default behavior of the JSON encoder is preserved when someone tries to 453 """Test loading various implementations of json.""" 480 self.json = sys.modules.pop('json', None) 483 if 'json' in name [all...] |
/external/v8/test/mjsunit/regress/ |
cross-script-vars.js | 8 var json; 10 json = JSON.stringify(desc); 12 json = "<no such property>"; 15 print(json); 17 print(s + ": " + json);
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
pkg.go | 32 Dir string `json:",omitempty"` // directory containing package sources 33 ImportPath string `json:",omitempty"` // import path of package in dir 34 ImportComment string `json:",omitempty"` // path in import comment on package statement 35 Name string `json:",omitempty"` // package name 36 Doc string `json:",omitempty"` // package documentation string 37 Target string `json:",omitempty"` // install path 38 Shlib string `json:",omitempty"` // the shared library that contains this package (only set when -linkshared) 39 Goroot bool `json:",omitempty"` // is this package found in the Go root? 40 Standard bool `json:",omitempty"` // is this package part of the standard Go library? 41 Stale bool `json:",omitempty"` // would 'go install' do anything for this package [all...] |
/prebuilts/go/linux-x86/src/cmd/go/ |
pkg.go | 32 Dir string `json:",omitempty"` // directory containing package sources 33 ImportPath string `json:",omitempty"` // import path of package in dir 34 ImportComment string `json:",omitempty"` // path in import comment on package statement 35 Name string `json:",omitempty"` // package name 36 Doc string `json:",omitempty"` // package documentation string 37 Target string `json:",omitempty"` // install path 38 Shlib string `json:",omitempty"` // the shared library that contains this package (only set when -linkshared) 39 Goroot bool `json:",omitempty"` // is this package found in the Go root? 40 Standard bool `json:",omitempty"` // is this package part of the standard Go library? 41 Stale bool `json:",omitempty"` // would 'go install' do anything for this package [all...] |