Home
last modified time | relevance | path

Searched refs:STATE_COMPLETED (Results 1 – 15 of 15) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownload.java39 STATE_COMPLETED,
63 public static final int STATE_COMPLETED = 3; field in Download
149 return state == STATE_COMPLETED || state == STATE_FAILED; in isTerminalState()
DDownloadManager.java20 import static com.google.android.exoplayer2.offline.Download.STATE_COMPLETED;
877 try (DownloadCursor cursor = downloadIndex.getDownloads(STATE_COMPLETED, STATE_FAILED)) { in removeAllDownloads()
944 case STATE_COMPLETED: in syncTasks()
1085 case STATE_COMPLETED: in onTaskStopped()
1098 finalError == null ? STATE_COMPLETED : STATE_FAILED, in onDownloadTaskStopped()
1163 state != STATE_COMPLETED && state != STATE_FAILED && state != STATE_STOPPED); in putDownloadWithState()
1169 Assertions.checkState(download.state != STATE_COMPLETED && download.state != STATE_FAILED); in putDownload()
DActionFileUpgradeUtil.java111 addNewDownloadAsCompleted ? Download.STATE_COMPLETED : STATE_QUEUED, in mergeRequest()
DDefaultDownloadIndex.java77 getStateQuery(Download.STATE_COMPLETED, Download.STATE_FAILED);
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDefaultDownloadIndexTest.java159 new DownloadBuilder("id3").setStartTimeMs(2).setState(Download.STATE_COMPLETED).build(); in getDownloads_withStates_returnsAllDownloadStatusWithTheSameStates()
163 downloadIndex.getDownloads(Download.STATE_REMOVING, Download.STATE_COMPLETED)) { in getDownloads_withStates_returnsAllDownloadStatusWithTheSameStates() argument
209 new DownloadBuilder(id).setState(Download.STATE_COMPLETED).setStopReason(0x12345678); in setStopReason_setReasonToNone()
273 new DownloadBuilder(id).setState(Download.STATE_COMPLETED).setStopReason(0x12345678); in setSingleDownloadStopReason_setReasonToNone()
DActionFileUpgradeUtilTest.java193 assertThat(downloadIndex.getDownload(request2.id).state).isEqualTo(Download.STATE_COMPLETED); in mergeRequest_addNewDownloadAsCompleted()
DDownloadManagerTest.java540 .setState(Download.STATE_COMPLETED) in mergeRequest_completedWithStopReason_becomesStopped()
689 return assertState(Download.STATE_COMPLETED); in assertCompleted()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DDemoDownloadService.java99 if (download.state == Download.STATE_COMPLETED) { in onDownloadChanged()
/external/webrtc/p2p/base/
Dice_transport_internal.h199 STATE_COMPLETED, enumerator
Dp2p_transport_channel.cc423 return IceTransportState::STATE_COMPLETED; in ComputeState()
1837 state == IceTransportState::STATE_COMPLETED || in UpdateState()
1841 RTC_DCHECK(state == IceTransportState::STATE_COMPLETED || in UpdateState()
1844 case IceTransportState::STATE_COMPLETED: in UpdateState()
1855 state == IceTransportState::STATE_COMPLETED); in UpdateState()
Dfake_ice_transport.h139 return IceTransportState::STATE_COMPLETED; in GetState()
Dbasic_ice_controller.cc321 return ice_transport_state_func_() == IceTransportState::STATE_COMPLETED && in IsBackupConnection()
Dp2p_transport_channel_unittest.cc2872 ASSERT_TRUE_WAIT(ep2_ch1()->GetState() == IceTransportState::STATE_COMPLETED, in TEST_F()
2899 EXPECT_EQ_SIMULATED_WAIT(IceTransportState::STATE_COMPLETED, in TEST_F()
2901 EXPECT_EQ_SIMULATED_WAIT(IceTransportState::STATE_COMPLETED, in TEST_F()
2981 ep1_ch1()->GetState() == IceTransportState::STATE_COMPLETED && in TEST_F()
2987 ep2_ch1()->GetState() == IceTransportState::STATE_COMPLETED && in TEST_F()
4281 EXPECT_EQ(IceTransportState::STATE_COMPLETED, ch.GetState()); in TEST_F()
4321 EXPECT_EQ(IceTransportState::STATE_COMPLETED, ch.GetState()); in TEST_F()
4339 EXPECT_EQ(IceTransportState::STATE_COMPLETED, ch.GetState()); in TEST_F()
/external/webrtc/pc/
Djsep_transport_controller_unittest.cc723 cricket::IceTransportState::STATE_COMPLETED); in TEST_F()
753 cricket::IceTransportState::STATE_COMPLETED); in TEST_F()
Djsep_transport_controller.cc1236 cricket::IceTransportState::STATE_COMPLETED && in UpdateAggregateStates_n()