Lines Matching refs:mFfEffects
485 mFfEffects.resize(WAVEFORM_MAX_INDEX);
498 mFfEffects[effectIndex] = {
514 mInputFd, &mFfEffects[effectIndex],
519 if (mFfEffects[effectIndex].id != effectIndex) {
520 ALOGW("Unexpected effect index: %d -> %d", effectIndex, mFfEffects[effectIndex].id);
528 mFfEffects[effectIndex] = {
949 mFfEffects[WAVEFORM_COMPOSE].replay.length = 0; in compose()
1001 mFfEffects[effectIndex].trigger.button = GPIO_TRIGGER_CONFIG | effectIndex; in on()
1007 if (!mHwApiDef->uploadOwtEffect(mInputFd, ch->front(), ch->size(), &mFfEffects[effectIndex], in on()
1022 mFfEffects[effectIndex].replay.length = static_cast<uint16_t>(timeoutMs); in on()
1024 mFfEffects[effectIndex].trigger.button = GPIO_TRIGGER_CONFIG | effectIndex; in on()
1029 if (!mHwApiDef->setFFEffect(mInputFd, &mFfEffects[effectIndex], in on()
1066 mFfEffects[effectIndex].trigger.button = GPIO_TRIGGER_CONFIG | effectIndex; in on()
1067 if (!mHwApiDef->setFFEffect(mInputFd, &mFfEffects[effectIndex], in on()
1068 mFfEffects[effectIndex].replay.length)) { in on()
1401 dprintf(fd, "\t%d\t%d\t%d\t%d\t%X\n", mFfEffects[effectId].id, in dump()
1402 mFfEffects[effectId].u.periodic.custom_data[1], mEffectDurations[effectId], in dump()
1403 mFfEffects[effectId].replay.length, mFfEffects[effectId].trigger.button); in dump()
1418 uint32_t numBytes = mFfEffects[effectId].u.periodic.custom_len * 2; in dump()
1424 reinterpret_cast<uint8_t *>(mFfEffects[effectId].u.periodic.custom_data) + in dump()
1428 dprintf(fd, "\t%d\t%d\t{%s}\t%u\t%X\n", mFfEffects[effectId].id, numBytes, ss.str().c_str(), in dump()
1429 mFfEffectsDual[effectId].replay.length, mFfEffects[effectId].trigger.button); in dump()
1583 mFfEffects[WAVEFORM_COMPOSE].replay.length = 0; in getCompoundDetails()
1697 if (!mHwApiDef->eraseOwtEffect(mInputFd, mActiveId, &mFfEffects)) { in waitForComplete()
1716 if (!mHwApiDef->eraseOwtEffect(mInputFd, WAVEFORM_MAX_INDEX, &mFfEffects)) { in waitForComplete()