Searched defs:tv (Results 1 - 25 of 49) sorted by last modified time

12

/hardware/qcom/gps/loc_api/libloc_api/
H A Dloc_eng.cpp991 struct timeval tv; local
993 gettimeofday(&tv, (struct timezone *) NULL);
994 long long now = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng.cpp1491 struct timeval tv; local
1492 gettimeofday(&tv, (struct timezone *) NULL);
1493 int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
/hardware/qcom/gps/utils/
H A Dloc_log.cpp173 struct timeval tv; local
176 gettimeofday(&tv, &tz);
177 hh = tv.tv_sec/3600%24;
178 mm = (tv.tv_sec%3600)/60;
179 ss = tv.tv_sec%60;
180 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
/hardware/qcom/media/mm-video/vidc/venc/test/
H A Dvenc_util.c44 struct timeval tv; local
46 gettimeofday(&tv, NULL);
47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec);
/hardware/ril/libril/
H A Dril_event.cpp96 static void getNow(struct timeval * tv) argument
101 tv->tv_sec = ts.tv_sec;
102 tv->tv_usec = ts.tv_nsec/1000;
104 gettimeofday(tv, NULL);
216 static int calcNextTimeout(struct timeval * tv) argument
233 timersub(&tev->timeout, &now, tv);
236 tv->tv_sec = tv->tv_usec = 0;
287 void ril_timer_add(struct ril_event * ev, struct timeval * tv) argument
293 if (tv !
350 struct timeval tv; local
[all...]
/hardware/ril/mock-ril/src/cpp/
H A Dworker.cpp163 struct timeval tv; local
170 gettimeofday(&tv, NULL);
171 ts.tv_sec = tv.tv_sec + (delay_ms / 1000);
172 ts.tv_nsec = (tv.tv_usec +
/hardware/ril/reference-ril/
H A Datchannel.c100 struct timeval tv; local
102 gettimeofday(&tv, (struct timezone *) NULL);
107 p_ts->tv_sec = tv.tv_sec + (msec / 1000);
108 p_ts->tv_nsec = (tv.tv_usec + (msec % 1000) * 1000L ) * 1000L;
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCamera.cpp3798 uint32_t av, tv, bv, sv, ev; local
3800 tv = APEX_EXPOSURE_TO_SHUTTER((double)exifInfo->exposure_time.num / exifInfo->exposure_time.den);
3802 bv = av + tv - sv;
3803 ev = av + tv;
3805 ALOGD("AV=%d, TV=%d, SV=%d", av, tv, sv);
3808 exifInfo->shutter_speed.num = tv * EXIF_DEF_APEX_DEN;
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosCameraHWInterface2.cpp5768 uint32_t av, tv, bv, sv, ev; local
5770 tv = APEX_EXPOSURE_TO_SHUTTER((double)exifInfo->exposure_time.num / exifInfo->exposure_time.den);
5772 bv = av + tv - sv;
5773 ev = av + tv;
5775 ALOGV("AV=%d, TV=%d, SV=%d", av, tv, sv);
5778 exifInfo->shutter_speed.num = tv * EXIF_DEF_APEX_DEN;
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
H A DConnection.cpp111 struct timeval tv; local
120 tv.tv_sec = timeout / 1000;
121 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000;
122 ptv = &tv;
181 struct timeval tv; local
189 tv.tv_sec = timeout / 1000;
190 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000;
191 ptv = &tv;
[all...]
/hardware/ti/omap3/dspbridge/libbridge/
H A Dperfutils.c38 INT getTimeStamp(struct timeval *tv) argument
42 Result = gettimeofday(tv, &tz);
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
H A DOMX_AacDec_CompThread.c105 struct timespec tv; local
136 tv.tv_sec = 1;
137 tv.tv_nsec = 0;
143 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
145 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
H A DOMX_AacEnc_CompThread.c78 struct timespec tv; local
108 tv.tv_sec = 1;
109 tv.tv_nsec = 0;
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
H A DAacEncTest.c521 struct timeval tv; local
1506 tv.tv_sec = 1;
1507 tv.tv_usec = 0;
1509 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_ComponentThread.c66 struct timespec tv; local
88 tv.tv_sec = 1;
89 tv.tv_nsec = 0;
96 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
98 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
H A DG711DecTest.c464 struct timeval tv ; local
1197 tv.tv_sec = 1;
1198 tv.tv_usec = 0;
1201 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Enc_ComponentThread.c89 struct timespec tv; local
108 tv.tv_sec = 1;
109 tv.tv_nsec = 0;
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
H A DG711EncTest.c421 struct timeval tv; local
998 tv.tv_sec = 1;
999 tv.tv_usec = 0;
1002 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
H A DOMX_G722Dec_Utils.c118 struct timespec tv; local
138 tv.tv_sec = 1;
139 tv.tv_nsec = 0;
144 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
H A DG722DecTest.c195 struct timeval tv; local
434 error = testCases (pHandle, &rfds, tcID, fIn, fOut, &frmCnt, &totalFilled, &tv, gDasfMode, nIpBuffs, pInputBufferHeader, nOpBuffs, pOutputBufferHeader);
1326 OMX_ERRORTYPE testCases (OMX_HANDLETYPE *pHandle, fd_set *rfds, int tcID, FILE *fIn, FILE *fOut, int *frmCnt, int *totalFilled, struct timeval *tv, int gDasfMode, int nIpBuffs, OMX_BUFFERHEADERTYPE *pInputBufferHeader [], int nOpBuffs, OMX_BUFFERHEADERTYPE *pOutputBufferHeader []) argument
1339 tv->tv_sec = 1;
1340 tv->tv_usec = 0;
1342 int retval = select(fdmax+1, rfds, NULL, NULL, tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/
H A DOMX_G722Enc_Utils.c106 struct timespec tv; /*timeval tv;*/ local
128 tv.tv_sec = 1;
129 tv.tv_nsec = 0; /*usec = 0;*/
135 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
137 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
H A DG722EncTest.c321 struct timeval tv; local
801 tv.tv_sec = 1;
802 tv.tv_usec = 0;
803 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_CompThread.c94 struct timespec tv; local
115 tv.tv_sec = 1;
116 tv.tv_nsec = 0;
122 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
124 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
H A DG726DecTest.c369 struct timeval tv; local
937 tv.tv_sec = 1;
938 tv.tv_usec = 0;
941 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
H A DOMX_G726Enc_ComponentThread.c86 struct timespec tv; local
105 tv.tv_sec = 1;
106 tv.tv_nsec = 0;
111 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);

Completed in 848 milliseconds

12