Loading media/java/android/media/tv/tuner/Tuner.java +1 −19 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.media.tv.tuner.TunerConstants.LnbTone; import android.media.tv.tuner.TunerConstants.LnbVoltage; import android.media.tv.tuner.TunerConstants.Result; import android.media.tv.tuner.filter.FilterEvent; import android.media.tv.tuner.frontend.FrontendCallback; import android.os.Handler; import android.os.Looper; import android.os.Message; Loading Loading @@ -130,25 +131,6 @@ public final class Tuner implements AutoCloseable { private static native DemuxCapabilities nativeGetDemuxCapabilities(); /** * Frontend Callback. * * @hide */ public interface FrontendCallback { /** * Invoked when there is a frontend event. */ void onEvent(int frontendEventType); /** * Invoked when there is a scan message. * @param msg */ void onScanMessage(ScanMessage msg); } /** * LNB Callback. * Loading media/java/android/media/tv/tuner/frontend/FrontendCallback.java 0 → 100644 +38 −0 Original line number Diff line number Diff line /* * Copyright (C) 2020 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.tuner.frontend; import android.media.tv.tuner.ScanMessage; /** * Frontend Callback. * * @hide */ public interface FrontendCallback { /** * Invoked when there is a frontend event. */ void onEvent(int frontendEventType); /** * Invoked when there is a scan message. * @param msg */ void onScanMessage(ScanMessage msg); } Loading
media/java/android/media/tv/tuner/Tuner.java +1 −19 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.media.tv.tuner.TunerConstants.LnbTone; import android.media.tv.tuner.TunerConstants.LnbVoltage; import android.media.tv.tuner.TunerConstants.Result; import android.media.tv.tuner.filter.FilterEvent; import android.media.tv.tuner.frontend.FrontendCallback; import android.os.Handler; import android.os.Looper; import android.os.Message; Loading Loading @@ -130,25 +131,6 @@ public final class Tuner implements AutoCloseable { private static native DemuxCapabilities nativeGetDemuxCapabilities(); /** * Frontend Callback. * * @hide */ public interface FrontendCallback { /** * Invoked when there is a frontend event. */ void onEvent(int frontendEventType); /** * Invoked when there is a scan message. * @param msg */ void onScanMessage(ScanMessage msg); } /** * LNB Callback. * Loading
media/java/android/media/tv/tuner/frontend/FrontendCallback.java 0 → 100644 +38 −0 Original line number Diff line number Diff line /* * Copyright (C) 2020 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.tuner.frontend; import android.media.tv.tuner.ScanMessage; /** * Frontend Callback. * * @hide */ public interface FrontendCallback { /** * Invoked when there is a frontend event. */ void onEvent(int frontendEventType); /** * Invoked when there is a scan message. * @param msg */ void onScanMessage(ScanMessage msg); }