Searched refs:STATE_QUEUED (Results 1 – 8 of 8) sorted by relevance
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/ |
D | ActionFileUpgradeUtilTest.java | 99 assertDownloadIndexContainsRequest(expectedRequest1, Download.STATE_QUEUED); in upgradeAndDelete_createsDownloads() 100 assertDownloadIndexContainsRequest(expectedRequest2, Download.STATE_QUEUED); in upgradeAndDelete_createsDownloads() 120 assertDownloadIndexContainsRequest(request, Download.STATE_QUEUED); in mergeRequest_nonExistingDownload_createsNewDownload() 157 assertThat(download.state).isEqualTo(Download.STATE_QUEUED); in mergeRequest_existingDownload_createsMergedDownload() 188 assertThat(downloadIndex.getDownload(request1.id).state).isEqualTo(Download.STATE_QUEUED); in mergeRequest_addNewDownloadAsCompleted()
|
D | DownloadManagerTest.java | 514 .setState(Download.STATE_QUEUED) in mergeRequest_failed_becomesQueued() 701 return assertState(Download.STATE_QUEUED); in assertQueued()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | Download.java | 36 STATE_QUEUED, 57 public static final int STATE_QUEUED = 0; field in Download 135 Assertions.checkArgument(state != STATE_DOWNLOADING && state != STATE_QUEUED); in Download()
|
D | ActionFileUpgradeUtil.java | 18 import static com.google.android.exoplayer2.offline.Download.STATE_QUEUED; 111 addNewDownloadAsCompleted ? Download.STATE_COMPLETED : STATE_QUEUED, in mergeRequest()
|
D | DownloadManager.java | 23 import static com.google.android.exoplayer2.offline.Download.STATE_QUEUED; 544 if (downloads.get(i).state == STATE_QUEUED) { in updateWaitingForRequirements() 638 state = STATE_QUEUED; in mergeRequest() 760 STATE_QUEUED, STATE_STOPPED, STATE_DOWNLOADING, STATE_REMOVING, STATE_RESTARTING); in initialize() 817 putDownloadWithState(download, STATE_QUEUED); in setStopReason() 821 if (state == STATE_QUEUED || state == STATE_DOWNLOADING) { in setStopReason() 855 stopReason != STOP_REASON_NONE ? STATE_STOPPED : STATE_QUEUED, in addDownload() 933 case STATE_QUEUED: in syncTasks() 1001 putDownloadWithState(download, STATE_QUEUED); in syncDownloadingDownload() 1083 case STATE_QUEUED: in onTaskStopped() [all …]
|
D | DefaultDownloadIndex.java | 230 values.put(COLUMN_STATE, Download.STATE_QUEUED); in setDownloadingStatesToQueued()
|
D | DownloadService.java | 1000 if (downloads.get(i).state == Download.STATE_QUEUED) { in onWaitingForRequirementsChanged()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | DownloadBuilder.java | 98 this.state = Download.STATE_QUEUED; in DownloadBuilder()
|