Home
last modified time | relevance | path

Searched refs:JSONArray (Results 1 – 7 of 7) sorted by relevance

/device/google/contexthub/util/common/
DJSONObject.cpp62 sp<JSONArray> array = new JSONArray; in Parse()
449 bool JSONValue::getArray(sp<JSONArray> *value) const { in getArray()
454 *value = static_cast<JSONArray *>(mValue.mObjectOrArray); in getArray()
495 void JSONValue::setArray(const sp<JSONArray> &array) { in setArray()
639 sp<JSONArray> array; in Parse()
652 val.setArray((JSONArray *)this); in toString()
708 JSONArray::JSONArray() {} in JSONArray() function in android::JSONArray
710 JSONArray::~JSONArray() {} in ~JSONArray()
712 bool JSONArray::isObject() const { in isObject()
716 size_t JSONArray::size() const { in size()
[all …]
DJSONObject.h30 struct JSONArray;
59 bool getArray(sp<JSONArray> *value) const;
66 void setArray(const sp<JSONArray> &array);
144 bool getArray(KEY key, sp<JSONArray> *obj) const { in getArray()
196 void setArray(const char *key, const sp<JSONArray> &obj) { in setArray()
214 struct JSONArray : public JSONBase<size_t> { struct
215 JSONArray();
251 void addArray(const sp<JSONArray> &obj) { in addArray() argument
258 virtual ~JSONArray();
267 DISALLOW_EVIL_CONSTRUCTORS(JSONArray);
/device/google/contexthub/util/nanotool/
Dcalibrationfile.cpp100 sp<JSONArray> json_array = new JSONArray(); in SetTripleAxis()
110 sp<JSONArray> json_array = new JSONArray(); in SetFourAxis()
Dandroidcontexthub.cpp68 sp<JSONArray> array; in CopyInt32Array()
83 sp<JSONArray> array; in CopyFloatArray()
/device/google/cuttlefish/tests/graphics/hotplug/src/com/android/cuttlefish/
DDisplayHotplugHelperApp.java30 import org.json.JSONArray;
63 JSONArray displayInfos = new JSONArray(); in onCreate()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp336 sp<JSONArray> array; in getCalibrationInt32()
354 sp<JSONArray> array; in getCalibrationFloat()
373 sp<JSONArray> array; in getInt32Setting()
386 sp<JSONArray> array; in getFloatSetting()
435 sp<JSONArray> magArray = new JSONArray; in saveSensorSettings()
446 sp<JSONArray> gyroArray = new JSONArray; in saveSensorSettings()
453 sp<JSONArray> accelArray = new JSONArray; in saveSensorSettings()
460 sp<JSONArray> gyroOtcDataArray = new JSONArray; in saveSensorSettings()
/device/google/cuttlefish/tests/graphics/src/com/android/cuttlefish/tests/
DCuttlefishDisplayHotplugTest.java57 import org.json.JSONArray;
183 JSONArray jsonDisplayModeWindowed = jsonDisplayMode.getJSONArray("windowed"); in parseHostDisplayInfos()
223 JSONArray jsonDisplays = json.getJSONArray("displays"); in parseGuestDisplayInfos()