/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | Download.java | 95 public final int stopReason; field in Download 110 int stopReason, in Download() argument 118 stopReason, in Download() 129 int stopReason, in Download() argument 134 if (stopReason != 0) { in Download() 142 this.stopReason = stopReason; in Download()
|
D | DownloadManager.java | 423 public void setStopReason(@Nullable String id, int stopReason) { in setStopReason() argument 426 .obtainMessage(MSG_SET_STOP_REASON, stopReason, /* unused */ 0, id) in setStopReason() 446 public void addDownload(DownloadRequest request, int stopReason) { in addDownload() argument 449 .obtainMessage(MSG_ADD_DOWNLOAD, stopReason, /* unused */ 0, request) in addDownload() 626 Download download, DownloadRequest request, int stopReason, long nowMs) { in mergeRequest() argument 635 } else if (stopReason != STOP_REASON_NONE) { in mergeRequest() 646 stopReason, in mergeRequest() 707 int stopReason = message.arg1; in handleMessage() local 708 setStopReason(id, stopReason); in handleMessage() 720 stopReason = message.arg1; in handleMessage() [all …]
|
D | DownloadService.java | 315 int stopReason, in buildAddDownloadIntent() argument 319 .putExtra(KEY_STOP_REASON, stopReason); in buildAddDownloadIntent() 391 int stopReason, in buildSetStopReasonIntent() argument 395 .putExtra(KEY_STOP_REASON, stopReason); in buildSetStopReasonIntent() 448 int stopReason, in sendAddDownload() argument 450 Intent intent = buildAddDownloadIntent(context, clazz, downloadRequest, stopReason, foreground); in sendAddDownload() 521 int stopReason, in sendSetStopReason() argument 523 Intent intent = buildSetStopReasonIntent(context, clazz, id, stopReason, foreground); in sendSetStopReason() 626 int stopReason = intent.getIntExtra(KEY_STOP_REASON, Download.STOP_REASON_NONE); in onStartCommand() local 627 downloadManager.addDownload(downloadRequest, stopReason); in onStartCommand() [all …]
|
D | WritableDownloadIndex.java | 73 void setStopReason(int stopReason) throws IOException; in setStopReason() argument 86 void setStopReason(String id, int stopReason) throws IOException; in setStopReason() argument
|
D | DefaultDownloadIndex.java | 203 values.put(COLUMN_STOP_REASON, download.stopReason); in putDownload() 255 public void setStopReason(int stopReason) throws DatabaseIOException { in setStopReason() argument 259 values.put(COLUMN_STOP_REASON, stopReason); in setStopReason() 268 public void setStopReason(String id, int stopReason) throws DatabaseIOException { in setStopReason() argument 272 values.put(COLUMN_STOP_REASON, stopReason); in setStopReason()
|
D | ActionFileUpgradeUtil.java | 106 download = DownloadManager.mergeRequest(download, request, download.stopReason, nowMs); in mergeRequest()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | DownloadBuilder.java | 51 private int stopReason; field in DownloadBuilder 159 public DownloadBuilder setStopReason(int stopReason) { in setStopReason() argument 160 this.stopReason = stopReason; in setStopReason() 197 stopReason, in build()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/ |
D | DefaultDownloadIndexTest.java | 229 int stopReason = 0x12345678; in setStopReason_setReason() local 231 downloadIndex.setStopReason(stopReason); in setStopReason_setReason() 234 Download expectedDownload = downloadBuilder.setStopReason(stopReason).build(); in setStopReason_setReason() 293 int stopReason = 0x12345678; in setSingleDownloadStopReason_setReason() local 295 downloadIndex.setStopReason(id, stopReason); in setSingleDownloadStopReason_setReason() 298 Download expectedDownload = downloadBuilder.setStopReason(stopReason).build(); in setSingleDownloadStopReason_setReason() 322 assertThat(download.stopReason).isEqualTo(that.stopReason); in assertEqual()
|
D | DownloadManagerTest.java | 492 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_removing_becomesRestarting() 509 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_failed_becomesQueued() 530 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_stopped_staysStopped() 545 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_completedWithStopReason_becomesStopped() 593 assertThat(download.stopReason).isEqualTo(that.stopReason); in assertEqualIgnoringUpdateTime()
|
/external/llvm-project/lldb/tools/lldb-vscode/ |
D | lldb-vscode.cpp | 846 auto stopReason = thread.GetStopReason(); in request_exceptionInfo() local 847 if (stopReason == lldb::eStopReasonSignal) in request_exceptionInfo() 849 else if (stopReason == lldb::eStopReasonBreakpoint) { in request_exceptionInfo()
|