Home
last modified time | relevance | path

Searched refs:testSession (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSessionManagerTest.java90 Session testSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testStartSession() local
91 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() local
141 assertTrue(testSession.isSessionCompleted()); in testEndSession()
142 assertTrue(testSession.getLocalExecutionTime() > 0); in testEndSession()
182 Session testSession = mTestSessionManager.createSubsession(); in testCreateSubsession() local
186 assertNotNull(testSession.getParentSession()); in testCreateSubsession()
187 assertEquals(TEST_PARENT_NAME, testSession.getParentSession().getShortMethodName()); in testCreateSubsession()
[all …]
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/
DTisSessionTest.java34 private TestSession testSession; field in TisSessionTest
40 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 …]
DSimpleSessionManagerTest.java54 WrappedSession testSession = createTestSession(); in onRelease() local
55 sessionManager.addSession(testSession); in onRelease()
57 testSession.onRelease(); in onRelease()
63 WrappedSession testSession = createTestSession(); in onRelease_withUnRegisteredSession() local
66 testSession.onRelease(); in onRelease_withUnRegisteredSession()
72 WrappedSession testSession = createTestSession(); in getSessions() local
73 sessionManager.addSession(testSession); in getSessions()
74 assertThat(sessionManager.getSessions()).containsExactly(testSession); in getSessions()