Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DJsonFakeValueGenerator.cpp178 void JsonFakeValueGenerator::copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray) { in copyJsonArray() argument
179 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()
DJsonFakeValueGenerator.h58 void copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray);