Lines Matching defs:session

181     // A mapping from the sequence number of a session to its SessionCallbackRecord.
185 // A sequence number for the next session to be created. Should be protected by a lock
196 * Interface used to receive the created session.
204 * @param session A {@link TvInputManager.Session} instance created. This can be
207 public void onSessionCreated(Session session) {
212 * This typically happens when the process hosting the session has crashed or been killed.
214 * @param session A {@link TvInputManager.Session} instance released.
216 public void onSessionReleased(Session session) {
220 * This is called when the channel of this session is changed by the underlying TV input
223 * @param session A {@link TvInputManager.Session} associated with this callback.
226 public void onChannelRetuned(Session session, Uri channelUri) {
230 * This is called when the track information of the session has been changed.
232 * @param session A {@link TvInputManager.Session} associated with this callback.
235 public void onTracksChanged(Session session, List<TvTrackInfo> tracks) {
241 * @param session A {@link TvInputManager.Session} associated with this callback.
248 public void onTrackSelected(Session session, int type, String trackId) {
253 * time video size information becomes available after the session is tuned to a specific
256 * @param session A {@link TvInputManager.Session} associated with this callback.
260 public void onVideoSizeChanged(Session session, int width, int height) {
266 * @param session A {@link TvInputManager.Session} associated with this callback.
268 public void onVideoAvailable(Session session) {
274 * @param session A {@link TvInputManager.Session} associated with this callback
283 public void onVideoUnavailable(Session session, int reason) {
290 * @param session A {@link TvInputManager.Session} associated with this callback
292 public void onContentAllowed(Session session) {
299 * @param session A {@link TvInputManager.Session} associated with this callback
302 public void onContentBlocked(Session session, TvContentRating rating) {
309 * @param session A {@link TvInputManager.Session} associated with this callback
317 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) {
321 * This is called when a custom event has been sent from this session.
323 * @param session A {@link TvInputManager.Session} associated with this callback
329 public void onSessionEvent(Session session, String eventType, Bundle eventArgs) {
344 void postSessionCreated(final Session session) {
345 mSession = session;
349 mSessionCallback.onSessionCreated(session);
578 Session session = null;
580 session = new Session(token, channel, mService, mUserId, seq,
583 record.postSessionCreated(session);
1004 * @param callback A callback used to receive the created session.
1005 * @param handler A {@link Handler} that the session creation will be delivered to.
1075 * Returns true if there is only a single TV input session.
1147 * The Session provides the per-session functionality of TV inputs.
1203 * Releases this session.
1207 Log.w(TAG, "The session has been already released");
1220 * Sets this as the main session. The main session is a session whose corresponding TV
1227 Log.w(TAG, "The session has been already released");
1238 * Sets the {@link android.view.Surface} for this session.
1244 Log.w(TAG, "The session has been already released");
1267 Log.w(TAG, "The session has been already released");
1278 * Sets the relative stream volume of this session to handle a change of audio focus.
1285 Log.w(TAG, "The session has been already released");
1322 Log.w(TAG, "The session has been already released");
1343 * Enables or disables the caption for this session.
1349 Log.w(TAG, "The session has been already released");
1391 Log.w(TAG, "The session has been already released");
1543 Log.w(TAG, "The session has been already released");
1557 * Since a session can have only one overlay view, this method should be called only once
1576 Log.w(TAG, "The session has been already released");
1597 Log.w(TAG, "The session has been already released");
1612 Log.w(TAG, "The session has been already released");
1627 Log.w(TAG, "The session has been already released");
1641 * Dispatches an input event to this session.
1681 * Callback that is invoked when an input event that was dispatched to this session has been
1725 Log.w(TAG, "Unable to send input event to session: " + mToken + " dropping:"