/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | and_constructor.c | 112 inv_time_t ts; in inv_playback() local 147 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback() 148 inv_build_gyro(gyro, ts); in inv_playback() 150 gyro[0], gyro[1], gyro[2], ts); in inv_playback() 156 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback() 158 inv_build_accel(accel, 0, ts); in inv_playback() 160 buffer[0], buffer[1], buffer[2], ts); in inv_playback() 167 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback() 169 inv_build_compass(compass, 0, ts); in inv_playback() 171 buffer[0], buffer[1], buffer[2], ts); in inv_playback() [all …]
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | VirtualThermalZone.java | 84 ThermalSensor ts = getThermalSensorList().get(0); in calibrateThresholds() local 85 ThermalSensorAttrib sa = mThermalSensorsAttribMap.get(ts.getSensorName()); in calibrateThresholds() 115 ThermalSensor ts = list.get(0); in calculateZoneTemp() local 116 weightedTemp = getWeightedTemp(ts, ts.readSensorTemp()); in calculateZoneTemp() 122 for (ThermalSensor ts : list) { in calculateZoneTemp() 123 if (ts != null && ts.getSensorActiveStatus()) { in calculateZoneTemp() 124 weightedTemp = getWeightedTemp(ts, ts.readSensorTemp()); in calculateZoneTemp() 207 private int getWeightedTemp(ThermalSensor ts) { in getWeightedTemp() argument 208 return getWeightedTemp(ts, ts.getCurrTemp()); in getWeightedTemp() 211 private int getWeightedTemp(ThermalSensor ts, int rawSensorTemp) { in getWeightedTemp() argument [all …]
|
D | ThermalZone.java | 170 for (ThermalSensor ts : mThermalSensors) { in printSensors() 171 if (ts != null) { in printSensors() 172 s.append(ts.getSensorName()); in printSensors() 437 for (ThermalSensor ts : mThermalSensors) { in computeZoneActiveStatus() 438 if (ts != null && ts.getSensorActiveStatus()) { in computeZoneActiveStatus()
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_timer.c | 49 struct timespec ts; in timer_thread() local 74 clock_gettime(CLOCK_REALTIME, &ts); in timer_thread() 76 ts.tv_sec += t.time_msec/1000; in timer_thread() 80 ts.tv_nsec += t.time_msec * 1000000; in timer_thread() 81 if(ts.tv_nsec > 999999999) { in timer_thread() 83 ts.tv_sec += 1; in timer_thread() 84 ts.tv_nsec -= 1000000000; in timer_thread() 87 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec); in timer_thread() 91 ret = pthread_cond_timedwait(&timer_cond, &timer_mutex, &ts); in timer_thread()
|
D | log_util.h | 141 char ts[32]; \ 143 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
D | MobiCoreDevice.cpp | 106 TrustletSession *ts = NULL; in getSessionConnection() local 108 ts = getTrustletSession(sessionId); in getSessionConnection() 109 if (ts == NULL) { in getSessionConnection() 113 con = ts->notificationConnection; in getSessionConnection() 115 ts->queueNotification(notification); in getSessionConnection() 153 TrustletSession *ts = *interator; in close() local 155 if (ts->deviceConnection == connection) { in close() 156 closeSession(connection, ts->sessionId); in close() 361 TrustletSession *ts = *iterator; in registerTrustletConnection() local 363 if (ts != (TrustletSession *) (cmdNqConnect->deviceSessionId)) { in registerTrustletConnection() [all …]
|
/hardware/qcom/gps/utils/ |
D | loc_timer.c | 56 struct timespec ts; in timer_thread() local 63 clock_gettime(CLOCK_REALTIME, &ts); in timer_thread() 65 ts.tv_sec += t->time_msec/1000; in timer_thread() 69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread() 70 if(ts.tv_nsec > 999999999) { in timer_thread() 72 ts.tv_sec += 1; in timer_thread() 73 ts.tv_nsec -= 1000000000; in timer_thread() 77 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec, in timer_thread() 83 ret = pthread_cond_timedwait(&t->timer_cond, &t->timer_mutex, &ts); in timer_thread()
|
D | log_util.h | 151 char ts[32]; \ 153 get_timestamp(ts, sizeof(ts)), ID, WHAT, __LINE__, VAL); \
|
/hardware/libhardware/modules/local_time/ |
D | local_time_hw.c | 36 struct timespec ts; in ltdev_get_local_time() local 40 ret = clock_gettime(CLOCK_MONOTONIC, &ts); in ltdev_get_local_time() 47 now = (((uint64_t)ts.tv_sec) * 1000000000ull) + in ltdev_get_local_time() 48 ((uint64_t)ts.tv_nsec); in ltdev_get_local_time() 70 struct timespec ts; in ltdev_open() local
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/inc/ |
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.tv_sec = sTime.tv_sec; \ [all …]
|
/hardware/broadcom/libbt/src/ |
D | upio.c | 470 struct itimerspec ts; in upio_set() local 472 ts.it_value.tv_sec = PROC_BTWRITE_TIMER_TIMEOUT_MS/1000; in upio_set() 473 ts.it_value.tv_nsec = 1000000*(PROC_BTWRITE_TIMER_TIMEOUT_MS%1000); in upio_set() 474 ts.it_interval.tv_sec = 0; in upio_set() 475 ts.it_interval.tv_nsec = 0; in upio_set() 477 timer_settime(lpm_proc_cb.timer_id, 0, &ts, 0); in upio_set()
|
/hardware/ril/reference-ril/ |
D | atchannel.c | 105 struct timespec ts; in sleepMsec() local 108 ts.tv_sec = (msec / 1000); in sleepMsec() 109 ts.tv_nsec = (msec % 1000) * 1000 * 1000; in sleepMsec() 112 err = nanosleep (&ts, &ts); in sleepMsec() 675 struct timespec ts; in at_send_command_full_nolock() local 696 setTimespecRelative(&ts, timeoutMsec); in at_send_command_full_nolock() 705 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts); in at_send_command_full_nolock()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 332 static int inv_raw_sensor_timestamp(int sensor_number, inv_time_t *ts) in inv_raw_sensor_timestamp() argument 337 *ts = sensors.quat.timestamp; in inv_raw_sensor_timestamp() 343 *ts = sensors.gyro.timestamp; in inv_raw_sensor_timestamp() 349 *ts = sensors.accel.timestamp; in inv_raw_sensor_timestamp() 355 *ts = sensors.compass.timestamp; in inv_raw_sensor_timestamp() 361 *ts = 0; in inv_raw_sensor_timestamp() 373 int inv_get_9_axis_timestamp(long sample_rate_us, inv_time_t *ts) in inv_get_9_axis_timestamp() argument 381 *ts = sensors.quat.timestamp; in inv_get_9_axis_timestamp() 399 return inv_raw_sensor_timestamp(idx, ts); in inv_get_9_axis_timestamp() 414 return inv_raw_sensor_timestamp(idx, ts); in inv_get_9_axis_timestamp() [all …]
|
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/libhardware/modules/soundtrigger/ |
D | sound_trigger_hw.c | 69 struct timespec ts; in callback_thread_loop() local 70 clock_gettime(CLOCK_REALTIME, &ts); in callback_thread_loop() 71 ts.tv_sec += 3; in callback_thread_loop() 73 int rc = pthread_cond_timedwait(&stdev->cond, &stdev->lock, &ts); in callback_thread_loop()
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | ts_parser.cpp | 210 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) in remove_time_stamp() argument 222 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) { in remove_time_stamp() 228 DEBUG("Removed TS %lld", ts); in remove_time_stamp()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | ts_parser.cpp | 180 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) in remove_time_stamp() argument 189 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) { in remove_time_stamp() 194 DEBUG("Removed TS %lld", ts); in remove_time_stamp()
|
/hardware/ril/libril/ |
D | ril_event.cpp | 99 struct timespec ts; in getNow() local 100 clock_gettime(CLOCK_MONOTONIC, &ts); in getNow() 101 tv->tv_sec = ts.tv_sec; in getNow() 102 tv->tv_usec = ts.tv_nsec/1000; in getNow()
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 278 static int inv_raw_sensor_timestamp(int sensor_number, inv_time_t *ts) in inv_raw_sensor_timestamp() argument 283 *ts = sensors.quat.timestamp; in inv_raw_sensor_timestamp() 289 *ts = sensors.gyro.timestamp; in inv_raw_sensor_timestamp() 295 *ts = sensors.accel.timestamp; in inv_raw_sensor_timestamp() 301 *ts = sensors.compass.timestamp; in inv_raw_sensor_timestamp() 307 *ts = 0; in inv_raw_sensor_timestamp() 319 int inv_get_6_axis_gyro_accel_timestamp(long sample_rate_us, inv_time_t *ts) in inv_get_6_axis_gyro_accel_timestamp() argument 326 return inv_raw_sensor_timestamp(0, ts); in inv_get_6_axis_gyro_accel_timestamp() 338 return inv_raw_sensor_timestamp(idx, ts); in inv_get_6_axis_gyro_accel_timestamp() 351 return inv_raw_sensor_timestamp(idx, ts); in inv_get_6_axis_gyro_accel_timestamp()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/ |
D | ts_parser.h | 56 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
D | ts_parser.h | 57 bool remove_time_stamp(OMX_TICKS ts, bool is_interlaced);
|
/hardware/ti/omap4-aah/ |
D | heaptracker.c | 530 struct timespec ts; in scanner() local 543 clock_gettime(CLOCK_REALTIME, &ts); in scanner() 544 ts.tv_sec += SCANNER_SLEEP_S; in scanner() 545 pthread_cond_timedwait(&scanner_cond, &scanner_lock, &ts); in scanner()
|
/hardware/ti/omap4xxx/ |
D | heaptracker.c | 530 struct timespec ts; in scanner() local 543 clock_gettime(CLOCK_REALTIME, &ts); in scanner() 544 ts.tv_sec += SCANNER_SLEEP_S; in scanner() 545 pthread_cond_timedwait(&scanner_cond, &scanner_lock, &ts); in scanner()
|
/hardware/libhardware/modules/camera/ |
D | Camera.cpp | 448 struct timespec ts; in notifyShutter() local 454 res = clock_gettime(CLOCK_BOOTTIME, &ts); in notifyShutter() 456 timestamp = ts.tv_sec * 1000000000ULL + ts.tv_nsec; in notifyShutter()
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | rtt.h | 61 wifi_timestamp ts; // time of the measurement (in microseconds since boot) member
|