Lines Matching refs:CalibrationFile
26 std::shared_ptr<CalibrationFile> CalibrationFile::instance_;
28 std::shared_ptr<CalibrationFile> CalibrationFile::Instance() { in Instance()
29 if (!CalibrationFile::instance_) { in Instance()
30 auto inst = std::shared_ptr<CalibrationFile>(new CalibrationFile()); in Instance()
32 CalibrationFile::instance_ = inst; in Instance()
36 return CalibrationFile::instance_; in Instance()
39 bool CalibrationFile::Initialize() { in Initialize()
84 const sp<JSONObject> CalibrationFile::GetJSONObject() const { in GetJSONObject()
88 bool CalibrationFile::SetSingleAxis(const char *key, int32_t value) { in SetSingleAxis()
93 bool CalibrationFile::SetSingleAxis(const char *key, float value) { in SetSingleAxis()
98 bool CalibrationFile::SetTripleAxis(const char *key, int32_t x, int32_t y, in SetTripleAxis()
108 bool CalibrationFile::SetFourAxis(const char *key, int32_t x, int32_t y, in SetFourAxis()
119 bool CalibrationFile::Save() { in Save()