Home
last modified time | relevance | path

Searched refs:jsonObj (Results 1 – 6 of 6) sorted by relevance

/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DJsonMessageBuilder.java422 JSONObject jsonObj = new JSONObject(); in toJson() local
423 jsonObj.put(PAIRING_REQUEST_FIELD_SERVICE_NAME, message.getServiceName()); in toJson()
425 jsonObj.put(PAIRING_REQUEST_FIELD_CLIENT_NAME, message.getClientName()); in toJson()
427 return jsonObj; in toJson()
436 JSONObject jsonObj = new JSONObject(); in toJson() local
438 jsonObj.put(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME, in toJson()
441 return jsonObj; in toJson()
450 JSONObject jsonObj = new JSONObject(); in toJson() local
456 jsonObj.put(OPTIONS_FIELD_INPUT_ENCODINGS, inEncsArray); in toJson()
462 jsonObj.put(OPTIONS_FIELD_OUTPUT_ENCODINGS, outEncsArray); in toJson()
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageBuilder.java209 JSONObject jsonObj = body.getJSONObject( in getPairingRequest() local
211 String serviceName = jsonObj.getString( in getPairingRequest()
214 if (jsonObj.has(PAIRING_REQUEST_FIELD_CLIENT_NAME)) { in getPairingRequest()
215 clientName = jsonObj.getString(PAIRING_REQUEST_FIELD_CLIENT_NAME); in getPairingRequest()
233 JSONObject jsonObj = body.getJSONObject( in getPairingRequestAck() local
236 if (jsonObj.has(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME)) { in getPairingRequestAck()
237 serverName = jsonObj.getString(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME); in getPairingRequestAck()
472 JSONObject jsonObj = new JSONObject(); in toXML() local
474 jsonObj.put(MESSAGE_CONTAINER_NAME_PAIRING_REQUEST, pairingReq); in toXML()
482 return XML.toString(jsonObj); in toXML()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorConsoleAgent.cpp277 …RefPtr<TypeBuilder::Console::ConsoleMessage> jsonObj = TypeBuilder::Console::ConsoleMessage::creat… in sendConsoleMessageToFrontend() local
283 jsonObj->setType(messageTypeValue(consoleMessage->type())); in sendConsoleMessageToFrontend()
284 jsonObj->setLine(static_cast<int>(consoleMessage->lineNumber())); in sendConsoleMessageToFrontend()
285 jsonObj->setColumn(static_cast<int>(consoleMessage->columnNumber())); in sendConsoleMessageToFrontend()
287 jsonObj->setScriptId(String::number(consoleMessage->scriptId())); in sendConsoleMessageToFrontend()
288 jsonObj->setUrl(consoleMessage->url()); in sendConsoleMessageToFrontend()
291 jsonObj->setExecutionContextId(m_injectedScriptManager->injectedScriptIdFor(scriptState)); in sendConsoleMessageToFrontend()
293jsonObj->setNetworkRequestId(IdentifiersFactory::requestId(consoleMessage->requestIdentifier())); in sendConsoleMessageToFrontend()
318 jsonObj->setParameters(jsonArgs); in sendConsoleMessageToFrontend()
322 jsonObj->setStackTrace(consoleMessage->callStack()->buildInspectorArray()); in sendConsoleMessageToFrontend()
[all …]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
DAccessibilityInjector.java453 JSONObject jsonObj = new JSONObject(jsonString); in braille() local
456 data.setText(jsonObj.getString("text")); in braille()
457 data.setSelectionStart(jsonObj.getInt("startIndex")); in braille()
458 data.setSelectionEnd(jsonObj.getInt("endIndex")); in braille()
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
DFormatInterpreter.java271 JSONObject jsonObj = new JSONObject(new JSONTokener(jsonString)); in getJsonValue() local
272 if (!jsonObj.has(key.name().toLowerCase())) { in getJsonValue()
277 String parsedJsonString = jsonObj.getString(key.name().toLowerCase()); in getJsonValue()
/external/chromium_org/remoting/webapp/js_proto/
Ddom_proto.js80 JSON.stringify = function(jsonObj, opt_replacer, opt_space) {}; argument