HomeSort by relevance Sort by last modified time
    Searched refs:jsonObject (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/v8/test/webkit/resources/
JSON-stringify.js 44 result.push(function(jsonObject){
45 return jsonObject.stringify(1);
47 result.push(function(jsonObject){
48 return jsonObject.stringify(1.5);
50 result.push(function(jsonObject){
51 return jsonObject.stringify(-1);
53 result.push(function(jsonObject){
54 return jsonObject.stringify(-1.5);
56 result.push(function(jsonObject){
57 return jsonObject.stringify(null)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsLayerDebugInfo.cpp 39 RefPtr<JSONObject> jsonObject = JSONObject::create();
40 appendLayoutRects(jsonObject.get());
41 appendCompositingReasons(jsonObject.get());
42 appendDebugName(jsonObject.get());
43 appendOwnerNodeId(jsonObject.get());
44 *out = jsonObject->toJSONString();
63 void GraphicsLayerDebugInfo::appendLayoutRects(JSONObject* jsonObject) cons
    [all...]
  /frameworks/av/drm/mediadrm/plugins/clearkey/
JsonWebKey.h 50 bool findKey(const String8& jsonObject, String8* keyId,
53 bool isJsonWebKeySet(const String8& jsonObject) const;
54 bool parseJsonObject(const String8& jsonObject, Vector<String8>* tokens);
JsonWebKey.cpp 132 bool JsonWebKey::findKey(const String8& jsonObject, String8* keyId,
138 if (jsonObject.find(kKeyTypeTag) >= 0) {
144 if (jsonObject.find(kKeyIdTag) >= 0) {
148 if (jsonObject.find(kKeyTag) >= 0) {
170 bool JsonWebKey::isJsonWebKeySet(const String8& jsonObject) const {
171 if (jsonObject.find(kKeysTag) == -1) {
183 bool JsonWebKey::parseJsonObject(const String8& jsonObject,
189 jsonObject.string(), jsonObject.size(), NULL, 0);
200 int status = jsmn_parse(&parser, jsonObject.string()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
InspectorDatabaseResource.cpp 61 RefPtr<TypeBuilder::Database::Database> jsonObject = TypeBuilder::Database::Database::create()
66 frontend->addDatabase(jsonObject);
  /external/chromium_org/remoting/webapp/
gnubby_auth_handler.js 68 * @param {Object} jsonObject The JSON object to send to the gnubbyd extension.
73 function(jsonObject, callback) {
78 jsonObject,
79 onGnubbydDevReply_.bind(this, jsonObject, callback));
86 * @param {Object} jsonObject The JSON object to send to the gnubbyd extension.
92 function onGnubbydDevReply_(jsonObject, callback, reply) {
98 chrome.runtime.sendMessage(kGnubbydStableExtensionId, jsonObject, callback);
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
RecipeActivity.java 35 import org.json.JSONObject;
87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName);
88 if (jsonObject != null) {
89 mRecipe = Recipe.fromJson(this, jsonObject);
RecipeListAdapter.java 32 import org.json.JSONObject;
57 JSONObject jsonObject = AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE);
58 if (jsonObject != null) {
59 List<Item> items = parseJson(jsonObject);
64 private List<Item> parseJson(JSONObject json) {
69 JSONObject item = items.getJSONObject(i);
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
RecipeActivity.java 35 import org.json.JSONObject;
87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName);
88 if (jsonObject != null) {
89 mRecipe = Recipe.fromJson(this, jsonObject);
RecipeListAdapter.java 32 import org.json.JSONObject;
57 JSONObject jsonObject = AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE);
58 if (jsonObject != null) {
59 List<Item> items = parseJson(jsonObject);
64 private List<Item> parseJson(JSONObject json) {
69 JSONObject item = items.getJSONObject(i);
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
AssetUtils.java 25 import org.json.JSONObject;
47 public static JSONObject loadJSONAsset(Context context, String asset) {
49 JSONObject jsonObject = null;
51 jsonObject = new JSONObject(jsonString);
55 return jsonObject;
RecipeActivity.java 35 import org.json.JSONObject;
87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName);
88 if (jsonObject != null) {
89 mRecipe = Recipe.fromJson(this, jsonObject);
RecipeListAdapter.java 32 import org.json.JSONObject;
57 JSONObject jsonObject = AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE);
58 if (jsonObject != null) {
59 List<Item> items = parseJson(jsonObject);
64 private List<Item> parseJson(JSONObject json) {
69 JSONObject item = items.getJSONObject(i);
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp 141 static bool copyStringProperty(const char* property, const Dictionary& source, JSONObject* destination)
150 static bool copySequenceOfStringProperty(const char* property, const Dictionary& source, JSONObject* destination)
168 RefPtr<JSONObject> jsonObject = JSONObject::create();
170 if (!copyStringProperty("kty", dict, jsonObject.get())) {
175 copyStringProperty("use", dict, jsonObject.get());
176 copySequenceOfStringProperty("key_ops", dict, jsonObject.get());
177 copyStringProperty("alg", dict, jsonObject.get());
181 jsonObject->setBoolean("ext", ext)
    [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
CacheDataTest.java 23 import org.json.JSONObject;
57 JSONObject jsonObject = null;
59 jsonObject = new JSONObject(AddressDataMapLoader.DATA.get(id));
64 cache.addToJsoMap(id, jsonObject);
76 JSONObject jsonObject = new JSONObject(AddressDataMapLoader.DATA.get(id));
77 String jsonString = jsonObject.toString()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
OverridesSupport.js 213 var jsonObject = JSON.parse(value);
214 return new WebInspector.OverridesSupport.DeviceOrientation(jsonObject.alpha, jsonObject.beta, jsonObject.gamma);
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Attachment.java 46 import org.json.JSONObject;
216 public Attachment(JSONObject srcJson) {
353 public JSONObject toJSON() throws JSONException {
354 final JSONObject result = new JSONObject();
377 final JSONObject jsonObject = toJSON();
379 jsonObject.put("partId", partId);
383 jsonObject.put(AttachmentColumns.PROVIDER_DATA, new JSONObject(providerData))
    [all...]
  /developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
MainActivity.java 68 import org.json.JSONObject;
226 public static Question fromJson(JSONObject questionObject, int questionIndex)
260 JSONObject jsonObject = JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE);
261 JSONArray jsonArray = jsonObject.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS);
263 JSONObject questionObject = jsonArray.getJSONObject(i);
  /developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
MainActivity.java 68 import org.json.JSONObject;
226 public static Question fromJson(JSONObject questionObject, int questionIndex)
260 JSONObject jsonObject = JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE);
261 JSONArray jsonArray = jsonObject.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS);
263 JSONObject questionObject = jsonArray.getJSONObject(i);
  /development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
MainActivity.java 68 import org.json.JSONObject;
226 public static Question fromJson(JSONObject questionObject, int questionIndex)
260 JSONObject jsonObject = JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE);
261 JSONArray jsonArray = jsonObject.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS);
263 JSONObject questionObject = jsonArray.getJSONObject(i);
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8Binding.cpp 917 RefPtr<JSONObject> jsonObject = JSONObject::create();
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
ExtensionAPI.js 543 setObject: function(jsonObject, rootTitle, callback)
545 extensionServer.sendRequest({ command: commands.SetSidebarContent, id: this._id, expression: jsonObject, rootTitle: rootTitle }, callback);
  /libcore/benchmarks/libs/
caliper.jar 

Completed in 644 milliseconds