/packages/apps/TV/tuner/src/com/mediatek/tunerservice/ |
H A D | IMtkTuner.aidl | 20 boolean tune(int frequency, String modulation, int timeOutMs);
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
H A D | IRadioManager.aidl | 31 void tune(in ProgramSelector sel);
|
/packages/apps/TV/tests/tunerscripts/ |
H A D | usbtuner-test.sh | 34 # 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 D | TunerRecordingSession.java | 47 Log.d(TAG, "Requesting recording session tune: " + channelUri); 49 mSessionWorker.tune(channelUri);
|
H A D | TunerSession.java | 182 mSessionWorker.tune(channelUri); 196 mSessionWorker.tune(recordUri);
|
H A D | TunerRecordingSessionWorker.java | 209 public void tune(Uri channelUri) { method in class:TunerRecordingSessionWorker
|
H A D | TunerSessionWorker.java | 279 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 D | InputSessionManager.java | 282 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 D | MainActivity.java | 229 // 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 D | RadioService.java | 204 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 D | RadioController.java | 272 public void tune(ProgramSelector sel) { method in class:RadioController 276 mRadioManager.tune(sel); 278 Log.e(TAG, "Failed to tune", ex);
|
H A D | CarRadioActivity.java | 139 mRadioController.tune(sel);
|
H A D | RadioPresetsFragment.java | 92 mPresetsAdapter.setOnPresetItemClickListener(mRadioController::tune);
|
/packages/apps/TV/jni/ |
H A D | DvbManager.h | 68 // Flag for pending tune request. Used for canceling the current tune operation. 79 int tune(JNIEnv *env, jobject thiz,
|
H A D | tunertvinput_jni.cpp | 65 int res = dvbManager->tune(env, thiz, frequency,
|
H A D | DvbManager.cpp | 85 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 D | TunerHelper.java | 26 /** 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 D | TunerSession.java | 176 exec(() -> mUiSession.tune(selector)); 187 exec(() -> mUiSession.tune(selector));
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
H A D | TunerTsStreamer.java | 149 if (mTunerHal.tune( 197 if (mTunerHal.tune(channel.frequency, channel.modulation, null)) {
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/ |
H A D | TunerHal.java | 218 * @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 D | TestTvInputService.java | 230 } else if (!mTunerHelper.tune(channelUri, false)) { 422 } else if (!mTunerHelper.tune(uri, true)) {
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | TunableTvView.java | 204 // 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 D | RecordingTask.java | 334 mRecordingSession.tune(inputId, mChannel.getUri());
|