Loading media/java/android/media/tv/extension/rating/IDownloadableRatingTableMonitor.aidl 0 → 100644 +27 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.os.Bundle; /** * @hide */ interface IDownloadableRatingTableMonitor { // Get RRT rating info on downloadable rating data Bundle[] getTable(); } media/java/android/media/tv/extension/rating/IPmtRatingInterface.aidl 0 → 100644 +31 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.media.tv.extension.rating.IPmtRatingListener; /** * @hide */ interface IPmtRatingInterface { // Get Pmt rating information. String getPmtRating(String sessionToken); // Register a listener for pmt rating updates. void addPmtRatingListener(String clientToken, in IPmtRatingListener listener); // Remove the previously added IPmtRatingListener. void removePmtRatingListener(in IPmtRatingListener listener); } media/java/android/media/tv/extension/rating/IPmtRatingListener.aidl 0 → 100644 +24 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; /** * @hide */ oneway interface IPmtRatingListener { void onPmtRatingChanged(String sessionToken, String newTvContentRating); } media/java/android/media/tv/extension/rating/IProgramRatingInfo.aidl 0 → 100644 +32 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.media.tv.extension.rating.IProgramRatingInfoListener; import android.os.Bundle; /** * @hide */ interface IProgramRatingInfo { // Register a listener to receive notifications when ProgramRatingInfo is updated. void addProgramRatingInfoListener(String clientToken, in IProgramRatingInfoListener listener); // Remove a listener for ProgramRatingInfo update notifications. void removeProgramRatingInfoListener(in IProgramRatingInfoListener listener); // Get ProgramRatingInfo that may only be obtained when viewing. Bundle getProgramRatingInfo(String sessionToken); } media/java/android/media/tv/extension/rating/IProgramRatingInfoListener.aidl 0 → 100644 +26 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.os.Bundle; /** * @hide */ interface IProgramRatingInfoListener { void onProgramInfoChanged(String sessionToken,in Bundle changedProgramInfo); } Loading
media/java/android/media/tv/extension/rating/IDownloadableRatingTableMonitor.aidl 0 → 100644 +27 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.os.Bundle; /** * @hide */ interface IDownloadableRatingTableMonitor { // Get RRT rating info on downloadable rating data Bundle[] getTable(); }
media/java/android/media/tv/extension/rating/IPmtRatingInterface.aidl 0 → 100644 +31 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.media.tv.extension.rating.IPmtRatingListener; /** * @hide */ interface IPmtRatingInterface { // Get Pmt rating information. String getPmtRating(String sessionToken); // Register a listener for pmt rating updates. void addPmtRatingListener(String clientToken, in IPmtRatingListener listener); // Remove the previously added IPmtRatingListener. void removePmtRatingListener(in IPmtRatingListener listener); }
media/java/android/media/tv/extension/rating/IPmtRatingListener.aidl 0 → 100644 +24 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; /** * @hide */ oneway interface IPmtRatingListener { void onPmtRatingChanged(String sessionToken, String newTvContentRating); }
media/java/android/media/tv/extension/rating/IProgramRatingInfo.aidl 0 → 100644 +32 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.media.tv.extension.rating.IProgramRatingInfoListener; import android.os.Bundle; /** * @hide */ interface IProgramRatingInfo { // Register a listener to receive notifications when ProgramRatingInfo is updated. void addProgramRatingInfoListener(String clientToken, in IProgramRatingInfoListener listener); // Remove a listener for ProgramRatingInfo update notifications. void removeProgramRatingInfoListener(in IProgramRatingInfoListener listener); // Get ProgramRatingInfo that may only be obtained when viewing. Bundle getProgramRatingInfo(String sessionToken); }
media/java/android/media/tv/extension/rating/IProgramRatingInfoListener.aidl 0 → 100644 +26 −0 Original line number Diff line number Diff line /* * Copyright (C) 2024 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.extension.rating; import android.os.Bundle; /** * @hide */ interface IProgramRatingInfoListener { void onProgramInfoChanged(String sessionToken,in Bundle changedProgramInfo); }