/external/autotest/client/cros/ |
power_suspend.py | 20 disconnect_3G_time: Amount of seconds it took to disable 3G. 44 _device_resume_time: Read seconds overall device resume took from logs. 242 match = re.search(r'(.+\w)\s+(-?[0-9.]+) seconds', 247 seconds = time.mktime(timeval) 248 seconds += float(match.group(2)) 249 logging.debug('RTC resume timestamp read: %f', seconds) 250 if seconds >= not_before: 251 return seconds 283 """Calculate seconds for firmware resume from logged TSC. (x86 only)""" 304 """Read amount of seconds for overall device resume from syslog."" [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
BaseRecyclerViewInstrumentationTest.java | 30 import static java.util.concurrent.TimeUnit.SECONDS; 281 void waitForAnimations(int seconds) throws Throwable { 296 assertTrue("animations didn't finish on expected time of " + seconds + " seconds", 297 latch.await(seconds, TimeUnit.SECONDS)); 321 assertTrue("should go idle in 10 seconds", latch.await(10, TimeUnit.SECONDS)); 489 assertThat("should be able to scroll in 10 seconds", !assertArrival || 490 viewAdded.await(10, TimeUnit.SECONDS), [all...] |
/libcore/ojluni/src/main/java/java/time/ |
OffsetDateTime.java | 495 * <li>{@code SECONDS} [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 189 * Configure the clock that is visible to display seconds. The clock that is not visible never 190 * displays seconds to avoid it scheduling unnecessary ticking runnables. 380 * @param includeSeconds whether or not to include seconds in the clock's time 394 * @param includeSeconds whether or not to include seconds in the time string 395 * @return format string for 12 hours mode time, not including seconds 588 * @param seconds Seconds to display 591 static String getTimeString(Context context, int hours, int minutes, int seconds) { 593 return context.getString(R.string.hours_minutes_seconds, hours, minutes, seconds); 596 return context.getString(R.string.minutes_seconds, minutes, seconds); [all...] |
/external/lz4/programs/ |
lz4io.c | 380 { double const seconds = (double)(end - start) / CLOCKS_PER_SEC; local 381 DISPLAYLEVEL(4,"Done in %.2f s ==> %.2f MB/s\n", seconds, (double)filesize / seconds / 1024 / 1024); 564 double const seconds = (double)(end - start) / CLOCKS_PER_SEC; local 565 DISPLAYLEVEL(4, "Completed in %.2f sec \n", seconds); 997 double const seconds = (double)(end - start) \/ CLOCKS_PER_SEC; local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
localtime.c | 80 int_fast32_t tt_gmtoff; /* UT offset in seconds */ 707 ** Given a pointer into a time zone string, extract a number of seconds, 711 ** of seconds. 737 /* `SECSPERMIN' allows for leap seconds. */ 1271 register time_t seconds; local 1480 register int_fast32_t seconds; local [all...] |
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 178 mDNSlocal void WaitForAnswer(mDNS *const m, int seconds) 182 end.tv_sec += seconds; 197 if (!NumAnswers) printf("No response after %d seconds\n", seconds);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_datetime.py | 175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0,
178 eq(td(0, 1), td(seconds=1))
183 eq(td(minutes=1), td(seconds=60))
184 eq(td(seconds=1), td(milliseconds=1000))
191 eq(td(minutes=1.0/60), td(seconds=1))
192 eq(td(seconds=0.001), td(milliseconds=1))
267 days, seconds, us = 1, 7, 31
268 td = timedelta(days, seconds, us)
270 self.assertEqual(td.seconds, seconds)
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_datetime.py | 175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0, 178 eq(td(0, 1), td(seconds=1)) 183 eq(td(minutes=1), td(seconds=60)) 184 eq(td(seconds=1), td(milliseconds=1000)) 191 eq(td(minutes=1.0/60), td(seconds=1)) 192 eq(td(seconds=0.001), td(milliseconds=1)) 267 days, seconds, us = 1, 7, 31 268 td = timedelta(days, seconds, us) 270 self.assertEqual(td.seconds, seconds) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_datetime.py | 175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0, 178 eq(td(0, 1), td(seconds=1)) 183 eq(td(minutes=1), td(seconds=60)) 184 eq(td(seconds=1), td(milliseconds=1000)) 191 eq(td(minutes=1.0/60), td(seconds=1)) 192 eq(td(seconds=0.001), td(milliseconds=1)) 267 days, seconds, us = 1, 7, 31 268 td = timedelta(days, seconds, us) 270 self.assertEqual(td.seconds, seconds) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0, 178 eq(td(0, 1), td(seconds=1)) 183 eq(td(minutes=1), td(seconds=60)) 184 eq(td(seconds=1), td(milliseconds=1000)) 191 eq(td(minutes=1.0/60), td(seconds=1)) 192 eq(td(seconds=0.001), td(milliseconds=1)) 267 days, seconds, us = 1, 7, 31 268 td = timedelta(days, seconds, us) 270 self.assertEqual(td.seconds, seconds) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0, 178 eq(td(0, 1), td(seconds=1)) 183 eq(td(minutes=1), td(seconds=60)) 184 eq(td(seconds=1), td(milliseconds=1000)) 191 eq(td(minutes=1.0/60), td(seconds=1)) 192 eq(td(seconds=0.001), td(milliseconds=1)) 267 days, seconds, us = 1, 7, 31 268 td = timedelta(days, seconds, us) 270 self.assertEqual(td.seconds, seconds) [all...] |
/developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ |
ScannerFragment.java | 50 * Stops scanning after 5 seconds. 154 + TimeUnit.SECONDS.convert(SCAN_PERIOD, TimeUnit.MILLISECONDS) + " " 155 + getString(R.string.seconds);
|
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ |
ScannerFragment.java | 50 * Stops scanning after 5 seconds. 154 + TimeUnit.SECONDS.convert(SCAN_PERIOD, TimeUnit.MILLISECONDS) + " " 155 + getString(R.string.seconds);
|
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/ |
ScannerFragment.java | 50 * Stops scanning after 5 seconds. 154 + TimeUnit.SECONDS.convert(SCAN_PERIOD, TimeUnit.MILLISECONDS) + " " 155 + getString(R.string.seconds);
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/ |
meminit_utils.h | 81 void delay_s(uint32_t seconds);
|
/external/autotest/client/cros/networking/ |
shill_xmlrpc_server.py | 291 @param timeout_seconds int seconds to wait for a state 397 @param epoch_seconds: float number of seconds from the epoch. 405 def do_suspend(seconds): 408 @param seconds: The number of seconds to suspend the device. 411 return sys_power.do_suspend(seconds) 415 def do_suspend_bg(seconds): 418 @param seconds int The number of seconds to suspend the device. 422 args=(seconds, 1) [all...] |
/external/autotest/client/tests/netpipe/ |
netpipe.py | 63 # Sleep 10 seconds to make sure the server is started 87 "Command did not complete within %d seconds"
|
/external/autotest/tko/ |
utils_unittest.py | 13 timezone = datetime.timedelta(seconds=time.timezone)
|
/external/eigen/bench/ |
benchmark-blocking-sizes.cpp | 320 int seconds; 321 human_duration_t(int s) : seconds(s) {} 326 int remainder = d.seconds; 337 if (d.seconds < 600) {
|
/external/iptables/iptables/ |
iptables-apply | 51 -t | --timeout Specify the timeout in seconds (default: $TIMEOUT)
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
cpuset.h | 88 * cpuset_nuke(path, unsigned int seconds) - [optional] Remove cpuset anyway possible 222 int cpuset_nuke(const char *cpusetpath, unsigned int seconds);
|
/external/openssh/ |
moduli.c | 416 logit("%.24s Sieved with %u small primes in %ld seconds", 514 fmt_time(time_t seconds) 519 min = (seconds / 60) % 60; 520 hr = (seconds / 60 / 60) % 24; 521 day = seconds / 60 / 60 / 24; 802 logit("%.24s Found %u safe primes of %u candidates in %ld seconds",
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
SafeConstructor.java | 339 // seconds and milliseconds 340 String seconds = match.group(6); local 343 seconds = seconds + "." + millis; 345 double fractions = Double.parseDouble(seconds);
|
/external/syslinux/com32/modules/ |
prdhcp.c | 124 ntohl(p->ident), ntohs(p->seconds), ntohs(p->Flags), ntohl(p->cip));
|