/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONArray.java | 36 * A JSONArray is an ordered sequence of values. Its external text form is a 41 * <code>Boolean</code>, <code>JSONArray</code>, <code>JSONObject</code>, 83 public class JSONArray { 87 * The arrayList where the JSONArray's properties are kept. 93 * Construct an empty JSONArray. 95 public JSONArray() { 100 * Construct a JSONArray from a JSONTokener. 104 public JSONArray(JSONTokener x) throws JSONException { 113 throw x.syntaxError("A JSONArray text must start with '['"); 150 * Construct a JSONArray from a source JSON text [all...] |
JSONML.java | 31 * This provides static methods to convert an XML text into a JSONArray or 32 * JSONObject, and to covert a JSONArray or JSONObject into an XML text using 40 * Parse XML values and store them in a JSONArray. 43 * @param ja The JSONArray that is containing the current tag or null 45 * @return A JSONArray if the value is the outermost tag, otherwise null. 49 JSONArray ja) throws JSONException { 54 JSONArray newja = null; 132 newja = new JSONArray(); 231 * JSONArray using the JsonML transform. Each XML tag is represented as 232 * a JSONArray in which the first element is the tag name. If the tag ha [all...] |
JSONObject.java | 45 * <code>Boolean</code>, <code>JSONArray</code>, <code>JSONObject</code>, 347 map.put(key, new JSONArray(result, includeSuperClass)); 349 map.put(key, new JSONArray((Collection)result, includeSuperClass)); 427 * JSONArray is stored under the key to hold all of the accumulated values. 428 * If there is already a JSONArray, then the new value is appended to it. 441 put(key, value instanceof JSONArray ? 442 new JSONArray().put(value) : 444 } else if (o instanceof JSONArray) { 445 ((JSONArray)o).put(value); 447 put(key, new JSONArray().put(o).put(value)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
TracedValue.h | 14 class JSONArray; 48 JSONArray* currentArray() const;
|
TracedValue.cpp | 69 RefPtr<JSONArray> array = JSONArray::create(); 103 RefPtr<JSONArray> array = JSONArray::create(); 135 JSONArray* TracedValue::currentArray() const 139 return static_cast<JSONArray*>(m_stack.last().get());
|
JSONValues.h | 44 class JSONArray; 81 virtual bool asArray(RefPtr<JSONArray>* output); 83 virtual PassRefPtr<JSONArray> asArray(); 185 void setArray(const String& name, PassRefPtr<JSONArray>); 199 PassRefPtr<JSONArray> getArray(const String& name) const; 259 virtual PassRefPtr<JSONArray> asArray() OVERRIDE; 268 virtual bool asArray(RefPtr<JSONArray>* output) OVERRIDE; 276 void pushArray(PassRefPtr<JSONArray>); 294 class PLATFORM_EXPORT JSONArray : public JSONArrayBase { 296 static PassRefPtr<JSONArray> create( [all...] |
JSONValues.cpp | 137 bool JSONValue::asArray(RefPtr<JSONArray>*) 147 PassRefPtr<JSONArray> JSONValue::asArray() 307 void JSONObjectBase::setArray(const String& name, PassRefPtr<JSONArray> value) 354 PassRefPtr<JSONArray> JSONObjectBase::getArray(const String& name) const 425 bool JSONArrayBase::asArray(RefPtr<JSONArray>* output) 427 COMPILE_ASSERT(sizeof(JSONArrayBase) == sizeof(JSONArray), cannot_cast); 428 *output = static_cast<JSONArray*>(this); 432 PassRefPtr<JSONArray> JSONArrayBase::asArray() 434 COMPILE_ASSERT(sizeof(JSONArrayBase) == sizeof(JSONArray), cannot_cast); 435 return static_cast<JSONArray*>(this) [all...] |
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/ |
VideoCaptureDeviceInfoAndroid.java | 21 import org.json.JSONArray; 45 JSONArray devices = new JSONArray(); 70 JSONArray sizes = new JSONArray(); 78 JSONArray mfpsRanges = new JSONArray();
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
CodeGeneratorInspectorStrings.py | 47 """void InspectorBackendDispatcherImpl::${domainName}_$methodName(long callId, JSONObject*$requestMessageObject, JSONArray* protocolErrors) 137 class JSONArray; 260 static R getPropertyValueImpl(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors, V0 initial_value, bool (*as_method)(JSONValue*, V*), const char* type_name); 262 static int getInt(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors); 263 static double getDouble(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors); 264 static String getString(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors); 265 static bool getBoolean(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors); 266 static PassRefPtr<JSONObject> getObject(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors); 267 static PassRefPtr<JSONArray> getArray(JSONObject* object, const char* name, bool* valueFound, JSONArray* protocolErrors) [all...] |
InspectorInputAgent.h | 59 virtual void dispatchTouchEvent(ErrorString*, const String& type, const RefPtr<JSONArray>& touchPoints, const int* modifiers, const double* timestamp) OVERRIDE;
|
InspectorRuntimeAgent.h | 44 class JSONArray; 73 const RefPtr<JSONArray>* optionalArguments,
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsLayerDebugInfo.cpp | 65 RefPtr<JSONArray> jsonArray = JSONArray::create(); 69 RefPtr<JSONArray> rectArray = JSONArray::create(); 75 jsonArray->pushObject(rectContainer); 77 jsonObject->setArray("layout_rects", jsonArray); 82 RefPtr<JSONArray> jsonArray = JSONArray::create() [all...] |
GraphicsLayer.cpp | 471 static PassRefPtr<JSONArray> pointAsJSONArray(const T& point) 473 RefPtr<JSONArray> array = adoptRef(new JSONArray); 480 static PassRefPtr<JSONArray> sizeAsJSONArray(const T& size) 482 RefPtr<JSONArray> array = adoptRef(new JSONArray); 489 static PassRefPtr<JSONArray> rectAsJSONArray(const T& rect) 491 RefPtr<JSONArray> array = adoptRef(new JSONArray); 504 static PassRefPtr<JSONArray> transformAsJSONArray(const TransformationMatrix& t [all...] |
GraphicsContextRecorder.h | 52 PassRefPtr<JSONArray> snapshotCommandLog() const;
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
InspectorFrontendHostFileSystem.cpp | 28 RefPtr<JSONArray> params = JSONArray::create();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsSerializer.java | 43 import org.json.JSONArray; 131 JSONArray cfgArray = new JSONArray(); 169 JSONArray pairObj = new JSONArray(); 178 JSONArray rangeObj = new JSONArray(); 187 JSONArray xformObj = new JSONArray(); 202 JSONArray curveArr = new JSONArray() [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
CameraMetadataGetter.java | 53 import org.json.JSONArray; 307 JSONArray cfgArray = new JSONArray(); 345 JSONArray pairObj = new JSONArray(); 354 JSONArray rangeObj = new JSONArray(); 363 JSONArray xformObj = new JSONArray(); 379 JSONArray curveArr = new JSONArray() [all...] |
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
HostInfo.java | 7 import org.json.JSONArray; 44 JSONArray jsonPatterns = json.optJSONArray("tokenUrlPatterns");
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
JsoMap.java | 19 import org.json.JSONArray; 130 * Collect all the keys and return as a JSONArray. 132 * @return A JSONArray that contains all the keys. 134 JSONArray getKeys() { 189 JSONArray names = obj.names(); 254 JSONArray keys = getKeys(); 270 JSONArray keys = getKeys();
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/ |
SuggestionAnswer.java | 9 import org.json.JSONArray; 58 JSONArray jsonLines = jsonAnswer.getJSONArray(ANSWERS_JSON_LINE); 104 JSONArray textValues = jsonLine.getJSONArray(ANSWERS_JSON_TEXT);
|
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
HttpUrlRequestFactoryConfig.java | 7 import org.json.JSONArray; 115 JSONArray quicHints = mConfig.optJSONArray( 118 quicHints = new JSONArray();
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
StaticMetadataCollectionTest.java | 28 import org.json.JSONArray; 122 private void dumpJsonArrayAsCtsResult(String name, JSONArray arr) throws Exception { 129 } else if (arr.get(0) instanceof JSONArray) { 131 dumpJsonArrayAsCtsResult(name+String.format("[%04d]",i),(JSONArray)arr.get(i)); 161 } else if (obj.get(key) instanceof JSONArray) { 162 dumpJsonArrayAsCtsResult(name+"."+key, (JSONArray)obj.get(key));
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
JsonMessageBuilder.java | 23 import com.google.polo.json.JSONArray; 206 JSONArray inEncodings = new JSONArray(); 221 JSONArray outEncodings = new JSONArray(); 452 JSONArray inEncsArray = new JSONArray(); 458 JSONArray outEncsArray = new JSONArray();
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
XmlMessageBuilder.java | 21 import com.google.polo.json.JSONArray; 264 JSONArray inEncodings = new JSONArray(); 280 JSONArray outEncodings = new JSONArray(); 512 JSONArray inEncsArray = new JSONArray(); 520 JSONArray outEncsArray = new JSONArray();
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 34 import org.json.JSONArray; 169 // Create a special JSONArray of our JSON contacts 170 JSONArray buffer = new JSONArray(jsonContacts); 199 final JSONArray serverContacts = new JSONArray(response);
|