Searched refs:jsonArray (Results 1 – 2 of 2) sorted by relevance
153 void JsonFakeValueGenerator::copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray) { in copyJsonArray() argument154 dest.resize(jsonArray.size()); in copyJsonArray()155 for (Json::Value::ArrayIndex i = 0; i < jsonArray.size(); i++) { in copyJsonArray()157 dest[i] = jsonArray[i].asInt(); in copyJsonArray()159 dest[i] = jsonArray[i].asInt64(); in copyJsonArray()161 dest[i] = jsonArray[i].asFloat(); in copyJsonArray()
55 void copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray);