Home
last modified time | relevance | path

Searched refs:mVideoPauseTracker (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsVideoProviderWrapperTest.java46 VideoPauseTracker mVideoPauseTracker; field in ImsVideoProviderWrapperTest
52 mVideoPauseTracker = mock(VideoPauseTracker.class); in setUp()
53 mImsVideoCallProviderWrapper = new ImsVideoCallProviderWrapper(null, mVideoPauseTracker); in setUp()
54 when(mVideoPauseTracker.shouldPauseVideoFor(anyInt())).thenReturn(true); in setUp()
55 when(mVideoPauseTracker.shouldResumeVideoFor(anyInt())).thenReturn(true); in setUp()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsVideoCallProviderWrapper.java75 private VideoPauseTracker mVideoPauseTracker = new VideoPauseTracker(); field in ImsVideoCallProviderWrapper
259 mVideoPauseTracker = videoPauseTracker; in ImsVideoCallProviderWrapper()
467 if (!mVideoPauseTracker.shouldPauseVideoFor(source) && !isPauseSpecialCase) { in maybeFilterPauseResume()
501 if (!mVideoPauseTracker.shouldResumeVideoFor(source)) { in maybeFilterPauseResume()
520 if (mVideoPauseTracker.shouldPauseVideoFor(source)) { in pauseVideo()
545 if (mVideoPauseTracker.shouldResumeVideoFor(source)) { in resumeVideo()
569 return mVideoPauseTracker.wasVideoPausedFromSource(source); in wasVideoPausedFromSource()
590 mVideoPauseTracker.clearPauseRequests(); in onVideoStateChanged()