/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/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 | 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/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/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);
|
/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);
|
/hardware/broadcom/libbt/src/ |
H A D | upio.c | 470 struct itimerspec ts; local 472 ts.it_value.tv_sec = PROC_BTWRITE_TIMER_TIMEOUT_MS/1000; 473 ts.it_value.tv_nsec = 1000000*(PROC_BTWRITE_TIMER_TIMEOUT_MS%1000); 474 ts.it_interval.tv_sec = 0; 475 ts.it_interval.tv_nsec = 0; 477 timer_settime(lpm_proc_cb.timer_id, 0, &ts, 0);
|
/hardware/ril/reference-ril/ |
H A D | atchannel.c | 105 struct timespec ts; local 108 ts.tv_sec = (msec / 1000); 109 ts.tv_nsec = (msec % 1000) * 1000 * 1000; 112 err = nanosleep (&ts, &ts); 675 struct timespec ts; local 696 setTimespecRelative(&ts, timeoutMsec); 705 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts);
|
/hardware/libhardware/modules/soundtrigger/ |
H A D | sound_trigger_hw.c | 69 struct timespec ts; local 70 clock_gettime(CLOCK_REALTIME, &ts); 71 ts.tv_sec += 3; 73 int rc = pthread_cond_timedwait(&stdev->cond, &stdev->lock, &ts);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | rtt.h | 61 wifi_timestamp ts; // time of the measurement (in microseconds since boot) member in struct:__anon1373
|
H A D | gscan.h | 57 wifi_timestamp ts; // time since boot (in microsecond) when the result was member in struct:__anon1341
|
/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...] |
H A D | data_builder.h | 325 int inv_get_9_axis_timestamp(long sample_rate_us, inv_time_t *ts); 326 int inv_get_6_axis_gyro_accel_timestamp(long sample_rate_us, inv_time_t *ts); 327 int inv_get_6_axis_compass_accel_timestamp(long sample_rate_us, inv_time_t *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 | 210 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) argument 222 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) { 228 DEBUG("Removed TS %lld", ts);
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.c | 278 static int inv_raw_sensor_timestamp(int sensor_number, inv_time_t *ts) argument 283 *ts = sensors.quat.timestamp; 289 *ts = sensors.gyro.timestamp; 295 *ts = sensors.accel.timestamp; 301 *ts = sensors.compass.timestamp; 307 *ts = 0; 319 int inv_get_6_axis_gyro_accel_timestamp(long sample_rate_us, inv_time_t *ts) argument 326 return inv_raw_sensor_timestamp(0, ts); 338 return inv_raw_sensor_timestamp(idx, ts); 351 return inv_raw_sensor_timestamp(idx, ts); [all...] |
/hardware/libhardware/modules/camera/ |
H A D | Camera.cpp | 448 struct timespec ts; local 454 res = clock_gettime(CLOCK_BOOTTIME, &ts); 456 timestamp = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
|
/hardware/ti/omap4-aah/ |
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);
|