Searched refs:jsonArray (Results 1 – 2 of 2) sorted by relevance
178 void JsonFakeValueGenerator::copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray) { in copyJsonArray() argument179 dest.resize(jsonArray.size()); in copyJsonArray()180 for (Json::Value::ArrayIndex i = 0; i < jsonArray.size(); i++) { in copyJsonArray()182 dest[i] = jsonArray[i].asInt(); in copyJsonArray()184 dest[i] = jsonArray[i].asInt64(); in copyJsonArray()186 dest[i] = jsonArray[i].asFloat(); in copyJsonArray()
58 void copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray);