Lines Matching refs:T
124 template<typename T> Return<void> getIntegerParam( in getIntegerParam()
125 uint32_t paramId, std::function<void(Result retval, T paramValue)> cb) { in getIntegerParam()
126 T value; in getIntegerParam()
129 sizeof(T), in getIntegerParam()
131 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getIntegerParam()
138 template<typename T> Result getParam(uint32_t paramId, T& paramValue) { in getParam()
141 sizeof(T), in getParam()
143 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getParam()
148 template<typename T> Result getParam(uint32_t paramId, uint32_t paramArg, T& paramValue) { in getParam()
152 sizeof(T), in getParam()
154 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getParam()
159 template<typename T> Result setParam(uint32_t paramId, const T& paramValue) { in setParam()
160 return setParameterImpl(sizeof(uint32_t), ¶mId, sizeof(T), ¶mValue); in setParam()
163 template<typename T> Result setParam(uint32_t paramId, uint32_t paramArg, const T& paramValue) { in setParam()
165 return setParameterImpl(sizeof(params), params, sizeof(T), ¶mValue); in setParam()
211 template<typename T> static size_t alignedSizeIn(size_t s);
212 template<typename T> std::unique_ptr<uint8_t[]> hidlVecToHal(
213 const hidl_vec<T>& vec, uint32_t* halDataSize);