/external/autotest/client/site_tests/platform_BootPerf/ |
platform_BootPerf.py | 210 seconds and record the following keyvals in `results`: 277 Read "seconds since kernel startup" from the bootstat files 359 seconds since boot (for the same boot event, as from 361 values measured as seconds since the epoch. The three "t" 364 Estimate the time of `event` measured as seconds since the 373 @param event A time to be converted from "seconds since 374 boot" into "seconds since the epoch". 376 measured as "seconds since the epoch". 378 measured as "seconds since the epoch". 379 @param t_uptime A reference time measured as "seconds sinc [all...] |
/frameworks/base/core/java/android/widget/ |
Chronometer.java | 287 long seconds = mCountDown ? mBase - now : now - mBase; local 288 seconds /= 1000; 290 if (seconds < 0) { 291 seconds = -seconds; 294 String text = DateUtils.formatElapsedTime(mRecycle, seconds);
|
/external/fio/tools/ |
genfio | 59 -r seconds : Time in seconds per benchmark 61 Default is $RUNTIME seconds 79 ETA ~ 4 tests * 4 disks * 100 seconds 81 ETA ~ 4 tests * 4 disks * 100 seconds 83 ETA ~ 4 tests * 4 disks * 100 seconds 85 ETA ~ 4 tests * 100 seconds 87 ETA ~ 4 tests * 100 seconds 89 ETA ~ 4 tests * 100 seconds 92 Estimated Time = 6000 seconds : 1 hour 40 minute [all...] |
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Timestamp.cs | 35 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), global::Google.Protobuf.WellKnownTypes.Timestamp.Parser, new[]{ "Seconds", "Nanos" }, null, null, null) 44 /// or calendar, represented as seconds and fractions of seconds at 48 /// seconds long, i.e. leap seconds are "smeared" so that no leap second 77 /// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. 92 /// seconds = int(now) 93 /// nanos = int((now - seconds) * 10**9) 94 /// timestamp = Timestamp(seconds=seconds, nanos=nanos [all...] |
/external/curl/docs/cmdline-opts/ |
write-out.d | 107 The time, in seconds, it took from the start until the SSL/SSH/etc 111 The time, in seconds, it took from the start until the TCP connect to the 115 The time, in seconds, it took from the start until the name resolving was 119 The time, in seconds, it took from the start until the file transfer was just 124 The time, in seconds, it took for all redirection steps including name lookup, 130 The time, in seconds, it took from the start until the first byte was just 135 The total time, in seconds, that the full operation lasted.
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
PlaybackControlsPresenter.java | 160 long seconds = currentTimeMs / 1000; local 163 formatTime(seconds, mCurrentTimeStringBuilder); 189 static void formatTime(long seconds, StringBuilder sb) { 190 long minutes = seconds / 60; 192 seconds -= minutes * 60; 203 if (seconds < 10) { 206 sb.append(seconds);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerSetupView.java | 205 final int seconds = mInput[1] * 10 + mInput[0]; local 213 uidm.getFormattedNumber(seconds, 2))); 219 r.getQuantityString(R.plurals.seconds, seconds, seconds))); 306 final int seconds = mInput[1] * 10 + mInput[0]; local 309 return seconds * DateUtils.SECOND_IN_MILLIS
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKDuration.java | 69 import static java.time.temporal.ChronoUnit.SECONDS; 340 {0, SECONDS, 0, 0}, 348 {1, SECONDS, 1, 0}, 356 {3, SECONDS, 3, 0}, 364 {-1, SECONDS, -1, 0}, 372 {-3, SECONDS, -3, 0}, 383 {Long.MAX_VALUE, SECONDS, Long.MAX_VALUE, 0}, 384 {Long.MIN_VALUE, SECONDS, Long.MIN_VALUE, 0}, 2701 long seconds = test.get(ChronoUnit.SECONDS); local [all...] |
/external/golang-protobuf/ptypes/timestamp/ |
timestamp.pb.go | 31 // or calendar, represented as seconds and fractions of seconds at 35 // seconds long, i.e. leap seconds are "smeared" so that no leap second 66 // // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. 91 // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), 95 // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 109 // Represents seconds of UTC time since Unix epoch 112 Seconds int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty" [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
UniversalTimeScale.java | 19 * Unix time (seconds since Jan 1, 1970, usually in a 32-bit integer) 64 * is seconds since January 1, 1970. 88 * is seconds since January 1, 1904. 255 private static final long seconds = milliseconds * 1000; field in class:UniversalTimeScale 256 private static final long minutes = seconds * 60; 308 new TimeScaleData(seconds, 621355968000000000L, -9223372036854775808L, 9223372036854775807L, -984472800485L, 860201606885L), // UNIX_TIME 312 new TimeScaleData(seconds, 600527520000000000L, -9223372036854775808L, 9223372036854775807L, -982389955685L, 862284451685L), // MAC_OLD_TIME 313 new TimeScaleData(seconds, 631139040000000000L, -9223372036854775808L, 9223372036854775807L, -985451107685L, 859223299685L), // MAC_TIME
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
UniversalTimeScale.java | 18 * Unix time (seconds since Jan 1, 1970, usually in a 32-bit integer) 67 * is seconds since January 1, 1970. 99 * is seconds since January 1, 1904. 291 private static final long seconds = milliseconds * 1000; field in class:UniversalTimeScale 292 private static final long minutes = seconds * 60; 344 new TimeScaleData(seconds, 621355968000000000L, -9223372036854775808L, 9223372036854775807L, -984472800485L, 860201606885L), // UNIX_TIME 348 new TimeScaleData(seconds, 600527520000000000L, -9223372036854775808L, 9223372036854775807L, -982389955685L, 862284451685L), // MAC_OLD_TIME 349 new TimeScaleData(seconds, 631139040000000000L, -9223372036854775808L, 9223372036854775807L, -985451107685L, 859223299685L), // MAC_TIME
|
/frameworks/base/core/java/android/text/format/ |
Formatter.java | 213 * 1 day, 5 hr; will include at most two units, can go down to seconds precision. 215 * @param millis the elapsed time in milli seconds 235 int seconds = (int)secondsLong; local 254 } else if (minutes >= 2 || (minutes > 0 && seconds == 0)) { 255 minutes += (seconds+30)/60; 260 new Measure(seconds, MeasureUnit.SECOND)); 262 return measureFormat.format(new Measure(seconds, MeasureUnit.SECOND)); 270 * @param millis the elapsed time in milli seconds
|
/external/autotest/utils/ |
site_check_dut_usage.py | 77 Returns a float that has the total seconds in a datetime.timedelta. 79 return float(time_delta.days * 86400 + time_delta.seconds) 117 print 'Average Job Time ', datetime.timedelta(seconds=int( 119 print 'Average Time Job Queued ', datetime.timedelta(seconds=int(
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameOverActivity.java | 92 float seconds = mCurrentValue; local 93 float minutes = seconds / 60.0f; 101 int totalSeconds = (int)(seconds - (totalMinuteSeconds + totalHourSeconds));
|
/external/toolchain-utils/crosperf/ |
experiment_status.py | 74 eta = datetime.timedelta(seconds=eta_seconds) 82 datetime.timedelta(seconds=int(elapsed_time)), eta)) 122 elapsed = str(datetime.timedelta(seconds=int(t - t_last)))
|
/external/toybox/toys/net/ |
netcat.c | 18 -q quit SECONDS after EOF on stdin, even if stdout hasn't closed yet 20 -w SECONDS timeout to establish connection 21 -W SECONDS timeout for idle connection 51 long quit_delay; // -q Exit after EOF from stdin after # seconds. 54 long idle; // -W Wait # seconds for more data 55 long wait; // -w Wait # seconds for a connection. 65 static void set_alarm(int seconds) 67 xsignal(SIGALRM, seconds ? timeout : SIG_DFL); 68 alarm(seconds);
|
/external/vulkan-validation-layers/build-android/ |
test_APK.sh | 108 lock_seconds=1200 # Duration in seconds. 118 echo "Lock timeout reached: $lock_seconds seconds" 158 seconds=1200 # Duration in seconds. 159 endTime=$(( $(date +%s) + seconds )) # Calculate end time. 204 echo "VulkanLayerValidationTests hasn't completed in $seconds seconds. Script exiting."
|
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/ |
TestQueryCallback.java | 65 public void waitFor(int seconds) throws InterruptedException { 66 assertTrue(mQueryLatch.await(seconds, TimeUnit.SECONDS)); 67 assertTrue(mReplyLatch.await(seconds, TimeUnit.SECONDS));
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
ImmutableGregorianDate.java | 125 public CalendarDate setSeconds(int seconds) { 157 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { 161 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) {
|
/system/extras/perfprofd/ |
perfprofd_threaded_handler.h | 49 void Sleep(size_t seconds) override { 50 if (seconds == 0) { 55 cv_.wait_for(guard, seconds * 1s, [&]() { return interrupted_; });
|
/external/iptables/extensions/ |
libxt_recent.c | 38 {.name = "seconds", .id = O_SECONDS, .type = XTTYPE_UINT32, 39 .flags = XTOPT_PUT, XTOPT_POINTER(s, seconds), .min = 1}, 64 {.name = "seconds", .id = O_SECONDS, .type = XTTYPE_UINT32, 65 .flags = XTOPT_PUT, XTOPT_POINTER(s, seconds), .min = 1}, 90 " --seconds seconds For check and update commands above.\n" 92 " the last 'seconds' seconds.\n" 93 " --reap Purge entries older then 'seconds'.\n" 94 " Can only be used in conjunction with the seconds option.\n [all...] |
/external/ltp/utils/benchmark/ebizzy-0.3/ |
ebizzy.c | 67 static unsigned int seconds; variable 100 "-S <seconds>\t Number of seconds to run\n" 128 seconds = 10; 166 seconds = atoi(optarg); 167 if (seconds == 0) 203 printf("seconds %d\n", seconds); 437 printf("Thread finished, %f seconds\n", 478 sleep(seconds); [all...] |
/external/python/cpython3/Lib/email/ |
utils.py | 214 tzinfo=datetime.timezone(datetime.timedelta(seconds=tz))) 365 # seconds since epoch. 367 seconds = time.mktime(tm) 368 localtm = time.localtime(seconds) 370 delta = datetime.timedelta(seconds=localtm.tm_gmtoff) 375 delta = dt - datetime.datetime(*time.gmtime(seconds)[:6]) 378 if delta == datetime.timedelta(seconds=gmtoff):
|
/frameworks/rs/script_api/ |
rs_time.spec | 27 summary: Seconds since January 1, 1970 29 Calendar time interpreted as seconds elapsed since the Epoch (00:00:00 on 40 field: int tm_sec, "Seconds after the minute. This ranges from 0 to 59, but possibly up to 60 for leap seconds." 55 ret: float, "Time in seconds." 58 Returns the time in seconds since this function was last called in this script. 65 arg: const rs_time_t* timer, "Input time as a number of seconds since January 1, 1970." 77 ret: rs_time_t, "Seconds since the Epoch, -1 if there's an error." 79 summary: Seconds since January 1, 1970 81 Returns the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970) [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
BaseGridLayoutManagerTest.java | 23 import static java.util.concurrent.TimeUnit.SECONDS; 261 public void waitForLayout(int seconds) throws Throwable { 262 mLayoutLatch.await(seconds * (DEBUG ? 1000 : 1), SECONDS); 278 public void waitForPrefetch(int seconds) throws Throwable { 279 prefetchLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 307 public void waitForSnap(int seconds) throws Throwable { 308 snapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); [all...] |