/frameworks/base/tests/SmokeTestApps/src/com/android/smoketest/triggers/ |
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);
|
/external/chromium/third_party/libevent/test/ |
test-time.c | 48 struct timeval tv; local 56 tv.tv_sec = 0; 57 tv.tv_usec = rand_int(50000); 58 if (tv.tv_usec % 2) 59 evtimer_add(ev[j], &tv); 69 struct timeval tv; local 80 tv.tv_sec = 0; 81 tv.tv_usec = rand_int(50000); 82 evtimer_add(ev[i], &tv);
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
timevar.h | 101 timevar_push (timevar_id_t tv) 104 timevar_push_1 (tv); 108 timevar_pop (timevar_id_t tv) 111 timevar_pop_1 (tv);
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
timevar.h | 101 timevar_push (timevar_id_t tv) 104 timevar_push_1 (tv); 108 timevar_pop (timevar_id_t tv) 111 timevar_pop_1 (tv);
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
timevar.h | 101 timevar_push (timevar_id_t tv) 104 timevar_push_1 (tv); 108 timevar_pop (timevar_id_t tv) 111 timevar_pop_1 (tv);
|
/sdk/testapps/buildConfigTest/app/src/com/android/tests/buildconfigtest/ |
Main.java | 19 TextView tv = (TextView) findViewById(R.id.app); local 20 tv.setText("App: DEBUG"); 23 TextView tv = (TextView) findViewById(R.id.lib1); local 24 tv.setText("Lib: " + Lib1.getContent());
|
/system/extras/tests/bionic/libc/other/ |
bench_locks.c | 9 struct timeval tv; local 10 gettimeofday(&tv, NULL); 11 return tv.tv_sec + tv.tv_usec/1000000.0;
|
/external/chromium/third_party/libevent/sample/ |
time-test.c | 35 struct timeval tv; local 43 evutil_timerclear(&tv); 44 tv.tv_sec = 2; 45 event_add(timeout, &tv); 52 struct timeval tv; local 60 evutil_timerclear(&tv); 61 tv.tv_sec = 2; 62 event_add(&timeout, &tv);
|
/frameworks/av/libvideoeditor/osal/src/ |
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/base/core/tests/coretests/src/android/widget/ |
TextViewTest.java | 30 TextView tv = new TextView(mContext); local 35 tv.setText(c, 1, 4); 36 CharSequence oldText = tv.getText(); 38 tv.setText(c, 4, 5); 39 CharSequence newText = tv.getText();
|
/frameworks/native/libs/utils/ |
SystemClock.cpp | 52 struct timeval tv; 64 tv.tv_sec = (time_t) (millis / 1000LL); 65 tv.tv_usec = (suseconds_t) ((millis % 1000LL) * 1000LL); 67 ALOGD("Setting time of day to sec=%d\n", (int) tv.tv_sec); 75 ts.tv_sec = tv.tv_sec; 76 ts.tv_nsec = tv.tv_usec * 1000; 79 ALOGW("Unable to set rtc to %ld: %s\n", tv.tv_sec, strerror(errno)); 84 if (settimeofday(&tv, NULL) != 0) { 86 (int) tv.tv_sec, (int) tv.tv_usec, strerror(errno)) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 32 TypedValue tv = new TypedValue(); local 33 tv.data = 99; 34 assertEquals(EXPECTED, tv.getFloat()); 74 TypedValue tv = new TypedValue(); local 75 tv.data = 10; 76 assertEquals(EXPECTED, tv.getFraction(1.1f, 2.1f)); 115 TypedValue tv = new TypedValue(); local 116 tv.assetCookie = 1; 117 tv.changingConfigurations = 2; 118 tv.data = 3 151 TypedValue tv = new TypedValue(); local 202 TypedValue tv = new TypedValue(); local [all...] |
/external/kernel-headers/original/linux/ |
ktime.h | 38 * endian-aware order of the tv struct members is choosen to allow 55 } tv; member in union:__anon7962 106 static inline ktime_t timeval_to_ktime(struct timeval tv) 108 return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); 130 * that the tv.sec field is negative and the tv.nsec field is greater 134 * tv.sec < 0 and 0 >= tv.nsec < NSEC_PER_SEC 140 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } } [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ResourcesSample.java | 49 TextView tv; local 59 tv = (TextView)findViewById(R.id.styled_text); 60 tv.setText(cs); 65 tv = (TextView)findViewById(R.id.plain_text); 66 tv.setText(str); 80 tv = (TextView)findViewById(R.id.res1); 81 tv.setText(cs);
|
/external/e2fsprogs/lib/uuid/ |
uuid_time.c | 58 struct timeval tv; local 69 tv.tv_sec = clock_reg / 10000000; 70 tv.tv_usec = (clock_reg % 10000000) / 10; 73 *ret_tv = tv; 75 return tv.tv_sec; 124 struct timeval tv; local 137 time_reg = uuid_time(buf, &tv); 166 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
ContentViewActivity.java | 36 TextView tv = (TextView) findViewById(R.id.status_text); local 37 tv.setText("Viewing content from ACTION_VIEW"); 39 TextView tv = (TextView) findViewById(R.id.status_text); local 40 tv.setText(intent.getStringExtra(EXTRA_TEXT));
|
/external/ppp/pppd/plugins/radius/ |
util.c | 56 struct timeval tv; local 58 tv.tv_sec = (int) msecs / 1000; 59 tv.tv_usec = (msecs % 1000) * 1000; 61 select(0,(fd_set *)NULL,(fd_set *)NULL,(fd_set *)NULL, &tv);
|
/external/skia/src/ports/ |
SkTime_Unix.cpp | 36 struct timeval tv; local 37 gettimeofday(&tv, NULL); 38 return (SkMSec) (tv.tv_sec * 1000 + tv.tv_usec / 1000 ); // microseconds to milliseconds
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
perfutils.h | 22 INT getTimeStamp(struct timeval *tv);
|
/sdk/testapps/userLibTest/src/com/android/tests/userlibtest/ |
Main.java | 16 TextView tv = (TextView) findViewById(R.id.basicJar); local 17 tv.setText("BasicJar: " + BasicJar.getContent());
|
/frameworks/base/core/java/android/view/animation/ |
ScaleAnimation.java | 70 TypedValue tv = a.peekValue( local 73 if (tv != null) { 74 if (tv.type == TypedValue.TYPE_FLOAT) { 76 mFromX = tv.getFloat(); 78 mFromXType = tv.type; 79 mFromXData = tv.data; 82 tv = a.peekValue( 85 if (tv != null) { 86 if (tv.type == TypedValue.TYPE_FLOAT) { 88 mToX = tv.getFloat() [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
gettimeofday.c | 106 rpl_gettimeofday (struct timeval *restrict tv, void *restrict tz) 116 int result = gettimeofday (tv, tz); 130 tv->tv_sec = timebuf.time; 131 tv->tv_usec = timebuf.millitm * 1000; 139 tv->tv_sec = time (NULL); 140 tv->tv_usec = 0;
|
/external/bison/lib/ |
timevar.c | 287 struct timevar_def *tv = &timevars[timevar]; local 295 tv->used = 1; 298 if (tv->standalone) 325 context->timevar = tv; 376 struct timevar_def *tv = &timevars[timevar]; local 382 tv->used = 1; 386 if (tv->standalone) 388 tv->standalone = 1; 390 get_time (&tv->start_time); 400 struct timevar_def *tv = &timevars[timevar] local 422 struct timevar_def *tv = &timevars[timevar]; local 478 struct timevar_def *tv = &timevars[(timevar_id_t) id]; local [all...] |
/external/tremolo/Tremolo/ |
misc.c | 91 struct timeval tv; local 95 gettimeofday(&tv,&tz); 115 if(start_time==-1)start_time=(tv.tv_sec*1000)+(tv.tv_usec/1000); 121 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 124 -start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), 129 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000) 148 struct timeval tv; local [all...] |