Home
last modified time | relevance | path

Searched refs:RadioTuner (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java35 import android.hardware.radio.RadioTuner;
72 private RadioTuner mRadioTuner;
75 @Mock private RadioTuner.Callback mCallback;
257 int ret = mRadioTuner.step(RadioTuner.DIRECTION_DOWN, true); in testStep()
263 ret = mRadioTuner.step(RadioTuner.DIRECTION_UP, false); in testStep()
275 int ret = mRadioTuner.step(RadioTuner.DIRECTION_DOWN, true); in testStepLoop()
319 int ret = mRadioTuner.step(RadioTuner.DIRECTION_DOWN, false); in testLateCancel()
334 int scanRet = mRadioTuner.scan(RadioTuner.DIRECTION_DOWN, true); in testScanAndCancel()
340 verify(mCallback, after(kCancelTimeoutMs).atMost(1)).onError(RadioTuner.ERROR_CANCELLED); in testScanAndCancel()
/frameworks/base/core/java/android/hardware/radio/
DTunerCallbackAdapter.java36 @NonNull private final RadioTuner.Callback mCallback;
47 TunerCallbackAdapter(@NonNull RadioTuner.Callback callback, @Nullable Handler handler) { in TunerCallbackAdapter()
128 errorCode = RadioTuner.ERROR_SERVER_DIED; in onTuneFailed()
139 errorCode = RadioTuner.ERROR_SCAN_TIMEOUT; in onTuneFailed()
DTunerAdapter.java32 class TunerAdapter extends RadioTuner {
129 mTuner.step(direction == RadioTuner.DIRECTION_DOWN, skipSubChannel); in step()
143 mTuner.scan(direction == RadioTuner.DIRECTION_DOWN, skipSubChannel); in scan()
DRadioTuner.java37 public abstract class RadioTuner { class
DRadioManager.java1760 public RadioTuner openTuner(int moduleId, BandConfig config, boolean withAudio, in openTuner()
1761 RadioTuner.Callback callback, Handler handler) { in openTuner()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java27 import android.hardware.radio.RadioTuner;
79 prevModule.closeSessions(RadioTuner.ERROR_HARDWARE_FAILURE);
105 prevModule.closeSessions(RadioTuner.ERROR_HARDWARE_FAILURE);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTunerCallback.java27 import android.hardware.radio.RadioTuner;
87 onError(RadioTuner.ERROR_HARDWARE_FAILURE); in handleHwFailure()
/frameworks/base/api/
Dsystem-current.txt2987 …id.hardware.radio.RadioTuner openTuner(int, android.hardware.radio.RadioManager.BandConfig, boolea…
3190 public abstract class RadioTuner {
3191 ctor public RadioTuner();
3227 public abstract static class RadioTuner.Callback {
3228 ctor public RadioTuner.Callback();
/frameworks/base/non-updatable-api/
Dsystem-current.txt2987 …id.hardware.radio.RadioTuner openTuner(int, android.hardware.radio.RadioManager.BandConfig, boolea…
3190 public abstract class RadioTuner {
3191 ctor public RadioTuner();
3227 public abstract static class RadioTuner.Callback {
3228 ctor public RadioTuner.Callback();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt24774 Landroid/hardware/radio/RadioTuner;->getMetadataImage(I)Landroid/graphics/Bitmap;