Home
last modified time | relevance | path

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

/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/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.h131 S sec, sec0, sec1; in findY() local
133 sec = (high->second - low->second) / interval; in findY()
155 m0 = (sec0 + sec) * 0.5f; in findY()
156 m1 = (sec1 + sec) * 0.5f; in findY()
165 const S maxSlope = 3 * sec; in findY()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h130 auto [sec, secRemainderMs] = std::div(minsRemainderMs, MS_PER_S); in getDateFormatFromMs()
133 days, hours, mins, sec, secRemainderMs); in getDateFormatFromMs()
/frameworks/base/location/java/android/location/
DLocation.java309 double sec = 0.0; in convert() local
315 sec = Double.parseDouble(seconds); in convert()
322 (min == 0) && (sec == 0); in convert()
336 if (sec < 0 || sec >= 60) { in convert()
341 val = deg*3600.0 + min*60.0 + sec; in convert()
/frameworks/base/core/proto/android/util/
Dlog.proto29 optional uint64 sec = 1; field
56 optional uint64 sec = 1; field
/frameworks/base/startop/scripts/app_startup/
Drun_app_with_prefetch29 -s, --sleep <sec> how long to sleep after readahead
30 -t, --timeout <sec> how many seconds to timeout in between each app run (default 10)
/frameworks/base/cmds/statsd/benchmark/
Dlog_event_benchmark.cpp59 msg->entry.sec = time(nullptr); in getSimpleLogMsgData()
/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/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java47 long sec = diff % 60; //seconds in buildLoggingSummary() local
53 summary.append(Long.toString(sec) + "s "); in buildLoggingSummary()
/frameworks/base/core/java/com/android/internal/view/
DIInputContext.aidl79 void commitContent(in InputContentInfo inputContentInfo, int flags, in Bundle opts, int sec, in commitContent() argument
/frameworks/base/startop/apps/ColorChanging/
Dgradle.properties12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.h546 LogLossStats(int32_t sec, int32_t count, int32_t error, int32_t tag, int32_t uid, in LogLossStats()
548 : mWallClockSec(sec), in LogLossStats()
/frameworks/base/cmds/incidentd/src/
DSection.cpp245 WorkerThreadData::WorkerThreadData(const WorkerThreadSection* sec) in WorkerThreadData() argument
246 : section(sec), workerDone(false), workerError(NO_ERROR) {} in WorkerThreadData()
549 lastTimestamp.tv_sec = msg.entry.sec; in BlockingCall()
554 proto.write(BinaryLogEntry::SEC, (int32_t)msg.entry.sec); in BlockingCall()
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1177 time_t sec = stopTime.tv_sec - mStartTime.tv_sec; in stopTone() local
1180 --sec; in stopTone()
1184 if ((sec + 1) > ((time_t)(INT_MAX / mSamplingRate))) { in stopTone()
1185 mMaxSmp = sec * mSamplingRate; in stopTone()
1188 sec = sec * 1000 + nsec / 1000000; // duration in milliseconds in stopTone()
1189 mMaxSmp = (unsigned int)(((int64_t)sec * mSamplingRate) / 1000); in stopTone()
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp128 msg.entry.sec = time(nullptr); in onDataAvailable()
/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/opt/net/wifi/service/proto/src/
Dscorecard.proto89 optional UnivariateStatistic linkspeed = 4; // Link speed (Mbits/sec)
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp41 mLogdTimestampNs = msg.entry.sec * NS_PER_SEC + msg.entry.nsec; in LogEvent()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto945 // How many milliseconds have passed since the last screen on. (i.e. 1000 == 1 sec ago)
947 // 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.java2570 final long sec = diff % 3600; in dumpRecentHistory() local
2572 diff / 3600, sec / 60, sec % 60); in dumpRecentHistory()
/frameworks/base/core/java/android/os/
DBatteryStats.java3160 long sec = time / 1000; in formatTimeMs() local
3161 formatTimeRaw(sb, sec); in formatTimeMs()
3162 sb.append(time - (sec * 1000)); in formatTimeMs()
3167 long sec = time / 1000; in formatTimeMsNoSpace() local
3168 formatTimeRaw(sb, sec); in formatTimeMsNoSpace()
3169 sb.append(time - (sec * 1000)); in formatTimeMsNoSpace()
/frameworks/base/cmds/statsd/src/
Datoms.proto5381 * Min cool-down is 5 sec.