Searched defs:tv (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/media/libstagefright/
H A DTimeSource.cpp34 struct timeval tv; local
35 gettimeofday(&tv, NULL);
37 return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
H A DThrottledSource.cpp24 struct timeval tv; local
25 gettimeofday(&tv, NULL);
27 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
H A DHTTPStream.cpp85 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 DTimedEventQueue.cpp190 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 DARTPAssembler.cpp28 struct timeval tv; local
29 gettimeofday(&tv, NULL);
31 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
H A DARTPConnection.cpp253 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 DARTSPConnection.cpp321 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 DMyTransmitter.h138 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 Djpeg_decoder_bench.cpp46 struct timeval tv; local
47 gettimeofday(&tv, NULL);
49 return tv.tv_usec + (int64_t) tv.tv_sec * 1000000;
H A Domx_jpeg_decoder.cpp84 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 Dpoly_clip.cpp66 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 DALooper.cpp54 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 Dandroid_bluetooth_BluetoothAudioGateway.cpp269 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 DLiveSource.cpp190 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 Dkeystore.c562 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 Dstagefright.cpp65 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 DWebTextView.java650 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 DOMXHarness.cpp43 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 DXLIFFFile.cpp480 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 DAudioGroup.cpp596 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 DrsScriptC_Lib.cpp925 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 DTextView.java3369 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...]

Completed in 315 milliseconds