Home
last modified time | relevance | path

Searched refs:resetRequest (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DPickerSyncManagerTest.java332 final OneTimeWorkRequest resetRequest = in testImmediateLocalAlbumSync() local
334 assertThat(resetRequest.getWorkSpec().workerClassName) in testImmediateLocalAlbumSync()
336 assertThat(resetRequest.getWorkSpec().expedited).isTrue(); in testImmediateLocalAlbumSync()
337 assertThat(resetRequest.getWorkSpec().isPeriodic()).isFalse(); in testImmediateLocalAlbumSync()
338 assertThat(resetRequest.getWorkSpec().id).isNotNull(); in testImmediateLocalAlbumSync()
339 assertThat(resetRequest.getWorkSpec().constraints.requiresBatteryNotLow()).isFalse(); in testImmediateLocalAlbumSync()
340 assertThat(resetRequest.getWorkSpec().input.getInt(SYNC_WORKER_INPUT_SYNC_SOURCE, -1)) in testImmediateLocalAlbumSync()
370 final OneTimeWorkRequest resetRequest = in testImmediateCloudAlbumSync() local
372 assertThat(resetRequest.getWorkSpec().workerClassName) in testImmediateCloudAlbumSync()
374 assertThat(resetRequest.getWorkSpec().expedited).isTrue(); in testImmediateCloudAlbumSync()
[all …]
/packages/apps/Settings/src/com/android/settings/
DResetSubscriptionContract.java52 public ResetSubscriptionContract(Context context, ResetNetworkRequest resetRequest) { in ResetSubscriptionContract() argument
56 resetRequest.getResetTelephonyAndNetworkPolicyManager(), in ResetSubscriptionContract()
57 resetRequest.getResetApnSubId(), resetRequest.getResetImsSubId()); in ResetSubscriptionContract()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DPickerSyncManager.java321 final OneTimeWorkRequest resetRequest = in syncAlbumMediaForProviderImmediately() local
327 trackNewAlbumMediaSyncRequests(syncSource, resetRequest.getId()); in syncAlbumMediaForProviderImmediately()
337 resetRequest) in syncAlbumMediaForProviderImmediately()
344 markAlbumMediaSyncAsComplete(syncSource, resetRequest.getId()); in syncAlbumMediaForProviderImmediately()