Searched defs:tune (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/radio/
H A DTunerAdapter.java155 public int tune(int channel, int subChannel) { method in class:TunerAdapter
157 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel));
159 Log.e(TAG, "Can't tune", e);
162 Log.e(TAG, "Can't tune", e);
172 public void tune(@NonNull ProgramSelector selector) { method in class:TunerAdapter
174 mTuner.tune(selector);
H A DRadioTuner.java165 * onProgramInfoChanged() will be called when tune completes or
167 * @param channel the specific channel or frequency to tune to.
168 * @param subChannel the specific sub-channel to tune to. N/A if the selected configuration
180 * @deprecated Use {@link tune(ProgramSelector)} instead.
183 public abstract int tune(int channel, int subChannel); method in class:RadioTuner
189 * when tune completes or onError() when cancelled or on timeout.
193 public abstract void tune(@NonNull ProgramSelector selector); method in class:RadioTuner
196 * Cancel a pending scan or tune operation.
470 /** A pending seek or tune operation was cancelled
475 /** A pending seek or tune operatio
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvRecordingClient.java70 * Tunes to a given channel for TV program recording. The first tune request will create a new
79 * {@link RecordingCallback#onTuned(Uri)} if the tune request was fulfilled, or
86 public void tune(String inputId, Uri channelUri) { method in class:TvRecordingClient
87 tune(inputId, channelUri, null);
91 * Tunes to a given channel for TV program recording. The first tune request will create a new
101 * {@link RecordingCallback#onTuned(Uri)} if the tune request was fulfilled, or
106 * @param params Domain-specific data for this tune request. Keys <em>must</em> be a scoped
111 public void tune(String inputId, Uri channelUri, Bundle params) { method in class:TvRecordingClient
112 if (DEBUG) Log.d(TAG, "tune(" + channelUri + ")");
117 throw new IllegalStateException("tune faile
[all...]
H A DITvInputSessionWrapper.java148 mTvInputRecordingSessionImpl.tune((Uri) args.arg1, (Bundle) args.arg2);
150 mTvInputSessionImpl.tune((Uri) args.arg1, (Bundle) args.arg2);
236 throw new RuntimeException("Too much time to handle tune request. (" + durationMs
238 + "Consider handling the tune request in a separate thread.");
277 public void tune(Uri channelUri, Bundle params) { method in class:ITvInputSessionWrapper
278 // Clear the pending tune requests.
H A DTvView.java63 * <p>Once the application supplies the URI for a specific TV channel to {@link #tune}
294 public void tune(@NonNull String inputId, Uri channelUri) { method in class:TvView
295 tune(inputId, channelUri, null);
304 * @param params Domain-specific data for this tune request. Keys <em>must</em> be a scoped
308 public void tune(String inputId, Uri channelUri, Bundle params) { method in class:TvView
309 if (DEBUG) Log.d(TAG, "tune(" + channelUri + ")");
320 mSession.tune(channelUri, params);
324 // the new ones and tune later in onSessionCreated(). It is not necessary to create
348 * <p>This method is primarily used to un-tune the current TvView.
922 * without any {@link TvView#tune} reques
[all...]
H A DTvInputService.java813 * @param params Domain-specific data for this tune request. Keys <em>must</em> be a scoped
951 * settings until the next tune request. Pause/resume/seek request does not reset the
1187 void tune(Uri channelUri, Bundle params) { method in class:TvInputService.Session
1541 * <p>Upon receiving a call to {@link #onTune(Uri)}, the session is expected to tune to the
1661 * Called when the application requests to tune to a given channel for TV program recording.
1666 * <p>The session must call {@link #notifyTuned(Uri)} if the tune request was fulfilled, or
1674 * Called when the application requests to tune to a given channel for TV program recording.
1681 * <p>The session must call {@link #notifyTuned(Uri)} if the tune request was fulfilled, or
1685 * @param params Domain-specific data for this tune request. Keys <em>must</em> be a scoped
1749 void tune(Ur method in class:TvInputService.RecordingSession
[all...]
H A DTvInputManager.java377 * without any {@link TvInputManager.Session#tune(Uri)} request.
1860 public void tune(Uri channelUri) { method in class:TvInputManager.Session
1861 tune(channelUri, null);
1868 * @param params A set of extra parameters which might be handled with this tune event.
1870 public void tune(@NonNull Uri channelUri, Bundle params) { method in class:TvInputManager.Session
1887 mService.tune(mToken, channelUri, params, mUserId);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DTunerSession.java133 public void tune(ProgramSelector selector) throws RemoteException { method in class:TunerSession
136 int halResult = mHwSession.tune(Convert.programSelectorToHal(selector));
137 Convert.throwOnError("tune", halResult);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
H A DTuner.java191 public void tune(ProgramSelector selector) { method in class:Tuner
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java1354 public void tune(IBinder sessionToken, final Uri channelUri, Bundle params, int userId) { method in class:TvInputManagerService.BinderService
1357 userId, "tune");
1362 getSessionLocked(sessionToken, callingUid, resolvedUserId).tune(
1385 Slog.e(TAG, "error in tune", e);

Completed in 30 milliseconds