/frameworks/base/media/libstagefright/ |
H A D | TimeSource.cpp | 34 struct timeval tv; local 35 gettimeofday(&tv, NULL); 37 return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
|
H A D | ThrottledSource.cpp | 24 struct timeval tv; local 25 gettimeofday(&tv, NULL); 27 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
|
H A D | HTTPStream.cpp | 85 struct timeval tv; local 86 tv.tv_sec = 0; 87 tv.tv_usec = 100000ll; 89 int nfds = ::select(s + 1, &rs, &ws, NULL, &tv); 144 struct timeval tv; local 145 tv.tv_sec = 0; 146 tv.tv_usec = 100000ll; 153 &tv); 495 struct timeval tv; local 496 tv [all...] |
H A D | TimedEventQueue.cpp | 190 struct timeval tv; local 191 gettimeofday(&tv, NULL); 193 return (int64_t)tv.tv_sec * 1000000ll + tv.tv_usec;
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.cpp | 28 struct timeval tv; local 29 gettimeofday(&tv, NULL); 31 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
|
H A D | ARTPConnection.cpp | 253 struct timeval tv; local 254 tv.tv_sec = 0; 255 tv.tv_usec = kSelectTimeoutUs; 282 int res = select(maxSocket + 1, &rs, NULL, NULL, &tv);
|
H A D | ARTSPConnection.cpp | 321 struct timeval tv; local 322 tv.tv_sec = 0; 323 tv.tv_usec = kSelectTimeoutUs; 329 int res = select(mSocket + 1, NULL, &ws, NULL, &tv); 433 struct timeval tv; local 434 tv.tv_sec = 0; 435 tv.tv_usec = kSelectTimeoutUs; 441 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/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 | 84 struct timeval tv; local 85 gettimeofday(&tv, NULL); 87 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/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 54 struct timeval tv; local 55 gettimeofday(&tv, NULL); 57 return (int64_t)tv.tv_sec * 1000000ll + tv.tv_usec;
|
/frameworks/base/core/jni/ |
H A D | android_bluetooth_BluetoothAudioGateway.cpp | 269 struct timeval tv; local 270 int len = sizeof(tv); 272 SOL_SOCKET, SO_RCVTIMEO, &tv, &len) < 0) { 280 (int)tv.tv_sec, (int)tv.tv_usec); 282 tv.tv_sec = timeout_ms / 1000; 283 tv.tv_usec = 1000 * (timeout_ms % 1000); 285 SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) { 293 (int)tv [all...] |
/frameworks/base/media/libstagefright/httplive/ |
H A D | LiveSource.cpp | 190 struct timeval tv; local 191 gettimeofday(&tv, NULL); 193 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
|
/frameworks/base/cmds/keystore/ |
H A D | keystore.c | 562 struct timeval tv = {.tv_sec = 3}; local 567 setsockopt(the_socket, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); 568 setsockopt(the_socket, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv));
|
/frameworks/base/cmds/stagefright/ |
H A D | stagefright.cpp | 65 struct timeval tv; local 66 gettimeofday(&tv, NULL); 68 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebTextView.java | 650 TextView tv = 652 if (tv != null && mTextView != null) { 653 tv.setTextSize(mTextView.getTextSize()); 655 return tv; 661 private void setTextView(TextView tv) { argument 662 mTextView = tv;
|
/frameworks/base/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 43 struct timeval tv; local 44 gettimeofday(&tv, NULL); 46 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000;
|
/frameworks/base/tools/localize/ |
H A D | XLIFFFile.cpp | 480 struct timeval tv; local 482 gettimeofday(&tv, &tz); 483 fileAttrs.push_back(XMLAttribute(XLIFF_XMLNS, "date", trim_string(ctime(&tv.tv_sec))));
|
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 596 timeval tv; local 597 tv.tv_sec = 0; 598 tv.tv_usec = 1000 * sampleCount / sampleRate * 500; 599 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) {
|
/frameworks/base/libs/rs/ |
H A D | rsScriptC_Lib.cpp | 925 float tv = z * (1.0f - y * (1.0f - f)); local 930 green = tv; 941 blue = tv; 949 red = tv;
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 3369 TextView tv = (TextView) mPopup.getContentView(); 3370 chooseSize(mPopup, mError, tv); 3371 tv.setText(mError); 3459 private void chooseSize(PopupWindow pop, CharSequence text, TextView tv) { argument 3460 int wid = tv.getPaddingLeft() + tv.getPaddingRight(); 3461 int ht = tv.getPaddingTop() + tv.getPaddingBottom(); 3472 Layout l = new StaticLayout(text, tv.getPaint(), cap, 3492 TextView tv [all...] |