Searched refs:ts (Results 1 - 25 of 41) sorted by relevance

12

/hardware/libhardware/modules/local_time/
H A Dlocal_time_hw.c36 struct timespec ts; local
40 ret = clock_gettime(CLOCK_MONOTONIC, &ts);
47 now = (((uint64_t)ts.tv_sec) * 1000000000ull) +
48 ((uint64_t)ts.tv_nsec);
70 struct timespec ts; local
/hardware/invensense/65xx/libsensors_iio/
H A DPressureSensor.IIO.secondary.cpp44 struct timespec ts; local
46 clock_gettime(CLOCK_MONOTONIC, &ts);
47 LOGV_IF(EXTRA_VERBOSE, "Time %lld", (int64_t)ts.tv_sec * 1000000000 + ts.tv_nsec);
48 return (int64_t) ts.tv_sec * 1000000000 + ts.tv_nsec;
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
H A DMobiCoreDevice.cpp106 TrustletSession *ts = NULL; local
108 ts = getTrustletSession(sessionId);
109 if (ts == NULL) {
113 con = ts->notificationConnection;
115 ts->queueNotification(notification);
153 TrustletSession *ts = *interator; local
155 if (ts->deviceConnection == connection) {
156 closeSession(connection, ts->sessionId);
361 TrustletSession *ts = *iterator; local
363 if (ts !
428 TrustletSession *ts = getTrustletSession(sessionId); local
451 TrustletSession *ts = getTrustletSession(sessionId); local
497 TrustletSession *ts = getTrustletSession(sessionId); local
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/inc/
H A DOMX_JpegDec_Utils.h160 struct timespec ts; \
166 ts.tv_sec = sTime.tv_sec; \
167 ts.tv_sec += JPEGDEC_TIMEOUT; \
171 &ts); \
187 struct timespec ts; \
193 ts.tv_sec = sTime.tv_sec; \
194 ts.tv_sec += JPEGDEC_TIMEOUT; \
198 &ts); \
214 struct timespec ts; \
220 ts
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
H A Dts_parser.h56 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
H A Dh264_utils.h239 #define VALID_TS(ts) ((ts < LLONG_MAX)? true : false)
H A Domx_vdec.h509 bool insert_ts(OMX_TICKS ts);
510 bool pop_min_ts(OMX_TICKS &ts);
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
H A Dts_parser.h57 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
H A Dh264_utils.h243 #define VALID_TS(ts) ((ts < LLONG_MAX)? true : false)
H A Domx_vdec_hevc.h509 bool insert_ts(OMX_TICKS ts);
510 bool pop_min_ts(OMX_TICKS &ts);
/hardware/broadcom/libbt/src/
H A Dupio.c462 struct itimerspec ts; local
464 ts.it_value.tv_sec = PROC_BTWRITE_TIMER_TIMEOUT_MS/1000;
465 ts.it_value.tv_nsec = 1000*(PROC_BTWRITE_TIMER_TIMEOUT_MS%1000);
466 ts.it_interval.tv_sec = 0;
467 ts.it_interval.tv_nsec = 0;
469 timer_settime(lpm_proc_cb.timer_id, 0, &ts, 0);
/hardware/ril/reference-ril/
H A Datchannel.c114 struct timespec ts; local
117 ts.tv_sec = (msec / 1000);
118 ts.tv_nsec = (msec % 1000) * 1000 * 1000;
121 err = nanosleep (&ts, &ts);
727 struct timespec ts; local
748 setTimespecRelative(&ts, timeoutMsec);
757 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts);
/hardware/ril/libril/
H A Dril_event.cpp99 struct timespec ts; local
100 clock_gettime(CLOCK_MONOTONIC, &ts);
101 tv->tv_sec = ts.tv_sec;
102 tv->tv_usec = ts.tv_nsec/1000;
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Dts_parser.cpp180 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) argument
189 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
194 DEBUG("Removed TS %lld", ts);
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Dts_parser.cpp208 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) argument
220 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
226 DEBUG("Removed TS %lld", ts);
/hardware/ti/omap4xxx/
H A Dheaptracker.c530 struct timespec ts; local
543 clock_gettime(CLOCK_REALTIME, &ts);
544 ts.tv_sec += SCANNER_SLEEP_S;
545 pthread_cond_timedwait(&scanner_cond, &scanner_lock, &ts);
/hardware/libhardware/modules/camera/
H A DCamera.cpp612 struct timespec ts; local
618 res = clock_gettime(CLOCK_BOOTTIME, &ts);
620 timestamp = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/
H A DTrustZoneDevice.cpp246 TrustletSession *ts = getTrustletSession(sessionId); local
247 if (ts == NULL) {
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/
H A DMobiCoreDriverDaemon.cpp525 TrustletSession *ts = device->registerTrustletConnection( local
528 if (!ts) {
535 ts->processQueuedNotifications();
/hardware/invensense/60xx/libsensors/
H A DMPLSensor.cpp964 struct timespec ts; local
966 clock_gettime(CLOCK_MONOTONIC, &ts);
967 //ALOGV("Time %lld", (int64_t)ts.tv_sec * 1000000000 + ts.tv_nsec);
968 return (int64_t) ts.tv_sec * 1000000000 + ts.tv_nsec;
/hardware/qcom/audio/visualizer/
H A Doffload_visualizer.c530 struct timespec ts; local
531 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
532 time_t secs = ts.tv_sec - visu_ctxt->buffer_update_time.tv_sec;
533 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec;
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp543 frame->ts.tv_sec,
544 frame->ts.tv_nsec);
546 nsecs_t timeStamp = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec;
/hardware/qcom/camera/QCamera2/stack/common/
H A Dmm_camera_interface.h69 struct timespec ts; member in struct:__anon554
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
H A Dvideo_encoder_device.cpp389 struct timespec ts; local
396 if (clock_gettime(CLOCK_REALTIME, &ts) < 0)
401 ts.tv_sec += 1;
405 &loaded_start_stop_mlock, &ts);
421 struct timespec ts; local
428 if (clock_gettime(CLOCK_REALTIME, &ts) < 0)
433 ts.tv_sec += 1;
437 &loaded_start_stop_mlock, &ts);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device.cpp385 struct timespec ts; local
393 if (clock_gettime(CLOCK_REALTIME, &ts) < 0) {
398 ts.tv_sec += 1;
402 &loaded_start_stop_mlock, &ts);
419 struct timespec ts; local
427 if (clock_gettime(CLOCK_REALTIME, &ts) < 0) {
432 ts.tv_sec += 1;
436 &loaded_start_stop_mlock, &ts);

Completed in 8341 milliseconds

12