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/ |
D | Download.java | 39 STATE_COMPLETED, 63 public static final int STATE_COMPLETED = 3; field in Download 149 return state == STATE_COMPLETED || state == STATE_FAILED; in isTerminalState()
|
D | DownloadManager.java | 20 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()
|
D | ActionFileUpgradeUtil.java | 111 addNewDownloadAsCompleted ? Download.STATE_COMPLETED : STATE_QUEUED, in mergeRequest()
|
D | DefaultDownloadIndex.java | 77 getStateQuery(Download.STATE_COMPLETED, Download.STATE_FAILED);
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/ |
D | DefaultDownloadIndexTest.java | 159 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()
|
D | ActionFileUpgradeUtilTest.java | 193 assertThat(downloadIndex.getDownload(request2.id).state).isEqualTo(Download.STATE_COMPLETED); in mergeRequest_addNewDownloadAsCompleted()
|
D | DownloadManagerTest.java | 540 .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/ |
D | DemoDownloadService.java | 99 if (download.state == Download.STATE_COMPLETED) { in onDownloadChanged()
|
/external/webrtc/p2p/base/ |
D | ice_transport_internal.h | 199 STATE_COMPLETED, enumerator
|
D | p2p_transport_channel.cc | 423 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()
|
D | fake_ice_transport.h | 139 return IceTransportState::STATE_COMPLETED; in GetState()
|
D | basic_ice_controller.cc | 321 return ice_transport_state_func_() == IceTransportState::STATE_COMPLETED && in IsBackupConnection()
|
D | p2p_transport_channel_unittest.cc | 2872 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/ |
D | jsep_transport_controller_unittest.cc | 723 cricket::IceTransportState::STATE_COMPLETED); in TEST_F() 753 cricket::IceTransportState::STATE_COMPLETED); in TEST_F()
|
D | jsep_transport_controller.cc | 1236 cricket::IceTransportState::STATE_COMPLETED && in UpdateAggregateStates_n()
|