Searched refs:tune (Results 1 - 23 of 23) sorted by relevance

/packages/apps/TV/tuner/src/com/mediatek/tunerservice/
H A DIMtkTuner.aidl20 boolean tune(int frequency, String modulation, int timeOutMs);
/packages/apps/Car/Radio/src/com/android/car/radio/service/
H A DIRadioManager.aidl31 void tune(in ProgramSelector sel);
/packages/apps/TV/tests/tunerscripts/
H A Dusbtuner-test.sh34 # 2) When started, TV app should tune to one of the channels provided by the USB input
49 function tune { function
138 tune $2
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
H A DTunerRecordingSession.java47 Log.d(TAG, "Requesting recording session tune: " + channelUri);
49 mSessionWorker.tune(channelUri);
H A DTunerSession.java182 mSessionWorker.tune(channelUri);
196 mSessionWorker.tune(recordUri);
H A DTunerRecordingSessionWorker.java209 public void tune(Uri channelUri) { method in class:TunerRecordingSessionWorker
H A DTunerSessionWorker.java279 public void tune(Uri channelUri) { method in class:TunerSessionWorker
298 // mSurface is kept even when tune is called right after. But, messages can be deleted by
299 // tune or updateChannelBlockStatus. So mSurface should be stored here, not through message.
307 // mVolume is kept even when tune is called right after. But, messages can be deleted by
308 // tune or updateChannelBlockStatus. So mVolume is stored here and mPlayer.setVolume will be
317 // mCaptionEnabled is kept even when tune is called right after. But, messages can be
318 // deleted by tune or updateChannelBlockStatus. So mCaptionEnabled is stored here and
/packages/apps/TV/src/com/android/tv/
H A DInputSessionManager.java282 public void tune(String inputId, Uri channelUri) { method in class:InputSessionManager.TvViewSession
284 Log.d(TAG, "warm-up tune: {input=" + inputId + ", channelUri=" + channelUri + "}");
290 mTvView.tune(inputId, channelUri);
295 public void tune(Channel channel, Bundle params, OnTuneListener listener) { method in class:InputSessionManager.TvViewSession
299 "tune: {session="
325 Log.d(TAG, "No more tuners to tune for input: " + input);
335 mTvView.tune(mInputId, mChannelUri, params);
441 public void tune(String inputId, Uri channelUri) { method in class:InputSessionManager.RecordingSession
478 mClient.tune(inputId, channelUri);
H A DMainActivity.java229 // Delay 1 second in order not to interrupt the first tune.
341 // Re-tune the current channel to prevent incorrect behavior of
345 tune(true);
392 tune(true);
1012 // Simply adjust the volume without tune.
1053 tune(true);
1293 // Try to tune to the next best channel instead.
1298 // The current channel is mTvView.getCurrentChannel() and need to tune to the returnChannel.
1361 tune(true);
1662 private void tune(boolea method in class:MainActivity
[all...]
/packages/apps/Car/Radio/src/com/android/car/radio/
H A DRadioService.java204 mRadioTuner.tune(ProgramSelectorExt.createAmFmSelector(storedChannel));
212 mRadioTuner.tune(ProgramSelectorExt.createAmFmSelector(lastChannel));
257 * Tunes the radio to the given frequency. To be notified of a successful tune, register
261 public void tune(ProgramSelector sel) {
263 mRadioTuner.tune(sel);
272 * Seeks the radio forward. To be notified of a successful tune, register as a
290 * Seeks the radio backwards. To be notified of a successful tune, register as a
H A DRadioController.java272 public void tune(ProgramSelector sel) { method in class:RadioController
276 mRadioManager.tune(sel);
278 Log.e(TAG, "Failed to tune", ex);
H A DCarRadioActivity.java139 mRadioController.tune(sel);
H A DRadioPresetsFragment.java92 mPresetsAdapter.setOnPresetItemClickListener(mRadioController::tune);
/packages/apps/TV/jni/
H A DDvbManager.h68 // Flag for pending tune request. Used for canceling the current tune operation.
79 int tune(JNIEnv *env, jobject thiz,
H A Dtunertvinput_jni.cpp65 int res = dvbManager->tune(env, thiz, frequency,
H A DDvbManager.cpp85 int DvbManager::tune(JNIEnv *env, jobject thiz, function in class:DvbManager
208 // tune request. And the frontend setting could be successful.
/packages/apps/TV/tests/common/src/com/android/tv/input/
H A DTunerHelper.java26 /** A class to manage fake tuners for the tune and the recording. */
55 public boolean tune(@Nullable Uri channelUri, boolean forRecording) { method in class:TunerHelper
80 /** Releases the tuner which was being used for the tune. */
91 // A tuner which is used both for the tune and recording is the candidate.
94 // Remove the tuner which is used only for the tune.
95 if (DEBUG) Log.d(TAG, "Removed tuner for tune");
118 // A tuner which is used both for the tune and recording is the candidate.
/packages/apps/Car/Radio/src/com/android/car/radio/media/
H A DTunerSession.java176 exec(() -> mUiSession.tune(selector));
187 exec(() -> mUiSession.tune(selector));
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
H A DTunerTsStreamer.java149 if (mTunerHal.tune(
197 if (mTunerHal.tune(channel.frequency, channel.modulation, null)) {
/packages/apps/TV/tuner/src/com/android/tv/tuner/
H A DTunerHal.java218 * @param frequency a frequency of the channel to tune to
219 * @param modulation a modulation method of the channel to tune to
221 * use channelNumber instead of frequency for tune.
224 public synchronized boolean tune( method in class:TunerHal
298 * the tuner ready to accept another tune request.
323 * This method must be called after {@link TunerHal#tune} and before {@link TunerHal#stopTune}.
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
H A DTestTvInputService.java230 } else if (!mTunerHelper.tune(channelUri, false)) {
422 } else if (!mTunerHelper.tune(uri, true)) {
/packages/apps/TV/src/com/android/tv/ui/
H A DTunableTvView.java204 // If tune is called inside onTuneFailed, mOnTuneListener will be set to
553 mTvViewSession.tune(inputId, channelUri);
555 mTvView.tune(inputId, channelUri);
642 * @return false, if the TV input is not a proper state to tune to a channel. For example, if
711 mTvViewSession.tune(channel, params, listener);
713 mTvView.tune(mInputInfo.getId(), mCurrentChannel.getUri(), params);
/packages/apps/TV/src/com/android/tv/dvr/recorder/
H A DRecordingTask.java334 mRecordingSession.tune(inputId, mChannel.getUri());

Completed in 277 milliseconds