Home
last modified time | relevance | path

Searched refs:PickerSyncLockManager (Results 1 – 12 of 12) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerSyncController.java71 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
147 private final PickerSyncLockManager mPickerSyncLockManager;
166 PickerSyncLockManager pickerSyncLockManager) { in initialize()
186 @NonNull PickerSyncLockManager pickerSyncLockManager, @NonNull String localProvider) { in initialize()
215 @NonNull ConfigStore configStore, @NonNull PickerSyncLockManager pickerSyncLockManager, in PickerSyncController()
233 public PickerSyncLockManager getPickerSyncLockManager() { in getPickerSyncLockManager()
239 .lock(PickerSyncLockManager.CLOUD_PROVIDER_LOCK)) { in initCloudProvider()
312 mPickerSyncLockManager.tryLock(PickerSyncLockManager.CLOUD_SYNC_LOCK)) { in syncAllMediaFromCloudProvider()
342 .tryLock(PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK)) { in syncAlbumMedia()
364 .tryLock(PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK)) { in syncAlbumMediaFromCloudProvider()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DPickerSyncLockManagerTest.java19 import static com.android.providers.media.photopicker.sync.PickerSyncLockManager.CLOUD_ALBUM_SYNC_L…
20 import static com.android.providers.media.photopicker.sync.PickerSyncLockManager.CLOUD_SYNC_LOCK;
37 private PickerSyncLockManager mSyncLockManager;
41 mSyncLockManager = new PickerSyncLockManager(); in setup()
DMediaResetWorkerTest.java99 doReturn(new PickerSyncLockManager()) in setup()
110 mDbFacade = new PickerDbFacade(mContext, new PickerSyncLockManager(), TEST_LOCAL_AUTHORITY); in setup()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DPickerSyncLockManager.java35 public class PickerSyncLockManager { class
36 private static final String TAG = PickerSyncLockManager.class.getSimpleName();
DMediaResetWorker.java84 PickerSyncLockManager pickerSyncLockManager; in doWork()
126 .tryLock(PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK)) { in doWork()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java55 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
75 private final PickerSyncLockManager mPickerSyncLockManager;
82 public PickerDbFacade(Context context, PickerSyncLockManager pickerSyncLockManager) { in PickerDbFacade()
87 public PickerDbFacade(Context context, PickerSyncLockManager pickerSyncLockManager, in PickerDbFacade()
93 public PickerDbFacade(Context context, PickerSyncLockManager pickerSyncLockManager, in PickerDbFacade()
227 .lock(PickerSyncLockManager.DB_CLOUD_LOCK)) { in setCloudProvider()
244 mPickerSyncLockManager.tryLock(PickerSyncLockManager.DB_CLOUD_LOCK)) { in setCloudProviderWithTimeout()
260 .lock(PickerSyncLockManager.DB_CLOUD_LOCK)) { in getCloudProvider()
1037 .lock(PickerSyncLockManager.DB_CLOUD_LOCK)) { in queryMediaIdForApps()
1165 .lock(PickerSyncLockManager.DB_CLOUD_LOCK)) { in queryMediaForUi()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerDataLayerTest.java53 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
134 final PickerSyncLockManager lockManager = new PickerSyncLockManager(); in setUp()
DPickerSyncControllerTest.java58 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
145 private PickerSyncLockManager mLockManager;
165 mLockManager = new PickerSyncLockManager(); in setUp()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerUriResolverTest.java70 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
103 super(context, new PickerDbFacade(getTargetContext(), new PickerSyncLockManager()), in TestPickerUriResolver()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java77 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
131 mFacade = new PickerDbFacade(mContext, new PickerSyncLockManager(), LOCAL_PROVIDER); in setUp()
143 doReturn(new PickerSyncLockManager()).when(mMockSyncController).getPickerSyncLockManager(); in setUp()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java85 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
117 mFacade = new PickerDbFacade(mContext, new PickerSyncLockManager(), LOCAL_PROVIDER); in setUp()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java295 import com.android.providers.media.photopicker.sync.PickerSyncLockManager;
1369 PickerSyncLockManager pickerSyncLockManager = new PickerSyncLockManager(); in onCreate()