/frameworks/av/services/audioflinger/ |
H A D | AudioWatchdog.cpp | 64 time_t sec = newTs.tv_sec - mOldTs.tv_sec; local 67 --sec; 71 // cycleNs is same as sec*1e9 + nsec, but limited to about 4 seconds 73 if (sec > 0) { 74 if (sec < 4) { 75 cycleNs += sec * 1000000000; 80 mLogTs.tv_sec += sec;
|
H A D | FastMixer.cpp | 43 #define FAST_DEFAULT_NS 999999999L // ~1 sec: default time to sleep 470 time_t sec = newTs.tv_sec - oldTs.tv_sec; 472 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), 476 --sec; 486 measuredWarmupTs.tv_sec += sec; 502 if (sec > 0 || nsec > underrunNs) { 505 ALOGV("underrun: time since last cycle %d.%03ld sec", 506 (int) sec, nsec / 1000000L); 514 ALOGV("overrun: time since last cycle %d.%03ld sec", [all...] |
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_time.h | 50 uint16_t sec; member in struct:__db_system_time_
|
H A D | drm_inner.h | 26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ 32 sec = time % 100;\
|
/frameworks/base/media/libdrm/mobile1/include/parser/ |
H A D | parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ 45 time = hour * 10000 + min * 100 + sec;\ 55 int32_t time; /**< hour * 10000 + min *100 + sec */ 98 * \param sec second of the time 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec);
|
/frameworks/rs/driver/linkloader/include/impl/ |
H A D | ELFSymbol.hxx | 159 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 D | ELFObject.hxx | 57 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/media/libdrm/mobile1/src/objmng/ |
H A D | drm_time.c | 51 time_ptr->sec = tm_t->tm_sec;
|
H A D | drm_api.c | 348 curDateTime.hour, curDateTime.min, curDateTime.sec)) 353 curDateTime.sec, CurrentTime.time); 390 int32_t year, mon, day, hour, min, sec, date, time; local 403 INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time); 405 if (sec > 59) { 406 min += sec / 60; 407 sec %= 60; 434 min, sec, XXConstraint->EndTime.time); 462 curDateTime.hour, curDateTime.min, curDateTime.sec)) 467 curDateTime.sec, CurrentTim [all...] |
/frameworks/base/core/jni/ |
H A D | TimeUtils.h | 69 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 D | MonoPipe.cpp | 165 time_t sec = nowTs.tv_sec - mWriteTs.tv_sec; local 167 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), 171 --sec; 174 if (sec == 0) {
|
/frameworks/base/media/libdrm/mobile1/src/parser/ |
H A D | parser_rel.c | 52 int32_t hour, int32_t min, int32_t sec) 57 min >= 0 && min <= 59 && sec >= 0 && sec <= 59) 66 int32_t year, mon, day, hour, min, sec; local 126 sec = atoi((char *)pHead); 128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) 131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, 238 int32_t year, mon, day, hour, min, sec; local 400 sec = atoi((char *)pHead); 406 || min < 0 || sec < 51 drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec) argument [all...] |
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 253 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 D | ToneGenerator.cpp | 990 time_t sec = stopTime.tv_sec - mStartTime.tv_sec; local 994 --sec; 998 if ((sec + 1) > ((long)(INT_MAX / mSamplingRate))) { 999 mMaxSmp = sec * mSamplingRate; 1002 sec = sec * 1000 + nsec / 1000000; // duration in milliseconds 1003 mMaxSmp = (unsigned int)(((int64_t)sec * mSamplingRate) / 1000);
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 337 * Returns the total time (in 1/100 sec) spent executing in user code. 344 * Returns the total time (in 1/100 sec) spent executing in system code. 1074 long sec = time / 100; 1075 formatTimeRaw(sb, sec); 1076 sb.append((time - (sec * 100)) * 10); 1081 long sec = time / 1000; 1082 formatTimeRaw(sb, sec); 1083 sb.append(time - (sec * 1000));
|
/frameworks/base/services/java/com/android/server/content/ |
H A D | SyncManager.java | 1536 final long sec = diff % 3600; 1538 diff / 3600, sec / 60, sec % 60);
|