Refactor PickerSyncController to cache the cloud provider uid

1. Introduced a CloudProviderInfo object to encapsulate the cloud
provider authority and uid. This uid will be used to authorize API
requests requiring the caller to be the currently enabled cloud
provider.
2. Introduced a SyncRequestParams object to encapsulate the sync
provider request options to be executed.
3. Split the clearCachedCloudMediaInfo method into
more specific resetCachedMediaInfo and setCloudProviderInfo
4. Flag guarded provider syncing on the picker db flag. This avoids
picker db sync related bugs when the flag is off.

Test: atest PickerSyncControllerTest
Bug: 195008799
Change-Id: I1885bd7a1a35e7cc16d1c1252aa494dcde09e92e
3 files changed