Searched refs:getChannel (Results 1 - 25 of 45) sorted by relevance

12

/packages/services/Car/car-lib/src/android/car/hardware/radio/
H A DCarRadioPreset.java91 public int getChannel() { return mChannel; } method in class:CarRadioPreset
109 that.getChannel() == mChannel &&
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DChannelCheckItem.java64 protected Channel getChannel() { method in class:ChannelCheckItem
101 mChannelNumberView.setText(getChannel().getDisplayNumber());
H A DCustomizeChannelListFragment.java90 getChannelDataManager().getChannel(mLastFocusedChannelId));
106 && ((ChannelItem) item).getChannel().getId() == mInitialChannelId) {
121 tvActivity.tuneToChannel(getChannelDataManager().getChannel(mLastFocusedChannelId));
268 if (!channelItem.getChannel().isBrowsable()) {
281 Channel channel = channelItem.getChannel();
306 setChecked(getChannel().isBrowsable());
312 getChannelDataManager().updateBrowsable(getChannel().getId(), isChecked());
321 mLastFocusedChannelId = getChannel().getId();
H A DPipInputSelectorFragment.java90 getMainActivity().tuneToChannelForPip(mInitialPipInput.getChannel());
138 getMainActivity().tuneToChannelForPip(mPipInput.getChannel());
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DDictDecoder.java149 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY,
205 buffer = raFile.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, file.length());
/packages/apps/TV/src/com/android/tv/recommendation/
H A DRecommender.java125 double score = evaluator.getScaledEvaluatorScore(cr.getChannel().getId());
131 records.add(new Pair<>(cr.getChannel(), maxScore));
159 public Channel getChannel(long channelId) { method in class:Recommender
161 return record == null ? null : record.getChannel();
H A DChannelRecord.java48 public Channel getChannel() { method in class:ChannelRecord
H A DRecommendationDataManager.java154 if (channelRecord.getChannel().getInputId().equals(inputId)) {
156 mAvailableChannelRecordMap.put(channelRecord.getChannel().getId(),
178 if (channelRecord.getChannel().getInputId().equals(inputId)) {
180 mAvailableChannelRecordMap.remove(channelRecord.getChannel().getId());
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
H A DChannelsBlockedFragment.java80 getChannelDataManager().getChannel(mLastFocusedChannelId));
211 setChecked(getChannel().isLocked());
217 getChannelDataManager().updateLocked(getChannel().getId(), isChecked());
225 mLastFocusedChannelId = getChannel().getId();
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppPreference.java115 public int getChannel(BluetoothDevice remoteDevice, int uuid) { method in class:BluetoothOppPreference
117 if (V) Log.v(TAG, "getChannel " + key);
121 if (V) Log.v(TAG, "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) +
140 if (channel != getChannel(remoteDevice, uuid)) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DVideoUtils.java86 Movie movie = MovieCreator.build(randomAccessFile.getChannel());
109 FileChannel fc = fos.getChannel();
233 Movie movie = MovieCreator.build(randomAccessFile.getChannel());
/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DDvrRecordConflictFragment.java47 Channel channel = channelDataManager.getChannel(r.getChannelId());
H A DRecordedProgramPresenter.java67 Channel channel = mChannelDataManager.getChannel(recording.getChannelId());
/packages/apps/TV/src/com/android/tv/guide/
H A DProgramListAdapter.java58 Channel channel = mProgramManager.getChannel(mChannelIndex);
H A DProgramManager.java559 public Channel getChannel(int channelIndex) { method in class:ProgramManager
579 return getChannelIndex(mChannelDataManager.getChannel(channelId));
602 && mChannelDataManager.getChannel(channelId).isLocked();
650 return mChannelDataManager.getChannel(mSelectedProgram.getChannelId());
H A DProgramItemView.java97 .getChannel(entry.channelId);
112 .getChannel(entry.channelId);
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DObexServerSockets.java163 return mRfcommSocket.getChannel();
172 return mL2capSocket.getChannel();
/packages/apps/TV/src/com/android/tv/dvr/
H A DDvrManager.java79 Channel c = mChannelDataManager.getChannel(program.getChannelId());
165 Channel channel = mChannelDataManager.getChannel(program.getChannelId());
H A DScheduler.java145 Channel channel = mChannelDataManager.getChannel(scheduledRecording.getChannelId());
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
H A DCarRadioManagerTest.java100 preset.getChannel(),
189 preset.getChannel(),
/packages/apps/TV/src/com/android/tv/dialog/
H A DRecentlyWatchedDialogFragment.java78 Channel channel = dataChannelManager.getChannel(channelId);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
H A DSampleCache.java203 mRaf.getChannel().position(mWriteOffset + SAMPLE_HEADER_LENGTH).write(sample.data);
249 sample.data.put(mRaf.getChannel().map(FileChannel.MapMode.READ_ONLY,
/packages/apps/TV/src/com/android/tv/data/
H A DChannelDataManager.java316 public Channel getChannel(Long channelId) { method in class:ChannelDataManager
440 editor.putBoolean(getBrowsableKey(getChannel(id)), true);
443 editor.putBoolean(getBrowsableKey(getChannel(id)), false);
/packages/apps/TV/tests/unit/src/com/android/tv/data/
H A DChannelDataManagerTest.java133 * - {@link ChannelDataManager#getChannel}
163 assertEquals(channel, mChannelDataManager.getChannel(channel.getId()));
274 assertTrue(mChannelDataManager.getChannel(channel.getId()).isLocked());
281 assertTrue(mChannelDataManager.getChannel(channel.getId()).isLocked());
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
H A DTunerRecordingSessionWorker.java239 private TunerChannel getChannel(Uri channelUri) { method in class:TunerRecordingSessionWorker
249 return (channelId == CHANNEL_ID_NONE) ? null : mChannelDataManager.getChannel(channelId);
316 mChannel = getChannel(channelUri);

Completed in 529 milliseconds

12