/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_+.pass.cpp | 22 const std::chrono::minutes m(3); 23 std::chrono::minutes m2 = +m; 28 constexpr std::chrono::minutes m(3); 29 constexpr std::chrono::minutes m2 = +m;
|
op_-.pass.cpp | 22 const std::chrono::minutes m(3); 23 std::chrono::minutes m2 = -m; 28 constexpr std::chrono::minutes m(3); 29 constexpr std::chrono::minutes m2 = -m;
|
op_+=.pass.cpp | 24 s += std::chrono::minutes(2);
|
op_-=.pass.cpp | 24 s -= std::chrono::minutes(2);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
Utils.java | 42 int days = 0, hours = 0, minutes = 0; local 52 minutes = seconds / SECONDS_PER_MINUTE; 53 seconds -= minutes * SECONDS_PER_MINUTE; 57 days, hours, minutes, seconds)); 59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds)); 60 } else if (minutes > 0) { 61 sb.append(context.getString(R.string.battery_history_minutes, minutes, seconds));
|
/cts/libs/util/src/android/cts/util/ |
TimeoutReq.java | 24 * timeout is specified in minutes and 0 value means no timeout ( = infinite waiting). 28 int minutes() default -1;
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
Stopwatches.java | 99 long hundreds, seconds, minutes, hours; local 102 minutes = seconds / 60; 103 seconds = seconds - minutes * 60; 104 hours = minutes / 60; 105 minutes = minutes - hours * 60; 112 } else if (minutes >= 10) { 117 return String.format(mFormats[formatIndex], hours, minutes, 129 long hundreds, seconds, minutes, hours; local 132 minutes = seconds / 60 [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 33 long minutes = TimeUnit.MILLISECONDS.toMinutes(elapsedTimeMs) % 60; local 40 if (minutes > 0) { 41 time.append(minutes);
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 32 long minutes = duration % 60; local 41 if (result.length() > 1 || minutes != 0) { 42 result.append(minutes); 83 long minutes = duration % 60; local 98 if (result.length() > 1 || minutes != 0) { 99 result.append(minutes);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventViewUtils.java | 41 // Constructs a label given an arbitrary number of minutes. For example, 42 // if the given minutes is 63, then this returns the string "63 minutes". 43 // As another example, if the given minutes is 120, then this returns 45 public static String constructReminderLabel(Context context, int minutes, boolean abbrev) { 49 if (minutes % 60 != 0) { 50 value = minutes; 56 } else if (minutes % (24 * 60) != 0) { 57 value = minutes / 60; 60 value = minutes / (24 * 60) 124 int minutes = reminderMinuteValues.get(minuteSpinner.getSelectedItemPosition()); local [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
H263QcifLongPlayerTest.java | 27 @TimeoutReq(minutes = 11)
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint;
|
/system/core/toolbox/ |
uptime.c | 42 int seconds, minutes, hours, days; local 46 minutes = time % 60; 52 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds); 54 sprintf(buffer, "%02d:%02d:%02d", hours, minutes, seconds);
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
Duration.java | 24 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ] 25 * | HOURS [ MINUTES [ SECONDS ] ] 35 public int minutes; field in class:Duration 53 minutes = 0; 105 minutes = n; 134 cal.add(Calendar.MINUTE, sign*minutes); 147 + (60*minutes)
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.4.3.js | 26 var TITLE = "Date.UTC( year, month, date, hours, minutes, seconds, ms )"; 36 this.minutes = 0; 41 function utc( year, month, date, hours, minutes, seconds, ms ) { 51 if (minutes) 52 d.minutes = Number(minutes); 63 isNaN(minutes) || isNaN(seconds) || isNaN(ms) ) { 68 d.minutes = Number.NaN; 78 d.time = MakeTime( d.hours, d.minutes, d.seconds, d.ms ); 183 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ExpectDate.minutes,DateCase.getUTCMinutes() ) [all...] |
15.9.5.24-1.js | 99 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", UTCDate.minutes,DateCase.getUTCMinutes() ); 108 testcases[item++] = new TestCase( SECTION, DateString+".getMinutes()", LocalDate.minutes, DateCase.getMinutes() ); 125 this.minutes = 0; 142 d.minutes = MinFromTime(t); 146 d.time = MakeTime( d.hours, d.minutes, d.seconds, d.ms );
|
15.9.5.24-2.js | 98 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", UTCDate.minutes,DateCase.getUTCMinutes() ); 107 testcases[item++] = new TestCase( SECTION, DateString+".getMinutes()", LocalDate.minutes, DateCase.getMinutes() ); 124 this.minutes = 0; 141 d.minutes = MinFromTime(t); 145 d.time = MakeTime( d.hours, d.minutes, d.seconds, d.ms );
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/ |
minutes.pass.cpp | 12 // typedef duration<signed integral type of at least 29 bits, ratio< 60>> minutes; 20 typedef std::chrono::minutes D;
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
DurationTest.java | 28 int minutes, int seconds) throws DateException { 37 assertEquals("Duration minutes is not equal for " + str, minutes, duration.minutes);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 223 * @param minutes of this <code>Duration</code> 237 final BigInteger minutes, 242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 252 * @param minutes of this <code>Duration</code> 265 * BigInteger minutes, 274 final int minutes, 289 // minutes may not be set 290 BigInteger realMinutes = (minutes != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) minutes) : null 411 int minutes = (int) (val % 60L); \/\/ 60 minutes per hour local 428 BigInteger minutes = BigInteger.valueOf(val % 60L); \/\/ 60 minutes per hour local [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
TimeImpl.java | 109 * Full-clock-val ::= Hours ":" Minutes ":" Seconds ("." Fraction)? 110 * Partial-clock-val ::= Minutes ":" Seconds ("." Fraction)? 114 * Minutes ::= 2DIGIT; range from 00 to 59 154 // Split in {[Hours], Minutes, Seconds} 157 // Read Hours if present and remember location of Minutes 168 // Read Minutes 169 int minutes = (int)parseFloat(timeValues[indexOfMinutes], 0, false); local 170 if ((minutes >= 00) && (minutes <= 59)) { 171 result += 60000*minutes; [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_PortManager.java | 99 int minutes = c.get(Calendar.MINUTE); local 102 return 6000 + (1000 * minutes) + ((seconds / 6) * 100);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 52 long minutes = Long.parseLong(in.split(":")[1].trim()); local 56 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
|
/external/valgrind/main/memcheck/tests/ |
vcpu_fbench.stdout.exp | 7 adjust iteration count so the benchmark runs about five minutes.
|
/libcore/support/src/test/java/tests/support/ |
Support_PortManager.java | 99 int minutes = c.get(Calendar.MINUTE); local 102 return 6000 + (1000 * minutes) + ((seconds / 6) * 100);
|