Searched refs:channel (Results 51 - 75 of 83) sorted by relevance

1234

/packages/apps/TV/src/com/android/tv/menu/
H A DRecordCardView.java72 public void onBind(Channel channel, boolean selected) { argument
73 super.onBind(channel, selected);
76 mCurrentChannel = channel;
79 if (recording.getChannelId() == channel.getId()) {
H A DAppLinkCardView.java111 public void onBind(Channel channel, boolean selected) { argument
113 Log.d(TAG, "onBind(channelName=" + channel.getDisplayName() + ", selected=" + selected
116 mChannel = channel;
178 super.onBind(channel, selected);
182 AppLinkCardView cardView, final Channel channel, final int type) {
187 if (!cardView.mChannel.hasSameReadOnlyInfo(channel)) {
181 createChannelLogoCallback( AppLinkCardView cardView, final Channel channel, final int type) argument
/packages/apps/TV/src/com/android/tv/guide/
H A DProgramManager.java131 * Returns true if this channel is blocked.
175 // Position of selected genre to filter channel list.
319 * and subsequent @{link resetChannelListWithGenre(int)} calls will reset channel list
320 * with built channel list.
330 for (Channel channel : mChannels) {
332 Program currentProgram = mProgramDataManager.getCurrentProgram(channel.getId());
335 mGenreChannelList.get(GenreItems.getId(genre)).add(channel);
353 * Resets channel list with given genre.
355 * This notifies channel updates to listeners.
374 * Returns list genre ID's which has a channel
570 getChannelIndex(Channel channel) argument
[all...]
H A DProgramTableAdapter.java280 // The bottom-left of the last channel header view will have a rounded corner.
286 private void onBindChannel(Channel channel) { argument
287 if (DEBUG) Log.d(TAG, "onBindChannel " + channel);
289 mChannel = channel;
292 if (channel == null) {
300 String displayNumber = channel.getDisplayNumber();
316 isChannelLocked(channel) ? mChannelBlockedTextColor : mChannelTextColor);
320 if (isChannelLocked(channel)) {
324 mChannelNameView.setText(channel.getDisplayName());
330 createChannelLogoLoadedCallback(this, channel
477 isChannelLocked(Channel channel) argument
[all...]
H A DProgramItemView.java96 final Channel channel = tvActivity.getChannelDataManager()
101 tvActivity.tuneToChannel(channel);
111 final Channel channel = tvActivity.getChannelDataManager()
113 if (dvrManager.canRecord(channel.getInputId()) && entry.program != null) {
H A DProgramRow.java292 public void setChannel(Channel channel) { argument
293 mChannel = channel;
/packages/apps/TV/src/com/android/tv/util/
H A DPipInputManager.java109 public void onCurrentChannelUnavailable(Channel channel) { }
252 * Returns an PIP input corresponding to {@code channel}.
254 public PipInput getPipInput(Channel channel) { argument
255 if (channel == null) {
258 if (channel.isPassthrough()) {
259 return mPipInputMap.get(channel.getInputId());
342 * Returns {@code true}, if the input is available for PIP. If a channel of an input is
343 * already played or an input is not connected state or there is no browsable channel, the
358 * Gets a channel to play in a PIP view.
H A DUtils.java83 private static final String PATH_CHANNEL = "channel";
156 public static void setLastWatchedChannel(Context context, Channel channel) { argument
157 if (channel == null) {
158 Log.e(TAG, "setLastWatchedChannel: channel cannot be null");
162 .putString(PREF_KEY_LAST_WATCHED_CHANNEL_URI, channel.getUri().toString()).apply();
163 if (!channel.isPassthrough()) {
164 long channelId = channel.getId();
165 if (channel.getId() < 0) {
171 .putLong(PREF_KEY_LAST_WATCHED_CHANNEL_ID_FOR_INPUT + channel.getInputId(),
201 * Returns {@code true}, if {@code uri} is a channel UR
[all...]
/packages/apps/TV/src/com/android/tv/dvr/
H A DScheduler.java145 Channel channel = mChannelDataManager.getChannel(scheduledRecording.getChannelId());
146 RecordingTask recordingTask = new RecordingTask(scheduledRecording, channel, mDvrManager,
H A DDvrSessionManager.java81 public boolean canAcquireDvrSession(String inputId, Channel channel) { argument
H A DRecordingTask.java84 RecordingTask(ScheduledRecording scheduledRecording, Channel channel, argument
88 mChannel = channel;
184 Log.w(TAG, "Null channel for " + mScheduledRecording);
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
H A DProgramGuideJankTest.java117 protected void pressKeysForChannelNumber(String channel) { argument
118 UiDeviceUtils.pressKeys(mDevice, channel);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastListItem.java56 mChannelView = (TextView) findViewById(R.id.channel);
94 // Speak the date first, then channel name, then message body
/packages/apps/TV/tests/unit/src/com/android/tv/data/
H A DChannelTest.java264 public String getInputLabelForChannel(Channel channel) { argument
265 return channel.getInputId();
275 public String getInputLabelForChannel(Channel channel) { argument
276 return channel.getDescription();
/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DScheduledRecordingPresenter.java117 Channel channel = mChannelDataManager.getChannel(recording.getChannelId());
118 if (channel != null) {
119 cardView.setImageUri(TvContract.buildChannelLogoUri(channel.getId()).toString());
/packages/apps/TV/src/com/android/tv/ui/
H A DTunableTvView.java188 Channel channel = mCurrentChannel;
199 listener.onTuneFailed(channel);
207 Channel channel = mCurrentChannel;
214 listener.onUnexpectedStop(channel);
557 * Tunes to a channel with the {@code channelId}.
560 * @return false, if the TV input is not a proper state to tune to a channel. For example,
563 public boolean tuneTo(Channel channel, Bundle params, OnTuneListener listener) { argument
567 if (DEBUG) Log.d(TAG, "tuneTo " + channel);
568 TvInputInfo inputInfo = mInputManagerHelper.getTvInputInfo(channel.getInputId());
581 mCurrentChannel = channel;
703 onTuneFailed(Channel channel) argument
704 onUnexpectedStop(Channel channel) argument
706 onChannelRetuned(Uri channel) argument
[all...]
H A DChannelBannerView.java68 * A view to render channel banner.
75 * Show all information at the channel banner.
80 * Lock program details at the channel banner.
87 * Lock channel information at the channel banner.
88 * This is used when a channel is locked so we only want to show input information.
173 // channel. Consider adding channel id as a parameter of program URI to avoid
338 * Update channel banner view.
345 Channel channel
497 createChannelLogoCallback( ChannelBannerView channelBannerView, final Channel channel) argument
[all...]
H A DTvTransitionManager.java106 Channel channel = mMainActivity.getCurrentChannel();
107 if (channel != null && channel.isPassthrough()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransfer.java351 * 3.1) Try a few times to do SDP query for target device OPUSH channel
507 private final int channel; field in class:BluetoothOppTransfer.SocketConnectThread
521 this.channel = port;
527 public SocketConnectThread(BluetoothDevice device, int channel, boolean argument
532 this.channel = channel;
543 this.channel = -1;
573 s.connect(new InetSocketAddress(host, channel), CONNECT_WAIT_TIMEOUT);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
H A DTunerRecordingSessionWorker.java138 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { argument
139 if (mChannel == null || mChannel.compareTo(channel) != 0) {
142 mChannelDataManager.notifyChannelDetected(channel, channelArrivedAtFirstTime);
146 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { argument
147 if (mChannel == null || mChannel.compareTo(channel) != 0) {
150 mChannelDataManager.notifyEventDetected(channel, items);
318 Log.w(TAG, "Failed to start recording. Couldn't find the channel for " + mChannel);
341 Log.w(TAG, "Failed to start recording. Couldn't tune to the channel for " +
H A DTunerSession.java252 TunerChannel channel = mSessionWorker.getCurrentChannel();
253 if (channel != null) {
255 mContext.getString(R.string.ut_fail_to_tune, channel.getName()));
/packages/apps/TV/src/com/android/tv/
H A DTimeShiftManager.java59 * {@link ProgramManager} loads programs of the current channel in the background.
197 * Checks if the trick play is available for the current channel.
459 Channel channel = mPlayController.getCurrentChannel();
460 if (channel != null) {
461 mOnCurrentProgramUpdatedListener.onCurrentProgramUpdated(channel.getId(),
856 void onAvailabilityChanged(boolean available, Channel channel, long currentPositionMs) { argument
858 Log.d(TAG, "onAvailabilityChanged(" + available + "+," + channel + ", "
869 mChannel = channel;
870 if (channel == null || channel
[all...]
/packages/apps/TV/src/com/android/tv/data/epg/
H A DEpgFetcher.java164 for (Channel channel : channels) {
165 List<Program> programs = new ArrayList<>(epgReader.getPrograms(channel.getId()));
168 Log.d(TAG, "Fetching " + programs.size() + " programs for channel " + channel);
170 updateEpg(channel.getId(), programs);
268 Log.d(TAG, "Running " + size + " operations for channel " + channelId);
282 Log.d(TAG, "Fetched " + fetchedProgramsCount + " programs for channel " + channelId);
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
H A DRecommenderTest.java56 // mChannels_1 ~ mChannels_4. They are sorted by channel id in increasing order.
100 // Recommender recommends every channel because it recommends not-recommended channels too.
115 // (i.e. sorted by channel ID in decreasing order in this case)
134 // (i.e. sorted by channel ID in decreasing order in this case)
201 // Recommended channel list and channel list sorted by sort key must be the same.
213 // A channel which is not recommended by the recommender has to get an invalid sort key.
226 // FakeEvaluator doesn't recommend a channel with empty watch log. As every channel
244 // by setting score to each channel
[all...]
/packages/apps/Settings/src/com/android/settings/wfd/
H A DWifiDisplaySettings.java418 // Drop down list for choosing listen channel
423 int channel = Integer.parseInt((String) value);
424 if (channel != mListenChannel) {
425 mListenChannel = channel;
442 // Drop down list for choosing operating channel
447 int channel = Integer.parseInt((String) value);
448 if (channel != mOperatingChannel) {
449 mOperatingChannel = channel;
528 Slog.d(TAG, "Setting wifi p2p channel: lc=" + lc + ", oc=" + oc);

Completed in 7323 milliseconds

1234