/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_queue.py | 4 import time namespace 28 time.sleep(0.1) 118 self.fail("Didn't appear to time-out with a full queue") 135 self.fail("Didn't appear to time-out with an empty queue")
|
test_thread.py | 6 import time namespace 51 time.sleep(delay) 119 time.sleep(0.01) 130 time.sleep(0.01) 153 time.sleep(0.01) 205 time.sleep(delay)
|
test_threading_local.py | 55 import time namespace 58 time.sleep(0.01)
|
test_traceback.py | 70 import os, tempfile, time namespace 97 time.sleep(4)
|
test_urllib2net.py | 202 import time namespace 240 time.sleep(0.1)
|
test_urllibnet.py | 10 import time namespace 198 time.strptime(datevalue, dateformat)
|
test_winsound.py | 6 import time namespace 72 time.sleep(0.5) 209 time.sleep(0.5)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
RuleLoader.java | 155 * can change over time (if the jar files are updated), so callers should be 173 long time = System.currentTimeMillis(); local 174 if (time - mLastCheckTimeStamp > 3000) { 175 mLastCheckTimeStamp = time;
|
/system/core/gatekeeperd/ |
SoftGateKeeper.h | 99 struct timespec time; local 100 int res = clock_gettime(CLOCK_BOOTTIME, &time); 102 return (time.tv_sec * 1000) + (time.tv_nsec / 1000 / 1000);
|
/system/security/keystore/ |
auth_token_table.cpp | 20 #include <time.h> 47 struct timespec time; local 48 clock_gettime(CLOCK_MONOTONIC_RAW, &time); 49 return time.tv_sec; 203 void AuthTokenTable::Entry::UpdateLastUse(time_t time) { 204 this->last_use_ = time;
|
/system/vold/bench/ |
benchgen.py | 35 def __init__(self, thread, time, call, args, ret): 37 self.time = time 119 time, call, args, ret = line.groups() 123 time = float(time) variable 125 events.append(Event(thread, time, call, args, ret)) 175 events = sorted(events, key=lambda e: e.time)
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 27 import android.text.format.Time; 253 Time time = new Time(timeZone); local 254 time.setToNow(); // This is needed for gmtoff to be set 255 mTodayJulianDay = Time.getJulianDay(mNow, time.gmtoff); 264 final Time recycle = new Time(timeZone); 271 mShowTZ = !TextUtils.equals(timeZone, Time.getCurrentTimezone()) [all...] |
CalendarAppWidgetProvider.java | 33 import android.text.format.Time; 134 Time time = new Time(Utils.getTimeZone(context, null)); local 135 time.setToNow(); 136 long millis = time.toMillis(true); 137 final String dayOfWeek = DateUtils.getDayOfWeekString(time.weekDay + 1, 153 .setData(Uri.parse("content://com.android.calendar/time/" + millis)); 201 * If the go to time is 0, then calendar will be launched without a starting time [all...] |
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 48 import android.text.format.Time; 109 Time time = new Time(); local 110 time.setToNow(); 111 long beginTime = time.toMillis(true); 112 time.monthDay++; 113 time.normalize(true); 114 long endTime = time.normalize(true);
|
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 48 import android.text.format.Time; 109 Time time = new Time(); local 110 time.setToNow(); 111 long beginTime = time.toMillis(true); 112 time.monthDay++; 113 time.normalize(true); 114 long endTime = time.normalize(true);
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
CalendarQueryService.java | 48 import android.text.format.Time; 109 Time time = new Time(); local 110 time.setToNow(); 111 long beginTime = time.toMillis(true); 112 time.monthDay++; 113 time.normalize(true); 114 long endTime = time.normalize(true);
|
/external/emma/lib/internal/ |
stamptool.jar | |
/art/runtime/base/ |
timing_logger.cc | 93 // Convert delta time to microseconds so that we don't overflow our counters. 175 uint64_t time = timings_[i].GetTime() - timings_[open_idx].GetTime(); local 176 ret.data_[open_idx].exclusive_time += time; 178 ret.data_[open_idx].total_time += time; 181 // If there is a parent node, subtract from the exclusive time. 184 // total time value later. 185 ret.data_[open_stack.back()].exclusive_time -= time; 209 os << name_ << " [Exclusive time] [Total time]\n";
|
/bionic/libc/bionic/ |
ndk_cruft.cpp | 42 #include <sys/time.h> 288 time_t time; member in struct:timeb 302 tb->time = tv.tv_sec; 306 ++tb->time;
|
/bionic/libc/kernel/uapi/linux/ |
joystick.h | 14 *** Any manual change here will be lost the next time this script will 30 __u32 time; member in struct:js_event
|
rtc.h | 14 *** Any manual change here will be lost the next time this script will 39 struct rtc_time time; member in struct:rtc_wkalrm
|
/cts/apps/CameraITS/pymodules/its/ |
device.py | 21 import time namespace 45 # device. <host_port> is determined at run-time to support multiple 105 time.sleep(RETRY_WAIT_TIME_SEC) 175 time.sleep(duration) 301 the test runs for a long time after this call, then the device's 315 of which maps to a list of objects containing "time","x","y","z" 391 * AE exposure time; None if do_ae is False 585 # Detect long exposure time and set timeout accordingly
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
test_sensor_fusion.py | 18 import time namespace 48 # Constants to convert between different time units (for clarity). 90 gyro_times = [e["time"] for e in events["gyro"]] 106 # Find the best offset (time-shift) to align the gyro and camera motion 160 print "Test failed; bad fit to time-shift curve" 209 all_times = numpy.array([e["time"] for e in gyro_events]) 294 # Assign a time to each frame that assumes that the image is instantly 334 time.sleep(5) 336 # TODO: Ensure that OIS is disabled; set to DISABLE and wait some time. 343 print "Capturing %dx%d with sens. %d, exp. time %.1fms" % [all...] |
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
monsoon.py | 27 import time namespace 108 time.sleep(1.0) 212 time.sleep(2); 293 time.sleep(.1)
|
/cts/tests/tests/content/src/android/content/cts/ |
DummyProvider.java | 146 long time = System.currentTimeMillis(); local 147 long target = time + MOCK_OPERATION_SLEEP_TIME; 148 while (time < target) { 150 Thread.sleep(target - time); 155 time = System.currentTimeMillis();
|