Searched refs:PickerSyncLockManager (Results 1 – 12 of 12) sorted by relevance
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PickerSyncController.java | 71 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/ |
D | PickerSyncLockManagerTest.java | 19 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()
|
D | MediaResetWorkerTest.java | 99 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/ |
D | PickerSyncLockManager.java | 35 public class PickerSyncLockManager { class 36 private static final String TAG = PickerSyncLockManager.class.getSimpleName();
|
D | MediaResetWorker.java | 84 PickerSyncLockManager pickerSyncLockManager; in doWork() 126 .tryLock(PickerSyncLockManager.CLOUD_ALBUM_SYNC_LOCK)) { in doWork()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | PickerDbFacade.java | 55 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/ |
D | PickerDataLayerTest.java | 53 import com.android.providers.media.photopicker.sync.PickerSyncLockManager; 134 final PickerSyncLockManager lockManager = new PickerSyncLockManager(); in setUp()
|
D | PickerSyncControllerTest.java | 58 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/ |
D | PickerUriResolverTest.java | 70 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/ |
D | PickerDataLayerV2Test.java | 77 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/ |
D | PickerDbFacadeTest.java | 85 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/ |
D | MediaProvider.java | 295 import com.android.providers.media.photopicker.sync.PickerSyncLockManager; 1369 PickerSyncLockManager pickerSyncLockManager = new PickerSyncLockManager(); in onCreate()
|