Searched refs:testSession (Results 1 – 3 of 3) sorted by relevance
90 Session testSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testStartSession() local91 assertEquals(TEST_PARENT_NAME, testSession.getShortMethodName()); in testStartSession()92 assertFalse(testSession.isSessionCompleted()); in testStartSession()93 assertFalse(testSession.isStartedFromActiveSession()); in testStartSession()132 Session testSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testEndSession() local141 assertTrue(testSession.isSessionCompleted()); in testEndSession()142 assertTrue(testSession.getLocalExecutionTime() > 0); in testEndSession()182 Session testSession = mTestSessionManager.createSubsession(); in testCreateSubsession() local186 assertNotNull(testSession.getParentSession()); in testCreateSubsession()187 assertEquals(TEST_PARENT_NAME, testSession.getParentSession().getShortMethodName()); in testCreateSubsession()[all …]
34 private TestSession testSession; field in TisSessionTest40 testSession = new TestSession(testCallback); in setup()46 testSession.notifyChannelRetuned(uri); in notifyChannelReturned()54 testSession.notifyTracksChanged(tracks); in notifyTracksChanged()60 testSession.notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, "audio_test"); in notifyTrackSelected()67 testSession.notifyVideoAvailable(); in notifyVideoAvailable()73 testSession.notifyVideoUnavailable(TvInputManager.VIDEO_UNAVAILABLE_REASON_UNKNOWN); in notifyVideoUnavailable()80 testSession.notifyContentAllowed(); in notifyContentAllowed()87 testSession.notifyContentBlocked(rating); in notifyContentBlocked()93 testSession.notifyTimeShiftStatusChanged(TvInputManager.TIME_SHIFT_STATUS_AVAILABLE); in notifyTimeShiftStatusChanged()[all …]
54 WrappedSession testSession = createTestSession(); in onRelease() local55 sessionManager.addSession(testSession); in onRelease()57 testSession.onRelease(); in onRelease()63 WrappedSession testSession = createTestSession(); in onRelease_withUnRegisteredSession() local66 testSession.onRelease(); in onRelease_withUnRegisteredSession()72 WrappedSession testSession = createTestSession(); in getSessions() local73 sessionManager.addSession(testSession); in getSessions()74 assertThat(sessionManager.getSessions()).containsExactly(testSession); in getSessions()