/cts/tests/tests/os/src/android/os/cts/ |
LooperTest.java | 175 int time = 100; local 177 assertTrue(mLoopHandler.sendEmptyMessageAtTime(0, SystemClock.uptimeMillis() + time)); 183 assertFalse(mLoopHandler.sendEmptyMessageAtTime(1, SystemClock.uptimeMillis() + time));
|
ProcessTest.java | 158 long time = 0; local 162 time = mSecondaryService.getElapsedCpuTime(); 168 assertTrue(time > 0);
|
TokenWatcherTest.java | 124 // this time acquired() will not be called 136 // this time released() will not be called 163 long time = System.currentTimeMillis(); local 164 while (System.currentTimeMillis() - time < OVERTIME) { 174 long time = System.currentTimeMillis(); local 175 while (System.currentTimeMillis() - time < OVERTIME) {
|
/cts/tests/tests/util/src/android/util/cts/ |
EventLogTest.java | 170 // Give the message some time to show up in the log 196 long time = events.get(i).getTimeNanos(); local 198 assertTrue(time <= nextTime);
|
/development/ndk/platforms/android-21/include/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
|
/development/ndk/platforms/android-3/include/linux/ |
rtc.h | 30 struct rtc_time time; member in struct:rtc_wkalrm
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
StaticTriangleRenderer.java | 83 * Some one-time OpenGL initialization can be made here 95 * Create our texture. This has to be done each time the 159 long time = SystemClock.uptimeMillis() % 4000L; local 160 float angle = 0.090f * ((int) time); 172 * each time we draw, but usually a new projection needs to
|
TriangleRenderer.java | 55 * Some one-time OpenGL initialization can be made here 67 * Create our texture. This has to be done each time the 146 long time = SystemClock.uptimeMillis() % 4000L; local 147 float angle = 0.090f * ((int) time); 159 * each time we draw, but usually a new projection needs to
|
/development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
InputManagerV9.java | 60 long time = SystemClock.elapsedRealtime(); local 65 if (time - lastContact[0] > CHECK_ELAPSED_TIME) { 74 lastContact[0] = time; 107 long time = SystemClock.elapsedRealtime(); local 112 mDevices.put(id, new long[] { time }); 197 long time = SystemClock.elapsedRealtime(); local 198 timeArray[0] = time;
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
AddVoicemailActivity.java | 73 @InjectView(R.id.time) 129 long time = DATE_FORMATTER.parse(dateStr.trim()).getTime(); local 131 return VoicemailImpl.createForInsertion(time, sender) 156 // Set time to current time.
|
/external/antlr/antlr-3.4/runtime/Python/ |
xmlrunner.py | 13 import time namespace 30 def __init__(self, test, time): 32 self._time = time 37 def create_success(test, time): 39 return _TestInfo(test, time) 42 def create_failure(test, time, failure): 44 info = _TestInfo(test, time) 49 def create_error(test, time, error): 51 info = _TestInfo(test, time) 60 stream.write(' <testcase classname="%(class)s" name="%(method)s" time="%(time).4f">' % [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSessionImplTest.java | 49 long time = session.getCreationTime(); local 50 assertTrue("Incorrect CreationTime", time <= System.currentTimeMillis()); 51 assertEquals("Incorrect LastAccessedTime", time, session.getLastAccessedTime());
|
/external/boringssl/src/ssl/ |
ssl_sess.c | 206 ss->time = (unsigned long)time(NULL); 221 * iteration pretty much "most" of the time (btw: understatement). So, if it 490 if (ret->timeout < (long)(time(NULL) - ret->time)) { 676 return s->time; 684 s->time = t; 725 long time; member in struct:timeout_param_st 732 if (param->time == 0 || 733 param->time > (sess->time + sess->timeout)) [all...] |
/external/chromium-trace/agents/ |
atrace_agent.py | 10 import time namespace 153 # one byte at a time. When the queue fills up, the reader thread will 181 last_status_update_time = time.time() 366 text_file: If True, the file will be read one line at a time, and 386 # Read a text file one line at a time. 427 current_time = time.time()
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/ |
middleware.py | 38 import time namespace 158 debug_counter = itertools.count(int(time.time())) 379 self.created = time.time() 397 'created': time.strftime('%c', time.gmtime(self.created)),
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/ |
collector.py | 25 import time namespace 367 date=time.localtime(), 430 # The date, as time.localtime() returns:
|
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/ |
auth.py | 12 import time namespace 295 now = int(time.time()) 329 now = int(time.time()) 492 now = int(time.time())
|
/external/chromium-trace/trace-viewer/tracing/third_party/python_gflags/ |
gflags2man.py | 55 import time namespace 183 self.date = time.localtime(time.time()) # default date info 197 self.date = time.localtime(finfo[stat.ST_MTIME]) 485 % (self.info.name, time.strftime('%x', self.info.date), self.info.name)) 519 % time.strftime('%Y', self.info.date))
|
/external/clang/utils/analyzer/ |
SATestBuild.py | 47 import time namespace 301 TBegin = time.time() 341 print "Build complete (time: %.2f). See the log for more details: %s" % \ 342 ((time.time()-TBegin), BuildLogPath) 408 TBegin = time.time() 457 print "Diagnostic comparison complete (time: %.2f)." % (time.time()-TBegin) [all...] |
/external/deqp/modules/glshared/ |
glsCalibration.cpp | 187 deUint64 time = 0; local 189 time += frameTimes[i]; 190 return time; 212 1000.0f/30.0f /* target frame time */, 1000.0f/60.0f /* frame time cap */, 1000.0f /* target measure duration */) 273 // Record frame time. 285 // Do a few past iterations have frame time in acceptable range? 325 // Is call count just 1, and frame time still way too high? 403 << TestLog::Message << "Target frame time: " << params.targetFrameTimeUs << " us (" << 1000000 / params.targetFrameTimeUs << " fps)" << TestLog::EndMessage;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
AbstractResults.java | 210 long time = System.currentTimeMillis(); local 214 buffer = new StringBuffer(" => time spent was "); //$NON-NLS-1$ 216 buffer = new StringBuffer(" => time spent in '"); //$NON-NLS-1$ 220 buffer.append(Util.timeString(time-start));
|
/external/eigen/demos/mandelbrot/ |
mandelbrot.cpp | 132 QTime time; local 133 time.start(); 141 int elapsed = time.elapsed();
|
/external/fio/ |
diskutil.h | 67 struct timeval time; member in struct:disk_util
|
/external/fonttools/Lib/fontTools/ |
afmLib.py | 192 import time namespace 195 time.strftime("%m/%d/%Y %H:%M:%S", 196 time.localtime(time.time())))]
|