Home
last modified time | relevance | path

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

/ohos5.0/base/sensors/miscdevice/utils/haptic_decoder/he_json/src/
H A Dhe_vibrator_decoder.cpp103 cJSON *timeJSON = parser.GetObjectItem(patternListItemJSON, "AbsoluteTime"); in ParsePatternList() local
104 CHKPR(timeJSON, ERROR); in ParsePatternList()
105 int32_t time = cJSON_IsNumber(timeJSON) ? timeJSON->valueint : -1; in ParsePatternList()
176 cJSON *timeJSON = parser.GetObjectItem(eventJSON, "RelativeTime"); in ParseEvent() local
177 CHKPR(timeJSON, ERROR); in ParseEvent()
178 event.time = cJSON_IsNumber(timeJSON) ? timeJSON->valueint : -1; in ParseEvent()
219 cJSON *timeJSON = parser.GetObjectItem(itemJSON, "Time"); in ParseCurve() local
220 CHKPR(timeJSON, ERROR); in ParseCurve()
221 point.time = cJSON_IsNumber(timeJSON) ? timeJSON->valueint : -1; in ParseCurve()