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

1234

/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/
H A Dloc_stub_time.cpp44 struct timespec ts; local
46 clock_gettime(CLOCK_BOOTTIME, &ts);
47 time_ms += (ts.tv_sec * 1000000000LL); /* Seconds to nanoseconds */
48 time_ms += ts.tv_nsec; /* Add Nanoseconds */
/hardware/interfaces/audio/2.0/vts/functional/utility/
H A DReturnIn.h28 ReturnIn(ResultStore&... ts) : results(ts...) {} argument
56 detail::ReturnIn<ResultStore...> returnIn(ResultStore&... ts) { return {ts...};} argument
/hardware/qcom/gps/msm8960/utils/
H A Dloc_timer.c49 struct timespec ts; local
74 clock_gettime(CLOCK_REALTIME, &ts);
76 ts.tv_sec += t.time_msec/1000;
80 ts.tv_nsec += t.time_msec * 1000000;
81 if(ts.tv_nsec > 999999999) {
83 ts.tv_sec += 1;
84 ts.tv_nsec -= 1000000000;
86 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n",
87 __func__, __LINE__, (int)ts
[all...]
H A Dlog_util.h141 char ts[32]; \
143 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
H A Dand_constructor.c112 inv_time_t ts; local
147 r = fread(&ts, sizeof(ts), 1, inv_construct.file);
148 inv_build_gyro(gyro, ts);
150 gyro[0], gyro[1], gyro[2], ts);
156 r = fread(&ts, sizeof(ts), 1, inv_construct.file);
158 inv_build_accel(accel, 0, ts);
160 buffer[0], buffer[1], buffer[2], ts);
167 r = fread(&ts, sizeo
[all...]
/hardware/qcom/display/msm8996/sdm/include/utils/
H A Dlocker.h143 struct timespec ts; local
146 ts.tv_sec = tv.tv_sec + ms/1000;
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000;
148 ts.tv_sec += ts.tv_nsec/1000000000L;
149 ts.tv_nsec += ts.tv_nsec%1000000000L;
150 return pthread_cond_timedwait(&condition_, &mutex_, &ts);
/hardware/qcom/display/msm8998/sdm/include/utils/
H A Dlocker.h143 struct timespec ts; local
146 ts.tv_sec = tv.tv_sec + ms/1000;
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000;
148 ts.tv_sec += ts.tv_nsec/1000000000L;
149 ts.tv_nsec %= 1000000000L;
150 return pthread_cond_timedwait(&condition_, &mutex_, &ts);
/hardware/qcom/gps/msm8084/utils/
H A Dloc_timer.c56 struct timespec ts; local
63 clock_gettime(CLOCK_REALTIME, &ts);
65 ts.tv_sec += t->time_msec/1000;
69 ts.tv_nsec += t->time_msec * 1000000;
70 if(ts.tv_nsec > 999999999) {
72 ts.tv_sec += 1;
73 ts.tv_nsec -= 1000000000;
75 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n"
77 __func__, __LINE__, (int)ts
[all...]
H A Dlog_util.h151 char ts[32]; \
153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/qcom/gps/msm8994/utils/
H A Dloc_timer.c56 struct timespec ts; local
63 clock_gettime(CLOCK_REALTIME, &ts);
65 ts.tv_sec += t->time_msec/1000;
69 ts.tv_nsec += t->time_msec * 1000000;
70 if(ts.tv_nsec > 999999999) {
72 ts.tv_sec += 1;
73 ts.tv_nsec -= 1000000000;
75 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n"
77 __func__, __LINE__, (int)ts
[all...]
H A Dlog_util.h151 char ts[32]; \
153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/qcom/gps/utils/
H A Dloc_timer.c56 struct timespec ts; local
63 clock_gettime(CLOCK_REALTIME, &ts);
65 ts.tv_sec += t->time_msec/1000;
69 ts.tv_nsec += t->time_msec * 1000000;
70 if(ts.tv_nsec > 999999999) {
72 ts.tv_sec += 1;
73 ts.tv_nsec -= 1000000000;
75 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n"
77 __func__, __LINE__, (int)ts
[all...]
H A Dlog_util.h129 char ts[32]; \
131 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/libhardware/modules/local_time/
H A Dlocal_time_hw.c40 struct timespec ts; local
44 ret = clock_gettime(CLOCK_MONOTONIC, &ts);
51 now = (((uint64_t)ts.tv_sec) * 1000000000ull) +
52 ((uint64_t)ts.tv_nsec);
75 struct timespec ts; local
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
H A DVirtualThermalZone.java84 ThermalSensor ts = getThermalSensorList().get(0);
85 ThermalSensorAttrib sa = mThermalSensorsAttribMap.get(ts.getSensorName());
115 ThermalSensor ts = list.get(0);
116 weightedTemp = getWeightedTemp(ts, ts.readSensorTemp());
122 for (ThermalSensor ts : list) {
123 if (ts != null && ts.getSensorActiveStatus()) {
124 weightedTemp = getWeightedTemp(ts, ts
207 getWeightedTemp(ThermalSensor ts) argument
211 getWeightedTemp(ThermalSensor ts, int rawSensorTemp) argument
[all...]
/hardware/libhardware/modules/radio/
H A Dradio_hw.c118 struct timespec ts; member in struct:thread_command
132 struct timespec ts; local
148 clock_gettime(CLOCK_REALTIME, &ts);
150 ts.tv_sec += delay_ms/1000;
151 ts.tv_nsec += (delay_ms%1000) * 1000000;
152 if (ts.tv_nsec >= 1000000000) {
153 ts.tv_nsec -= 1000000000;
154 ts.tv_sec += 1;
156 cmd->ts = ts;
201 struct timespec ts; local
257 struct timespec ts = {0, 0}; local
[all...]
/hardware/broadcom/libbt/src/
H A Dupio.c212 struct itimerspec ts; local
217 ts.it_value.tv_sec = PROC_BTWRITE_TIMER_TIMEOUT_MS/1000;
218 ts.it_value.tv_nsec = 1000000*(PROC_BTWRITE_TIMER_TIMEOUT_MS%1000);
219 ts.it_interval.tv_sec = 0;
220 ts.it_interval.tv_nsec = 0;
224 memset(&ts, 0, sizeof(ts));
227 if (timer_settime(lpm_proc_cb.timer_id, 0, &ts, 0) == 0) {
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
H A Dts_parser.h56 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
/hardware/qcom/gps/msm8909/utils/
H A Dlog_util.h153 char ts[32]; \
155 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/qcom/gps/msm8996/utils/
H A Dlog_util.h131 char ts[32]; \
133 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/qcom/gps/msm8998/utils/
H A Dlog_util.h131 char ts[32]; \
133 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/
H A Dplatform_lib_log_util.h130 char ts[32]; \
132 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
H A Dts_parser.h72 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
H A Dts_parser.h72 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
H A Dts_parser.h72 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);

Completed in 3145 milliseconds

1234