Searched refs:totalDuration (Results 1 – 9 of 9) sorted by relevance
228 uint64_t totalDuration = 0; in ProcessPowerTrackNtf() local229 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()
226 int DspMemChunk::updateWLength(uint32_t totalDuration) { in updateWLength() argument227 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()
512 uint16_t totalDuration = 0; in compose() local524 totalDuration += nextEffectDelay; in compose()561 totalDuration += mEffectDurations[effectIndex]; in compose()576 totalDuration += delay; in compose()1079 uint32_t totalDuration = 0; in composePwle() local1155 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 …]
81 int updateWLength(uint32_t totalDuration);
60 unsigned long totalDuration();
48 unsigned long NxpTimer::totalDuration() { in totalDuration() function in NxpTimer
412 return timer->totalDuration(); in phPalEse_timerDuration()
341 uint32_t totalDuration = 0; in composePwle() local378 totalDuration += active.duration; in composePwle()397 totalDuration += braking.duration; in composePwle()403 std::thread([totalDuration, callback] { in composePwle()405 usleep(totalDuration * 1000); in composePwle()
917 uint32_t totalDuration = 0; in composePwle() local976 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()