Home
last modified time | relevance | path

Searched refs:TvInputManager (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/media/java/android/media/tv/
DBroadcastInfoResponse.java56 @TvInputManager.BroadcastInfoType int type = source.readInt();
58 case TvInputManager.BROADCAST_INFO_TYPE_TS:
60 case TvInputManager.BROADCAST_INFO_TYPE_TABLE:
62 case TvInputManager.BROADCAST_INFO_TYPE_SECTION:
64 case TvInputManager.BROADCAST_INFO_TYPE_PES:
66 case TvInputManager.BROADCAST_INFO_STREAM_EVENT:
68 case TvInputManager.BROADCAST_INFO_TYPE_DSMCC:
70 case TvInputManager.BROADCAST_INFO_TYPE_COMMAND:
72 case TvInputManager.BROADCAST_INFO_TYPE_TIMELINE:
74 case TvInputManager.BROADCAST_INFO_TYPE_SIGNALING_DATA:
[all …]
DBroadcastInfoRequest.java70 @TvInputManager.BroadcastInfoType int type = source.readInt();
72 case TvInputManager.BROADCAST_INFO_TYPE_TS:
74 case TvInputManager.BROADCAST_INFO_TYPE_TABLE:
76 case TvInputManager.BROADCAST_INFO_TYPE_SECTION:
78 case TvInputManager.BROADCAST_INFO_TYPE_PES:
80 case TvInputManager.BROADCAST_INFO_STREAM_EVENT:
82 case TvInputManager.BROADCAST_INFO_TYPE_DSMCC:
84 case TvInputManager.BROADCAST_INFO_TYPE_COMMAND:
86 case TvInputManager.BROADCAST_INFO_TYPE_TIMELINE:
88 case TvInputManager.BROADCAST_INFO_TYPE_SIGNALING_DATA:
[all …]
DTvRecordingClient.java23 import android.media.tv.TvInputManager;
48 private final TvInputManager mTvInputManager;
49 private TvInputManager.Session mSession;
72 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in TvRecordingClient()
401 public TvInputManager.SessionCallback getSessionCallback() { in getSessionCallback()
457 public void onError(@TvInputManager.RecordingError int error) { in onError()
473 private class MySessionCallback extends TvInputManager.SessionCallback {
485 public void onSessionCreated(TvInputManager.Session session) { in onSessionCreated()
517 public void onTuned(TvInputManager.Session session, Uri channelUri) { in onTuned()
539 public void onSessionReleased(TvInputManager.Session session) { in onSessionReleased()
[all …]
DTvInputService.java161 private TvInputManager mTvInputManager;
491 mTvInputManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE); in isPassthroughInput()
516 private long mStartPositionMs = TvInputManager.TIME_SHIFT_INVALID_TIME;
517 private long mCurrentPositionMs = TvInputManager.TIME_SHIFT_INVALID_TIME;
747 @TvInputManager.VideoUnavailableReason final int reason) { in notifyVideoUnavailable()
748 if (reason < TvInputManager.VIDEO_UNAVAILABLE_REASON_START in notifyVideoUnavailable()
749 || reason > TvInputManager.VIDEO_UNAVAILABLE_REASON_END) { in notifyVideoUnavailable()
975 public void notifyTimeShiftStatusChanged(@TvInputManager.TimeShiftStatus final int status) { in notifyTimeShiftStatusChanged()
981 status == TvInputManager.TIME_SHIFT_STATUS_AVAILABLE); in notifyTimeShiftStatusChanged()
1085 public void notifyTvMessage(@TvInputManager.TvMessageType int type, in notifyTvMessage()
[all …]
DTsRequest.java27 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
28 TvInputManager.BROADCAST_INFO_TYPE_TS;
DPesResponse.java28 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
29 TvInputManager.BROADCAST_INFO_TYPE_PES;
DTsResponse.java28 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
29 TvInputManager.BROADCAST_INFO_TYPE_TS;
DPesRequest.java27 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
28 TvInputManager.BROADCAST_INFO_TYPE_PES;
DDsmccRequest.java28 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
29 TvInputManager.BROADCAST_INFO_TYPE_DSMCC;
DSectionRequest.java27 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
28 TvInputManager.BROADCAST_INFO_TYPE_SECTION;
DCommandResponse.java30 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
31 TvInputManager.BROADCAST_INFO_TYPE_COMMAND;
DTimelineRequest.java28 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
29 TvInputManager.BROADCAST_INFO_TYPE_TIMELINE;
DStreamEventRequest.java28 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
29 TvInputManager.BROADCAST_INFO_STREAM_EVENT;
DSectionResponse.java29 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
30 TvInputManager.BROADCAST_INFO_TYPE_SECTION;
DStreamEventResponse.java28 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
29 TvInputManager.BROADCAST_INFO_STREAM_EVENT;
DTableRequest.java31 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
32 TvInputManager.BROADCAST_INFO_TYPE_TABLE;
DTimelineResponse.java29 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
30 TvInputManager.BROADCAST_INFO_TYPE_TIMELINE;
DCommandRequest.java29 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
30 TvInputManager.BROADCAST_INFO_TYPE_COMMAND;
DTvView.java38 import android.media.tv.TvInputManager.Session;
39 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback;
40 import android.media.tv.TvInputManager.SessionCallback;
100 private final TvInputManager mTvInputManager;
196 mTvInputManager = (TvInputManager) getContext().getSystemService(Context.TV_INPUT_SERVICE); in TvView()
643 public void timeShiftSetMode(@android.media.tv.TvInputManager.TimeShiftMode int mode) { in timeShiftSetMode()
707 public void notifyTvMessage(@TvInputManager.TvMessageType int type, in notifyTvMessage()
805 public void setTvMessageEnabled(@TvInputManager.TvMessageType int type, in setTvMessageEnabled()
1200 String inputId, @TvInputManager.VideoUnavailableReason int reason) { in onVideoUnavailable()
1246 String inputId, @TvInputManager.TimeShiftStatus int status) { in onTimeShiftStatusChanged()
[all …]
DSignalingDataResponse.java49 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
50 TvInputManager.BROADCAST_INFO_TYPE_SIGNALING_DATA;
DTvInputInfo.java535 if (state == TvInputManager.INPUT_STATE_CONNECTED) { in loadIcon()
537 } else if (state == TvInputManager.INPUT_STATE_CONNECTED_STANDBY) { in loadIcon()
541 } else if (state == TvInputManager.INPUT_STATE_DISCONNECTED) { in loadIcon()
782 if (state == TvInputManager.INPUT_STATE_CONNECTED) { in setIcon()
784 } else if (state == TvInputManager.INPUT_STATE_CONNECTED_STANDBY) { in setIcon()
786 } else if (state == TvInputManager.INPUT_STATE_DISCONNECTED) { in setIcon()
1138 TvInputManager tm = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in putHiddenTvInputs()
1177 TvInputManager tm = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in putCustomLabels()
DSignalingDataRequest.java40 private static final @TvInputManager.BroadcastInfoType int REQUEST_TYPE =
41 TvInputManager.BROADCAST_INFO_TYPE_SIGNALING_DATA;
DTableResponse.java30 private static final @TvInputManager.BroadcastInfoType int RESPONSE_TYPE =
31 TvInputManager.BROADCAST_INFO_TYPE_TABLE;
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/
DTvInputServiceManagerTest.java19 import static android.media.tv.TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING;
20 import static android.media.tv.TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_UNKNOWN;
21 import static android.media.tv.TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING;
22 import static android.media.tv.TvInputManager.VIDEO_UNAVAILABLE_REASON_UNKNOWN;
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java22 import android.media.tv.TvInputManager;
219 TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED), UserHandle.ALL); in broadcastChangesIfNeeded()
223 mContext.sendBroadcastAsUser(new Intent(TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED), in broadcastChangesIfNeeded()

123