Searched refs:sec (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioWatchdog.cpp67 time_t sec = newTs.tv_sec - mOldTs.tv_sec; local
70 --sec;
74 // cycleNs is same as sec*1e9 + nsec, but limited to about 4 seconds
76 if (sec > 0) {
77 if (sec < 4) {
78 cycleNs += sec * 1000000000;
83 mLogTs.tv_sec += sec;
H A DFastThread.cpp32 #define FAST_DEFAULT_NS 999999999L // ~1 sec: default time to sleep
227 time_t sec = newTs.tv_sec - mOldTs.tv_sec;
229 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0),
233 --sec;
244 mMeasuredWarmupTs.tv_sec += sec;
267 if (sec > 0 || nsec > mUnderrunNs) {
270 ALOGV("underrun: time since last cycle %d.%03ld sec",
271 (int) sec, nsec / 1000000L);
279 ALOGV("overrun: time since last cycle %d.%03ld sec",
[all...]
/frameworks/base/core/proto/android/util/
H A Dlog.proto29 optional uint64 sec = 1;
56 optional uint64 sec = 1;
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp130 time_t sec = nowTs.tv_sec - mWriteTs.tv_sec; local
132 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0),
136 --sec;
139 if (sec == 0) {
/frameworks/base/cmds/statsd/benchmark/
H A Dlog_event_benchmark.cpp59 msg->entry_v1.sec = time(nullptr);
/frameworks/base/cmds/statsd/src/external/
H A DStatsCompanionServicePuller.cpp69 tmp.entry_v1.sec = timestampSec;
/frameworks/av/include/media/
H A DInterpolator.h131 S sec, sec0, sec1; local
133 sec = (high->second - low->second) / interval;
155 m0 = (sec0 + sec) * 0.5f;
156 m1 = (sec1 + sec) * 0.5f;
165 const S maxSlope = 3 * sec;
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl79 void commitContent(in InputContentInfo inputContentInfo, int flags, in Bundle opts, int sec,
/frameworks/base/location/java/android/location/
H A DLocation.java292 double sec = 0.0;
298 sec = Double.parseDouble(seconds);
305 (min == 0) && (sec == 0);
318 // sec must be in [0.0, 60.0)
319 if (sec < 0 || sec >= 60) {
324 val = deg*3600.0 + min*60.0 + sec;
/frameworks/base/cmds/statsd/src/socket/
H A DStatsSocketListener.cpp106 msg.entry.sec = time(nullptr);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiUtils.java46 long sec = diff % 60; //seconds
52 summary.append(Long.toString(sec) + "s ");
/frameworks/base/cmds/incidentd/src/
H A DSection.cpp417 WorkerThreadData::WorkerThreadData(const WorkerThreadSection* sec) argument
418 : section(sec), workerDone(false), workerError(NO_ERROR) {}
736 lastTimestamp.tv_sec = msg.entry_v1.sec;
741 proto.write(BinaryLogEntry::SEC, msg.entry_v1.sec);
/frameworks/av/media/libaudioclient/
H A DToneGenerator.cpp1138 time_t sec = stopTime.tv_sec - mStartTime.tv_sec; local
1141 --sec;
1145 if ((sec + 1) > ((long)(INT_MAX / mSamplingRate))) {
1146 mMaxSmp = sec * mSamplingRate;
1149 sec = sec * 1000 + nsec / 1000000; // duration in milliseconds
1150 mMaxSmp = (unsigned int)(((int64_t)sec * mSamplingRate) / 1000);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp810 LDSection* sec = *rs; local
812 if (LDFileFormat::Ignore == sec->kind() || !sec->hasRelocData())
815 for (RelocData::iterator reloc = sec->getRelocData()->begin();
816 reloc != sec->getRelocData()->end();
/frameworks/base/cmds/statsd/src/logd/
H A DLogEvent.cpp34 mLogdTimestampNs = msg.entry_v1.sec * NS_PER_SEC + msg.entry_v1.nsec;
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java2591 final long sec = diff % 3600;
2593 diff / 3600, sec / 60, sec % 60);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java3002 long sec = time / 1000;
3003 formatTimeRaw(sb, sec);
3004 sb.append(time - (sec * 1000));
3009 long sec = time / 1000;
3010 formatTimeRaw(sb, sec);
3011 sb.append(time - (sec * 1000));
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 386 milliseconds