Home
last modified time | relevance | path

Searched refs:getChannel (Results 1 – 25 of 72) sorted by relevance

123

/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java90 getChannelDataManager().getChannel(mLastFocusedChannelId)); in onCreateView()
106 && ((ChannelItem) item).getChannel().getId() == mInitialChannelId) { in onCreateView()
121 tvActivity.tuneToChannel(getChannelDataManager().getChannel(mLastFocusedChannelId)); in onCreateView()
267 if (!channelItem.getChannel().isBrowsable()) { in onUpdate()
280 Channel channel = channelItem.getChannel(); in onSelected()
305 setChecked(getChannel().isBrowsable()); in onUpdate()
311 getChannelDataManager().updateBrowsable(getChannel().getId(), isChecked()); in onSelected()
320 mLastFocusedChannelId = getChannel().getId(); in onFocused()
DChannelCheckItem.java64 protected Channel getChannel() { in getChannel() method in ChannelCheckItem
101 mChannelNumberView.setText(getChannel().getDisplayNumber()); in onUpdate()
DPipInputSelectorFragment.java90 getMainActivity().tuneToChannelForPip(mInitialPipInput.getChannel()); in onDestroyView()
138 getMainActivity().tuneToChannelForPip(mPipInput.getChannel()); in onFocused()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java80 getChannelDataManager().getChannel(mLastFocusedChannelId)); in onCreateView()
211 setChecked(getChannel().isLocked()); in onUpdate()
217 getChannelDataManager().updateLocked(getChannel().getId(), isChecked()); in onSelected()
225 mLastFocusedChannelId = getChannel().getId(); in onFocused()
/packages/apps/Dialer/java/com/android/dialer/notification/
DNotificationChannelManager.java81 NotificationChannelManager.getInstance().getChannel(context, channelName, phoneAccount); in applyChannel()
179 Settings.EXTRA_CHANNEL_ID, getChannel(context, channelName, accountHandle).getId()); in getSettingsIntentForChannel()
204 getChannel(context, channel, phoneAccountHandle); in initChannels()
209 getChannel(context, channel, null); in initChannels()
234 private NotificationChannel getChannel( in getChannel() method in NotificationChannelManager
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java125 double score = evaluator.getScaledEvaluatorScore(cr.getChannel().getId()); in recommendChannels()
131 records.add(new Pair<>(cr.getChannel(), maxScore)); in recommendChannels()
159 public Channel getChannel(long channelId) { in getChannel() method in Recommender
161 return record == null ? null : record.getChannel(); in getChannel()
DRecommendationDataManager.java145 if (channelRecord.getChannel().getInputId().equals(inputId)) {
147 mAvailableChannelRecordMap.put(channelRecord.getChannel().getId(),
169 if (channelRecord.getChannel().getInputId().equals(inputId)) {
171 mAvailableChannelRecordMap.remove(channelRecord.getChannel().getId());
DChannelRecord.java48 public Channel getChannel() { in getChannel() method in ChannelRecord
/packages/apps/TV/src/com/android/tv/dvr/ui/
DSeriesSettingsFragment.java110 Channel channel = mChannelDataManager.getChannel(mSeriesRecording.getChannelId()); in onAttach()
118 Channel channel = mChannelDataManager.getChannel(channelId); in onAttach()
128 Channel channel = mChannelDataManager.getChannel(mSeriesRecording.getChannelId()); in onAttach()
337 Channel channel = mChannelDataManager.getChannel(channelId); in collectChannelsInBackground()
DDvrConflictFragment.java134 .getChannel(schedule.getChannelId()); in getScheduleTitle()
204 .getChannel(channelId); in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java86 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); in startMuteUsingMp4Parser()
109 FileChannel fc = fos.getChannel(); in writeMovieIntoFile()
233 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); in trimUsingMp4Parser()
/packages/services/Car/car-lib/src/android/car/hardware/radio/
DCarRadioPreset.java91 public int getChannel() { return mChannel; } in getChannel() method in CarRadioPreset
109 that.getChannel() == mChannel && in equals()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DDictDecoder.java149 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, in getDictionaryBuffer()
205 buffer = raFile.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, file.length()); in getDictionaryBuffer()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java115 public int getChannel(BluetoothDevice remoteDevice, int uuid) { in getChannel() method in BluetoothOppPreference
140 if (channel != getChannel(remoteDevice, uuid)) { in setChannel()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarRadioManagerTest.java98 preset.getChannel(), in onPropertyGet()
184 preset.getChannel(), in testSubscribe()
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java289 private TunerChannel getChannel(Uri channelUri) { in getChannel() method in TunerRecordingSessionWorker
299 return (channelId == CHANNEL_ID_NONE) ? null : mChannelDataManager.getChannel(channelId); in getChannel()
331 mChannel = getChannel(channelUri); in doTune()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java606 public Channel getChannel(int channelIndex) { in getChannel() method in ProgramManager
626 return getChannelIndex(mChannelDataManager.getChannel(channelId)); in getChannelIndex()
649 && mChannelDataManager.getChannel(channelId).isLocked(); in createProgramEntries()
DProgramTableAdapter.java355 onBindChannel(mProgramManager.getChannel(position)); in onBind()
359 mProgramRow.setChannel(mProgramManager.getChannel(position)); in onBind()
678 Channel lastChannel = mProgramManager.getChannel(lastPosition);
/packages/apps/TV/src/com/android/tv/data/
DChannelDataManager.java327 public Channel getChannel(Long channelId) { in getChannel() method in ChannelDataManager
448 editor.putBoolean(getBrowsableKey(getChannel(id)), true); in applyUpdatedValuesToDb()
451 editor.putBoolean(getBrowsableKey(getChannel(id)), false); in applyUpdatedValuesToDb()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java159 assertEquals(channel, mChannelDataManager.getChannel(channel.getId())); in testGetChannels()
270 assertTrue(mChannelDataManager.getChannel(channel.getId()).isLocked()); in testLocked()
277 assertTrue(mChannelDataManager.getChannel(channel.getId()).isLocked()); in testLocked()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DObexServerSockets.java183 return mRfcommSocket.getChannel(); in getRfcommChannel()
192 return mL2capSocket.getChannel(); in getL2capPsm()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java359 sample.data.put(mAccessFile.getChannel().map(FileChannel.MapMode.READ_ONLY, in read()
378 mAccessFile.getChannel().position(mWriteOffset + SAMPLE_HEADER_LENGTH).write(sample.data); in write()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioService.java319 mCurrentRadioChannel = info[0].getChannel(); in createCurrentRadioStation()
755 mCurrentRadioChannel = info.getChannel(); in onProgramInfoChanged()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java60 FileLock lock = inStream.getChannel().lock(0L, Long.MAX_VALUE, true); in ClipStorageReader()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DResumeNotificationHelperTest.java74 assertEquals(notification.getNotification().getChannel(), CHANNEL_ID); in testShowResumeNotification()

123