/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | PickerSyncControllerTest.java | 144 private PickerSyncController mController; 173 mController = PickerSyncController.initialize( in setUp() 203 PickerSyncController controller = in testInitCloudProviderOnDeviceConfigChange() 204 PickerSyncController.initialize(mContext, mFacade, configStore, mLockManager); in testInitCloudProviderOnDeviceConfigChange() 226 PickerSyncController controller = spy(mController); in testSyncIsCancelledIfCloudProviderIsChanged() 892 final PickerSyncController controller = PickerSyncController.initialize( in testGetSupportedCloudProviders_useAllowList() 927 mController = PickerSyncController.initialize(mContext, mFacade, mConfigStore, in testNotifyPackageRemoval_NoDefaultCloudProviderPackage() 942 PickerSyncController controller = createControllerWithDefaultProvider(null); in testSelectDefaultCloudProvider_NoDefaultAuthority() 949 PickerSyncController controller = createControllerWithDefaultProvider(PACKAGE_NAME); in testSelectDefaultCloudProvider_defaultAuthoritySet() 992 PickerSyncController controller = PickerSyncController.initialize( in testSyncAfterDbCreate() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/ |
D | ImmediateAlbumSyncWorkerTest.java | 47 import com.android.providers.media.photopicker.PickerSyncController; 60 private PickerSyncController mMockPickerSyncController; 89 PickerSyncController.setInstance(mMockPickerSyncController); in testLocalAlbumImmediateSync() 122 PickerSyncController.setInstance(mMockPickerSyncController); in testCloudAlbumImmediateSync() 156 PickerSyncController.setInstance(mMockPickerSyncController); in testInvalidSyncSourceImmediateAlbumSync() 190 PickerSyncController.setInstance(null); in testLocalAndCloudImmediateSyncFailure() 224 PickerSyncController.setInstance(null); in testInvalidAlbumIdImmediateSyncFailure()
|
D | ProactiveSyncWorkerTest.java | 45 import com.android.providers.media.photopicker.PickerSyncController; 58 private PickerSyncController mMockPickerSyncController; 87 PickerSyncController.setInstance(mMockPickerSyncController); in testLocalProactiveSync() 119 PickerSyncController.setInstance(mMockPickerSyncController); in testCloudProactiveSync() 151 PickerSyncController.setInstance(mMockPickerSyncController); in testLocalAndCloudProactiveSync() 183 PickerSyncController.setInstance(null); in testProactiveSyncFailure()
|
D | ImmediateSyncWorkerTest.java | 45 import com.android.providers.media.photopicker.PickerSyncController; 58 private PickerSyncController mMockPickerSyncController; 87 PickerSyncController.setInstance(mMockPickerSyncController); in testLocalImmediateSync() 120 PickerSyncController.setInstance(mMockPickerSyncController); in testCloudImmediateSync() 152 PickerSyncController.setInstance(mMockPickerSyncController); in testLocalAndCloudImmediateSync() 186 PickerSyncController.setInstance(null); in testLocalAndCloudImmediateSyncFailure()
|
D | MediaResetWorkerTest.java | 53 import com.android.providers.media.photopicker.PickerSyncController; 70 private PickerSyncController mExistingPickerSyncController; 72 @Mock private PickerSyncController mMockPickerSyncController; 91 mExistingPickerSyncController = PickerSyncController.getInstanceOrThrow(); in setup() 114 PickerSyncController.setInstance(mMockPickerSyncController); in setup() 120 PickerSyncController.setInstance(mExistingPickerSyncController); in teardown()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/ |
D | PickerDataLayerV2.java | 43 import com.android.providers.media.photopicker.PickerSyncController; 79 final PickerSyncController syncController = PickerSyncController.getInstanceOrThrow(); in queryMedia() 110 final PickerSyncController syncController = PickerSyncController.getInstanceOrThrow(); in queryAlbums() 164 final PickerSyncController syncController = PickerSyncController.getInstanceOrThrow(); in queryAlbumMedia() 219 @NonNull PickerSyncController syncController, in queryMediaInternal() 674 @NonNull PickerSyncController syncController, in queryAlbumMediaInternal() 756 @NonNull PickerSyncController syncController, in queryMergedAlbumMedia() 836 final PickerSyncController syncController = PickerSyncController.getInstanceOrThrow(); in queryAvailableProviders()
|
D | PickerNotificationSender.java | 35 import com.android.providers.media.photopicker.PickerSyncController; 84 notifyMergedAlbumMediaChange(context, PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY); in notifyMediaChange()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/ |
D | ImmediateSyncWorker.java | 39 import com.android.providers.media.photopicker.PickerSyncController; 82 PickerSyncController.getInstanceOrThrow() in doWork() 89 PickerSyncController.getInstanceOrThrow() in doWork()
|
D | ProactiveSyncWorker.java | 38 import com.android.providers.media.photopicker.PickerSyncController; 88 PickerSyncController.getInstanceOrThrow() in doWork() 100 PickerSyncController.getInstanceOrThrow() in doWork()
|
D | ImmediateAlbumSyncWorker.java | 39 import com.android.providers.media.photopicker.PickerSyncController; 89 PickerSyncController.getInstanceOrThrow() in doWork() 92 PickerSyncController.getInstanceOrThrow() in doWork()
|
D | MediaResetWorker.java | 43 import com.android.providers.media.photopicker.PickerSyncController; 82 PickerSyncController controller; in doWork() 86 controller = PickerSyncController.getInstanceOrThrow(); in doWork()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PickerUriResolverTest.java | 68 import com.android.providers.media.photopicker.PickerSyncController; 295 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, /* cloudProvider */ in testProcessUrisForSelection_withoutPermissionOrAuthorityChecks() 311 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, /* cloudProvider */ in testProcessUrisForSelection_withoutPermissionOrAuthorityChecks() 342 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, /* cloudProvider */ in testProcessUrisForSelection_permissionChecks() 356 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, /* cloudProvider */ in testProcessUrisForSelection_permissionChecks() 390 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, /* cloudProvider */ in testProcessUrisForSelection_cloudAuthorityChecks() 401 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, /* isLocalOnly */ in testProcessUrisForSelection_cloudAuthorityChecks() 412 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, /* cloudProvider */ in testProcessUrisForSelection_cloudAuthorityChecks() 560 }, PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY); in testPickerUriResolver_thumbnailRequest() 571 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY); in testPickerUriResolver_thumbnailRequest() [all …]
|
D | IsolatedContext.java | 39 import com.android.providers.media.photopicker.PickerSyncController; 89 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY); in IsolatedContext()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProviderShellCommand.java | 34 import com.android.providers.media.photopicker.PickerSyncController; 47 private final @NonNull PickerSyncController mPickerSyncController; 53 @NonNull PickerSyncController pickerSyncController, in MediaProviderShellCommand()
|
D | MediaGrants.java | 35 import com.android.providers.media.photopicker.PickerSyncController; 362 .equals(PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY);
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | FileCreationUtils.java | 29 import com.android.providers.media.photopicker.PickerSyncController; 90 .appendPath(PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY) in buildValidPickerUri()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | PickerDatabaseHelper.java | 31 import com.android.providers.media.photopicker.PickerSyncController; 173 PickerSyncController.PICKER_SYNC_PREFS_FILE_NAME, Context.MODE_PRIVATE); in clearPickerPrefs()
|
D | ItemsProvider.java | 57 import com.android.providers.media.photopicker.PickerSyncController; 453 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, in fetchReadGrantedItemsUrisForPackage()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PickerSyncController.java | 91 public class PickerSyncController { class 152 private static PickerSyncController sInstance; 164 public static PickerSyncController initialize(@NonNull Context context, in initialize() 184 public static PickerSyncController initialize(@NonNull Context context, in initialize() 187 sInstance = new PickerSyncController(context, dbFacade, configStore, pickerSyncLockManager, in initialize() 197 public static void setInstance(PickerSyncController controller) { in setInstance() 207 public static PickerSyncController getInstanceOrThrow() throws IllegalStateException { in getInstanceOrThrow() 214 private PickerSyncController(@NonNull Context context, @NonNull PickerDbFacade dbFacade, in PickerSyncController() method in PickerSyncController
|
D | PickerDataLayer.java | 96 private final PickerSyncController mSyncController; 106 @NonNull PickerSyncController syncController, @NonNull ConfigStore configStore, in PickerDataLayer() 125 @NonNull PickerSyncController syncController, @NonNull ConfigStore configStore) { in create()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/ |
D | PickerViewModelTest.java | 80 import com.android.providers.media.photopicker.PickerSyncController; 379 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, in test_initialisePreSelectionItems_correctItemsLoaded() 472 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY in generateCursorForFakeCategories() 531 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY in getAllItems() 583 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY in getLocalItems() 636 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY in getItemsForPreselectedMedia()
|
D | CategoryOrganiserTest.java | 19 import static com.android.providers.media.photopicker.PickerSyncController.LOCAL_PICKER_PROVIDER_AU…
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
D | PickerResultTest.java | 40 import com.android.providers.media.photopicker.PickerSyncController; 230 .getMediaUri(PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY) in createImageItem()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/ |
D | ItemTest.java | 41 import com.android.providers.media.photopicker.PickerSyncController; 325 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY in generateCursorForItem()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/ |
D | PhotoPickerUserSelectActivityTest.java | 60 import com.android.providers.media.photopicker.PickerSyncController; 254 PickerSyncController.LOCAL_PICKER_PROVIDER_AUTHORITY, in testPreview_showsOnlyAlreadyLoadedGrantItems()
|