Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 25 of 84) sorted by relevance

1234

/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper.py109 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument
133 def _RunDeviceAdbCmd(self, args, timeout, retries, check_error=True): argument
146 return self._RunAdbCmd(args, timeout=timeout, retries=retries,
195 def KillServer(cls, timeout=_DEFAULT_TIMEOUT, retries=_DEFAULT_RETRIES): argument
196 cls._RunAdbCmd(['kill-server'], timeout=timeout, retries=retries)
199 def StartServer(cls, timeout=_DEFAULT_TIMEOUT, retries=_DEFAULT_RETRIES): argument
201 cls._RunAdbCmd(['start-server'], timeout=timeout, retries=retries,
205 def GetDevices(cls, timeout=_DEFAULT_TIMEOUT, retries=_DEFAULT_RETRIES): argument
208 return cls.Devices(timeout=timeout, retries=retries)
212 timeout=_DEFAULT_TIMEOUT, retries=_DEFAULT_RETRIES): argument
[all …]
Dfastboot.py44 def _RunFastbootCommand(self, cmd, timeout=None, retries=None): argument
68 def Flash(self, partition, image, timeout=None, retries=None): argument
78 def Devices(self, timeout=None, retries=None): argument
84 def RebootBootloader(self, timeout=None, retries=None): argument
89 def Reboot(self, timeout=None, retries=None): argument
94 def SetOemOffModeCharge(self, value, timeout=None, retries=None): argument
/external/chromium-trace/catapult/devil/devil/android/
Ddecorators_test.py31 def alwaysTimesOut(timeout=None, retries=None): argument
37 alwaysTimesOut(timeout=1, retries=0)
47 def alwaysRaisesCommandFailedError(timeout=None, retries=None): argument
52 alwaysRaisesCommandFailedError(timeout=30, retries=10)
58 def requiresExplicitTimeoutAndRetries(timeout=None, retries=None): argument
59 return (timeout, retries)
66 requiresExplicitTimeoutAndRetries(retries=0)
71 retries=expected_retries))
78 def alwaysRaisesProvidedException(exception, timeout=None, retries=None): argument
85 timeout=10, retries=1)
[all …]
Dbattery_utils.py147 def SupportsFuelGauge(self, timeout=None, retries=None): argument
163 def GetFuelGaugeChargeCounter(self, timeout=None, retries=None): argument
186 def GetNetworkData(self, package, timeout=None, retries=None): argument
224 def GetPowerData(self, timeout=None, retries=None): argument
285 def GetBatteryInfo(self, timeout=None, retries=None): argument
311 def GetCharging(self, timeout=None, retries=None): argument
329 def DisableBatteryUpdates(self, timeout=None, retries=None): argument
354 def EnableBatteryUpdates(self, timeout=None, retries=None): argument
374 def BatteryMeasurement(self, timeout=None, retries=None): argument
399 self.DisableBatteryUpdates(timeout=timeout, retries=retries)
[all …]
Ddevice_utils.py255 def IsOnline(self, timeout=None, retries=None): argument
275 def HasRoot(self, timeout=None, retries=None): argument
295 def NeedsSU(self, timeout=DEFAULT, retries=DEFAULT): argument
317 retries=self._default_retries if retries is DEFAULT else retries)
329 def EnableRoot(self, timeout=None, retries=None): argument
349 def IsUserBuild(self, timeout=None, retries=None): argument
367 def GetExternalStoragePath(self, timeout=None, retries=None): argument
395 def GetApplicationPaths(self, package, timeout=None, retries=None): argument
436 def GetApplicationVersion(self, package, timeout=None, retries=None): argument
458 def GetApplicationDataDirectory(self, package, timeout=None, retries=None): argument
[all …]
Ddecorators.py40 retries = retries_func(*args, **kwargs)
43 kwargs['retries'] = retries
56 return timeout_retry.Run(impl, timeout, retries, desc=desc,
101 def WithExplicitTimeoutAndRetries(timeout, retries): argument
116 get_retries = lambda *a, **kw: retries
Dfastboot_utils.py76 def WaitForFastbootMode(self, timeout=None, retries=None): argument
88 def EnableFastbootMode(self, timeout=None, retries=None): argument
99 def Reboot(self, bootloader=False, timeout=None, retries=None): argument
214 def FastbootMode(self, timeout=None, retries=None): argument
/external/autotest/server/cros/ap_configurators/
Dap_batch_locker.py32 def __init__(self, configurator, retries): argument
40 self.retries = retries
49 self.retries)
52 def construct_ap_lockers(ap_spec, retries, hostname_matching_only=False, argument
71 ap_lockers_list.append(ApLocker(ap, retries))
74 ap_lockers_list.append(ApLocker(ap, retries))
100 def __init__(self, lock_manager, ap_spec, retries=MAX_RETRIES, argument
114 self.aps_to_lock = construct_ap_lockers(ap_spec, retries,
142 ap_locker.retries -= 1
144 ap_locker.retries,
[all …]
/external/autotest/server/cros/clique_lib/
Dclique_dut_locker.py78 def __init__(self, dut_spec, retries): argument
86 self.retries = retries
95 self.retries)
112 def __init__(self, lock_manager, dut_pool_spec, retries=MAX_RETRIES): argument
122 self.duts_to_lock = self._construct_dut_lockers(dut_pool_spec, retries)
126 def _construct_dut_lockers(dut_pool_spec, retries): argument
139 dut_locker = DUTLocker(dut_spec, retries)
205 dut_locker.retries -= 1
207 dut_locker.retries,
210 if dut_locker.retries == 0:
/external/ppp/pppd/plugins/radius/
Dbuildreq.c64 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/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dtest_support.py59 def execute_task(task, retries=0, handlers_map=None): argument
124 request.headers["X-AppEngine-TaskExecutionCount"] = retries
191 retries = 0
194 handler = execute_task(task, retries, handlers_map=handlers_map)
199 retries += 1
201 if retries > 100:
208 retries)
Dmodel.py747 retries=0, argument
772 self.retries = retries
784 self.retries += 1
811 "retries": str(self.retries)}
854 retries=int(request.get("retries")),
934 retries = db.IntegerProperty(default=0, indexed=False) variable in ShardState
954 if self.retries:
955 kv["retries"] = self.retries
975 self.retries += 1
/external/chromium-trace/catapult/third_party/webtest/webtest/
Dhttp.py29 def check_server(host, port, path_info='/', timeout=3, retries=30): argument
31 if retries < 0:
34 for i in range(retries):
123 def wait(self, retries=30): argument
126 '/__application__', retries=retries)
/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py132 def Run(func, timeout, retries, args=None, kwargs=None, desc=None, argument
174 if num_try > retries or not retry_if_func(e):
178 if num_try > retries or not retry_if_func(e):
180 _LogLastException(thread_name, num_try, retries + 1, error_log_func)
/external/autotest/client/site_tests/desktopui_FlashSanityCheck/
Ddesktopui_FlashSanityCheck.py130 retries = 10
132 while not flash_tested and retries > 0:
133 retries = retries - 1
/external/autotest/client/cros/chameleon/
Dchameleon_bluetooth_audio.py113 pairing_timeout=_PAIRING_TIMEOUT, retries=3): argument
129 for trial in xrange(retries):
134 elif trial == retries - 1:
/external/vboot_reference/firmware/stub/
Dtpm_lite_stub.c156 int retries, saved_errno; in VbExTpmOpen() local
167 for (retries = 0; retries < OPEN_RETRY_MAX_NUM; ++ retries) { in VbExTpmOpen()
/external/toybox/toys/pending/
Ddhcp6.c49 int length, state, request_length, sock, sock1, status, retval, retries;
504 TT.retries = 0; in signal_handler()
514 TT.retries = 0; in signal_handler()
600 TT.retries++; in dhcp6_main()
601 if(TT.retries > TT.retry) set_timeout(TT.errortimeout); in dhcp6_main()
602 else if (TT.retries == TT.retry) { in dhcp6_main()
612 TT.retries++; in dhcp6_main()
613 if (TT.retries > TT.retry) set_timeout(TT.errortimeout); in dhcp6_main()
614 else if (TT.retries == TT.retry) { in dhcp6_main()
633 TT.retries = 0; in dhcp6_main()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_browser_backend_settings.py99 retries = 0
106 retries += 1
108 if retries == 4:
/external/chromium-trace/catapult/devil/devil/android/perf/
Dsurface_stats_collector.py57 retries = 0
64 retries += 1
65 if retries < 3:
/external/curl/lib/
Dtftp.c128 int retries; member
465 state->retries++; in tftp_send_first()
466 if(state->retries>state->retry_max) { in tftp_send_first()
590 state->retries = 0; in tftp_rx()
631 state->retries = 0; in tftp_rx()
650 state->retries++; in tftp_rx()
653 NEXT_BLOCKNUM(state->block), state->retries); in tftp_rx()
654 if(state->retries > state->retry_max) { in tftp_rx()
724 state->retries++; in tftp_tx()
726 if(state->retries>state->retry_max) { in tftp_tx()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dcros_browser_finder.py101 retries = 0
108 retries += 1
109 if retries > 1:
/external/autotest/client/cros/
Dpower_suspend.py166 def _update_logs(self, retries=11): argument
172 for retry in xrange(retries + 1):
187 def _ts(self, name, retries=11): argument
190 for retry in xrange(retries + 1):
209 def _hwclock_ts(self, not_before, retries=3): argument
211 for retry in xrange(retries + 1):
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_api.py709 retries = 0
711 while retries <= self.num_retries:
723 retries = 0
724 retries += 1
725 if retries > self.num_retries:
729 time.sleep(CalculateWaitForRetry(retries, max_wait=self.max_retry_wait))
953 retries = 0
955 while retries <= self.num_retries:
987 while retries <= self.num_retries:
998 retries += 1
[all …]
/external/kernel-headers/original/uapi/rdma/
Dib_user_mad.h76 __u32 retries; member
120 __u32 retries; member

1234