Searched refs:JSONObject (Results 1 – 11 of 11) sorted by relevance
/device/google/contexthub/util/common/ |
D | JSONObject.cpp | 109 sp<JSONObject> obj = new JSONObject; in Parse() 440 bool JSONValue::getObject(sp<JSONObject> *value) const { in getObject() 445 *value = static_cast<JSONObject *>(mValue.mObjectOrArray); in getObject() 486 void JSONValue::setObject(const sp<JSONObject> &obj) { in setObject() 634 sp<JSONObject> obj; in Parse() 650 val.setObject((JSONObject *)this); in toString() 660 JSONObject::JSONObject() {} in JSONObject() function in android::JSONObject 661 JSONObject::~JSONObject() {} in ~JSONObject() 663 bool JSONObject::isObject() const { in isObject() 667 bool JSONObject::getValue(const char *key, JSONValue *value) const { in getValue() [all …]
|
D | JSONObject.h | 32 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()
|
D | Android.bp | 28 "JSONObject.cpp",
|
/device/google/cuttlefish/tests/graphics/hotplug/src/com/android/cuttlefish/ |
D | DisplayHotplugHelperApp.java | 33 import org.json.JSONObject; 45 private JSONObject getDisplayInfo(Display display) throws JSONException { in getDisplayInfo() 49 JSONObject displayInfo = new JSONObject(); in getDisplayInfo() 63 JSONObject displayInfo = new JSONObject(); in logDisplayInfos()
|
/device/google/cuttlefish/tests/graphics/src/com/android/cuttlefish/tests/ |
D | CuttlefishDisplayHotplugTest.java | 59 import org.json.JSONObject; 176 JSONObject json = new JSONObject(inputJson); in parseHostDisplayInfos() 177 JSONObject jsonDisplays = json.getJSONObject("displays"); in parseHostDisplayInfos() 181 JSONObject jsonDisplay = jsonDisplays.getJSONObject(displayNumberString); in parseHostDisplayInfos() 182 JSONObject jsonDisplayMode = jsonDisplay.getJSONObject("mode"); in parseHostDisplayInfos() 222 JSONObject json = new JSONObject(inputJson); in parseGuestDisplayInfos() 225 JSONObject jsonDisplay = jsonDisplays.getJSONObject(i); in parseGuestDisplayInfos()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 306 static sp<JSONObject> readSettings(File *file) { in readSettings() 310 sp<JSONObject> root; in readSettings() 322 root = (JSONObject *)in.get(); in readSettings() 327 root = new JSONObject; in readSettings() 334 const sp<JSONObject> &settings, const char *key, int32_t *out, in getCalibrationInt32() 353 const sp<JSONObject> &settings, const char *key, float out[3]) { in getCalibrationFloat() 370 static std::vector<int32_t> getInt32Setting(const sp<JSONObject> &settings, const char *key) { in getInt32Setting() 383 static std::vector<float> getFloatSetting(const sp<JSONObject> &settings, const char *key) { in getFloatSetting() 396 static void loadSensorSettings(sp<JSONObject>* settings, in loadSensorSettings() 397 sp<JSONObject>* saved_settings) { in loadSensorSettings() [all …]
|
/device/google/contexthub/util/nanotool/ |
D | calibrationfile.cpp | 69 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()
|
D | calibrationfile.h | 37 const sp<JSONObject> GetJSONObject() const; 54 sp<JSONObject> json_root_;
|
D | androidcontexthub.cpp | 67 sp<JSONObject> json, std::vector<uint8_t>& bytes) { in CopyInt32Array() 82 sp<JSONObject> json, std::vector<uint8_t>& bytes) { in CopyFloatArray()
|
/device/google/atv/products/lowram_boot_profiles/ |
D | boot-image-profile.txt | 16506 Lorg/json/JSONObject$1; 16507 Lorg/json/JSONObject; 57911 HSPLorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; 57915 HSPLorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject; 57924 HSPLorg/json/JSONObject$1;->toString()Ljava/lang/String; 57925 HSPLorg/json/JSONObject;-><init>()V 57926 HSPLorg/json/JSONObject;-><init>(Ljava/lang/String;)V 57927 HSPLorg/json/JSONObject;-><init>(Ljava/util/Map;)V 57928 HSPLorg/json/JSONObject;-><init>(Lorg/json/JSONTokener;)V 57929 HSPLorg/json/JSONObject;->checkName(Ljava/lang/String;)Ljava/lang/String; [all …]
|
D | preloaded-classes | 17152 org.json.JSONObject 17153 org.json.JSONObject$1
|