Lines Matching refs:locks_dir
130 def ListLock(cls, pattern, locks_dir):
131 if not locks_dir:
132 locks_dir = Machine.LOCKS_DIR
133 full_pattern = os.path.join(locks_dir, pattern)
267 LOCKS_DIR = '/google/data/rw/users/mo/mobiletc-prebuild/locks'
269 def __init__(self, name, locks_dir=LOCKS_DIR, auto=True):
276 self._full_name = os.path.join(locks_dir, self._full_name)
336 dest='locks_dir',
338 default=Machine.LOCKS_DIR,
339 help='Use this to set different locks_dir')
344 options.locks_dir = os.path.abspath(options.locks_dir)
353 machine = Machine(options.args[1], options.locks_dir, auto=False)
358 FileLock.ListLock('*', options.locks_dir)