/external/autotest/client/cros/audio/ |
alsa_utils.py | 274 @param duration: The length of the playback (in seconds). 309 @param duration: The length of the recording (in seconds).
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix_libcdep.cc | 120 void SleepForSeconds(int seconds) { 121 sleep(seconds);
|
/external/python/cpython2/Modules/ |
selectmodule.c | 205 long seconds; local 230 seconds = (long)timeout; 231 timeout = timeout - (double)seconds; 232 tv.tv_sec = seconds; 1064 in seconds (as float). -1 makes poll wait indefinitely.\n\ 1565 long seconds; local [all...] |
/external/python/cpython3/Lib/test/ |
test_robotparser.py | 98 self.parser.request_rate(agent).seconds, 99 self.request_rate.seconds 114 request_rate = namedtuple('req_rate', 'requests seconds')(9, 30) 243 request_rate = namedtuple('req_rate', 'requests seconds')(3, 15)
|
/external/replicaisland/src/com/replica/replicaisland/ |
HitReactionComponent.java | 269 public void setPauseOnAttackTime(float seconds) { 270 mPauseOnAttackTime = seconds;
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
DeviceUtils.java | 95 doShell(device, "am start -n " + name + " /." + activity, 30, TimeUnit.SECONDS); 158 doShellReturnString(device, READ_PRELOADED_CMD, 1, TimeUnit.SECONDS); 166 doShell(device, STOP_SHELL_CMD, 1, TimeUnit.SECONDS); 168 doShell(device, REMOUNT_SYSTEM_CMD, 1, TimeUnit.SECONDS); 170 doShell(device, DELETE_PRELOADED_CMD, 1, TimeUnit.SECONDS); 172 doShell(device, DELETE_CACHE_CMD, 1, TimeUnit.SECONDS); 181 doShell(device, UNSET_BOOTCOMPLETE_CMD, 1, TimeUnit.SECONDS); 183 doShell(device, START_SHELL_CMD, 1, TimeUnit.SECONDS); 209 long seconds = local 210 TimeUnit.SECONDS.convert(endDate.getTime() - startDate.getTime(), TimeUnit.MILLISECONDS) [all...] |
/frameworks/base/tools/velocityplot/ |
velocityplot.py | 38 timespan = 15 # seconds total span shown 39 scrolljump = 5 # seconds jump when scrolling 40 timeticks = 1 # seconds between each time tick 196 timeindex = delta.seconds + delta.microseconds * 0.000001 217 self.timebase += timedelta(seconds=bottom)
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
AsyncListUtilLayoutTest.java | 22 import static java.util.concurrent.TimeUnit.SECONDS; 224 return mTilesLatch.await(timeoutInSeconds, TimeUnit.SECONDS); 309 return mItemsLatch.await(timeoutInSeconds, TimeUnit.SECONDS); 325 public void waitForLayout(int seconds) throws Throwable { 326 mLayoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS);
|
BaseStaggeredGridLayoutManagerTest.java | 32 import static java.util.concurrent.TimeUnit.SECONDS; 513 public void waitForLayout(int seconds) throws Throwable { 514 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 530 public void waitForPrefetch(int seconds) throws Throwable { 531 prefetchLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); 559 public void waitForSnap(int seconds) throws Throwable { 560 mSnapLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); [all...] |
/hardware/interfaces/radio/1.1/vts/functional/ |
radio_hidl_hal_api.cpp | 40 std::chrono::duration_cast<chrono::seconds>(std::chrono::system_clock::now() - startTime) 42 /* Set 2 seconds as interval to check card status */ 67 std::chrono::duration_cast<chrono::seconds>(std::chrono::system_clock::now() - 70 /* Set 2 seconds as interval to check card status */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
nfs_prot.x | 104 unsigned seconds;
|
/prebuilts/go/darwin-x86/src/archive/tar/ |
strconv.go | 203 // Split string into seconds and sub-seconds parts. 209 // Parse the seconds. 242 // If seconds is negative, then perform correction.
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
cli.go | 33 Seconds int 50 flagTimeout := flag.Int("timeout", -1, "Timeout in seconds for fetching a profile") 53 flagSeconds := flag.Int("seconds", -1, "Length of time for dynamic profiles") 136 Seconds: *flagSeconds, 281 " -seconds Duration for time-based profile collection\n" + 282 " -timeout Timeout in seconds for profile collection\n" +
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/profile/ |
proto_test.go | 123 "requests": {"", "", "seconds", "", "s"},
|
/prebuilts/go/darwin-x86/src/net/ |
dial_unix_test.go | 82 t.Errorf("didn't see cancel after 5 seconds")
|
/prebuilts/go/linux-x86/src/archive/tar/ |
strconv.go | 203 // Split string into seconds and sub-seconds parts. 209 // Parse the seconds. 242 // If seconds is negative, then perform correction.
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
cli.go | 33 Seconds int 50 flagTimeout := flag.Int("timeout", -1, "Timeout in seconds for fetching a profile") 53 flagSeconds := flag.Int("seconds", -1, "Length of time for dynamic profiles") 136 Seconds: *flagSeconds, 281 " -seconds Duration for time-based profile collection\n" + 282 " -timeout Timeout in seconds for profile collection\n" +
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/profile/ |
proto_test.go | 123 "requests": {"", "", "seconds", "", "s"},
|
/prebuilts/go/linux-x86/src/net/ |
dial_unix_test.go | 82 t.Errorf("didn't see cancel after 5 seconds")
|
/external/autotest/server/cros/network/ |
wifi_client.py | 613 @param scan_timeout_seconds: float number of seconds the scan 615 @param retry_timeout_seconds: float number of seconds to retry scanning 618 @return time in seconds took to complete scan request. 641 logging.info('Wifi scan completed in %.2f seconds', scan_result.time) 660 @param timeout_seconds: float number of seconds to retry scanning 687 @param timeout_seconds int seconds to wait for BSSes to be discovered 716 @param timeout_seconds int seconds to wait for a state in |states| 722 logging.info('...ended up in state \'%s\' (%s) after %f seconds.', 727 def do_suspend(self, seconds): 728 """Puts the DUT in suspend power state for |seconds| seconds [all...] |
/external/golang-protobuf/ptypes/ |
timestamp.go | 45 // Seconds field of the earliest valid Timestamp. 48 // Seconds field just after the latest valid Timestamp. 67 if ts.Seconds < minValidSeconds { 70 if ts.Seconds >= maxValidSeconds { 97 t = time.Unix(ts.Seconds, int64(ts.Nanos)).UTC() 114 seconds := t.Unix() 115 nanos := int32(t.Sub(time.Unix(seconds, 0))) 117 Seconds: seconds,
|
/external/swiftshader/third_party/LLVM/utils/Misc/ |
zkill | 32 seconds,fseconds = value.split('.',1) 34 seconds = value 35 return int(minutes) * 60 + int(seconds) + float('.'+fseconds) 195 help="Kill processes with CPU time >= N (seconds)", 198 help="Kill processes with CPU time <= N (seconds)",
|
/external/v8/src/ |
d8-posix.cc | 89 time_t seconds = time_now.tv_sec - start_time.tv_sec; local 90 gone = static_cast<int>(seconds * 1000 + 121 int seconds = static_cast<int>(time_now.tv_sec - start_time.tv_sec); local 122 if (seconds > 100) { 123 if (seconds * 1000 > total_time) return true; 127 if (seconds * 1000000 + useconds > total_time * 1000) {
|
/prebuilts/go/darwin-x86/src/time/ |
format.go | 33 // field immediately after the seconds field, even if the layout does not 67 // The RFC3339Nano format removes trailing zeros from the seconds field 252 case '.': // .000 or .999 - repeated digits for fractional seconds. 433 // clock reading formatted as a decimal number of seconds. 476 // to the end of the seconds section of layout string, as in "15:04:05.000" 623 // append seconds if appropriate 939 var sign, hour, min, seconds string 949 sign, hour, min, seconds, value = value[0:1], value[1:3], value[4:6], "00", value[6:] 955 sign, hour, min, seconds, value = value[0:1], value[1:3], "00", "00", value[3:] 965 sign, hour, min, seconds, value = value[0:1], value[1:3], value[4:6], value[7:9], value[9: [all...] |
/prebuilts/go/linux-x86/src/time/ |
format.go | 33 // field immediately after the seconds field, even if the layout does not 67 // The RFC3339Nano format removes trailing zeros from the seconds field 252 case '.': // .000 or .999 - repeated digits for fractional seconds. 433 // clock reading formatted as a decimal number of seconds. 476 // to the end of the seconds section of layout string, as in "15:04:05.000" 623 // append seconds if appropriate 939 var sign, hour, min, seconds string 949 sign, hour, min, seconds, value = value[0:1], value[1:3], value[4:6], "00", value[6:] 955 sign, hour, min, seconds, value = value[0:1], value[1:3], "00", "00", value[3:] 965 sign, hour, min, seconds, value = value[0:1], value[1:3], value[4:6], value[7:9], value[9: [all...] |