/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/jni/ |
H A D | DvbManager.h | 49 // Flag for pending tune request. Used for canceling the current tune operation. 60 int tune(JNIEnv *env, jobject thiz,
|
H A D | tunertvinput_jni.cpp | 66 int res = dvbManager->tune(env, thiz,
|
H A D | DvbManager.cpp | 77 int DvbManager::tune(JNIEnv *env, jobject thiz, function in class:DvbManager 120 // tune request. And the frontend setting could be successful.
|
/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 | 185 mSessionWorker.tune(channelUri); 199 mSessionWorker.tune(recordUri);
|
H A D | TunerRecordingSessionWorker.java | 179 public void tune(Uri channelUri) { method in class:TunerRecordingSessionWorker
|
H A D | TunerSessionWorker.java | 222 public void tune(Uri channelUri) { method in class:TunerSessionWorker 243 // mSurface is kept even when tune is called right after. But, messages can be deleted by 244 // tune or updateChannelBlockStatus. So mSurface should be stored here, not through message. 254 // mVolume is kept even when tune is called right after. But, messages can be deleted by 255 // tune or updateChannelBlockStatus. So mVolume is stored here and mPlayer.setVolume will be 266 // mCaptionEnabled is kept even when tune is called right after. But, messages can be 267 // deleted by tune or updateChannelBlockStatus. So mCaptionEnabled is stored here and
|
/packages/apps/TV/src/com/android/tv/ |
H A D | InputSessionManager.java | 275 public void tune(String inputId, Uri channelUri) { method in class:InputSessionManager.TvViewSession 277 Log.d(TAG, "warm-up tune: {input=" + inputId + ", channelUri=" + channelUri + "}"); 283 mTvView.tune(inputId, channelUri); 290 public void tune(Channel channel, Bundle params, OnTuneListener listener) { method in class:InputSessionManager.TvViewSession 292 Log.d(TAG, "tune: {session=" + this + ", channel=" + channel + ", params=" + params 307 Log.d(TAG, "No more tuners to tune for input: " + input); 317 mTvView.tune(mInputId, mChannelUri, params); 415 public void tune(String inputId, Uri channelUri) { method in class:InputSessionManager.RecordingSession 445 mClient.tune(inputId, channelUri);
|
H A D | MainActivity.java | 261 // Delay 1 second in order not to interrupt the first tune. 995 // Simply adjust the volume without tune. 1032 tune(); 1304 // Try to tune to the next best channel instead. 1309 // The current channel is mTvView.getCurrentChannel() and need to tune to the returnChannel. 1366 tune(); 1738 private void tune() { method in class:MainActivity 1739 if (DEBUG) Log.d(TAG, "tune()"); 1744 // Prerequisites to be able to tune. 1760 // tune() wil [all...] |
/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 | 128 if (mTunerHal.tune(channel.getFrequency(), channel.getModulation())) { 175 if (mTunerHal.tune(channel.frequency, channel.modulation)) {
|
/packages/apps/TV/src/com/android/tv/tuner/ |
H A D | TunerHal.java | 132 * @param frequency a frequency of the channel to tune to 133 * @param modulation a modulation method of the channel to tune to 136 public synchronized boolean tune(int frequency, @ModulationType String modulation) { method in class:TunerHal 195 * the tuner ready to accept another tune request. 216 * This method must be called after {@link TunerHal#tune} and before
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
H A D | RadioController.java | 262 mRadioManager.tune(radioStation); 336 * Attempts to tune to the last played radio channel for a particular band. For example, if 337 * the user switches to the AM band from FM, this method will attempt to tune to the last 813 // Tune to the previous station, and then update the UI to reflect that tune. 815 mRadioManager.tune(prevStation); 851 // Tune to the next station, and then update the UI to reflect that tune. 853 mRadioManager.tune(nextStation);
|
H A D | RadioService.java | 482 * Tunes the radio to the given frequency. To be notified of a successful tune, register 486 public void tune(RadioStation radioStation) { 499 int status = mRadioTuner.tune(radioStation.getChannelNumber(), 0 /* subChannel */); 507 * Seeks the radio forward. To be notified of a successful tune, register as a 528 * 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/ui/ |
H A D | TunableTvView.java | 187 // If tune is called inside onTuneFailed, mOnTuneListener will be set to 430 mTvViewSession.tune(inputId, channelUri); 432 mTvView.tune(inputId, channelUri); 518 * @return false, if the TV input is not a proper state to tune to a channel. For example, 575 mTvViewSession.tune(channel, params, listener); 577 mTvView.tune(mInputInfo.getId(), mCurrentChannel.getUri(), params);
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
H A D | RecordingTaskTest.java | 93 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)) { 412 } else if (!mTunerHelper.tune(uri, true)) {
|
/packages/apps/TV/src/com/android/tv/dvr/ |
H A D | RecordingTask.java | 301 mRecordingSession.tune(inputId, mChannel.getUri());
|