Searched refs:fileLock (Results 1 – 1 of 1) sorted by relevance
206 ReentrantLock fileLock; in lockFile() local208 fileLock = mFileLocks.get(remoteFilePath); in lockFile()209 if (fileLock == null) { in lockFile()210 fileLock = new ReentrantLock(); in lockFile()211 mFileLocks.put(remoteFilePath, fileLock); in lockFile()214 fileLock.lock(); in lockFile()242 ReentrantLock fileLock = mFileLocks.get(remoteFilePath); in tryLockFile() local243 if (fileLock == null) { in tryLockFile()244 fileLock = new ReentrantLock(); in tryLockFile()245 mFileLocks.put(remoteFilePath, fileLock); in tryLockFile()[all …]