/hardware/qcom/media/mm-video-legacy/vidc/venc/test/ |
venc_util.c | 44 struct timeval tv; local 46 gettimeofday(&tv, NULL); 47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec);
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/ |
venc_util.c | 44 struct timeval tv; local 46 gettimeofday(&tv, NULL); 47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec);
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
LinkifyTest.java | 31 TextView tv; local 33 tv = new TextView(getContext()); 34 tv.setText("Hey, foo@google.com, call 415-555-1212."); 36 assertFalse(tv.getMovementMethod() instanceof LinkMovementMethod); 37 assertTrue(tv.getUrls().length == 0); 42 TextView tv; local 44 tv = new TextView(getContext()); 45 tv.setAutoLinkMask(Linkify.ALL); 46 tv.setText("Hey, foo@google.com, call 415-555-1212."); 48 assertTrue(tv.getMovementMethod() instanceof LinkMovementMethod) 54 TextView tv; local [all...] |
/sdk/testapps/javaProjectTest/app/src/com/android/tests/javaprojecttest/app/ |
Main.java | 23 TextView tv = (TextView) findViewById(R.id.app); local 24 tv.setText("App: " + App.getContent()); 26 tv = (TextView) findViewById(R.id.lib1); 27 tv.setText("Lib1: " + Lib1.getContent()); 29 tv = (TextView) findViewById(R.id.lib2); 30 tv.setText("Lib2: " + Lib2.getContent()); 32 tv = (TextView) findViewById(R.id.javaProject1); 33 tv.setText("JavaProject: " + JavaProject.getContent()); 35 tv = (TextView) findViewById(R.id.javaProject2); 36 tv.setText("JavaProject2: " + JavaProject2.getContent()) [all...] |
/bionic/libc/upstream-netbsd/libc/gen/ |
utime.c | 52 struct timeval tv[2], *tvp; local 59 tv[0].tv_sec = times->actime; 60 tv[1].tv_sec = times->modtime; 61 tv[0].tv_usec = tv[1].tv_usec = 0; 62 tvp = tv;
|
/external/qemu/slirp/ |
tcp_timer.h | 117 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \ 118 (tv) = (value); \ 119 if ((tv) < (tvmin)) \ 120 (tv) = (tvmin); \ 121 else if ((tv) > (tvmax)) \ 122 (tv) = (tvmax); \
|
/external/qemu/slirp-android/ |
tcp_timer.h | 117 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \ 118 (tv) = (value); \ 119 if ((tv) < (tvmin)) \ 120 (tv) = (tvmin); \ 121 else if ((tv) > (tvmax)) \ 122 (tv) = (tvmax); \
|
/bionic/libc/bionic/ |
ftime.c | 32 struct timeval tv; local 35 if (gettimeofday (&tv, &tz) < 0) 38 tb->time = tv.tv_sec; 39 tb->millitm = (tv.tv_usec + 500) / 1000;
|
pselect.c | 38 struct timeval tv, *tv_timeout = NULL; local 44 tv_timeout = &tv; 45 tv.tv_sec = timeout->tv_sec; 46 tv.tv_usec = (timeout->tv_nsec + 999)/1000; // round up 47 if (tv.tv_usec >= 1000000) { 48 tv.tv_sec += 1; 49 tv.tv_usec -= 1000000;
|
/cts/tests/src/android/app/cts/ |
ActivityManagerStubCrashActivity.java | 28 final TextView tv = new TextView(this); local 29 tv.setText("Hello, Android but crash"); 30 setContentView(tv);
|
ActivityManagerStubFooActivity.java | 28 final TextView tv = new TextView(this); local 29 tv.setText("Hello, Android"); 30 setContentView(tv);
|
/development/ndk/samples/hello-neon/src/com/example/neon/ |
HelloNeon.java | 18 TextView tv = new TextView(this); local 19 tv.setText( stringFromJNI() ); 20 setContentView(tv);
|
/frameworks/base/tests/SmokeTestApps/src/com/android/smoketest/triggers/ |
CrashyApp2.java | 28 TextView tv = new TextView(this); local 29 tv.setText("Hello, Other Crashy Android"); 30 setContentView(tv);
|
CrashyApp.java | 28 TextView tv = new TextView(this); local 29 tv.setText("Hello, Crashy Android"); 30 setContentView(tv);
|
UnresponsiveApp.java | 28 TextView tv = new TextView(this); local 29 tv.setText("Hello, Unresponsive Android"); 30 setContentView(tv);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
timeval.h | 44 struct timeval *pa_gettimeofday(struct timeval *tv); 54 pa_usec_t pa_timeval_age(const struct timeval *tv); 57 struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE; 60 struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v); 62 /** Load the specified tv value and return it in usec. \since 0.9.7 */ 63 pa_usec_t pa_timeval_load(const struct timeval *tv);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
timeval.h | 44 struct timeval *pa_gettimeofday(struct timeval *tv); 54 pa_usec_t pa_timeval_age(const struct timeval *tv); 57 struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE; 60 struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v); 62 /** Load the specified tv value and return it in usec. \since 0.9.7 */ 63 pa_usec_t pa_timeval_load(const struct timeval *tv);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
timeval.h | 44 struct timeval *pa_gettimeofday(struct timeval *tv); 54 pa_usec_t pa_timeval_age(const struct timeval *tv); 57 struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE; 60 struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v); 62 /** Load the specified tv value and return it in usec. \since 0.9.7 */ 63 pa_usec_t pa_timeval_load(const struct timeval *tv);
|
/frameworks/base/core/jni/ |
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.tv_sec * 1000LL + tv.tv_usec / 1000 157 struct timeval tv; local [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 52 final TextView tv = new TextView(mActivity); local 55 mActivity.setContentView(tv); 56 tv.setSingleLine(true); 57 tv.setLines(2); 61 TextPaint paint = tv.getPaint(); 62 final Layout layout = tv.getLayout(); 66 tv.setText(LONG_TEXT); 76 Touch.scrollTo(tv, layout, width - tv.getWidth() - 1, 0); 80 assertEquals(width - tv.getWidth() - 1, tv.getScrollX()) 104 final TextView tv = new TextView(mActivity); local [all...] |
/sdk/testapps/libsAndJarTest/app/src/com/android/tests/javaprojecttest/app/ |
Main.java | 19 TextView tv = (TextView) findViewById(R.id.app); local 20 tv.setText("App: " + App.getContent()); 22 tv = (TextView) findViewById(R.id.lib1); 23 tv.setText("Lib1: " + Lib1.getContent()); 25 tv = (TextView) findViewById(R.id.lib2); 26 tv.setText("Lib2: " + Lib2.getContent()); 28 tv = (TextView) findViewById(R.id.basicJar); 29 tv.setText("BasicJar: " + BasicJar.getContent()); 31 tv = (TextView) findViewById(R.id.basicJar2); 32 tv.setText("BasicJar2: " + BasicJar2.getContent()) [all...] |
/development/ndk/samples/hello-jni/src/com/example/hellojni/ |
HelloJni.java | 35 TextView tv = new TextView(this); local 36 tv.setText( stringFromJNI() ); 37 setContentView(tv);
|
/development/ndk/samples/two-libs/src/com/example/twolibs/ |
TwoLibs.java | 30 TextView tv = new TextView(this); local 41 tv.setText( "The sum of " + x + " and " + y + " is " + z ); 42 setContentView(tv);
|
/development/samples/SimpleJNI/src/com/example/android/simplejni/ |
SimpleJNI.java | 28 TextView tv = new TextView(this); local 30 tv.setText("2 + 3 = " + Integer.toString(sum)); 31 setContentView(tv);
|
/device/sample/apps/client/src/com/example/android/platform_library/client/ |
Client.java | 38 TextView tv = new TextView(this); local 39 tv.setText("Got from lib: " + res); 40 setContentView(tv);
|