/hardware/libhardware/modules/local_time/ |
H A D | local_time_hw.c | 36 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 D | PressureSensor.IIO.secondary.cpp | 44 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 D | MobiCoreDevice.cpp | 106 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 D | OMX_JpegDec_Utils.h | 160 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 D | ts_parser.h | 56 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
|
H A D | h264_utils.h | 239 #define VALID_TS(ts) ((ts < LLONG_MAX)? true : false)
|
H A D | omx_vdec.h | 509 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 D | ts_parser.h | 57 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
|
H A D | h264_utils.h | 243 #define VALID_TS(ts) ((ts < LLONG_MAX)? true : false)
|
H A D | omx_vdec_hevc.h | 509 bool insert_ts(OMX_TICKS ts); 510 bool pop_min_ts(OMX_TICKS &ts);
|
/hardware/broadcom/libbt/src/ |
H A D | upio.c | 462 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 D | atchannel.c | 114 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 D | ril_event.cpp | 99 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 D | ts_parser.cpp | 180 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 D | ts_parser.cpp | 208 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 D | heaptracker.c | 530 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 D | Camera.cpp | 612 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 D | TrustZoneDevice.cpp | 246 TrustletSession *ts = getTrustletSession(sessionId); local 247 if (ts == NULL) {
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/ |
H A D | MobiCoreDriverDaemon.cpp | 525 TrustletSession *ts = device->registerTrustletConnection( local 528 if (!ts) { 535 ts->processQueuedNotifications();
|
/hardware/invensense/60xx/libsensors/ |
H A D | MPLSensor.cpp | 964 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 D | offload_visualizer.c | 530 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 D | QCamera2HWICallbacks.cpp | 543 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 D | mm_camera_interface.h | 69 struct timespec ts; member in struct:__anon554
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
H A D | video_encoder_device.cpp | 389 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 D | video_encoder_device.cpp | 385 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);
|