/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_wrapper.py | 91 raw_version = AdbWrapper._RunAdbCmd(['version'], timeout=2, retries=0) 264 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument 298 self, args, timeout, retries, check_error=True, argument 305 retries: Number of retries. 312 return self._RunAdbCmd(args, timeout=timeout, retries=retries, 366 def KillServer(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument 367 cls._RunAdbCmd(['kill-server'], timeout=timeout, retries=retries) 370 def StartServer(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument 372 cls._RunAdbCmd(['start-server'], timeout=timeout, retries=retries, 376 def GetDevices(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument [all …]
|
D | fastboot.py | 84 def Flash(self, partition, image, timeout=None, retries=None): argument 95 def Devices(cls, timeout=None, retries=None): argument 105 def RebootBootloader(self, timeout=None, retries=None): argument 110 def Reboot(self, timeout=None, retries=None): argument 115 def SetOemOffModeCharge(self, value, timeout=None, retries=None): argument
|
/external/chromium-trace/catapult/devil/docs/ |
D | device_utils.md | 57 retries: number of retries 77 retries: number of retries 93 retries: number of retries 110 retries: number of retries 124 retries: number of retries 142 retries: number of retries 160 retries: number of retries 194 retries: (optional) Number of retries to attempt. 237 retries: number of retries 255 retries: number of retries [all …]
|
D | adb_wrapper.md | 37 retries: (optional) Number of retries to attempt. 49 retries: (optional) Number of retries to attempt. 62 retries: (optional) Number of retries to attempt. 93 retries: (optional) Number of retries to attempt. 125 retries: (optional) If clear or dump is set, the number of retries to 152 retries: (optional) Number of retries to attempt. 163 retries: (optional) Number of retries to attempt. 173 retries: (optional) Number of retries to attempt. 185 retries: (optional) Number of retries to attempt. 203 retries: (optional) Number of retries to attempt. [all …]
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | retry_util_unittest.py | 21 @retry_util.RetryOnException(Exception, retries=3) 22 def Test(retries=None): argument 23 del retries 32 @retry_util.RetryOnException(KeyError, retries=5) 33 def Test(retries=None): argument 34 del retries 43 # Waits between retries do follow exponential backoff. 49 @retry_util.RetryOnException(KeyError, retries=3) 50 def Test(retries=None): argument 51 del retries [all …]
|
D | retry_util.py | 9 def RetryOnException(exc_type, retries): argument 15 Note: the default number of retries is defined on the decorator, the decorated 16 function *must* also receive a "retries" argument (although its assigned 18 number of retries at the call site. 20 The "unused" retries argument on the decorated function must be given to 26 @retry_util.RetryOnException(OSError, retries=3) # default no. of retries 27 def ProcessSomething(thing, retries=None): # this default value is ignored 28 del retries # Unused. Handled by the decorator. 31 ProcessSomething(a_thing) # retries 3 times. 32 ProcessSomething(b_thing, retries=5) # retries 5 times. [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | decorators_test.py | 31 def alwaysTimesOut(timeout=None, retries=None): argument 37 alwaysTimesOut(timeout=1, retries=0) 43 """Tests that the base decorator handles the retries logic.""" 47 def alwaysRaisesCommandFailedError(timeout=None, retries=None): argument 52 alwaysRaisesCommandFailedError(timeout=30, retries=10) 56 """Tests that the base decorator requires timeout and retries params.""" 58 def requiresExplicitTimeoutAndRetries(timeout=None, retries=None): argument 59 return (timeout, retries) 66 requiresExplicitTimeoutAndRetries(retries=0) 71 retries=expected_retries)) [all …]
|
D | decorators.py | 30 retries_func: A callable that returns the retries value. 33 'retries' kwargs, respectively. 40 retries = retries_func(*args, **kwargs) 43 kwargs['retries'] = retries 56 return timeout_retry.Run(impl, timeout, retries, desc=desc, 68 """A decorator that handles timeouts and retries. 70 'timeout' and 'retries' kwargs must be passed to the function. 78 get_retries = lambda *a, **kw: kw['retries'] 83 """Returns a decorator that handles timeouts and, in some cases, retries. 85 'timeout' and 'retries' kwargs must be passed to the function. [all …]
|
D | battery_utils.py | 205 def SupportsFuelGauge(self, timeout=None, retries=None): argument 210 retries: number of retries 221 def GetFuelGaugeChargeCounter(self, timeout=None, retries=None): argument 229 retries: number of retries 244 def GetNetworkData(self, package, timeout=None, retries=None): argument 250 retries: number of retries 282 def GetPowerData(self, timeout=None, retries=None): argument 287 retries: number of retries 343 def GetBatteryInfo(self, timeout=None, retries=None): argument 348 retries: number of retries [all …]
|
D | device_utils.py | 407 def IsOnline(self, timeout=None, retries=None): argument 412 retries: number of retries 427 def HasRoot(self, timeout=None, retries=None): argument 446 retries: number of retries 463 def NeedsSU(self, timeout=DEFAULT, retries=DEFAULT): argument 468 retries: number of retries 490 retries=self._default_retries if retries is DEFAULT else retries) 503 def EnableRoot(self, timeout=None, retries=None): argument 508 retries: number of retries 537 def IsUserBuild(self, timeout=None, retries=None): argument [all …]
|
D | crash_handler.py | 14 def RetryOnSystemCrash(f, device, retries=3): argument 15 """Retries the given function on a device crash. 25 retries: the number of retries. 34 if num_try > retries:
|
/external/autotest/server/cros/ap_configurators/ |
D | ap_batch_locker.py | 29 @attribute retries: an integer, max number of retry attempts to lock ap. 33 def __init__(self, configurator, retries): argument 37 @param retries: an integer, max number of retry attempts to lock ap. 41 self.retries = retries 45 """@return class name, ap host name, lock status and retries.""" 46 return 'class: %s, host name: %s, to_be_locked = %s, retries = %d' % ( 50 self.retries) 53 def construct_ap_lockers(ap_spec, retries, hostname_matching_only=False, argument 58 @param retries: an integer, max number of retry attempts to lock ap. 72 ap_lockers_list.append(ApLocker(ap, retries)) [all …]
|
/external/autotest/server/cros/clique_lib/ |
D | clique_dut_locker.py | 46 """@return class name, dut host name, lock status and retries.""" 73 @attribute retries: an integer, max number of retry attempts to lock DUT. 78 def __init__(self, dut_spec, retries): argument 83 @param retries: an integer, max number of retry attempts to lock DUT. 86 self.retries = retries 90 """@return class name, dut host name, lock status and retries.""" 91 return 'class: %s, host name: %s, to_be_locked = %s, retries = %d' % ( 95 self.retries) 102 retries. 112 def __init__(self, lock_manager, dut_pool_spec, retries=MAX_RETRIES): argument [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | clustering_ops_test.cc | 46 // Number of retries for tests. 92 #define RUN_BM_KmeansPlusPlusInitialization(retries) \ argument 93 BENCHMARK_KMEANS_PLUS_PLUS(k10Points, k2Centers, k100Dim, retries); \ 94 BENCHMARK_KMEANS_PLUS_PLUS(k10Points, k5Centers, k100Dim, retries); \ 95 BENCHMARK_KMEANS_PLUS_PLUS(k10Points, k10Centers, k100Dim, retries); \ 96 BENCHMARK_KMEANS_PLUS_PLUS(k100Points, k10Centers, k100Dim, retries); \ 97 BENCHMARK_KMEANS_PLUS_PLUS(k100Points, k20Centers, k100Dim, retries); \ 98 BENCHMARK_KMEANS_PLUS_PLUS(k100Points, k50Centers, k100Dim, retries); \ 99 BENCHMARK_KMEANS_PLUS_PLUS(k100Points, k100Centers, k100Dim, retries); \ 100 BENCHMARK_KMEANS_PLUS_PLUS(k1kPoints, k100Centers, k100Dim, retries); \ [all …]
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | sim.py | 130 'retries' : pin_retries 134 'retries' : puk_retries 188 Returns the number of unlock retries left. 190 @returns: The number of unlock retries for each lock type the SIM 194 retries = dbus.Dictionary(signature='uu') 196 return retries 198 retries[dbus.types.UInt32(k)] = dbus.types.UInt32(v['retries']) 199 return retries 283 # - if the number of retries left for |lock_data| drops down to 0, 296 # remaining retries. [all …]
|
/external/toolchain-utils/crosperf/ |
D | experiment_factory.py | 96 show_all_results, retries, run_local): argument 101 suite, show_all_results, retries, run_local) 167 retries = benchmark_settings.GetField('retries') 174 show_all_results, retries, run_local) 178 perf_args, suite, show_all_results, retries, 183 perf_args, suite, show_all_results, retries, 196 retries, 202 show_all_results, retries, run_local) 206 show_all_results, retries, run_local) 219 retries, [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | buildreq.c | 64 int timeout, int retries) in rc_buildreq() argument 70 data->retries = retries; in rc_buildreq() 196 int retries = rc_conf_int("radius_retries"); in rc_auth_using_server() local 224 authserver->port[i], timeout, retries); in rc_auth_using_server() 254 int retries = rc_conf_int("radius_retries"); in rc_auth_proxy() local 268 authserver->port[i], timeout, retries); in rc_auth_proxy() 300 int retries = rc_conf_int("radius_retries"); in rc_acct_using_server() local 337 acctserver->port[i], timeout, retries); in rc_acct_using_server() 383 int retries = rc_conf_int("radius_retries"); in rc_acct_proxy() local 397 acctserver->port[i], timeout, retries); in rc_acct_proxy() [all …]
|
/external/syzkaller/vendor/google.golang.org/grpc/internal/backoff/ |
D | backoff.go | 37 Backoff(retries int) time.Duration 58 // number of retries. 59 func (bc Exponential) Backoff(retries int) time.Duration { 60 if retries == 0 { 64 for backoff < max && retries > 0 { 66 retries--
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | timeout_retry.py | 5 """A utility to run functions with timeouts and retries.""" 121 def Run(func, timeout, retries, args=None, kwargs=None, desc=None, argument 123 """Runs the passed function in a separate thread with timeouts and retries. 128 retries: the number of retries. 165 if num_try > retries or not retry_if_func(e): 169 if num_try > retries or not retry_if_func(e): 173 thread_name, desc, num_try, retries + 1, e)
|
/external/u-boot/include/ |
D | ata.h | 76 #define ATA_CMD_READ 0x20 /* Read Sectors (with retries) */ 77 #define ATA_CMD_READN 0x21 /* Read Sectors ( no retries) */ 78 #define ATA_CMD_WRITE 0x30 /* Write Sectores (with retries)*/ 79 #define ATA_CMD_WRITEN 0x31 /* Write Sectors ( no retries)*/ 80 #define ATA_CMD_VRFY 0x40 /* Read Verify (with retries) */ 81 #define ATA_CMD_VRFYN 0x41 /* Read verify ( no retries) */ 88 #define ATA_CMD_RD_DMA 0xC8 /* Read DMA (with retries) */ 89 #define ATA_CMD_RD_DMAN 0xC9 /* Read DMS ( no retries) */ 90 #define ATA_CMD_WR_DMA 0xCA /* Write DMA (with retries) */ 96 #define ATA_CMD_READ_EXT 0x24 /* Read Sectors (with retries) with 48bit addressing */ [all …]
|
/external/autotest/server/cros/dynamic_suite/ |
D | frontend_wrappers.py | 52 """Wrapper around frontend.AFE that retries all RPCs. 54 Timeout for retries and delay between retries are configurable. 60 @param delay_sec: pre-jittered delay between retries in seconds. 146 """Wrapper around frontend.TKO that retries all RPCs. 148 Timeout for retries and delay between retries are configurable. 154 @param delay_sec: pre-jittered delay between retries in seconds.
|
/external/autotest/server/site_tests/rlz_CheckPing/ |
D | rlz_CheckPing.py | 29 def _set_vpd_values(self, retries=3): argument 33 @param retries: number of times to retry to write to vpd. 36 for i in range(retries): 42 if i == retries-1: 46 for i in range(retries): 52 if i == retries - 1:
|
/external/autotest/server/hosts/ |
D | file_store_unittest.py | 61 # file_lock_timeout of 0 forces no retries (speeds up the test) 77 # file_lock_timeout of 0 forces no retries (speeds up the test) 90 # file_lock_timeout of 0 forces no retries (speeds up the test) 99 # file_lock_timeout of 0 forces no retries (speeds up the test) 110 # file_lock_timeout of 0 forces no retries (speeds up the test) 124 """Tests that commit succeeds when locking requires retries. 144 """Tests that refresh succeeds when locking requires retries.
|
/external/curl/docs/cmdline-opts/ |
D | retry.d | 8 makes curl do no retries (which is the default). Transient error means either: 12 for all forthcoming retries it will double the waiting time until it reaches 13 10 minutes which then will be the delay between the rest of the retries. By 15 --retry-max-time to limit the total time allowed for retries.
|
/external/autotest/client/cros/chameleon/ |
D | chameleon_bluetooth_audio.py | 120 pairing_timeout=_PAIRING_TIMEOUT, retries=3): argument 129 @param retries: Number of retries if pairing fails. 132 bluetooth module on audio board after all the retries. 136 for trial in xrange(retries): 141 elif trial == retries - 1:
|