Searched refs:CLOUD_ALBUM_SYNC_LOCK (Results 1 – 4 of 4) sorted by relevance
19 …rt static com.android.providers.media.photopicker.sync.PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK;70 try (CloseableReentrantLock lock = mSyncLockManager.tryLock(CLOUD_ALBUM_SYNC_LOCK)) { in testLockWithTimeoutIsCloseable()76 mSyncLockManager.tryLock(CLOUD_ALBUM_SYNC_LOCK)) { in testLockWithTimeoutIsCloseable()87 assertThat(lock).isEqualTo(mSyncLockManager.getLock(CLOUD_ALBUM_SYNC_LOCK)); in testLockWithTimeoutIsCloseable()90 assertThat(mSyncLockManager.getLock(CLOUD_ALBUM_SYNC_LOCK).isHeldByCurrentThread()) in testLockWithTimeoutIsCloseable()
40 @IntDef(value = {CLOUD_SYNC_LOCK, CLOUD_ALBUM_SYNC_LOCK, CLOUD_PROVIDER_LOCK, DB_CLOUD_LOCK})44 public static final int CLOUD_ALBUM_SYNC_LOCK = 1; field in PickerSyncLockManager104 case CLOUD_ALBUM_SYNC_LOCK: in getLock()
126 .tryLock(PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK)) { in doWork()
342 .tryLock(PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK)) { in syncAlbumMedia()364 .tryLock(PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK)) { in syncAlbumMediaFromCloudProvider()