/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Clock.c | 58 struct timeval tv; local 76 if(gettimeofday(&tv, &tz) == 0) 78 u32_time_lo = (tv.tv_sec & 0xFFFF) * timescale; 79 u32_time_hi = (((tv.tv_sec >> 16) & 0xFFFF) * timescale) + ((u32_time_lo >> 16) & 0xFFFF); 81 u32_time_lo += tv.tv_usec / factor;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | getch.c | 37 struct timeval tv = { 0L, 0L }; local 41 return select(1, &fds, NULL, NULL, &tv);
|
/frameworks/base/core/jni/ |
H A D | android_os_SystemClock.cpp | 51 struct timeval tv; local 61 tv.tv_sec = (time_t) (millis / 1000LL); 62 tv.tv_usec = (suseconds_t) ((millis % 1000LL) * 1000LL); 64 ALOGD("Setting time of day to sec=%d\n", (int) tv.tv_sec); 71 ts.tv_sec = tv.tv_sec; 72 ts.tv_nsec = tv.tv_usec * 1000; 75 ALOGW("Unable to set rtc to %ld: %s\n", tv.tv_sec, strerror(errno)); 124 struct timeval tv; 126 gettimeofday(&tv, NULL); 127 return tv 157 struct timeval tv; local [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | time_util.cpp | 31 struct timeval tv; local 33 gettimeofday(&tv, 0); 35 basesec = tv.tv_sec; 37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + 38 (uint64_t)tv.tv_usec;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | time_util.cpp | 29 struct timeval tv; local 31 gettimeofday(&tv, 0); 33 basesec = tv.tv_sec; 35 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + 36 (uint64_t)tv.tv_usec;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | NumPadKey.java | 110 public void setTextView(TextView tv) { argument 111 mTextView = tv;
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | jpeg_decoder_bench.cpp | 46 struct timeval tv; local 47 gettimeofday(&tv, NULL); 49 return tv.tv_usec + (int64_t) tv.tv_sec * 1000000;
|
H A D | omx_jpeg_decoder.cpp | 85 struct timeval tv; local 86 gettimeofday(&tv, NULL); 88 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000;
|
/frameworks/base/core/jni/android/opengl/ |
H A D | poly_clip.cpp | 66 float t, tu, tv; local 73 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) { 75 /* tv is negative if vertex v is in */ 76 tv = sign*COORD(v, index) - v->sw*k; 77 if ((tu <= 0.0f) ^ (tv <= 0.0f)) { 79 t = tu/(tu-tv); 88 if (tv<=0.0f) /* vertex v is in, copy it to q */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 17 package com.android.systemui.statusbar.tv;
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPConnection.cpp | 249 struct timeval tv; local 250 tv.tv_sec = 0; 251 tv.tv_usec = kSelectTimeoutUs; 278 int res = select(maxSocket + 1, &rs, NULL, NULL, &tv);
|
H A D | ARTSPConnection.cpp | 362 struct timeval tv; local 363 tv.tv_sec = 0; 364 tv.tv_usec = kSelectTimeoutUs; 370 int res = select(mSocket + 1, NULL, &ws, NULL, &tv); 483 struct timeval tv; local 484 tv.tv_sec = 0; 485 tv.tv_usec = kSelectTimeoutUs; 491 int res = select(mSocket + 1, &rs, NULL, NULL, &tv);
|
H A D | MyTransmitter.h | 138 struct timeval tv; local 139 gettimeofday(&tv, NULL); 141 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec; 429 struct timeval tv; 430 tv.tv_sec = 0; 431 tv.tv_usec = 0; 433 int res = select(mRTCPSocket + 1, &rs, NULL, NULL, &tv);
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 494 struct timeval tv; local 495 gettimeofday(&tv, NULL /* timezone */); 497 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec;
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 73 struct timeval tv; local 74 gettimeofday(&tv, NULL); 76 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 601 timeval tv; local 602 tv.tv_sec = 0; 603 tv.tv_usec = 1000 * sampleCount / sampleRate * 500; 604 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) {
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 2467 struct timeval tv; local 2468 gettimeofday(&tv, NULL); 2470 localtime_r(&tv.tv_sec, &tm);
|
/frameworks/base/core/java/android/widget/ |
H A D | Editor.java | 299 TextView tv = (TextView) mErrorPopup.getContentView(); 300 chooseSize(mErrorPopup, mError, tv); 301 tv.setText(mError); 561 private void chooseSize(PopupWindow pop, CharSequence text, TextView tv) { argument 562 int wid = tv.getPaddingLeft() + tv.getPaddingRight(); 563 int ht = tv.getPaddingTop() + tv.getPaddingBottom(); 567 Layout l = new StaticLayout(text, tv.getPaint(), defaultWidthInPixels, 584 TextView tv [all...] |
H A D | TextView.java | 403 public void setErrorDrawable(Drawable dr, TextView tv) { argument 410 int[] state = tv.getDrawableState(); 415 mDrawableError.setCallback(tv);
|