Home
last modified time | relevance | path

Searched refs:JSONObject (Results 1 – 8 of 8) sorted by relevance

/device/google/contexthub/util/common/
DJSONObject.h32 struct JSONObject;
58 bool getObject(sp<JSONObject> *value) const;
65 void setObject(const sp<JSONObject> &obj);
139 bool getObject(KEY key, sp<JSONObject> *obj) const { in getObject()
160 struct JSONObject : public JSONBase<const char *> { struct
161 JSONObject();
190 void setObject(const char *key, const sp<JSONObject> &obj) { in setObject() argument
203 virtual ~JSONObject(); argument
211 DISALLOW_EVIL_CONSTRUCTORS(JSONObject);
245 void addObject(const sp<JSONObject> &obj) { in addObject()
DJSONObject.cpp113 sp<JSONObject> obj = new JSONObject; in Parse()
444 bool JSONValue::getObject(sp<JSONObject> *value) const { in getObject()
449 *value = static_cast<JSONObject *>(mValue.mObjectOrArray); in getObject()
490 void JSONValue::setObject(const sp<JSONObject> &obj) { in setObject()
638 sp<JSONObject> obj; in Parse()
654 val.setObject((JSONObject *)this); in toString()
664 JSONObject::JSONObject() {} in JSONObject() function in android::JSONObject
665 JSONObject::~JSONObject() {} in ~JSONObject()
667 bool JSONObject::isObject() const { in isObject()
671 bool JSONObject::getValue(const char *key, JSONValue *value) const { in getValue()
[all …]
/device/google/contexthub/util/nanotool/
Dcalibrationfile.h37 const sp<JSONObject> GetJSONObject() const;
54 sp<JSONObject> json_root_;
Dcalibrationfile.cpp69 json_root_ = reinterpret_cast<JSONObject*>(json.get()); in Initialize()
78 json_root_ = new JSONObject(); in Initialize()
84 const sp<JSONObject> CalibrationFile::GetJSONObject() const { in GetJSONObject()
DAndroid.mk38 $(COMMON_UTILS_DIR)/JSONObject.cpp
Dandroidcontexthub.cpp66 sp<JSONObject> json, std::vector<uint8_t>& bytes) { in CopyInt32Array()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp203 static sp<JSONObject> readSettings(File *file) { in readSettings()
207 sp<JSONObject> root; in readSettings()
219 root = (JSONObject *)in.get(); in readSettings()
224 root = new JSONObject; in readSettings()
231 const sp<JSONObject> &settings, const char *key, int32_t *out, in getCalibrationInt32()
247 const sp<JSONObject> &settings, const char *key, float out[3]) { in getCalibrationFloat()
261 static void loadSensorSettings(sp<JSONObject>* settings, in loadSensorSettings()
262 sp<JSONObject>* saved_settings) { in loadSensorSettings()
272 *settings = new JSONObject; in loadSensorSettings()
281 *saved_settings = new JSONObject; in loadSensorSettings()
[all …]
DAndroid.mk126 ../util/common/JSONObject.cpp \