/packages/apps/Car/libs/car-radio-service/src/com/android/car/radio/service/ |
H A D | IRadioManager.aidl | 28 void tune(in RadioStation station);
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
H A D | TunerRecordingSession.java | 50 Log.d(TAG, "Requesting recording session tune: " + channelUri); 52 mSessionWorker.tune(channelUri);
|
H A D | TunerSession.java | 184 mSessionWorker.tune(channelUri); 198 mSessionWorker.tune(recordUri);
|
H A D | TunerRecordingSessionWorker.java | 191 public void tune(Uri channelUri) { method in class:TunerRecordingSessionWorker
|
H A D | TunerSessionWorker.java | 277 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. 309 // mVolume is kept even when tune is called right after. But, messages can be deleted by 310 // tune or updateChannelBlockStatus. So mVolume is stored here and mPlayer.setVolume will be 321 // mCaptionEnabled is kept even when tune is called right after. But, messages can be 322 // deleted by tune or updateChannelBlockStatus. So mCaptionEnabled is stored here and
|
/packages/apps/TV/src/com/android/tv/ |
H A D | InputSessionManager.java | 290 public void tune(String inputId, Uri channelUri) { method in class:InputSessionManager.TvViewSession 292 Log.d(TAG, "warm-up tune: {input=" + inputId + ", channelUri=" + channelUri + "}"); 298 mTvView.tune(inputId, channelUri); 305 public void tune(Channel channel, Bundle params, OnTuneListener listener) { method in class:InputSessionManager.TvViewSession 307 Log.d(TAG, "tune: {session=" + this + ", channel=" + channel + ", params=" + params 322 Log.d(TAG, "No more tuners to tune for input: " + input); 332 mTvView.tune(mInputId, mChannelUri, params); 430 public void tune(String inputId, Uri channelUri) { method in class:InputSessionManager.RecordingSession 460 mClient.tune(inputId, channelUri);
|
H A D | MainActivity.java | 224 // Delay 1 second in order not to interrupt the first tune. 333 // Re-tune the current channel to prevent incorrect behavior of trick-play. 336 tune(true); 382 tune(true); 926 // Simply adjust the volume without tune. 963 tune(true); 1209 // Try to tune to the next best channel instead. 1214 // The current channel is mTvView.getCurrentChannel() and need to tune to the returnChannel. 1271 tune(true); 1490 private void tune(boolea method in class:MainActivity [all...] |
/packages/apps/TV/jni/ |
H A D | DvbManager.h | 70 // Flag for pending tune request. Used for canceling the current tune operation. 81 int tune(JNIEnv *env, jobject thiz,
|
H A D | tunertvinput_jni.cpp | 66 int res = dvbManager->tune(env, thiz,
|
H A D | DvbManager.cpp | 89 int DvbManager::tune(JNIEnv *env, jobject thiz, function in class:DvbManager 205 // tune request. And the frontend setting could be successful.
|
/packages/apps/TV/tests/common/src/com/android/tv/input/ |
H A D | TunerHelper.java | 28 * A class to manage fake tuners for the tune and the recording. 60 public boolean tune(@Nullable Uri channelUri, boolean forRecording) { method in class:TunerHelper 86 * Releases the tuner which was being used for the tune. 98 // A tuner which is used both for the tune and recording is the candidate. 101 // Remove the tuner which is used only for the tune. 102 if (DEBUG) Log.d(TAG, "Removed tuner for tune"); 127 // A tuner which is used both for the tune and recording is the candidate.
|
/packages/apps/TV/src/com/android/tv/tuner/source/ |
H A D | TunerTsStreamer.java | 146 if (mTunerHal.tune(channel.getFrequency(), channel.getModulation(), 194 if (mTunerHal.tune(channel.frequency, channel.modulation, null)) {
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
H A D | RadioController.java | 263 mRadioManager.tune(radioStation); 337 * Attempts to tune to the last played radio channel for a particular band. For example, if 338 * the user switches to the AM band from FM, this method will attempt to tune to the last 814 // Tune to the previous station, and then update the UI to reflect that tune. 816 mRadioManager.tune(prevStation); 852 // Tune to the next station, and then update the UI to reflect that tune. 854 mRadioManager.tune(nextStation);
|
H A D | RadioService.java | 476 * Tunes the radio to the given frequency. To be notified of a successful tune, register 480 public void tune(RadioStation radioStation) { 493 int status = mRadioTuner.tune(radioStation.getChannelNumber(), 0 /* subChannel */); 501 * Seeks the radio forward. To be notified of a successful tune, register as a 522 * Seeks the radio backwards. To be notified of a successful tune, register as a
|
/packages/apps/Car/Radio/src/com/android/car/radio/demo/ |
H A D | RadioDemo.java | 83 public void tune(RadioStation station) throws RemoteException {
|
/packages/apps/TV/src/com/android/tv/tuner/ |
H A D | TunerHal.java | 209 * @param frequency a frequency of the channel to tune to 210 * @param modulation a modulation method of the channel to tune to 212 * may use channelNumber instead of frequency for tune. 215 public synchronized boolean tune(int frequency, @ModulationType String modulation, method in class:TunerHal 284 * the tuner ready to accept another tune request. 309 * This method must be called after {@link TunerHal#tune} and before
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
H A D | RecordingTaskTest.java | 105 verify(mMockRecordingSession).tune(eq(inputId), eq(channel.getUri()));
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
H A D | TestTvInputService.java | 227 } else if (!mTunerHelper.tune(channelUri, false)) { 417 } else if (!mTunerHelper.tune(uri, true)) {
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | TunableTvView.java | 195 // If tune is called inside onTuneFailed, mOnTuneListener will be set to 491 mTvViewSession.tune(inputId, channelUri); 493 mTvView.tune(inputId, channelUri); 589 * @return false, if the TV input is not a proper state to tune to a channel. For example, 648 mTvViewSession.tune(channel, params, listener); 650 mTvView.tune(mInputInfo.getId(), mCurrentChannel.getUri(), params);
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
H A D | RecordingTask.java | 311 mRecordingSession.tune(inputId, mChannel.getUri());
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/ |
H A D | RadioTestFragment.java | 397 mRadioTuner.tune(Integer.parseInt(station), 0);
|