Searched refs:STATE_REMOVING (Results 1 – 7 of 7) sorted by relevance
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | Download.java | 41 STATE_REMOVING, 67 public static final int STATE_REMOVING = 5; field in Download
|
D | DownloadManager.java | 24 import static com.google.android.exoplayer2.offline.Download.STATE_REMOVING; 632 state == STATE_REMOVING || download.isTerminalState() ? nowMs : download.startTimeMs; in mergeRequest() 633 if (state == STATE_REMOVING || state == STATE_RESTARTING) { in mergeRequest() 760 STATE_QUEUED, STATE_STOPPED, STATE_DOWNLOADING, STATE_REMOVING, STATE_RESTARTING); in initialize() 871 putDownloadWithState(download, STATE_REMOVING); in removeDownload() 885 downloads.set(i, copyDownloadWithState(downloads.get(i), STATE_REMOVING)); in removeAllDownloads() 888 downloads.add(copyDownloadWithState(terminalDownloads.get(i), STATE_REMOVING)); in removeAllDownloads() local 940 case STATE_REMOVING: in syncTasks() 1078 case STATE_REMOVING: in onTaskStopped()
|
D | DefaultDownloadIndex.java | 243 values.put(COLUMN_STATE, Download.STATE_REMOVING); in setStatesToRemoving()
|
D | DownloadService.java | 834 || state == Download.STATE_REMOVING in needsStartedService()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/ |
D | DefaultDownloadIndexTest.java | 153 new DownloadBuilder("id1").setStartTimeMs(0).setState(Download.STATE_REMOVING).build(); in getDownloads_withStates_returnsAllDownloadStatusWithTheSameStates() 163 downloadIndex.getDownloads(Download.STATE_REMOVING, Download.STATE_COMPLETED)) { in getDownloads_withStates_returnsAllDownloadStatusWithTheSameStates() 265 assertThat(download.state).isEqualTo(Download.STATE_REMOVING); in setStatesToRemoving_setsStateAndClearsFailureReason()
|
D | DownloadManagerTest.java | 488 new DownloadBuilder(downloadRequest).setState(Download.STATE_REMOVING); in mergeRequest_removing_becomesRestarting() 693 return assertState(Download.STATE_REMOVING); in assertRemoving()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | DownloadNotificationHelper.java | 69 if (download.state == Download.STATE_REMOVING) { in buildProgressNotification()
|