/external/autotest/client/site_tests/power_LoadTest/extension/ |
time.js | 5 // Convert seconds to milliseconds 6 function seconds(s) { function 12 return seconds(m * 60);
|
params.js | 5 // Convert seconds to milliseconds 6 function seconds(s) { function 12 return seconds(m * 60); 16 var test_startup_delay = seconds(5);
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
rrtr.cc | 34 uint32_t seconds = ByteReader<uint32_t>::ReadBigEndian(&buffer[4]); local 36 ntp_.Set(seconds, fraction); 44 ByteWriter<uint32_t>::WriteBigEndian(&buffer[4], ntp_.seconds());
|
/external/webrtc/webrtc/system_wrappers/source/ |
clock_unittest.cc | 19 uint32_t seconds; local 21 clock->CurrentNtp(seconds, fractions); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100);
|
/prebuilts/misc/windows/sdl2/test/ |
testpower.c | 20 int seconds, percent; local 21 const SDL_PowerState state = SDL_GetPowerInfo(&seconds, &percent); 54 if (seconds == -1) { 57 SDL_Log("Time left: %d minutes, %d seconds\n", (int) (seconds / 60), 58 (int) (seconds % 60));
|
/bionic/libc/kernel/uapi/scsi/ |
scsi_netlink_fc.h | 27 uint64_t seconds; member in struct:fc_nl_event
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 30 long seconds = duration % 60; local 45 result.append(seconds); 81 long seconds = duration % 60; local 102 result.append(seconds); 109 * Converts nanoseconds into (fractional) seconds.
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 32 long seconds = TimeUnit.MILLISECONDS.toSeconds(elapsedTimeMs) % 60; local 44 time.append(seconds);
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
MainActivity.java | 44 int seconds; local 54 // The number of seconds the timer should run. 60 seconds = R.string.seconds_default; 62 seconds = Integer.parseInt(input); 64 int milliseconds = (seconds * 1000);
|
/external/icu/icu4c/source/i18n/ |
utmscale.c | 17 #define seconds (milliseconds * 1000) macro 18 #define minutes (seconds * 60) 26 {seconds, INT64_C(62135596800), INT64_C(-984472800485), INT64_C(860201606885), U_INT64_MIN, U_INT64_MAX, INT64_C(62135596801), INT64_C(62135596799), INT64_C(5000000), INT64_C(-9223372036849775808), INT64_C(9223372036849775807)}, 30 {seconds, INT64_C(60052752000), INT64_C(-982389955685), INT64_C(862284451685), U_INT64_MIN, U_INT64_MAX, INT64_C(60052752001), INT64_C(60052751999), INT64_C(5000000), INT64_C(-9223372036849775808), INT64_C(9223372036849775807)}, 31 {seconds, INT64_C(63113904000), INT64_C(-985451107685), INT64_C(859223299685), U_INT64_MIN, U_INT64_MAX, INT64_C(63113904001), INT64_C(63113903999), INT64_C(5000000), INT64_C(-9223372036849775808), INT64_C(9223372036849775807)},
|
/external/kernel-headers/original/uapi/scsi/ |
scsi_netlink_fc.h | 60 uint64_t seconds; member in struct:fc_nl_event
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HeaderParser.java | 54 long seconds = Long.parseLong(value); local 55 if (seconds > Integer.MAX_VALUE) { 57 } else if (seconds < 0) { 60 return (int) seconds;
|
/external/vogar/src/vogar/util/ |
TimeUtilities.java | 30 long seconds = duration % 60; local 45 result.append(seconds); 81 long seconds = duration % 60; local 102 result.append(seconds); 109 * Converts nanoseconds into (fractional) seconds.
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
TimedTrace.cc | 52 double seconds = _timeEllapsedSec - minutes * 60; local 56 minutes, seconds, message);
|
/external/webrtc/webrtc/system_wrappers/include/ |
ntp_time.h | 24 NtpTime(uint32_t seconds, uint32_t fractions) 25 : seconds_(seconds), fractions_(fractions) {} 33 void Set(uint32_t seconds, uint32_t fractions) { 34 seconds_ = seconds; 47 uint32_t seconds() const { return seconds_; } function in class:webrtc::NtpTime 56 return n1.seconds() == n2.seconds() && n1.fractions() == n2.fractions();
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
InCallDateUtils.java | 14 * Return given duration in a human-friendly format. For example, "4 minutes 3 seconds" or 15 * "3 hours 1 second". Returns the hours, minutes and seconds in that order if they exist. 20 int seconds = 0; local 30 seconds = elapsedSeconds; 44 if (seconds > 0) { 48 duration.append(res.getQuantityString(R.plurals.duration_seconds, seconds, seconds));
|
/packages/experimental/RpcPerformance/ |
rpcperftest.cpp | 91 double seconds = (after.tv_sec - before.tv_sec); local 92 seconds += (after.tv_nsec - before.tv_nsec) / 1000000000.0; 94 COUNT, seconds, 1000.0 * seconds / COUNT);
|
/system/bt/embdrv/sbc/decoder/include/ |
oi_time.h | 28 * Timeouts are specified as tenths of seconds in a 32-bit value. Timeout values 29 * specified by the Bluetooth specification are usually muliple seconds, so 32 * This file also contains macros to convert between seconds and the Link 54 * Within the core stack timeouts are specified in intervals of tenths of seconds 66 * Macro to convert seconds to OI_INTERVAL time units 92 OI_INT32 seconds; member in struct:__anon72312 126 * This function returns the interval between two times to a granularity of 0.1 seconds. 173 * Convert seconds to the Link Manager 1.28-second units 181 * Convert Link Manager 1.28-second units to seconds.
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
LoggingReceiver.java | 31 private static final long NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1); 51 double seconds = (double) monoTime / NANOS_PER_SECOND; local 52 sb.append(String.format("%10.3f: ", seconds));
|
/developers/samples/android/media/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
LoggingReceiver.java | 31 private static final long NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1); 51 double seconds = (double) monoTime / NANOS_PER_SECOND; local 52 sb.append(String.format("%10.3f: ", seconds));
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ipt_recent.h | 30 u_int32_t seconds; member in struct:ipt_recent_info
|
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/ |
LoggingReceiver.java | 31 private static final long NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1); 51 double seconds = (double) monoTime / NANOS_PER_SECOND; local 52 sb.append(String.format("%10.3f: ", seconds));
|
/external/libweave/examples/daemon/sample/ |
sample.cc | 34 "seconds": { 125 int seconds; local 126 if (!params.GetInteger("seconds", &seconds)) 127 seconds = 10; 130 DoTick(cmd, seconds); 133 void DoTick(const std::weak_ptr<weave::Command>& command, int seconds) { 138 if (seconds > 0) { 139 LOG(INFO) << "countdown tick: " << seconds << " seconds left" [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); local 56 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
Duration.java | 24 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ] 25 * | HOURS [ MINUTES [ SECONDS ] ] 27 * 70 seconds. 36 public int seconds; field in class:Duration 54 seconds = 0; 109 seconds = n; 135 cal.add(Calendar.SECOND, sign*seconds); 148 + seconds);
|