Loading media/java/android/media/tv/ITvInputManager.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ interface ITvInputManager { void timeShiftEnablePositionTracking(in IBinder sessionToken, boolean enable, int userId); // For the recording session void startRecording(in IBinder sessionToken, in Uri programHint, int userId); void startRecording(in IBinder sessionToken, in Uri programUri, int userId); void stopRecording(in IBinder sessionToken, int userId); // For TV input hardware binding Loading media/java/android/media/tv/ITvInputSession.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -56,6 +56,6 @@ oneway interface ITvInputSession { void timeShiftEnablePositionTracking(boolean enable); // For the recording session void startRecording(in Uri programHint); void startRecording(in Uri programUri); void stopRecording(); } media/java/android/media/tv/ITvInputSessionWrapper.java +2 −2 Original line number Diff line number Diff line Loading @@ -352,8 +352,8 @@ public class ITvInputSessionWrapper extends ITvInputSession.Stub implements Hand } @Override public void startRecording(@Nullable Uri programHint) { mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_START_RECORDING, programHint)); public void startRecording(@Nullable Uri programUri) { mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_START_RECORDING, programUri)); } @Override Loading media/java/android/media/tv/TvInputManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -2093,16 +2093,16 @@ public final class TvInputManager { /** * Starts TV program recording in the current recording session. * * @param programHint The URI for the TV program to record as a hint, built by * @param programUri The URI for the TV program to record as a hint, built by * {@link TvContract#buildProgramUri(long)}. Can be {@code null}. */ void startRecording(@Nullable Uri programHint) { void startRecording(@Nullable Uri programUri) { if (mToken == null) { Log.w(TAG, "The session has been already released"); return; } try { mService.startRecording(mToken, programHint, mUserId); mService.startRecording(mToken, programUri, mUserId); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } Loading media/java/android/media/tv/TvInputService.java +4 −4 Original line number Diff line number Diff line Loading @@ -1695,8 +1695,8 @@ public abstract class TvInputService extends Service { * * <p>The application may supply the URI for a TV program for filling in program specific * data fields in the {@link android.media.tv.TvContract.RecordedPrograms} table. * A non-null {@code programHint} implies the started recording should be of that specific * program, whereas null {@code programHint} does not impose such a requirement and the * A non-null {@code programUri} implies the started recording should be of that specific * program, whereas null {@code programUri} does not impose such a requirement and the * recording can span across multiple TV programs. In either case, the application must call * {@link TvRecordingClient#stopRecording()} to stop the recording. * Loading Loading @@ -1761,8 +1761,8 @@ public abstract class TvInputService extends Service { * Calls {@link #onStartRecording(Uri)}. * */ void startRecording(@Nullable Uri programHint) { onStartRecording(programHint); void startRecording(@Nullable Uri programUri) { onStartRecording(programUri); } /** Loading Loading
media/java/android/media/tv/ITvInputManager.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ interface ITvInputManager { void timeShiftEnablePositionTracking(in IBinder sessionToken, boolean enable, int userId); // For the recording session void startRecording(in IBinder sessionToken, in Uri programHint, int userId); void startRecording(in IBinder sessionToken, in Uri programUri, int userId); void stopRecording(in IBinder sessionToken, int userId); // For TV input hardware binding Loading
media/java/android/media/tv/ITvInputSession.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -56,6 +56,6 @@ oneway interface ITvInputSession { void timeShiftEnablePositionTracking(boolean enable); // For the recording session void startRecording(in Uri programHint); void startRecording(in Uri programUri); void stopRecording(); }
media/java/android/media/tv/ITvInputSessionWrapper.java +2 −2 Original line number Diff line number Diff line Loading @@ -352,8 +352,8 @@ public class ITvInputSessionWrapper extends ITvInputSession.Stub implements Hand } @Override public void startRecording(@Nullable Uri programHint) { mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_START_RECORDING, programHint)); public void startRecording(@Nullable Uri programUri) { mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_START_RECORDING, programUri)); } @Override Loading
media/java/android/media/tv/TvInputManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -2093,16 +2093,16 @@ public final class TvInputManager { /** * Starts TV program recording in the current recording session. * * @param programHint The URI for the TV program to record as a hint, built by * @param programUri The URI for the TV program to record as a hint, built by * {@link TvContract#buildProgramUri(long)}. Can be {@code null}. */ void startRecording(@Nullable Uri programHint) { void startRecording(@Nullable Uri programUri) { if (mToken == null) { Log.w(TAG, "The session has been already released"); return; } try { mService.startRecording(mToken, programHint, mUserId); mService.startRecording(mToken, programUri, mUserId); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } Loading
media/java/android/media/tv/TvInputService.java +4 −4 Original line number Diff line number Diff line Loading @@ -1695,8 +1695,8 @@ public abstract class TvInputService extends Service { * * <p>The application may supply the URI for a TV program for filling in program specific * data fields in the {@link android.media.tv.TvContract.RecordedPrograms} table. * A non-null {@code programHint} implies the started recording should be of that specific * program, whereas null {@code programHint} does not impose such a requirement and the * A non-null {@code programUri} implies the started recording should be of that specific * program, whereas null {@code programUri} does not impose such a requirement and the * recording can span across multiple TV programs. In either case, the application must call * {@link TvRecordingClient#stopRecording()} to stop the recording. * Loading Loading @@ -1761,8 +1761,8 @@ public abstract class TvInputService extends Service { * Calls {@link #onStartRecording(Uri)}. * */ void startRecording(@Nullable Uri programHint) { onStartRecording(programHint); void startRecording(@Nullable Uri programUri) { onStartRecording(programUri); } /** Loading