Home
last modified time | relevance | path

Searched refs:sessionManager (Results 1 – 13 of 13) sorted by relevance

/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/
DSimpleSessionManagerTest.java27 private SimpleSessionManager sessionManager; field in SimpleSessionManagerTest
31 sessionManager = new SimpleSessionManager(1); in setup()
36 assertThat(sessionManager.canCreateNewSession()).isTrue(); in canCreateSession_none()
41 sessionManager.addSession(createTestSession()); in canCreateSession_one()
42 assertThat(sessionManager.canCreateNewSession()).isFalse(); in canCreateSession_one()
47 assertThat(sessionManager.getSessionCount()).isEqualTo(0); in addSession()
48 sessionManager.addSession(createTestSession()); in addSession()
49 assertThat(sessionManager.getSessionCount()).isEqualTo(1); in addSession()
55 sessionManager.addSession(testSession); in onRelease()
56 assertThat(sessionManager.getSessionCount()).isEqualTo(1); in onRelease()
[all …]
DWrappedSessionTest.java38 private SimpleSessionManager sessionManager = new SimpleSessionManager(1); field in WrappedSessionTest
46 sessionManager, in setup()
53 sessionManager.addSession(wrappedSession); in onRelease()
54 assertThat(sessionManager.getSessionCount()).isEqualTo(1); in onRelease()
56 assertThat(sessionManager.getSessionCount()).isEqualTo(0); in onRelease()
DBaseTvInputServiceTest.java32 private final SessionManager sessionManager = new SimpleSessionManager(1); field in BaseTvInputServiceTest.TestTvInputService
82 return sessionManager; in getSessionManager()
/packages/apps/TV/common/src/com/android/tv/common/support/tis/
DBaseTvInputService.java61 SessionManager sessionManager = getSessionManager(); in onCreateSession() local
62 if (sessionManager.canCreateNewSession()) { in onCreateSession()
66 sessionManager, in onCreateSession()
69 sessionManager.addSession(session); in onCreateSession()
DWrappedSession.java43 SessionManager sessionManager, in WrappedSession() argument
47 this.listener = sessionManager; in WrappedSession()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java124 InputSessionManager sessionManager, in InputTaskScheduler() argument
133 sessionManager, in InputTaskScheduler()
146 InputSessionManager sessionManager, in InputTaskScheduler() argument
156 mSessionManager = sessionManager; in InputTaskScheduler()
168 InputSessionManager sessionManager, in InputTaskScheduler()
426 InputSessionManager sessionManager, in createRecordingTask() argument
DRecordingScheduler.java142 InputSessionManager sessionManager, in RecordingScheduler() argument
151 mSessionManager = sessionManager; in RecordingScheduler()
DRecordingTask.java140 InputSessionManager sessionManager, in RecordingTask() argument
146 mSessionManager = sessionManager; in RecordingTask()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentSessionFactory.java31 public CaptureSession createNewSession(CaptureSessionManager sessionManager, in createNewSession() argument
34 return new CaptureIntentSession(title, location, sessionManager, sessionNotifier); in createNewSession()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionFactoryImpl.java41 public CaptureSession createNewSession(CaptureSessionManager sessionManager, in createNewSession() argument
47 sessionManager, sessionNotifier, mPlaceholderManager, mMediaSaver, in createNewSession()
DCaptureSessionFactory.java33 public CaptureSession createNewSession(CaptureSessionManager sessionManager, in createNewSession() argument
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java104 InputSessionManager sessionManager, in setUp()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java2998 CaptureSessionManager sessionManager = getServices() in updateBottomControlsByData() local
3001 if (sessionManager.hasErrorMessage(contentUri)) { in updateBottomControlsByData()
3002 showProcessError(sessionManager.getErrorMessageId(contentUri)); in updateBottomControlsByData()