Searched defs:ts (Results 1 - 25 of 70) sorted by relevance

123

/hardware/libhardware/modules/camera/3_4/metadata/
H A Dboottime_state_delegate.cpp25 struct timespec ts; local
27 int res = clock_gettime(CLOCK_BOOTTIME, &ts);
34 *value = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
/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/qcom/gps/sdm845/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/common/test/utility/include/utility/
H A DReturnIn.h36 ReturnIn(ResultStore&... ts) : results(ts...) {} argument
64 detail::ReturnIn<ResultStore...> returnIn(ResultStore&... ts) { argument
65 return {ts...};
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
H A Dcam_semaphore_tests.cpp30 static inline void timespec_add_ms(timespec& ts, size_t ms) { argument
31 ts.tv_sec += ms / 1000;
32 ts.tv_nsec += (ms % 1000) * 1000000;
33 if (ts.tv_nsec >= NS_PER_S) {
34 ts.tv_sec++;
35 ts.tv_nsec -= NS_PER_S;
55 timespec ts; local
56 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts));
57 timespec_add_ms(ts, 100);
60 ASSERT_EQ(-1, cam_sem_timedwait(&sem, &ts));
[all...]
/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/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...]
/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/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...]
/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...]
/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...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
H A Dts_parser.cpp180 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/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Dts_parser.cpp215 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) argument
228 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
234 DEBUG("Removed TS %lld", ts);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Dts_parser.cpp215 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) argument
228 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
234 DEBUG("Removed TS %lld", ts);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
H A Dts_parser.cpp215 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) argument
228 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
234 DEBUG("Removed TS %lld", ts);
/hardware/qcom/media/sdm845/mm-video-v4l2/vidc/vdec/src/
H A Dts_parser.cpp215 bool omx_time_stamp_reorder::remove_time_stamp(OMX_TICKS ts, bool is_interlaced = false) argument
228 if (phead->input_timestamps[i].in_use && phead->input_timestamps[i].timestamps == ts) {
234 DEBUG("Removed TS %lld", ts);
/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/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/libhardware/modules/usbcamera/
H A DCamera.cpp462 struct timespec ts; local
468 res = clock_gettime(CLOCK_BOOTTIME, &ts);
470 timestamp = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
H A DIPACM_Conntrack_NATApp.cpp534 uint32_t ts; local
539 ts = 0;
544 if(ipa_nat_query_timestamp(nat_table_hdl, cache[cnt].rule_hdl, &ts) < 0)
550 if(cache[cnt].timestamp == ts)
553 cache[cnt].timestamp, ts);
562 UpdateCTUdpTs(&cache[cnt], ts);
/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/display/sdm845/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/media/sdm845/mm-video-v4l2/vidc/common/inc/
H A Dvidc_debug.h161 struct timespec ts; local
169 clock_gettime(CLOCK_REALTIME, &ts);
170 ts.tv_sec += timeout_nsec / 1000000000;
171 ts.tv_nsec += timeout_nsec % 1000000000;
172 if (ts.tv_nsec >= 1000000000) {
173 ts.tv_nsec -= 1000000000;
174 ts.tv_sec += 1;
176 int ret = pthread_cond_timedwait(&condition, &mutex, &ts);
/hardware/ril/libril/
H A Dril_event.cpp98 struct timespec ts; local
99 clock_gettime(CLOCK_MONOTONIC, &ts);
100 tv->tv_sec = ts.tv_sec;
101 tv->tv_usec = ts.tv_nsec/1000;

Completed in 2888 milliseconds

123