Searched defs:ts (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/database/
H A DMatrixCursorTest.java135 NonIterableArrayList(Collection<? extends T> ts) { argument
136 super(ts);
/frameworks/base/libs/cpustats/
H A DThreadCpuUsage.cpp50 struct timespec ts; local
51 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
55 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL +
56 (ts.tv_nsec - mPreviousTs.tv_nsec);
59 mPreviousTs = ts;
85 struct timespec ts; local
87 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
91 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL +
92 (ts.tv_nsec - mPreviousTs.tv_nsec);
94 mPreviousTs = ts;
110 struct timespec ts; local
[all...]
/frameworks/base/libs/utils/
H A DSystemClock.cpp54 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 DBufferedTextOutput.cpp93 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...]
/frameworks/media/libvideoeditor/osal/src/
H A DM4OSA_Semaphore.c132 struct timespec ts; local
160 ts.tv_sec = 0;
163 ts.tv_nsec = 1000000;
168 ts.tv_nsec = timeout * 1000000;
171 nanosleep(&ts, &left);
H A DM4OSA_Mutex.c134 struct timespec ts; local
167 ts.tv_sec = 0;
170 ts.tv_nsec = 1000000;
175 ts.tv_nsec = timeout * 1000000;
178 nanosleep(&ts, &left);
/frameworks/base/services/jni/
H A Dcom_android_server_AlarmManagerService.cpp70 struct timespec ts; local
71 ts.tv_sec = seconds;
72 ts.tv_nsec = nanoseconds;
74 int result = ioctl(fd, ANDROID_ALARM_SET(type), &ts);
/frameworks/base/include/utils/
H A Dthreads.h459 struct timespec ts; local
460 ts.tv_sec = reltime/1000000000;
461 ts.tv_nsec = reltime%1000000000;
462 return -pthread_cond_timedwait_relative_np(&mCond, &mutex.mMutex, &ts);
464 struct timespec ts;
466 clock_gettime(CLOCK_REALTIME, &ts);
471 ts.tv_sec = t.tv_sec;
472 ts.tv_nsec= t.tv_usec*1000;
474 ts.tv_sec += reltime/1000000000;
475 ts
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp809 struct timespec ts; local
811 int res = clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts);
817 nsecs_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp656 timespec ts; local
657 ts.tv_sec = 0;
658 ts.tv_nsec = 100000000;
660 nanosleep(&ts, NULL);
666 nanosleep(&ts, NULL);
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp933 TimeSource *ts = (mFlags & AUDIO_AT_EOS) ? &mSystemTimeSource : mTimeSource; local
935 if(ts == NULL) {
945 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs;
954 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs;
963 ts->getRealTimeUs(),timeUs);
H A DPreviewPlayerBase.cpp1445 TimeSource *ts = (mFlags & AUDIO_AT_EOS) ? &mSystemTimeSource : mTimeSource; local
1449 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs;
1459 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs;
1471 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs;
/frameworks/media/libvideoeditor/vss/src/
H A DM4VSS3GPP_EditVideo.c102 M4_MediaTime ts,
1066 M4_MediaTime ts; local
1177 * Compute the time in the clip1 base: ts = to - Offset */
1179 ts = pC->ewc.dInputVidCts - pC->pC1->iVoffset;
1187 err = M4VSS3GPP_intRenderFrameWithEffect(pC, pC->pC1, ts, M4OSA_TRUE,
1219 * Compute the time in the clip2 base: ts = to - Offset */
1221 ts = pC->ewc.dInputVidCts - pC->pC2->iVoffset;
1227 err = M4VSS3GPP_intRenderFrameWithEffect(pC, pC->pC2, ts, M4OSA_FALSE,
1301 * Compute the time in the clip base: ts = to - Offset */
1302 ts
3509 M4VSS3GPP_intRenderFrameWithEffect(M4VSS3GPP_InternalEditContext *pC, M4VSS3GPP_ClipContext* pClipCtxt, M4_MediaTime ts, M4OSA_Bool bIsClip1, M4VIFI_ImagePlane *pResizePlane, M4VIFI_ImagePlane *pPlaneNoResize, M4VIFI_ImagePlane *pPlaneOut) argument
[all...]
/frameworks/base/media/libstagefright/
H A DAwesomePlayer.cpp1696 TimeSource *ts = local
1703 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs;
1713 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs;
1725 int64_t nowUs = ts->getRealTimeUs() - mTimeSourceDeltaUs;

Completed in 814 milliseconds