HomeSort by relevance Sort by last modified time
    Searched refs:hours (Results 1 - 25 of 299) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libcxx/test/utilities/time/time.duration/time.duration.literals/
literals2.fail.cpp 16 using std::chrono::hours;
18 hours foo = 4h; // should fail w/conversion operator not found
literals1.fail.cpp 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found
literals1.pass.cpp 18 hours h = 4h;
19 assert ( h == hours(4));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.literals/
literals2.fail.cpp 16 using std::chrono::hours;
18 hours foo = 4h; // should fail w/conversion operator not found
literals1.fail.cpp 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found
literals1.pass.cpp 18 hours h = 4h;
19 assert ( h == hours(4));
  /developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/timer/util/
TimerFormat.java 41 * Update the time to display. Separates that time into the hours, minutes, seconds.
58 long hours = minutes / 60; local
59 minutes = minutes - hours * 60;
60 if (hours > 999) {
61 hours = 0;
63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours
66 if (hours == 0 && minutes == 0 && seconds == 0) {
78 hours++;
83 // Hours may be empty
84 if (hours >= 10)
    [all...]
  /development/samples/wearable/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.
58 long hours = minutes / 60; local
59 minutes = minutes - hours * 60;
60 if (hours > 999) {
61 hours = 0;
63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours
66 if (hours == 0 && minutes == 0 && seconds == 0) {
78 hours++;
83 // Hours may be empty
84 if (hours >= 10)
    [all...]
  /external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/
op_++.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours& href = ++h;
op_++int.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours h2 = h++;
op_--.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours& href = --h;
op_--int.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours h2 = h--;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/
op_++.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours& href = ++h;
op_++int.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours h2 = h++;
op_--.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours& href = --h;
op_--int.pass.cpp 21 std::chrono::hours h(3);
22 std::chrono::hours h2 = h--;
  /external/chromium_org/ash/system/chromeos/power/
power_status_unittest.cc 101 int hours = 0, minutes = 0; local
103 base::TimeDelta::FromSeconds(0), &hours, &minutes);
104 EXPECT_EQ(0, hours);
108 base::TimeDelta::FromSeconds(60), &hours, &minutes);
109 EXPECT_EQ(0, hours);
113 base::TimeDelta::FromSeconds(3600), &hours, &minutes);
114 EXPECT_EQ(1, hours);
118 base::TimeDelta::FromSeconds(3600 + 60), &hours, &minutes);
119 EXPECT_EQ(1, hours);
123 base::TimeDelta::FromSeconds(7 * 3600 + 23 * 60), &hours, &minutes)
    [all...]
  /frameworks/base/core/java/android/text/format/
Formatter.java 125 int days = 0, hours = 0, minutes = 0; local
131 hours = (int)(secondsLong / SECONDS_PER_HOUR);
132 secondsLong -= hours * SECONDS_PER_HOUR;
141 days += (hours+12)/24;
144 if (hours == 1) {
145 return context.getString(com.android.internal.R.string.durationDayHour, days, hours);
147 return context.getString(com.android.internal.R.string.durationDayHours, days, hours);
148 } else if (hours >= 2) {
149 hours += (minutes+30)/60;
150 return context.getString(com.android.internal.R.string.durationHours, hours);
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TimeUtil.java 34 long hours = TimeUnit.MILLISECONDS.toHours(elapsedTimeMs); local
36 if (hours > 0) {
37 time.append(hours);
  /external/lldb/test/pexpect-2.4/examples/
uptime.py 41 hours = '0' variable
48 hours = str(int(p.match.group(1))) variable
55 print 'days, hours, minutes, users, cpu avg 1 min, cpu avg 5 min, cpu avg 15 min'
56 print '%s, %s, %s, %s, %s, %s, %s' % (days, hours, mins, users, av1, av5, av15)
  /cts/libs/vogar-expect/src/vogar/util/
TimeUtilities.java 34 long hours = duration; local
37 if (hours != 0) {
38 result.append(hours);
85 long hours = duration % 24; local
94 if (result.length() > 1 || hours != 0) {
95 result.append(hours);
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
Stopwatches.java 124 long hundreds, seconds, minutes, hours; local
129 hours = minutes / 60;
130 minutes = minutes - hours * 60;
131 if (hours >= 100) {
133 } else if (hours >= 10) {
135 } else if (hours > 0) {
142 return String.format(formats[formatIndex], hours, minutes,
154 long hundreds, seconds, minutes, hours; local
159 hours = minutes / 60;
160 minutes = minutes - hours * 60
    [all...]
  /external/smack/src/org/xbill/DNS/
TTL.java 90 long secs, mins, hours, days, weeks; local
95 hours = ttl % 24;
104 if (hours > 0)
105 sb.append(hours + "H");
108 if (secs > 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0))
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
Duration.java 24 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ]
25 * | HOURS [ MINUTES [ SECONDS ] ]
34 public int hours; field in class:Duration
52 hours = 0;
101 hours = n;
133 cal.add(Calendar.HOUR, sign*hours);
146 + (60*60*hours)
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmUtils.java 75 * format "Alarm set for 2 days 7 hours and 53 minutes from
80 long hours = delta / (1000 * 60 * 60); local
82 long days = hours / 24;
83 hours = hours % 24;
93 String hourSeq = (hours == 0) ? "" :
94 (hours == 1) ? context.getString(R.string.hour) :
95 context.getString(R.string.hours, Long.toString(hours));
98 boolean dispHour = hours > 0
    [all...]

Completed in 1139 milliseconds

1 2 3 4 5 6 7 8 91011>>