/hardware/bsp/intel/peripheral/sensors/mraa/ |
H A D | Utils.cpp | 21 struct timespec ts = {0, 0}; local 23 if (!clock_gettime(clock_id, &ts)) 24 return 1000000000LL * ts.tv_sec + ts.tv_nsec;
|
/hardware/qcom/gps/msm8960/utils/ |
H A D | loc_timer.c | 49 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 D | log_util.h | 141 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 D | and_constructor.c | 112 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 D | locker.h | 143 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/gps/msm8084/utils/ |
H A D | loc_timer.c | 56 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 D | log_util.h | 151 char ts[32]; \ 153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
|
/hardware/qcom/gps/msm8994/utils/ |
H A D | loc_timer.c | 56 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 D | log_util.h | 151 char ts[32]; \ 153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
|
/hardware/qcom/gps/utils/ |
H A D | loc_timer.c | 56 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 D | log_util.h | 151 char ts[32]; \ 153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
|
/hardware/libhardware/modules/local_time/ |
H A D | local_time_hw.c | 37 struct timespec ts; local 41 ret = clock_gettime(CLOCK_MONOTONIC, &ts); 48 now = (((uint64_t)ts.tv_sec) * 1000000000ull) + 49 ((uint64_t)ts.tv_nsec); 71 struct timespec ts; local
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
H A D | VirtualThermalZone.java | 84 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...] |
H A D | ThermalZone.java | 170 for (ThermalSensor ts : mThermalSensors) { 171 if (ts != null) { 172 s.append(ts.getSensorName()); 437 for (ThermalSensor ts : mThermalSensors) { 438 if (ts != null && ts.getSensorActiveStatus()) {
|
/hardware/libhardware/modules/radio/ |
H A D | radio_hw.c | 118 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 256 struct timespec ts = {0, 0}; local [all...] |
/hardware/broadcom/libbt/src/ |
H A D | upio.c | 212 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/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/msm8974/mm-video-legacy/vidc/vdec/inc/ |
H A D | ts_parser.h | 56 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
|
/hardware/qcom/gps/msm8909/utils/ |
H A D | log_util.h | 153 char ts[32]; \ 155 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
|
/hardware/qcom/gps/msm8996/utils/ |
H A D | log_util.h | 153 char ts[32]; \ 155 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
|
/hardware/ril/reference-ril/ |
H A D | atchannel.c | 102 struct timespec ts; local 105 ts.tv_sec = (msec / 1000); 106 ts.tv_nsec = (msec % 1000) * 1000 * 1000; 109 err = nanosleep (&ts, &ts); 672 struct timespec ts; local 691 setTimespecRelative(&ts, timeoutMsec); 696 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
H A D | ts_parser.h | 72 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
H A D | ts_parser.h | 72 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | data_builder.c | 332 static int inv_raw_sensor_timestamp(int sensor_number, inv_time_t *ts) argument 337 *ts = sensors.quat.timestamp; 343 *ts = sensors.gyro.timestamp; 349 *ts = sensors.accel.timestamp; 355 *ts = sensors.compass.timestamp; 361 *ts = 0; 373 int inv_get_9_axis_timestamp(long sample_rate_us, inv_time_t *ts) argument 381 *ts = sensors.quat.timestamp; 399 return inv_raw_sensor_timestamp(idx, ts); 414 return inv_raw_sensor_timestamp(idx, ts); 438 inv_get_6_axis_compass_accel_timestamp(long sample_rate_us, inv_time_t *ts) argument 464 inv_get_6_axis_gyro_accel_timestamp(long sample_rate_us, inv_time_t *ts) argument [all...] |
/hardware/bsp/intel/peripheral/light/mraa/ |
H A D | lights.c | 136 struct timespec ts = {0, 0}; local 138 if (!clock_gettime(CLOCK_MONOTONIC, &ts)) { 139 return ONE_S_IN_NS * ts.tv_sec + ts.tv_nsec;
|