Searched refs:sec (Results 1 - 10 of 10) 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 DFastMixer.cpp44 #define FAST_DEFAULT_NS 999999999L // ~1 sec: default time to sleep
522 time_t sec = newTs.tv_sec - oldTs.tv_sec;
524 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0),
528 --sec;
538 measuredWarmupTs.tv_sec += sec;
554 if (sec > 0 || nsec > underrunNs) {
557 ALOGV("underrun: time since last cycle %d.%03ld sec",
558 (int) sec, nsec / 1000000L);
566 ALOGV("overrun: time since last cycle %d.%03ld sec",
[all...]
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSymbol.hxx159 ELFSectionTy const *sec = owner->getSectionByIndex(idx); local
160 rsl_assert(sec != 0 && "STT_OBJECT with null section.");
163 static_cast<ELFSectionBitsTy const &>(*sec);
224 ELFSectionTy const *sec = owner->getSectionByIndex(idx); local
225 rsl_assert(sec != 0 && "STT_FUNC with null section.");
228 static_cast<ELFSectionProgBitsTy const &>(*sec);
254 ELFSectionTy const *sec = owner->getSectionByIndex(idx); local
255 rsl_assert(sec != 0 && "STT_SECTION with null section.");
258 static_cast<ELFSectionBitsTy const &>(*sec);
283 ELFSectionTy const *sec local
[all...]
H A DELFObject.hxx57 llvm::OwningPtr<ELFSectionTy> sec(
59 object->stab.push_back(sec.take());
72 llvm::OwningPtr<ELFSectionTy> sec(
74 object->stab[index] = sec.take();
82 ELFSectionTy const *sec = stab[header->getStringSectionIndex()]; local
84 if (sec) {
86 static_cast<ELFSectionStrTabTy const &>(*sec);
733 ELFSectionTy *sec = stab[i]; local
734 if (sec) {
735 sec
[all...]
/frameworks/base/core/jni/
H A DTimeUtils.h69 inline void set(int sec, int min, int hour, int mday, int mon, int year, argument
72 this->t.tm_sec = sec;
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp168 time_t sec = nowTs.tv_sec - mWriteTs.tv_sec; local
170 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0),
174 --sec;
177 if (sec == 0) {
/frameworks/base/location/java/android/location/
H A DLocation.java253 double sec = 0.0;
258 sec = Double.parseDouble(seconds);
264 (min == 0) && (sec == 0);
274 if (sec < 0 || sec > 59) {
279 val = deg*3600.0 + min*60.0 + sec;
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp985 time_t sec = stopTime.tv_sec - mStartTime.tv_sec; local
989 --sec;
993 if ((sec + 1) > ((long)(INT_MAX / mSamplingRate))) {
994 mMaxSmp = sec * mSamplingRate;
997 sec = sec * 1000 + nsec / 1000000; // duration in milliseconds
998 mMaxSmp = (unsigned int)(((int64_t)sec * mSamplingRate) / 1000);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java343 * Returns the total time (in 1/100 sec) spent executing in user code.
350 * Returns the total time (in 1/100 sec) spent executing in system code.
1089 long sec = time / 100;
1090 formatTimeRaw(sb, sec);
1091 sb.append((time - (sec * 100)) * 10);
1096 long sec = time / 1000;
1097 formatTimeRaw(sb, sec);
1098 sb.append(time - (sec * 1000));
/frameworks/base/services/java/com/android/server/content/
H A DSyncManager.java1576 final long sec = diff % 3600;
1578 diff / 3600, sec / 60, sec % 60);

Completed in 312 milliseconds