Home
last modified time | relevance | path

Searched refs:STOP_REASON_NONE (Results 1 – 6 of 6) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDefaultDownloadIndexTest.java213 downloadIndex.setStopReason(Download.STOP_REASON_NONE); in setStopReason_setReasonToNone()
216 Download expectedDownload = downloadBuilder.setStopReason(Download.STOP_REASON_NONE).build(); in setStopReason_setReasonToNone()
277 downloadIndex.setStopReason(id, Download.STOP_REASON_NONE); in setSingleDownloadStopReason_setReasonToNone()
280 Download expectedDownload = downloadBuilder.setStopReason(Download.STOP_REASON_NONE).build(); in setSingleDownloadStopReason_setReasonToNone()
DDownloadManagerTest.java437 runOnMainThread(() -> downloadManager.setStopReason(task.taskId, Download.STOP_REASON_NONE)); in setAndClearSingleDownloadStopReason()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DActionFileUpgradeUtil.java115 Download.STOP_REASON_NONE, in mergeRequest()
DDownloadManager.java27 import static com.google.android.exoplayer2.offline.Download.STOP_REASON_NONE;
436 addDownload(request, STOP_REASON_NONE); in addDownload()
635 } else if (stopReason != STOP_REASON_NONE) { in mergeRequest()
815 if (stopReason == STOP_REASON_NONE) { in setStopReason()
855 stopReason != STOP_REASON_NONE ? STATE_STOPPED : STATE_QUEUED, in addDownload()
1121 download, download.stopReason == STOP_REASON_NONE ? STATE_QUEUED : STATE_STOPPED); in onRemoveTaskStopped()
DDownload.java82 public static final int STOP_REASON_NONE = 0; field in Download
DDownloadService.java18 import static com.google.android.exoplayer2.offline.Download.STOP_REASON_NONE;
297 return buildAddDownloadIntent(context, clazz, downloadRequest, STOP_REASON_NONE, foreground); in buildAddDownloadIntent()
626 int stopReason = intent.getIntExtra(KEY_STOP_REASON, Download.STOP_REASON_NONE); in onStartCommand()