/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
OpenGLWatchFaceService.java | 53 private static final long FRAME_PERIOD_MS = TimeUnit.SECONDS.toMillis(1) / FPS; 444 float seconds = local 446 float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; 448 final int secIndex = (int) (seconds / 60f * 360f);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
OpenGLWatchFaceService.java | 53 private static final long FRAME_PERIOD_MS = TimeUnit.SECONDS.toMillis(1) / FPS; 444 float seconds = local 446 float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; 448 final int secIndex = (int) (seconds / 60f * 360f);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
OpenGLWatchFaceService.java | 51 private static final long FRAME_PERIOD_MS = TimeUnit.SECONDS.toMillis(1) / FPS; 442 float seconds = local 444 float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; 446 final int secIndex = (int) (seconds / 60f * 360f);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
test_assertions.py | 47 second = first + datetime.timedelta(seconds=10)
49 delta=datetime.timedelta(seconds=20))
51 delta=datetime.timedelta(seconds=5))
|
/external/autotest/client/tests/disktest/src/ |
disktest.c | 36 unsigned int seconds = 15; variable 218 printf(" [-s seconds] seconds to run for (15)\n"); 261 seconds = atoi(optarg); 348 printf("Wrote %d MB to %s (%d seconds)\n", megabytes, filename, (int) (time(NULL) - start_time)); 354 end_time = time(NULL) + seconds;
|
/external/linux-kselftest/tools/testing/selftests/ptp/ |
testptp.c | 117 " -a val request a one-shot alarm after 'val' seconds\n" 118 " -A val request a periodic alarm every 'val' seconds\n" 139 " -t val shift the ptp clock time by 'val' seconds\n" 140 " -T val set the ptp clock time to 'val' seconds\n", 182 int seconds = 0; local 247 seconds = atoi(optarg); 344 ts.tv_sec = seconds;
|
/external/lisa/libs/utils/android/ |
benchmark.py | 110 Override this with the desired amount of time (in seconds) to pause 172 help='Amount of time (in seconds) to pause for before each iteration (default 30s)') 320 def _wait_for_logcat_idle(self, seconds=1): 335 self._log.info(' i.e. at least %d[s] of no logcat messages', seconds) 337 poll_result = logcat_poll.poll(seconds * 1000)
|
/external/llvm/lib/Support/ |
Timer.cpp | 132 Result.WallTime = now.seconds() + now.microseconds() / 1000000.0; 133 Result.UserTime = user.seconds() + user.microseconds() / 1000000.0; 134 Result.SystemTime = sys.seconds() + sys.microseconds() / 1000000.0; 321 OS << format(" Total Execution Time: %5.4f seconds (%5.4f wall clock)\n",
|
/external/llvm/utils/Misc/ |
zkill | 32 seconds,fseconds = value.split('.',1) 34 seconds = value 35 return int(minutes) * 60 + int(seconds) + float('.'+fseconds) 195 help="Kill processes with CPU time >= N (seconds)", 198 help="Kill processes with CPU time <= N (seconds)",
|
/external/python/cpython2/Lib/unittest/test/ |
test_assertions.py | 51 second = first + datetime.timedelta(seconds=10) 53 delta=datetime.timedelta(seconds=20)) 55 delta=datetime.timedelta(seconds=5))
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
MediaRecorderFacade.java | 274 private int convertSecondsToMilliseconds(Integer seconds) { 275 if (seconds == null) { 278 return (int) (seconds * 1000L);
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
Timer.cpp | 141 Result.WallTime = now.seconds() + now.microseconds() / 1000000.0; 142 Result.UserTime = user.seconds() + user.microseconds() / 1000000.0; 143 Result.SystemTime = sys.seconds() + sys.microseconds() / 1000000.0; 337 OS << format("%5.4f", Total.getProcessTime()) << " seconds (";
|
/frameworks/base/services/core/jni/ |
com_android_server_AlarmManagerService.cpp | 388 static jint android_server_AlarmManagerService_set(JNIEnv*, jobject, jlong nativeData, jint type, jlong seconds, jlong nanoseconds) 392 ts.tv_sec = seconds; 399 static_cast<long long>(seconds),
|
/prebuilts/gdb/darwin-x86/lib/python2.7/unittest/test/ |
test_assertions.py | 47 second = first + datetime.timedelta(seconds=10) 49 delta=datetime.timedelta(seconds=20)) 51 delta=datetime.timedelta(seconds=5))
|
/prebuilts/gdb/linux-x86/lib/python2.7/unittest/test/ |
test_assertions.py | 47 second = first + datetime.timedelta(seconds=10) 49 delta=datetime.timedelta(seconds=20)) 51 delta=datetime.timedelta(seconds=5))
|
/prebuilts/go/darwin-x86/src/net/http/pprof/ |
pprof.go | 38 // wget http://localhost:6060/debug/pprof/trace?seconds=5 98 func durationExceedsWriteTimeout(r *http.Request, seconds float64) bool { 100 return ok && srv.WriteTimeout != 0 && seconds >= srv.WriteTimeout.Seconds() 106 sec, _ := strconv.ParseInt(r.FormValue("seconds"), 10, 64) 137 // Tracing lasts for duration specified in seconds GET parameter, or for 1 second if not specified. 140 sec, err := strconv.ParseFloat(r.FormValue("seconds"), 64)
|
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo.go | 29 // The units for cacheStart and cacheEnd are seconds 40 offset int // seconds east of UTC 46 when int64 // transition time, in seconds since 1970 GMT 91 // the given zone name and offset (seconds east of UTC). 105 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC. 109 // the offset in seconds east of UTC (such as -5*60*60), and whether
|
/prebuilts/go/linux-x86/src/net/http/pprof/ |
pprof.go | 38 // wget http://localhost:6060/debug/pprof/trace?seconds=5 98 func durationExceedsWriteTimeout(r *http.Request, seconds float64) bool { 100 return ok && srv.WriteTimeout != 0 && seconds >= srv.WriteTimeout.Seconds() 106 sec, _ := strconv.ParseInt(r.FormValue("seconds"), 10, 64) 137 // Tracing lasts for duration specified in seconds GET parameter, or for 1 second if not specified. 140 sec, err := strconv.ParseFloat(r.FormValue("seconds"), 64)
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo.go | 29 // The units for cacheStart and cacheEnd are seconds 40 offset int // seconds east of UTC 46 when int64 // transition time, in seconds since 1970 GMT 91 // the given zone name and offset (seconds east of UTC). 105 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC. 109 // the offset in seconds east of UTC (such as -5*60*60), and whether
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_assertions.py | 47 second = first + datetime.timedelta(seconds=10) 49 delta=datetime.timedelta(seconds=20)) 51 delta=datetime.timedelta(seconds=5))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_assertions.py | 47 second = first + datetime.timedelta(seconds=10) 49 delta=datetime.timedelta(seconds=20)) 51 delta=datetime.timedelta(seconds=5))
|
/external/autotest/client/common_lib/ |
smogcheck_ttci.py | 197 usec = 1000000 * t.seconds + t.microseconds
|
/external/autotest/client/site_tests/hardware_Usb30Throughput/ |
hardware_Usb30Throughput.py | 110 # compute seconds (as float) from microsecs 111 delta_secs = delta.seconds + (delta.microseconds/USECS_IN_SEC)
|
/external/autotest/client/tests/wb_kupdate/ |
wb_kupdate_unittest.py | 37 _now=datetime.datetime.now() + datetime.timedelta(seconds=60)))
|
/external/autotest/server/site_tests/power_USBHotplugInSuspend/ |
power_USBHotplugInSuspend.py | 54 seconds=_SUSPEND_TIME)
|