Home
last modified time | relevance | path

Searched refs:STATE_FAILED (Results 1 – 14 of 14) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownload.java40 STATE_FAILED,
65 public static final int STATE_FAILED = 4; field in Download
133 Assertions.checkArgument((failureReason == FAILURE_REASON_NONE) == (state != STATE_FAILED)); in Download()
149 return state == STATE_COMPLETED || state == STATE_FAILED; in isTerminalState()
DDownloadManager.java22 import static com.google.android.exoplayer2.offline.Download.STATE_FAILED;
877 try (DownloadCursor cursor = downloadIndex.getDownloads(STATE_COMPLETED, STATE_FAILED)) { in removeAllDownloads() argument
945 case STATE_FAILED: in syncTasks()
1086 case STATE_FAILED: 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()
DDefaultDownloadIndex.java77 getStateQuery(Download.STATE_COMPLETED, Download.STATE_FAILED);
362 state == Download.STATE_FAILED in getDownloadForCurrentRow()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDefaultDownloadIndexTest.java79 .setState(Download.STATE_FAILED) in addAndGetDownload_existingId_returnsUpdatedDownload()
225 .setState(Download.STATE_FAILED) in setStopReason_setReason()
257 .setState(Download.STATE_FAILED) in setStatesToRemoving_setsStateAndClearsFailureReason()
289 .setState(Download.STATE_FAILED) in setSingleDownloadStopReason_setReason()
DDownloadManagerTest.java504 .setState(Download.STATE_FAILED) in mergeRequest_failed_becomesQueued()
697 return assertState(Download.STATE_FAILED); in assertFailed()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DDownloadTracker.java89 return download != null && download.state != Download.STATE_FAILED; in isDownloaded()
94 return download != null && download.state != Download.STATE_FAILED ? download.request : null; in getDownloadRequest()
DDemoDownloadService.java105 } else if (download.state == Download.STATE_FAILED) { in onDownloadChanged()
/external/webrtc/p2p/base/
Dice_transport_internal.h200 STATE_FAILED enumerator
Dp2p_transport_channel.cc405 return IceTransportState::STATE_FAILED; in ComputeState()
1838 state == IceTransportState::STATE_FAILED); in UpdateState()
1842 state == IceTransportState::STATE_FAILED); in UpdateState()
1849 state == IceTransportState::STATE_FAILED); in UpdateState()
1851 case IceTransportState::STATE_FAILED: in UpdateState()
Dfake_ice_transport.h134 return had_connection_ ? IceTransportState::STATE_FAILED in GetState()
Dp2p_transport_channel_unittest.cc3515 EXPECT_EQ_WAIT(IceTransportState::STATE_FAILED, channel_state(), in TEST_F()
4285 EXPECT_EQ_SIMULATED_WAIT(IceTransportState::STATE_FAILED, ch.GetState(), in TEST_F()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestDownloadManagerListener.java82 if (download.state == Download.STATE_FAILED) { in onDownloadChanged()
/external/webrtc/pc/
Djsep_transport_controller.cc1231 cricket::IceTransportState::STATE_FAILED; in UpdateAggregateStates_n()
Djsep_transport_controller_unittest.cc735 IceTransportState::kFailed, cricket::IceTransportState::STATE_FAILED); in TEST_F()