HomeSort by relevance Sort by last modified time
    Searched defs:tv2 (Results 1 - 14 of 14) sorted by null

  /bionic/tests/
sys_time_test.cpp 55 timeval tv2; local
56 ASSERT_EQ(0, syscall(__NR_gettimeofday, &tv2, NULL));
59 tv2.tv_sec -= tv1.tv_sec;
60 tv2.tv_usec -= tv1.tv_usec;
61 if (tv2.tv_usec < 0) {
62 --tv2.tv_sec;
63 tv2.tv_usec += 1000000;
67 ASSERT_EQ(0, tv2.tv_sec);
68 ASSERT_LT(tv2.tv_usec, 1000);
  /system/extras/tests/schedtest/
schedtest.c 28 struct timeval tv2; local
35 gettimeofday(&tv2, NULL);
37 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + tv2.tv_usec - tv1.tv_usec;
  /external/toybox/toys/posix/
time.c 28 struct timeval tv, tv2; local
38 gettimeofday(&tv2, NULL);
39 if (tv.tv_usec > tv2.tv_usec) {
40 tv2.tv_usec += 1000000;
41 tv2.tv_sec--;
43 r = (tv2.tv_sec-tv.tv_sec)+((tv2.tv_usec-tv.tv_usec)/1000000.0);
  /cts/tests/tests/widget/src/android/widget/cts/
TextSwitcherTest.java 62 TextView tv2 = new TextView(mContext); local
64 tv2.setText(viewText2);
66 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
78 assertSame(tv2, textSwitcher.getCurrentView());
90 assertSame(tv2, textSwitcher.getCurrentView());
102 TextView tv2 = new TextView(mContext); local
104 tv2.setText(viewText2);
106 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
137 TextView tv2 = new TextView(mContext); local
152 textSwitcher.addView(tv2, Integer.MAX_VALUE
    [all...]
AbsListViewTest.java 373 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local
377 mListView.setScrollIndicators(tv1, tv2);
550 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local
554 mListView.setScrollIndicators(tv1, tv2);
  /external/android-clat/
clatd_microbenchmark.c 127 double timedelta(const struct timespec tv1, const struct timespec tv2) {
128 struct timespec end = tv2;
142 struct timespec tv1, tv2; local
155 clock_gettime(CLOCK_MONOTONIC, &tv2);
156 double seconds = timedelta(tv1, tv2);
  /cts/tests/tests/util/src/android/util/cts/
TypedValueTest.java 53 TypedValue tv2 = new TypedValue(); local
61 tv2.setTo(tv1);
63 assertEquals(1, tv2.assetCookie);
64 assertEquals(-1, tv2.changingConfigurations);
65 assertEquals(3, tv2.data);
66 assertEquals(4, tv2.resourceId);
67 assertEquals("test", tv2.string);
68 assertEquals(5, tv2.type);
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
multi-level-substitution.cpp 237 tuple_of_values<int&, float&>::apply<i, i>::type tv2; // expected-error{{non-type template parameter of reference type 'float &' cannot bind to template argument of type 'int'}} member in namespace:ExpandingNonTypeTemplateParameters
  /system/extras/tests/framebuffer/
fb_test.c 47 struct timespec tv, tv2; variable in typeref:struct:
  /external/e2fsprogs/lib/uuid/
gen_uuid.c 352 unsigned long tv1, tv2; local
356 &cl, &tv1, &tv2, &a) == 4) {
359 last.tv_usec = tv2;
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
JPEGTest.c 663 struct timeval tv1, tv2; local
    [all...]
  /packages/apps/Music/src/com/android/music/
QueryBrowserActivity.java 380 TextView tv2 = (TextView) view.findViewById(R.id.line2); local
415 tv2.setText(songs_albums);
433 tv2.setText(displayname);
453 tv2.setText(displayname + " - " + name);
  /external/e2fsprogs/misc/
badblocks.c 180 struct timeval *tv2, char *buf)
182 time_t diff = (tv1->tv_sec - tv2->tv_sec);
355 struct timeval tv1, tv2; local
378 gettimeofday(&tv2, NULL);
387 ts.tv_sec = tv2.tv_sec - tv1.tv_sec;
388 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC;
405 tv.tv_sec = tv2.tv_sec - tv1.tv_sec;
406 tv.tv_usec = tv2.tv_usec - tv1.tv_usec;
    [all...]
  /packages/apps/Browser/src/com/android/browser/
SuggestionsAdapter.java 161 TextView tv2 = (TextView) view.findViewById(android.R.id.text2); local
167 tv2.setVisibility(View.GONE);
170 tv2.setVisibility(View.VISIBLE);
171 tv2.setText(item.url);

Completed in 5661 milliseconds