/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_wininst.py | 161 # at installation time which scheme to use. 245 import time namespace 248 (time.ctime(time.time()), distutils.__version__)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pprint.py | 340 import time namespace 344 t1 = time.time() 346 t2 = time.time() 348 t3 = time.time()
|
robotparser.py | 33 """Returns the time the robots.txt file was last fetched. 42 """Sets the time the robots.txt file was last fetched to the 43 current time. 46 import time namespace 47 self.last_checked = time.time()
|
timeit.py | 3 """Tool for measuring execution time of small code snippets. 18 -t/--time: use time.time() (default on Unix) 19 -c/--clock: use time.clock() (default on Windows) 31 successive powers of 10 until the total time is at least 0.2 seconds. 34 clock() has microsecond granularity but time()'s granularity is 1/60th 36 time() is much more precise. On either platform, the default timer 37 functions measure wall clock time, not the CPU time. This means tha 57 import time namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_capi.py | 6 import time namespace 28 time.sleep(random.random()*0.02) #0.01 secs on average 115 time.sleep(1)
|
test_docxmlrpc.py | 6 import time namespace 82 time.sleep(0.001)
|
test_file_eintr.py | 20 import time namespace 62 time.sleep(0.1) # give it time to finish printing the error.
|
test_structseq.py | 4 import time namespace 9 t = time.gmtime() 30 t = time.gmtime() 32 t = time.gmtime(0) 34 "time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, " 38 t1 = time.gmtime() 44 t1 = time.gmtime() 51 t1 = time.gmtime() 57 t1 = time.gmtime() 61 t1 = time.gmtime( [all...] |
test_time.py | 2 import time namespace 10 self.t = time.time() 13 time.altzone 14 time.daylight 15 time.timezone 16 time.tzname 19 time.clock() 22 self.assertTrue(time.ctime(self.t) 23 == time.asctime(time.localtime(self.t)) [all...] |
test_timeout.py | 9 import time namespace 112 # Use a dotted IP address to avoid including the DNS lookup time 113 # with the connect time. This avoids failing the assertion that 121 _t1 = time.time() 123 _t2 = time.time() 138 _t1 = time.time() 140 _t2 = time.time( [all...] |
test_unicode_file.py | 4 import os, glob, time, shutil namespace 53 os.utime(filename, (time.time(), time.time()))
|
test_zipfile64.py | 11 'test requires loads of disk-space bytes and a long time to run' 21 import time namespace 30 # How much time in seconds can pass before we print a 'Still working' message. 54 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL 58 if next_time <= time.time(): 59 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL 71 if next_time <= time.time() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
runner.py | 4 import time namespace 146 startTime = time.time() 156 stopTime = time.time()
|
/system/core/adb/ |
file_sync_service.h | 49 unsigned time; member in struct:syncmsg::__anon69819 55 unsigned time; member in struct:syncmsg::__anon69820
|
/system/extras/tests/framebuffer/ |
refresh.c | 10 #include <time.h> 146 int64_t time = systemTime(); local 160 time = now - time; 161 printf("refresh rate = %f Hz\n", (c*1000000000.0 / (double)time)); 163 time = now;
|
/external/replicaisland/src/com/replica/replicaisland/ |
InputSystem.java | 21 * an average direction over a short period of time. 46 TimeSystem time = sSystemRegistry.timeSystem; local 47 mTrackball.press(time.getGameTime(), mTrackball.getX() + x, mTrackball.getY() + y); 52 TimeSystem time = sSystemRegistry.timeSystem; local 56 mTouchScreen.press(index, time.getGameTime(), x, params.gameHeight - y); 81 TimeSystem time = sSystemRegistry.timeSystem; local 82 mOrientationSensor.press(time.getGameTime(), horizontalMotion, verticalMotion); 87 TimeSystem time = sSystemRegistry.timeSystem; local 88 final float gameTime = time.getGameTime();
|
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 20 import android.text.format.Time; 142 * Compute the time of the next operation. Does not modify any state 146 * @return the wall clock time ({@link System#currentTimeMillis()}) when the 148 * before the current time. 159 // clipped to the current time so we don't languish forever. 170 long time = triggerTimeMillis; local 172 time = Math.min(time, lastSuccessTimeMillis + options.periodicIntervalMillis); 175 time = Math.max(time, moratoriumTimeMillis) 228 long time = mStorage.getLong(name, 0); local 363 Time time = new Time(); local [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthAdapter.java | 21 import android.text.format.Time; 52 private Time time; field in class:MonthAdapter.CalendarDay 88 if (time == null) { 89 time = new Time(); 91 time.setJulianDay(julianDay); 92 setTime(time.toMillis(false)); 141 * Set up the gesture detector and selected time
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
CalendarAppWidgetServiceTest.java | 30 import android.text.format.Time; 80 // Set the "current time" to 2am tomorrow. 81 Time time = new Time(); local 82 time.setToNow(); 83 time.monthDay += 1; 84 time.hour = 2; 85 time.minute = 0; 86 time.second = 0 149 Time time = new Time(); local [all...] |
/packages/apps/Settings/src/com/android/settings/net/ |
NetworkPolicyEditor.java | 32 import android.text.format.Time; 135 cycleTimezone = Time.TIMEZONE_UTC; 138 final Time time = new Time(); local 139 time.setToNow(); 140 cycleDay = time.monthDay; 141 cycleTimezone = time.timezone;
|
/bionic/libc/kernel/tools/ |
kernel.py | 7 import sys, cpp, re, os.path, string, time namespace
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
InterpolatorTest.java | 63 long time = SystemClock.uptimeMillis(); local 64 // set key frames far enough apart so that processing time will not cause result to 66 interpolator.setKeyFrame(0, (int)(time - 10000), new float[] {1.0f}); 67 interpolator.setKeyFrame(1, (int)(time + 10000), new float[] {2.0f}); 72 time = SystemClock.uptimeMillis(); 73 interpolator.setKeyFrame(0, (int)(time + 1000), new float[] {2.0f}); 74 interpolator.setKeyFrame(1, (int)(time + 2000), new float[] {3.0f}); 79 time = SystemClock.uptimeMillis(); 80 interpolator.setKeyFrame(0, (int)(time - 2000), new float[] {2.0f}); 81 interpolator.setKeyFrame(1, (int)(time - 1000), new float[] {3.0f}) [all...] |
/cts/tools/utils/ |
monsoon.py | 45 import time namespace 120 time.sleep(1) 177 time.sleep(.1) 366 last_flush = time.time() 381 if FLAGS.timestamp: print int(time.time()), 395 now = time.time()
|
/developers/build/prebuilts/gradle/PermissionRequest/Application/tests/src/com/example/android/permissionrequest/test/ |
SampleTests.java | 176 long time = 0; local 177 while (time < timeoutMs) { 185 time += 100;
|
/developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/ |
UpdateService.java | 84 long time = dataMap.getLong(Constants.KEY_TIME); local 86 calendar.setTimeInMillis(time);
|