Home
last modified time | relevance | path

Searched refs:jsonObj (Results 1 – 5 of 5) 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/v8/tools/turbolizer/
Dturbo-visualizer.js7 var jsonObj;
169 jsonObj = JSON.parse(txtRes);
173 selectionBroker.setNodePositionMap(jsonObj.nodePositions);
175 sourceView.initializeCode(jsonObj.source, jsonObj.sourcePosition);
176 disassemblyView.initializeCode(jsonObj.source);
181 for (var i = 0; i < jsonObj.phases.length; ++i) {
183 optionElement.text = jsonObj.phases[i].name;
185 disassemblyPhase = jsonObj.phases[i];
191 disassemblyView.initializePerfProfile(jsonObj.eventCounts);
195 if (!(initialPhaseIndex in jsonObj.phases)) {
[all …]
/external/autotest/frontend/client/src/autotest/afe/
DHostListView.java116 for (JSONObject jsonObj : selectedSet) { in getSelectedHostIds()
117 ids.set(ids.size(), jsonObj.get("id")); in getSelectedHostIds()
DJobListView.java128 for(JSONObject jsonObj : selectedSet) { in abortSelectedJobs()
129 ids.set(ids.size(), jsonObj.get("id")); in abortSelectedJobs()