Searched refs:halDataSize (Results 1 – 2 of 2) sorted by relevance
173 std::unique_ptr<uint8_t[]> Effect::hidlVecToHal(const hidl_vec<T>& vec, uint32_t* halDataSize) { in hidlVecToHal() argument177 *halDataSize = vec.size() * sizeof(T); in hidlVecToHal()178 std::unique_ptr<uint8_t[]> halData(new uint8_t[*halDataSize]); in hidlVecToHal()179 memcpy(&halData[0], &vec[0], *halDataSize); in hidlVecToHal()519 uint32_t halDataSize; in setAndGetVolume() local520 std::unique_ptr<uint8_t[]> halData = hidlVecToHal(volumes, &halDataSize); in setAndGetVolume()521 uint32_t halResultSize = halDataSize; in setAndGetVolume()523 Result retval = sendCommandReturningData(EFFECT_CMD_SET_VOLUME, "SET_VOLUME", halDataSize, in setAndGetVolume()534 uint32_t halDataSize; in volumeChangeNotification() local535 std::unique_ptr<uint8_t[]> halData = hidlVecToHal(volumes, &halDataSize); in volumeChangeNotification()[all …]
188 std::unique_ptr<uint8_t[]> hidlVecToHal(const hidl_vec<T>& vec, uint32_t* halDataSize);