Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/services/audioflinger/
DFastThread.cpp226 time_t sec = newTs.tv_sec - mOldTs.tv_sec; in threadLoop() local
228 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), in threadLoop()
232 --sec; in threadLoop()
243 mMeasuredWarmupTs.tv_sec += sec; in threadLoop()
269 if (sec > 0 || nsec > mUnderrunNs) { in threadLoop()
273 (int) sec, nsec / 1000000L); in threadLoop()
283 (int) sec, nsec / 1000000L); in threadLoop()
311 if (sec > 0 && sec < 4) { in threadLoop()
312 monotonicNs += sec * 1000000000U; // unsigned to prevent signed overflow. in threadLoop()
320 sec = newLoad.tv_sec - mOldLoad.tv_sec; in threadLoop()
[all …]
DAudioWatchdog.cpp67 time_t sec = newTs.tv_sec - mOldTs.tv_sec; in threadLoop() local
70 --sec; in threadLoop()
76 if (sec > 0) { in threadLoop()
77 if (sec < 4) { in threadLoop()
78 cycleNs += sec * 1000000000; in threadLoop()
83 mLogTs.tv_sec += sec; in threadLoop()
/frameworks/av/services/mediametrics/
Dcleaner.cpp37 for (int sec = 1; sec <= 32; sec *= 2) { in bucket_time_minutes() local
38 if (in_millis <= sec * SEC_TO_MS) { in bucket_time_minutes()
39 return sec * SEC_TO_MS; in bucket_time_minutes()
DMediaMetricsService.cpp287 const auto sec = (int64_t)strtoll(p, &endp, 10); in dump() local
288 if (endp == p || *endp != '\0' || sec == 0) { in dump()
290 } else if (sec < 0) { in dump()
291 sinceNs = systemTime(SYSTEM_TIME_REALTIME) + sec * NANOS_PER_SECOND; in dump()
293 sinceNs = sec * NANOS_PER_SECOND; in dump()
/frameworks/av/media/libnbaio/
DMonoPipe.cpp130 time_t sec = nowTs.tv_sec - mWriteTs.tv_sec; in write() local
132 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), in write()
136 --sec; in write()
139 if (sec == 0) { in write()
/frameworks/av/include/media/
DInterpolator.h125 S sec, sec0, sec1; in findY() local
127 sec = (high->second - low->second) / interval; in findY()
149 m0 = (sec0 + sec) * 0.5f; in findY()
150 m1 = (sec1 + sec) * 0.5f; in findY()
159 const S maxSlope = 3 * sec; in findY()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioTimestampInternal.aidl28 long sec;
/frameworks/native/services/sensorservice/
DSensorRegistrationInfo.h68 const int8_t sec = static_cast<int8_t>(timeinfo->tm_sec); in dump() local
73 << std::setw(2) << static_cast<int>(sec) in dump()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h140 auto [sec, secRemainderMs] = std::div(minsRemainderMs, MS_PER_S); in getDateFormatFromMs()
143 days, hours, mins, sec, secRemainderMs); in getDateFormatFromMs()
/frameworks/base/core/proto/android/util/
Dlog.proto29 optional uint64 sec = 1; field
56 optional uint64 sec = 1; field
/frameworks/base/location/java/android/location/
DLocation.java1074 double sec = 0.0; in convert() local
1080 sec = Double.parseDouble(seconds); in convert()
1086 boolean isNegative180 = negative && deg == 180 && min == 0 && sec == 0; in convert()
1099 if (sec < 0 || sec >= 60) { in convert()
1103 val = deg * 3600.0 + min * 60.0 + sec; in convert()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dgradle.properties17 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/frameworks/base/tests/TouchLatency/
Dgradle.properties17 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/frameworks/base/startop/apps/ColorChanging/
Dgradle.properties12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/frameworks/base/packages/EasterEgg/
Dgradle.properties12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/frameworks/opt/car/setupwizard/
Dgradle.properties27 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1236 time_t sec = stopTime.tv_sec - mStartTime.tv_sec; in stopTone() local
1239 --sec; in stopTone()
1243 if ((sec + 1) > ((time_t)(INT_MAX / mSamplingRate))) { in stopTone()
1244 mMaxSmp = sec * mSamplingRate; in stopTone()
1247 sec = sec * 1000 + nsec / 1000000; // duration in milliseconds in stopTone()
1248 mMaxSmp = (unsigned int)(((int64_t)sec * mSamplingRate) / 1000); in stopTone()
DAidlConversion.cpp2591 legacy.mTime.tv_sec = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.sec)); in aidl2legacy_AudioTimestampInternal_AudioTimestamp()
2600 aidl.sec = VALUE_OR_RETURN(convertIntegral<int64_t>(legacy.mTime.tv_sec)); in legacy2aidl_AudioTimestamp_AudioTimestampInternal()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java122 long sec = diff % 60; //seconds in buildLoggingSummary() local
128 summary.append(Long.toString(sec) + "s "); in buildLoggingSummary()
/frameworks/base/cmds/incidentd/src/
DSection.cpp246 WorkerThreadData::WorkerThreadData(const WorkerThreadSection* sec) in WorkerThreadData() argument
247 : section(sec), workerDone(false), workerError(NO_ERROR) {} in WorkerThreadData()
624 lastTimestamp.tv_sec = msg.entry.sec; in BlockingCall()
629 proto.write(BinaryLogEntry::SEC, (int32_t)msg.entry.sec); in BlockingCall()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp810 LDSection* sec = *rs; in doRelax() local
812 if (LDFileFormat::Ignore == sec->kind() || !sec->hasRelocData()) in doRelax()
815 for (RelocData::iterator reloc = sec->getRelocData()->begin(); in doRelax()
816 reloc != sec->getRelocData()->end(); in doRelax()
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp257 const time_t sec = ns / one_second; in nsToString() local
261 if (localtime_r(&sec, &tm) == NULL) { in nsToString()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto1119 // How many milliseconds have passed since the last screen on. (i.e. 1000 == 1 sec ago)
1121 // How many milliseconds have passed since the last screen off. (i.e. 1000 == 1 sec ago)
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2624 final long sec = diff % 3600; in dumpRecentHistory() local
2626 diff / 3600, sec / 60, sec % 60); in dumpRecentHistory()
/frameworks/base/core/java/android/os/
DBatteryStats.java3563 long sec = time / 1000; in formatTimeMs() local
3564 formatTimeRaw(sb, sec); in formatTimeMs()
3565 sb.append(time - (sec * 1000)); in formatTimeMs()
3570 long sec = time / 1000; in formatTimeMsNoSpace() local
3571 formatTimeRaw(sb, sec); in formatTimeMsNoSpace()
3572 sb.append(time - (sec * 1000)); in formatTimeMsNoSpace()

12