Home
last modified time | relevance | path

Searched refs:DspMemChunk (Results 1 – 7 of 7) sorted by relevance

/hardware/google/pixel/vibrator/cs40l26/
DDspMemChunk.cpp76 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()
[all …]
DTrace.h139 SUPPORT_TYPENAME(const DspMemChunk *);
140 SUPPORT_TYPENAME(DspMemChunk *);
164 std::ostream &operator<<(std::ostream &out, const DspMemChunk *arg);
221 EffectTrace(uint16_t index, float scale, int32_t duration, const DspMemChunk *ch);
DDspMemChunk.h66 class DspMemChunk {
68 DspMemChunk(uint8_t type, size_t size);
DVibrator.h215 ndk::ScopedAStatus on(uint32_t timeoutMs, uint32_t effectIndex, const class DspMemChunk *ch,
225 uint32_t *outTimeMs, class DspMemChunk *outCh);
231 const class DspMemChunk *ch,
DTrace.cpp109 std::ostream &operator<<(std::ostream &out, const DspMemChunk *arg) { in operator <<()
204 EffectTrace::EffectTrace(uint16_t index, float scale, int32_t duration, const DspMemChunk *ch) { in EffectTrace()
DAndroid.bp67 "DspMemChunk.cpp",
DVibrator.cpp535 DspMemChunk ch(WAVEFORM_COMPOSE, FF_CUSTOM_DATA_LEN_MAX_COMP); in compose()
607 ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, uint32_t effectIndex, const DspMemChunk *ch, in on()
1083 DspMemChunk ch(WAVEFORM_PWLE, FF_CUSTOM_DATA_LEN_MAX_PWLE); in composePwle()
1478 uint32_t *outTimeMs, DspMemChunk *outCh) { in getCompoundDetails()
1584 std::optional<DspMemChunk> maybeCh; in performEffect()
1606 DspMemChunk *ch = maybeCh ? &*maybeCh : nullptr; in performEffect()
1615 const DspMemChunk *ch, in performEffect()