/hardware/qcom/gps/loc_api/libloc_api/ |
H A D | loc_eng.cpp | 991 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 D | loc_eng.cpp | 1491 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 D | loc_log.cpp | 173 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 D | venc_util.c | 44 struct timeval tv; local 46 gettimeofday(&tv, NULL); 47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec);
|
/hardware/ril/libril/ |
H A D | ril_event.cpp | 96 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 D | worker.cpp | 163 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 D | atchannel.c | 100 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 D | ExynosCamera.cpp | 3798 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 D | ExynosCameraHWInterface2.cpp | 5768 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 D | Connection.cpp | 111 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 D | perfutils.c | 38 INT getTimeStamp(struct timeval *tv) argument 42 Result = gettimeofday(tv, &tz);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
H A D | OMX_AacDec_CompThread.c | 105 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 D | OMX_AacEnc_CompThread.c | 78 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 D | AacEncTest.c | 521 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 D | OMX_G711Dec_ComponentThread.c | 66 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 D | G711DecTest.c | 464 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 D | OMX_G711Enc_ComponentThread.c | 89 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 D | G711EncTest.c | 421 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 D | OMX_G722Dec_Utils.c | 118 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 D | G722DecTest.c | 195 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 D | OMX_G722Enc_Utils.c | 106 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 D | G722EncTest.c | 321 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 D | OMX_G726Dec_CompThread.c | 94 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 D | G726DecTest.c | 369 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 D | OMX_G726Enc_ComponentThread.c | 86 struct timespec tv;
local 105 tv.tv_sec = 1;
106 tv.tv_nsec = 0;
111 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
|