Searched refs:isVideo (Results 1 – 4 of 4) sorted by relevance
42 assertTrue(VideoProfile.isVideo(VideoProfile.STATE_BIDIRECTIONAL)); in testIsVideo()43 assertTrue(VideoProfile.isVideo(VideoProfile.STATE_RX_ENABLED)); in testIsVideo()44 assertTrue(VideoProfile.isVideo(VideoProfile.STATE_TX_ENABLED)); in testIsVideo()45 assertTrue(VideoProfile.isVideo(VideoProfile.STATE_BIDIRECTIONAL | in testIsVideo()47 assertTrue(VideoProfile.isVideo(VideoProfile.STATE_RX_ENABLED | VideoProfile.STATE_PAUSED)); in testIsVideo()48 assertTrue(VideoProfile.isVideo(VideoProfile.STATE_TX_ENABLED | VideoProfile.STATE_PAUSED)); in testIsVideo()50 assertFalse(VideoProfile.isVideo(VideoProfile.STATE_AUDIO_ONLY)); in testIsVideo()51 assertFalse(VideoProfile.isVideo(VideoProfile.STATE_PAUSED)); in testIsVideo()
237 boolean isVideo = mime.startsWith("video/"); in addTrack()242 if (isVideo && mTunneled) { in addTrack()274 isVideo ? mSurfaceHolder.getSurface() : null, null, 0); in addTrack()277 if (isVideo) { in addTrack()
316 boolean isVideo = mime.startsWith("video/"); in addTrack()330 isVideo ? mSurfaceHolder.getSurface() : null, in addTrack()335 if (isVideo) { in addTrack()
1756 public static boolean isVideo(String mimeType) { in isVideo() method in MimeTypes