Home
last modified time | relevance | path

Searched refs:lock_reason (Results 1 – 10 of 10) sorted by relevance

/external/autotest/server/cros/
Dhost_lock_manager.py100 def lock(self, hosts, lock_reason='Locked by HostLockManager'): argument
114 return self._host_modifier(new_hosts, self.LOCK, lock_reason=lock_reason)
140 def _host_modifier(self, hosts, operation, lock_reason=None): argument
163 if self.dutils.lock_device(host, lock_reason):
Dhost_lock_manager_unittest.py37 def _host_modifier(self, hosts, operation, lock_reason=''): argument
48 assert lock_reason
108 manager.lock(hosts, lock_reason='Locking for test')
117 manager.lock(hosts, lock_reason='Locking for test')
/external/autotest/server/cros/chaos_lib/
Dchaos_datastore_utils.py84 def lock_device(self, host_name, lock_reason): argument
99 "locked_by":lock_reason}))
/external/autotest/site_utils/deployment/
Dinstall.py217 lock_reason=_LOCK_REASON_EXISTING)
237 afe_host.modify(locked=False, lock_reason='')
377 lock_reason=_LOCK_REASON_NEW_HOST)
/external/autotest/frontend/afe/
Drdb_model_extensions.py200 lock_reason = dbmodels.CharField(null=True, max_length=255, blank=True, variable in AbstractHostModel
Drpc_interface.py337 def add_host(hostname, status=None, locked=None, lock_reason='', protection=None): argument
338 if locked and not lock_reason:
343 locked=locked, lock_reason=lock_reason,
Drpc_utils.py406 lock_reason = update_data.get('lock_reason', None)
415 if locked and not lock_reason and not host.locked:
Drpc_interface_unittest.py1155 locked=True, lock_reason='_modify_host_helper lock',
1165 locked=True, lock_reason='_modify_host_helper lock',
1169 lock_reason='_modify_host_helper lock',
/external/autotest/server/
Dfrontend.py682 def lock_host(self, host, lock_reason, fail_if_locked=False): argument
701 'lock_reason': lock_reason})
/external/autotest/database/
Dschema_129.sql300 `lock_reason` text,