/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
ContactablesLoaderCallbacks.java | 81 TextView tv = (TextView) ((Activity)mContext).findViewById(R.id.sample_output); local 82 if(tv == null) { 91 tv.setText(mContext.getText(R.string.intro_message) + "\n\n"); 116 tv.append(displayName + "\n"); 125 tv.append("\tPhone Number: " + cursor.getString(phoneColumnIndex) + "\n"); 127 tv.append("\tEmail Address: " + cursor.getString(emailColumnIndex) + "\n");
|
/bionic/libc/private/ |
bionic_time_conversions.h | 40 __LIBC_HIDDEN__ bool timespec_from_timeval(timespec& ts, const timeval& tv); 43 __LIBC_HIDDEN__ void timeval_from_timespec(timeval& tv, const timespec& ts);
|
/cts/hostsidetests/tv/app2/src/com/android/cts/tv/hostside/app2/ |
TvViewMonitorActivity.java | 17 package com.android.cts.tv.hostside.app2; 22 import android.media.tv.TvInputManager;
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
HardwareSessionTest.java | 17 package android.media.tv.cts; 22 import android.media.tv.TvContract; 23 import android.media.tv.TvInputInfo; 24 import android.media.tv.TvInputManager; 25 import android.media.tv.TvInputService; 26 import android.media.tv.TvView; 27 import android.media.tv.cts.HardwareSessionTest.HardwareProxyTvInputService.CountingSession; 31 import android.tv.cts.R; 39 * Test {@link android.media.tv.TvInputService.HardwareSession}.
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ReadAsset.java | 65 TextView tv = (TextView)findViewById(R.id.text); local 66 tv.setText(text);
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
PeerActivity.java | 39 TextView tv = (TextView) findViewById(R.id.peer_counter); local 40 tv.setText(getResources().getText(R.string.peer_count).toString() + mPeerCount);
|
/device/google/cuttlefish/shared/tv/ |
device.mk | 18 DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/tv/manifest.xml
|
/external/ltp/testcases/kernel/device-drivers/rtc/ |
rtc01.c | 66 struct timeval tv; local 132 tv.tv_sec = 6; /*set 6 seconds as the time out */ 133 tv.tv_usec = 0; 138 ret = select(rtc_fd + 1, &rfds, NULL, NULL, &tv); /*wait for alarm */ 174 struct timeval tv; local 190 tv.tv_sec = 2; /*2 sec time out for each interrupt */ 191 tv.tv_usec = 0; 196 ret = select(rtc_fd + 1, &rfds, NULL, NULL, &tv);
|
/external/ltp/testcases/kernel/syscalls/pselect/ |
pselect03.c | 36 struct timespec tv = {0}; local 41 TEST(pselect(fd, &readfds, 0, 0, &tv, NULL));
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
timestruct.go | 47 func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } 68 // Unix returns tv as the number of seconds and nanoseconds elapsed since the 70 func (tv *Timeval) Unix() (sec int64, nsec int64) { 71 return int64(tv.Sec), int64(tv.Usec) * 1000 79 // Nano returns tv as the number of nanoseconds elapsed since the Unix epoch. 80 func (tv *Timeval) Nano() int64 { 81 return int64(tv.Sec)*1e9 + int64(tv.Usec)*100 [all...] |
/device/sample/apps/tv/SetupCustomizationSample/app/src/main/java/com/google/android/tv/setup/customizationsample/ |
HookBegin2Activity.java | 1 package com.google.android.tv.setup.customizationsample;
|
HookPostNetworkActivity.java | 1 package com.google.android.tv.setup.customizationsample; 17 // We do not make visible any UI elements; instead we allow Android TV Setup's "Please wait"
|
NetworkDelegationActivity.java | 1 package com.google.android.tv.setup.customizationsample;
|
/device/sample/apps/tv/SetupValidation/app/src/main/java/com/google/android/tv/setup/customizationsample/ |
HookBegin2Activity.java | 1 package com.google.android.tv.setup.customizationsample;
|
HookPostNetworkActivity.java | 1 package com.google.android.tv.setup.customizationsample; 17 // We do not make visible any UI elements; instead we allow Android TV Setup's "Please wait"
|
HookPostWelcomeActivity.java | 1 package com.google.android.tv.setup.customizationsample;
|
NetworkDelegationActivity.java | 1 package com.google.android.tv.setup.customizationsample;
|
/external/curl/docs/examples/ |
sendrecv.c | 34 struct timeval tv; local 38 tv.tv_sec = timeout_ms / 1000; 39 tv.tv_usec = (timeout_ms % 1000) * 1000; 55 res = select((int)sockfd + 1, &infd, &outfd, &errfd, &tv);
|
/external/libchrome/base/time/ |
time_now_posix.cc | 68 struct timeval tv; local 70 CHECK(gettimeofday(&tv, &tz) == 0); 75 (tv.tv_sec * Time::kMicrosecondsPerSecond + tv.tv_usec) +
|
/external/mdnsresponder/mDNSWindows/ |
PosixCompat.c | 99 gettimeofday( struct timeval * tv, struct timezone * tz ) 103 if ( tv != NULL )
115 tv->tv_sec = ( long )( t / 1000000 );
116 tv->tv_usec = ( long )( t % 1000000 );
|
PosixCompat.h | 53 gettimeofday( struct timeval * tv, struct timezone * tz );
|
/external/u-boot/tools/gdb/ |
serial.c | 86 struct timeval tv; local 90 tv.tv_sec = timeout; 91 tv.tv_usec = 0; 98 if ((n = select(fd + 1, &fds, 0, 0, &tv)) < 0)
|
/external/webrtc/webrtc/base/ |
event.cc | 96 struct timeval tv; 97 gettimeofday(&tv, NULL); 99 ts.tv_sec = tv.tv_sec + (milliseconds / 1000); 100 ts.tv_nsec = tv.tv_usec * 1000 + (milliseconds % 1000) * 1000000;
|
/external/webrtc/webrtc/system_wrappers/source/ |
condition_variable_posix.cc | 100 struct timeval tv; local 101 gettimeofday(&tv, 0); 102 ts.tv_sec = tv.tv_sec; 103 ts.tv_nsec = tv.tv_usec * MICROSECONDS_PER_MILLISECOND;
|
tick_util.cc | 129 struct timeval tv; 130 gettimeofday(&tv, NULL); 131 return 1000000LL * tv.tv_sec + tv.tv_usec;
|