/hardware/bsp/intel/peripheral/libupm/examples/java/ |
TM1637Sample.java | 53 LocalDateTime now; local 55 now = LocalDateTime.now(); 56 int hour = now.getHour(); 57 int min = now.getMinute(); 58 int sec = now.getSecond();
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
tm1637.js | 36 var now = new Date(); 37 console.log("System time: " + now.getHours() + ":" + ("0" + now.getMinutes()).slice(-2)); 42 now = new Date(); 43 var time = now.getHours().toString() + ("0" + now.getMinutes().toString()).slice(-2);
|
/packages/apps/Email/src/com/android/email/ |
StopWatch.java | 54 long now = getCurrentTime() ; local 55 long elapse = now - mLastSplit; 57 mLastSplit = now; 61 long now = getCurrentTime(); local 63 + (now - mLastSplit) 64 + " (total " + (now - mStart) + ")");
|
/external/guice/core/src/com/google/inject/internal/util/ |
Stopwatch.java | 35 long now = System.currentTimeMillis(); local 37 return now - start; 39 start = now;
|
/frameworks/base/libs/hwui/renderthread/ |
TimeLord.cpp | 37 nsecs_t now = systemTime(CLOCK_MONOTONIC); local 38 nsecs_t jitterNanos = now - mFrameTimeNanos; 41 mFrameTimeNanos = now - lastFrameOffset;
|
/toolchain/binutils/binutils-2.25/gold/ |
timer.cc | 93 Timer::get_time(TimeStats *now) 97 now->wall = (times(&t) * 1000) / ticks_per_sec; 98 now->user = (t.tms_utime * 1000) / ticks_per_sec; 99 now->sys = (t.tms_stime * 1000) / ticks_per_sec; 101 now->wall = get_run_time() / 1000; 102 now->user = 0; 103 now->sys = 0; 111 TimeStats now; local 112 this->get_time(&now); 114 delta.wall = now.wall - this->start_time_.wall [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 39 private Date now = new Date(); field in class:TimestampTest 53 new Timestamp(now, null); 64 Timestamp one = new Timestamp(now, cpath); 65 Timestamp two = new Timestamp(now, cpath); 79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 83 Timestamp t = new Timestamp(now, cpath); 84 assertEquals(now, t.getTimestamp()); 85 assertNotSame(now, t.getTimestamp()); 92 new Timestamp(now, cpath).toString();
|
/external/curl/lib/ |
speedcheck.h | 31 struct timeval now);
|
/external/google-benchmark/cmake/ |
steady_clock.cpp | 5 Clock::time_point tp = Clock::now();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.hires/ |
now.pass.cpp | 14 // static time_point now(); 21 C::time_point t1 = C::now();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.system/ |
now.pass.cpp | 14 // static time_point now(); 21 C::time_point t1 = C::now();
|
to_time_t.pass.cpp | 22 std::time_t t1 = C::to_time_t(C::now());
|
/external/v8/build/ |
write_build_date_header.py | 67 now = datetime.datetime( 69 return '{:%b %d %Y %H:%M:%S}'.format(now) 91 now = datetime.datetime.utcnow() 92 if now.hour < 5: 97 now = now - datetime.timedelta(days=1) 98 now = datetime.datetime(now.year, now.month, now.day, 5, 0, 0 [all...] |
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
HttpHeaderParserTest.java | 86 long now = System.currentTimeMillis(); local 87 headers.put("Date", rfc1123Date(now)); 88 headers.put("Last-Modified", rfc1123Date(now - ONE_DAY_MILLIS)); 89 headers.put("Expires", rfc1123Date(now + ONE_HOUR_MILLIS)); 95 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); 96 assertEqualsWithin(entry.lastModified, (now - ONE_DAY_MILLIS), ONE_MINUTE_MILLIS); 97 assertTrue(entry.softTtl >= (now + ONE_HOUR_MILLIS)); 102 long now = System.currentTimeMillis(); local 103 headers.put("Date", rfc1123Date(now)); 104 headers.put("Expires", rfc1123Date(now - ONE_HOUR_MILLIS)) 117 long now = System.currentTimeMillis(); local 130 long now = System.currentTimeMillis(); local 144 long now = System.currentTimeMillis(); local 162 long now = System.currentTimeMillis(); local 173 long now = System.currentTimeMillis(); local 186 long now = System.currentTimeMillis(); local 199 long now = System.currentTimeMillis(); local [all...] |
/external/libchrome/base/test/ |
simple_test_clock.cc | 13 Time SimpleTestClock::Now() { 23 void SimpleTestClock::SetNow(Time now) { 25 now_ = now;
|
/external/vboot_reference/host/lib/ |
extract_vmlinuz.c | 16 uint64_t now = 0; local 27 now += keyblock->key_block_size; 28 if (now > kpart_size) 31 preamble = (VbKernelPreambleHeader *)(kpart_data + now); 32 now += preamble->preamble_size; 33 if (now > kpart_size) 36 kblob_data = kpart_data + now; 39 if (!kblob_data || (now + kblob_size) > kpart_size)
|
/ndk/tests/build/test-gnustl-chrono/jni/ |
main.cpp | 14 high_resolution_clock::time_point start = high_resolution_clock::now(); 16 high_resolution_clock::time_point end = high_resolution_clock::now();
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
LatencyTracker.java | 51 long now = SystemClock.uptimeMillis(); local 52 return (int) (now - mStartTime);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mach-o/ |
symbols-6-64.s | 0 # now look at what happens when we append some indirects to the normal
|
symbols-6.s | 0 # now look at what happens when we append some indirects to the normal
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-vxworks/ |
tls-3.d | 2 # ld: -shared -z now
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 39 private Date now = new Date(); field in class:TimestampTest 53 new Timestamp(now, null); 59 Timestamp timestamp = new Timestamp(now, cpath); 60 assertEquals("not expected value", now, timestamp.getTimestamp()); 68 Timestamp one = new Timestamp(now, cpath); 69 Timestamp two = new Timestamp(now, cpath); 83 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 87 Timestamp t = new Timestamp(now, cpath); 88 assertEquals(now, t.getTimestamp()); 89 assertNotSame(now, t.getTimestamp()) [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
MockReceiver.java | 58 long now = SystemClock.elapsedRealtime(); local 59 final long endTime = now + timeout; 61 while (!sReceived && now < endTime) { 63 sBlocker.wait(endTime - now); 66 now = SystemClock.elapsedRealtime();
|
PendingIntentStubActivity.java | 51 long now = SystemClock.elapsedRealtime(); local 52 final long endTime = now + timeout; 54 while (!sCreated && now < endTime) { 56 sBlocker.wait(endTime - now); 59 now = SystemClock.elapsedRealtime();
|
/external/toybox/toys/other/ |
uptime.c | 27 struct tm * now; local 35 now = localtime(&tmptime); 43 xprintf(" %02d:%02d:%02d up ", now->tm_hour, now->tm_min, now->tm_sec);
|