OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lock_manager
(Results
1 - 8
of
8
) sorted by null
/external/autotest/server/cros/chaos_lib/
chaos_runner.py
67
lock_manager
= host_lock_manager.HostLockManager()
69
with host_lock_manager.HostsLockedBy(
lock_manager
):
71
lock_manager
, hostname=capturer_hostname)
99
lock_manager
, hostname=work_client_hostname)
102
webdriver_instance = utils.allocate_webdriver_instance(
lock_manager
)
117
lock_manager
, self._ap_spec,
231
lock_manager
.unlock(webdriver_instance)
/external/autotest/server/cros/clique_lib/
clique_dut_locker.py
112
def __init__(self,
lock_manager
, dut_pool_spec, retries=MAX_RETRIES):
115
@param
lock_manager
: a HostLockManager object, used to lock/unlock DUTs.
121
self.
lock_manager
=
lock_manager
157
if self.
lock_manager
.lock([host_name]):
170
afe, self.
lock_manager
, labels=labels) + '.cros'
clique_runner.py
214
lock_manager
= host_lock_manager.HostLockManager()
215
with host_lock_manager.HostsLockedBy(
lock_manager
):
217
lock_manager
, self._dut_pool_spec)
226
lock_manager
, hostname=capturer_hostname)
233
lock_manager
, hostname=hostname)
245
lock_manager
, ap_spec,
/external/autotest/server/cros/network/
chaos_clique_utils.py
21
def allocate_packet_capturer(
lock_manager
, hostname):
27
@param
lock_manager
HostLockManager object.
38
afe,
lock_manager
, labels=['packet_capture']) + '.cros')
41
def allocate_webdriver_instance(
lock_manager
):
47
@param
lock_manager
HostLockManager object.
53
webdriver_hostname = site_utils.lock_host_with_labels(afe,
lock_manager
,
/external/autotest/server/cros/ap_configurators/
ap_batch_locker.py
100
def __init__(self,
lock_manager
, ap_spec, retries=MAX_RETRIES,
117
self.manager =
lock_manager
ap_configurator_test.py
50
lock_manager
= host_lock_manager.HostLockManager()
51
self.batch_locker = ap_batch_locker.ApBatchLocker(
lock_manager
,
/external/autotest/server/cros/
sonic_client_utils.py
139
def acquire_sonic(
lock_manager
, additional_labels=None):
142
@param
lock_manager
: A manager for locking/unlocking hosts, as defined by
157
lambda: site_utils.lock_host_with_labels(afe,
lock_manager
, labels),
/external/autotest/server/
site_utils.py
297
def lock_host_with_labels(afe,
lock_manager
, labels):
301
@param
lock_manager
: A lock manager capable of locking hosts, eg the
306
lock_manager
. The hostname will be as specified in the database the afe
323
if
lock_manager
.lock([host.hostname]):
Completed in 1906 milliseconds