Searched defs:ts (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/libs/utils/ |
H A D | SystemClock.cpp | 54 struct timespec ts; 75 ts.tv_sec = tv.tv_sec; 76 ts.tv_nsec = tv.tv_usec * 1000; 77 res = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts); 119 struct timespec ts; local 121 ANDROID_ALARM_GET_TIME(ANDROID_ALARM_ELAPSED_REALTIME), &ts); 124 int64_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
|
H A D | futex_synchro.c | 104 struct timespec ts; local 105 ts.tv_sec = msec / 1000; 106 ts.tv_nsec = (msec % 1000) * 1000000; 108 if(__futex_wait(&m->value, 2, &ts) == -ETIMEDOUT) { 155 struct timespec ts; local 156 ts.tv_sec = msec / 1000; 157 ts.tv_nsec = (msec % 1000) * 1000000; 159 const int err = __futex_wait(&c->value, oldvalue, &ts);
|
H A D | BufferedTextOutput.cpp | 93 ThreadState* ts = (ThreadState*) thread_store_get( &tls ); local 94 if (ts) return ts; 95 ts = new ThreadState; 96 thread_store_set( &tls, ts, threadDestructor ); 97 return ts; 264 ThreadState* ts = getThreadState(); local 265 if (ts) { 266 while (ts->states.size() <= (size_t)mIndex) ts [all...] |
H A D | Threads.cpp | 504 struct timespec ts; local 505 ts.tv_sec = abstime/1000000000; 506 ts.tv_nsec = abstime-(ts.tv_sec*1000000000); 510 (pthread_mutex_t*) mutex.mState, &ts)) == EINTR) ;
|
/frameworks/base/tests/CoreTests/android/database/ |
H A D | MatrixCursorTest.java | 128 NonIterableArrayList(Collection<? extends T> ts) { argument 129 super(ts);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 88 struct timespec ts; local 89 ts.tv_sec = NANOSECONDS_TO_SECONDS(nanoseconds); 90 ts.tv_nsec = nanoseconds - SECONDS_TO_NANOSECONDS(ts.tv_sec); 92 int result = ioctl(fd, ANDROID_ALARM_SET(type), &ts);
|
/frameworks/base/cmds/runtime/ |
H A D | main_runtime.cpp | 258 struct timespec ts; local 265 res = ioctl(fd, ANDROID_ALARM_GET_TIME(ANDROID_ALARM_RTC_WAKEUP), &ts); 269 else if(ts.tv_sec >= min_time) { 272 LOGW("Invalid time detected, %ld set to %ld\n", ts.tv_sec, min_time); 273 ts.tv_sec = min_time; 274 ts.tv_nsec = 0; 275 res = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts); 277 LOGW("Unable to set rtc to %ld: %s\n", ts.tv_sec, strerror(errno));
|
/frameworks/base/media/libdrm/mobile2/src/rights/ |
H A D | Ro.cpp | 442 long Ro::convertISO8601DateTimeToLong(const char* ts) argument 444 if (NULL == ts) 452 strptime(ts, "%FT%T%z", &time); 461 long Ro::convertISO8601PeriodToLong(const char* ts) argument 463 if (NULL == ts) 469 sscanf(ts, "P%dDT%dH%dM%dS", &date, &hour, &min, &sec);
|
/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 821 struct timespec ts; local 823 int res = clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); 829 nsecs_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
|
Completed in 199 milliseconds