Searched refs:testSession (Results 1 – 3 of 3) sorted by relevance
92 Session testSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testStartSession() local93 assertEquals(TEST_PARENT_NAME, testSession.getShortMethodName()); in testStartSession()94 assertFalse(testSession.isSessionCompleted()); in testStartSession()95 assertFalse(testSession.isStartedFromActiveSession()); in testStartSession()134 Session testSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testEndSession() local143 assertTrue(testSession.isSessionCompleted()); in testEndSession()144 assertTrue(testSession.getLocalExecutionTime() > 0); in testEndSession()184 Session testSession = mTestSessionManager.createSubsession(); in testCreateSubsession() local188 assertNotNull(testSession.getParentSession()); in testCreateSubsession()189 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()