/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 | 35 #define FAST_DEFAULT_NS 999999999L // ~1 sec: default time to sleep 449 time_t sec = newTs.tv_sec - oldTs.tv_sec; 452 --sec; 462 measuredWarmupTs.tv_sec += sec; 478 if (sec > 0 || nsec > underrunNs) { 483 ALOGV("underrun: time since last cycle %d.%03ld sec", 484 (int) sec, nsec / 1000000L); 492 ALOGV("overrun: time since last cycle %d.%03ld sec", 493 (int) sec, nsec / 1000000L); 519 if (sec > [all...] |
H A D | MonoPipe.cpp | 128 time_t sec = nowTs.tv_sec - mWriteTs.tv_sec; local 131 --sec; 134 if (sec == 0) {
|
/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/compile/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); 724 ELFSectionTy *sec = stab[i]; local 725 if (sec) { 726 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/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 | 238 double sec = 0.0; 243 sec = Double.parseDouble(seconds); 249 (min == 0) && (sec == 0); 259 if (sec < 0 || sec > 59) { 264 val = deg*3600.0 + min*60.0 + sec;
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 321 * Returns the total time (in 1/100 sec) spent executing in user code. 328 * Returns the total time (in 1/100 sec) spent executing in system code. 1058 long sec = time / 100; 1059 formatTimeRaw(sb, sec); 1060 sb.append((time - (sec * 100)) * 10); 1065 long sec = time / 1000; 1066 formatTimeRaw(sb, sec); 1067 sb.append(time - (sec * 1000));
|
/frameworks/base/core/java/android/content/ |
H A D | SyncManager.java | 1139 + ((settings.delayUntil - now) / 1000) + " sec"); 1143 + ((settings.backoffTime - now) / 1000) + " sec"); 1147 + " sec"); 1413 final long sec = diff % 3600; 1415 diff / 3600, sec / 60, sec % 60);
|