/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/Contacts/src/com/android/contacts/interactions/ |
ContactInteractionUtil.java | 85 * Takes duration of the call in seconds. 91 final int seconds = (int) (callDuration % 60); local 94 return context.getString(R.string.callDurationHourFormat, hours, minutes, seconds); 96 return context.getString(R.string.callDurationMinuteFormat, minutes, seconds); 98 return context.getString(R.string.callDurationSecondFormat, seconds);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
StopwatchTextController.java | 56 final int seconds = (int) (remainder / SECOND_IN_MILLIS); local 62 // Avoid unnecessary computations and garbage creation if seconds have not changed since 66 final String time = Utils.getTimeString(context, hours, minutes, seconds);
|
TimerTextController.java | 49 int seconds = (int) (remainder / SECOND_IN_MILLIS); local 54 seconds++; 55 if (seconds == 60) { 56 seconds = 0; 65 String time = Utils.getTimeString(mTextView.getContext(), hours, minutes, seconds); 66 if (isNegative && !(hours == 0 && minutes == 0 && seconds == 0)) {
|
/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 | 29 * Timeouts are specified as tenths of seconds in a 32-bit value. Timeout values 30 * specified by the Bluetooth specification are usually muliple seconds, so 33 * This file also contains macros to convert between seconds and the Link 53 * seconds. 64 * Macro to convert seconds to OI_INTERVAL time units 92 int32_t seconds; member in struct:__anon1845 124 * seconds. 167 * Convert seconds to the Link Manager 1.28-second units 175 * Convert Link Manager 1.28-second units to seconds.
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
TimeUtil.java | 39 long seconds = TimeUnit.MILLISECONDS.toSeconds(elapsedTimeMs) % 60; local 51 time.append(seconds);
|
/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/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; 112 seconds = n; 138 cal.add(Calendar.SECOND, sign*seconds); 151 + seconds);
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
PlaybackSeekDataProviderSample.java | 61 long seconds = ms / 1000; local 62 float seconds2 = (ms - seconds * 1000) / 1000f; 63 long minutes = seconds / 60; 65 seconds -= minutes * 60; 76 if (seconds < 10) { 79 b.append(String.format("%.2f", ((float) seconds + seconds2)));
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
TimerStringFormatter.java | 32 * Format "7 hours 52 minutes 14 seconds remaining" 40 final int seconds; local 48 seconds = 0; 59 seconds = roundedSeconds; 64 // Already perfect precision, or we don't want to consider seconds at all. 65 seconds = roundedSeconds; 74 final String secSeq = Utils.getNumberFormattedQuantityString(context, R.plurals.seconds, 75 seconds); 78 final String remainingSuffix = context.getString((minutes > 1 || hours > 1 || seconds > 1) 84 final boolean showSeconds = (seconds > 0) && shouldShowSeconds [all...] |
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
CallLogDurations.java | 33 long minutes = TimeUnit.SECONDS.toMinutes(elapsedSeconds); 34 long seconds = elapsedSeconds - TimeUnit.MINUTES.toSeconds(minutes); local 46 Long.toString(seconds), 53 R.string.call_duration_short_format_pattern, Long.toString(seconds), secondsString); 65 int seconds = (int) elapsedSeconds - minutes * 60; local 67 String secondsString = res.getQuantityString(R.plurals.a11y_seconds, seconds); 68 // example output: "1 minute 1 second", "2 minutes 2 seconds", ect. 70 R.string.a11y_call_duration_format, minutes, minutesString, seconds, secondsString); 73 // example output: "1 second", "2 seconds" 82 * @param elapsedSeconds Total elapsed seconds [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_recent.h | 27 __u32 seconds; member in struct:xt_recent_mtinfo
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_recent.h | 37 __u32 seconds; member in struct:xt_recent_mtinfo 45 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
LoggingReceiver.java | 32 private static final long NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1); 52 double seconds = (double) monoTime / NANOS_PER_SECOND; local 53 sb.append(String.format(Locale.US, "%10.3f: ", seconds));
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/developers/samples/android/media/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
LoggingReceiver.java | 32 private static final long NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1); 52 double seconds = (double) monoTime / NANOS_PER_SECOND; local 53 sb.append(String.format(Locale.US, "%10.3f: ", seconds));
|
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/external/adhd/cras/src/common/ |
cras_util.h | 53 double seconds = frames / rate; local 54 t->tv_sec = (unsigned int)seconds; 55 seconds -= t->tv_sec; 56 t->tv_nsec = (unsigned int)(seconds * 1000000000);
|
/external/deqp/framework/delibs/dethread/unix/ |
deThreadUnix.c | 148 deUint32 seconds = milliseconds / 1000; local 150 milliseconds = milliseconds - seconds * 1000; 152 if (seconds > 0) 153 sleep(seconds);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
GenerateCTimeScaleData.java | 40 private static final long seconds = milliseconds * 1000; field in class:GenerateCTimeScaleData 41 private static final long minutes = seconds * 60; 84 } else if (units == seconds) { 85 cargs[0] = "seconds";
|
/external/iptables/include/linux/netfilter/ |
xt_recent.h | 27 __u32 seconds; member in struct:xt_recent_mtinfo 36 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_recent.h | 29 __u32 seconds; member in struct:xt_recent_mtinfo 38 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|