Lines Matching refs:DspMemChunk
76 DspMemChunk::DspMemChunk(uint8_t type, size_t size) : head(new uint8_t[size]{0x00}) { in DspMemChunk() function in aidl::android::hardware::vibrator::DspMemChunk
103 int DspMemChunk::write(int nbits, uint32_t val) { in write()
131 int DspMemChunk::fToU16(float input, uint16_t *output, float scale, float min, float max) { in fToU16()
140 void DspMemChunk::constructPwleSegment(uint16_t delay, uint16_t amplitude, uint16_t frequency, in constructPwleSegment()
153 int DspMemChunk::flush() { in flush()
161 int DspMemChunk::constructComposeSegment(uint32_t effectVolLevel, uint32_t effectIndex, in constructComposeSegment()
180 int DspMemChunk::constructActiveSegment(int duration, float amplitude, float frequency, in constructActiveSegment()
204 int DspMemChunk::constructBrakingSegment(int duration, Braking brakingType) { in constructBrakingSegment()
226 int DspMemChunk::updateWLength(uint32_t totalDuration) { in updateWLength()
253 int DspMemChunk::updateNSection(int segmentIdx) { in updateNSection()
285 int DspMemChunk::updateWCount(int segmentCount) { in updateWCount()