/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/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...] |
/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 206 getWeightedTemp(ThermalSensor ts) argument 210 getWeightedTemp(ThermalSensor ts, int rawSensorTemp) argument [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...] |
/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/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/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/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/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:__anon1360
|
H A D | gscan.h | 57 wifi_timestamp ts; // time since boot (in microsecond) when the result was member in struct:__anon1328
|
/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/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/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/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/samsung_slsi/exynos5/mobicore/daemon/Daemon/ |
H A D | MobiCoreDriverDaemon.cpp | 525 TrustletSession *ts = device->registerTrustletConnection( local 528 if (!ts) { 535 ts->processQueuedNotifications();
|
/hardware/intel/common/libmix/videodecoder/ |
H A D | VideoDecoderBase.cpp | 317 uint64_t ts = output->renderBuffer.timeStamp; local 319 outputByPts->renderBuffer.timeStamp = ts;
|
/hardware/libhardware/tests/hwc/ |
H A D | cnativewindow.c | 356 static void hwc_vsync(const struct hwc_procs *procs, int disp, int64_t ts) {} argument
|
/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/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);
|
/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/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/invensense/6515/libsensors_iio/ |
H A D | MPLSensor.cpp | 2714 struct timespec ts; local 2715 clock_gettime(CLOCK_MONOTONIC, &ts); 2716 s->timestamp = (int64_t) ts.tv_sec * 1000000000 + ts.tv_nsec; 2768 struct timespec ts; local 2769 clock_gettime(CLOCK_MONOTONIC, &ts) ; 2770 s->timestamp = (int64_t)ts.tv_sec * 1000000000 + ts.tv_nsec; 3866 LOGV_IF(ENG_VERBOSE && INPUT_DATA, "STEP DETECTED:0x%x - ts: %lld", data_format, latestTimestamp); 4559 struct timespec ts; [all...] |
/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/invensense/65xx/libsensors_iio/ |
H A D | MPLSensor.cpp | 2665 struct timespec ts; local 2666 clock_gettime(CLOCK_MONOTONIC, &ts); 2667 s->timestamp = (int64_t) ts.tv_sec * 1000000000 + ts.tv_nsec; 3850 LOGV_IF(ENG_VERBOSE, "STEP DETECTED:0x%x - ts: %lld", data_format, latestTimestamp); 4424 struct timespec ts; 4425 clock_gettime(CLOCK_MONOTONIC, &ts); 4426 temp.timestamp = (int64_t) ts.tv_sec * 1000000000 + ts.tv_nsec; 5970 struct timespec ts; [all...] |