Home
last modified time | relevance | path

Searched refs:json_root_ (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/util/nanotool/
Dcalibrationfile.cpp69 json_root_ = reinterpret_cast<JSONObject*>(json.get()); in Initialize()
71 json_root_->toString().c_str()); in Initialize()
77 if (json_root_ == nullptr) { in Initialize()
78 json_root_ = new JSONObject(); in Initialize()
85 return json_root_; in GetJSONObject()
89 json_root_->setInt32(key, value); in SetSingleAxis()
94 json_root_->setFloat(key, value); in SetSingleAxis()
104 json_root_->setArray(key, json_array); in SetTripleAxis()
115 json_root_->setArray(key, json_array); in SetFourAxis()
120 AString json_str = json_root_->toString(); in Save()
Dcalibrationfile.h48 CalibrationFile() : file_(nullptr), json_root_(nullptr) {} in CalibrationFile()
54 sp<JSONObject> json_root_; variable