Loading media/java/android/media/tv/BroadcastInfoRequest.aidl 0 → 100644 +19 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; parcelable BroadcastInfoRequest; media/java/android/media/tv/BroadcastInfoRequest.java 0 → 100644 +58 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; import android.os.Parcel; import android.os.Parcelable; import android.annotation.NonNull; /** @hide */ public final class BroadcastInfoRequest implements Parcelable { public static final @NonNull Parcelable.Creator<BroadcastInfoRequest> CREATOR = new Parcelable.Creator<BroadcastInfoRequest>() { @Override public BroadcastInfoRequest createFromParcel(Parcel source) { return new BroadcastInfoRequest(source); } @Override public BroadcastInfoRequest[] newArray(int size) { return new BroadcastInfoRequest[size]; } }; int requestId; public BroadcastInfoRequest(int requestId) { this.requestId = requestId; } private BroadcastInfoRequest(Parcel source) { requestId = source.readInt(); } @Override public int describeContents() { return 0; } @Override public void writeToParcel(@NonNull Parcel dest, int flags) { dest.writeInt(requestId); } } media/java/android/media/tv/BroadcastInfoResponse.aidl 0 → 100644 +19 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; parcelable BroadcastInfoResponse; media/java/android/media/tv/BroadcastInfoResponse.java 0 → 100644 +58 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; import android.os.Parcel; import android.os.Parcelable; import android.annotation.NonNull; /** @hide */ public final class BroadcastInfoResponse implements Parcelable { public static final @NonNull Parcelable.Creator<BroadcastInfoResponse> CREATOR = new Parcelable.Creator<BroadcastInfoResponse>() { @Override public BroadcastInfoResponse createFromParcel(Parcel source) { return new BroadcastInfoResponse(source); } @Override public BroadcastInfoResponse[] newArray(int size) { return new BroadcastInfoResponse[size]; } }; int requestId; public BroadcastInfoResponse(int requestId) { this.requestId = requestId; } private BroadcastInfoResponse(Parcel source) { requestId = source.readInt(); } @Override public int describeContents() { return 0; } @Override public void writeToParcel(@NonNull Parcel dest, int flags) { dest.writeInt(requestId); } } media/java/android/media/tv/ITvInputClient.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.net.Uri; import android.media.tv.TvTrackInfo; import android.os.Bundle; import android.view.InputChannel; import android.media.tv.BroadcastInfoResponse; /** * Interface a client of the ITvInputManager implements, to identify itself and receive information Loading @@ -48,4 +49,7 @@ oneway interface ITvInputClient { void onTuned(int seq, in Uri channelUri); void onRecordingStopped(in Uri recordedProgramUri, int seq); void onError(int error, int seq); // For broadcast info void onBroadcastInfoResponse(in BroadcastInfoResponse response, int seq); } Loading
media/java/android/media/tv/BroadcastInfoRequest.aidl 0 → 100644 +19 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; parcelable BroadcastInfoRequest;
media/java/android/media/tv/BroadcastInfoRequest.java 0 → 100644 +58 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; import android.os.Parcel; import android.os.Parcelable; import android.annotation.NonNull; /** @hide */ public final class BroadcastInfoRequest implements Parcelable { public static final @NonNull Parcelable.Creator<BroadcastInfoRequest> CREATOR = new Parcelable.Creator<BroadcastInfoRequest>() { @Override public BroadcastInfoRequest createFromParcel(Parcel source) { return new BroadcastInfoRequest(source); } @Override public BroadcastInfoRequest[] newArray(int size) { return new BroadcastInfoRequest[size]; } }; int requestId; public BroadcastInfoRequest(int requestId) { this.requestId = requestId; } private BroadcastInfoRequest(Parcel source) { requestId = source.readInt(); } @Override public int describeContents() { return 0; } @Override public void writeToParcel(@NonNull Parcel dest, int flags) { dest.writeInt(requestId); } }
media/java/android/media/tv/BroadcastInfoResponse.aidl 0 → 100644 +19 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; parcelable BroadcastInfoResponse;
media/java/android/media/tv/BroadcastInfoResponse.java 0 → 100644 +58 −0 Original line number Diff line number Diff line /* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.media.tv; import android.os.Parcel; import android.os.Parcelable; import android.annotation.NonNull; /** @hide */ public final class BroadcastInfoResponse implements Parcelable { public static final @NonNull Parcelable.Creator<BroadcastInfoResponse> CREATOR = new Parcelable.Creator<BroadcastInfoResponse>() { @Override public BroadcastInfoResponse createFromParcel(Parcel source) { return new BroadcastInfoResponse(source); } @Override public BroadcastInfoResponse[] newArray(int size) { return new BroadcastInfoResponse[size]; } }; int requestId; public BroadcastInfoResponse(int requestId) { this.requestId = requestId; } private BroadcastInfoResponse(Parcel source) { requestId = source.readInt(); } @Override public int describeContents() { return 0; } @Override public void writeToParcel(@NonNull Parcel dest, int flags) { dest.writeInt(requestId); } }
media/java/android/media/tv/ITvInputClient.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.net.Uri; import android.media.tv.TvTrackInfo; import android.os.Bundle; import android.view.InputChannel; import android.media.tv.BroadcastInfoResponse; /** * Interface a client of the ITvInputManager implements, to identify itself and receive information Loading @@ -48,4 +49,7 @@ oneway interface ITvInputClient { void onTuned(int seq, in Uri channelUri); void onRecordingStopped(in Uri recordedProgramUri, int seq); void onError(int error, int seq); // For broadcast info void onBroadcastInfoResponse(in BroadcastInfoResponse response, int seq); }