Home
last modified time | relevance | path

Searched refs:totalDuration (Results 1 – 9 of 9) sorted by relevance

/hardware/nxp/nfc/pn8x/halimpl/utils/
DNfccPowerTracker.cpp228 uint64_t totalDuration = 0; in ProcessPowerTrackNtf() local
229 totalDuration = in ProcessPowerTrackNtf()
233 if (totalDuration == 0) return; in ProcessPowerTrackNtf()
254 standbyTime = (totalDuration > activeTime) ? (totalDuration - activeTime) in ProcessPowerTrackNtf()
255 : (activeTime - totalDuration); in ProcessPowerTrackNtf()
264 activeTime = totalDuration > standbyTime ? (totalDuration - standbyTime) in ProcessPowerTrackNtf()
265 : (standbyTime - totalDuration); in ProcessPowerTrackNtf()
281 (unsigned long long)totalDuration); in ProcessPowerTrackNtf()
/hardware/google/pixel/vibrator/cs40l26/
DDspMemChunk.cpp226 int DspMemChunk::updateWLength(uint32_t totalDuration) { in updateWLength() argument
227 VFTRACE(totalDuration); in updateWLength()
237 if (totalDuration > 0x7FFFF) { in updateWLength()
238 ALOGE("%s: Invalid argument: %u", __func__, totalDuration); in updateWLength()
244 totalDuration *= 8; /* Unit: 0.125 ms (since wlength played @ 8kHz). */ in updateWLength()
245 totalDuration |= WT_LEN_CALCD; /* Bit 23 is for WT_LEN_CALCD; Bit 22 is for WT_INDEFINITE. */ in updateWLength()
246 *(f + 0) = (totalDuration >> 24) & 0xFF; in updateWLength()
247 *(f + 1) = (totalDuration >> 16) & 0xFF; in updateWLength()
248 *(f + 2) = (totalDuration >> 8) & 0xFF; in updateWLength()
249 *(f + 3) = totalDuration & 0xFF; in updateWLength()
DVibrator.cpp512 uint16_t totalDuration = 0; in compose() local
524 totalDuration += nextEffectDelay; in compose()
561 totalDuration += mEffectDurations[effectIndex]; in compose()
576 totalDuration += delay; in compose()
1079 uint32_t totalDuration = 0; in composePwle() local
1155 totalDuration += active.duration; in composePwle()
1195 totalDuration += braking.duration; in composePwle()
1211 totalDuration += MAX_COLD_START_LATENCY_MS; in composePwle()
1212 if (totalDuration > 0x7FFFF) { in composePwle()
1214 ALOGE("Total duration is too long (%d)!", totalDuration); in composePwle()
[all …]
DDspMemChunk.h81 int updateWLength(uint32_t totalDuration);
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/
DNxpTimer.h60 unsigned long totalDuration();
DNxpTimer.cpp48 unsigned long NxpTimer::totalDuration() { in totalDuration() function in NxpTimer
DphNxpEsePal.cpp412 return timer->totalDuration(); in phPalEse_timerDuration()
/hardware/interfaces/vibrator/aidl/default/
DVibrator.cpp341 uint32_t totalDuration = 0; in composePwle() local
378 totalDuration += active.duration; in composePwle()
397 totalDuration += braking.duration; in composePwle()
403 std::thread([totalDuration, callback] { in composePwle()
405 usleep(totalDuration * 1000); in composePwle()
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp917 uint32_t totalDuration = 0; in composePwle() local
976 totalDuration += active.duration; in composePwle()
995 totalDuration += braking.duration; in composePwle()
1020 totalDuration += MAX_COLD_START_LATENCY_MS; in composePwle()
1021 mHwApi->setDuration(totalDuration); in composePwle()
1024 mTotalDuration = totalDuration; in composePwle()