/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | ConversionUtilsResultTest.java | 20 import android.hardware.radio.RadioTuner; 49 {Result.OK, RadioTuner.TUNER_RESULT_OK}, in inputParameters() 50 {Result.INTERNAL_ERROR, RadioTuner.TUNER_RESULT_INTERNAL_ERROR}, in inputParameters() 51 {Result.INVALID_ARGUMENTS, RadioTuner.TUNER_RESULT_INVALID_ARGUMENTS}, in inputParameters() 52 {Result.INVALID_STATE, RadioTuner.TUNER_RESULT_INVALID_STATE}, in inputParameters() 53 {Result.NOT_SUPPORTED, RadioTuner.TUNER_RESULT_NOT_SUPPORTED}, in inputParameters() 54 {Result.TIMEOUT, RadioTuner.TUNER_RESULT_TIMEOUT}, in inputParameters() 55 {Result.CANCELED, RadioTuner.TUNER_RESULT_CANCELED}, in inputParameters() 56 {Result.UNKNOWN_ERROR, RadioTuner.TUNER_RESULT_UNKNOWN_ERROR} in inputParameters()
|
D | BroadcastRadioServiceImplTest.java | 38 import android.hardware.radio.RadioTuner; 187 verify(mFmRadioModuleMock).closeSessions(eq(RadioTuner.ERROR_HARDWARE_FAILURE)); in binderDied_forDeathRecipient()
|
D | TunerSessionTest.java | 50 import android.hardware.radio.RadioTuner; 302 int errorCode = RadioTuner.ERROR_SERVER_DIED; in close_withOneSession_withError() 314 int errorCode = RadioTuner.ERROR_SERVER_DIED; in close_forMultipleTimes() 330 int errorCode = RadioTuner.ERROR_SERVER_DIED; in closeSessions_withMultipleSessions_withError() 552 .onTuneFailed(eq(RadioTuner.TUNER_RESULT_TIMEOUT), any()); in seek_callsOnTuneFailedWhenTimeout() 1217 .onTuneFailed(RadioTuner.TUNER_RESULT_CANCELED, sel); in onTuneFailed_forTunerCallback()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | ConvertResultTest.java | 20 import android.hardware.radio.RadioTuner; 49 {Result.OK, RadioTuner.TUNER_RESULT_OK}, in inputParameters() 50 {Result.INTERNAL_ERROR, RadioTuner.TUNER_RESULT_INTERNAL_ERROR}, in inputParameters() 51 {Result.INVALID_ARGUMENTS, RadioTuner.TUNER_RESULT_INVALID_ARGUMENTS}, in inputParameters() 52 {Result.INVALID_STATE, RadioTuner.TUNER_RESULT_INVALID_STATE}, in inputParameters() 53 {Result.NOT_SUPPORTED, RadioTuner.TUNER_RESULT_NOT_SUPPORTED}, in inputParameters() 54 {Result.TIMEOUT, RadioTuner.TUNER_RESULT_TIMEOUT}, in inputParameters() 55 {Result.UNKNOWN_ERROR, RadioTuner.TUNER_RESULT_UNKNOWN_ERROR} in inputParameters()
|
D | BroadcastRadioServiceHidlTest.java | 37 import android.hardware.radio.RadioTuner; 203 verify(mFmRadioModuleMock).closeSessions(eq(RadioTuner.ERROR_HARDWARE_FAILURE)); in binderDied_forDeathRecipient()
|
D | TunerSessionHidlTest.java | 46 import android.hardware.radio.RadioTuner; 304 int errorCode = RadioTuner.ERROR_SERVER_DIED; in close_withOneSession_withError() 316 int errorCode = RadioTuner.ERROR_SERVER_DIED; in close_forMultipleTimes() 332 int errorCode = RadioTuner.ERROR_SERVER_DIED; in closeSessions_withMultipleSessions_withError() 531 .onTuneFailed(eq(RadioTuner.TUNER_RESULT_TIMEOUT), any()); in seek_callsOnTuneFailedWhenTimeout()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | TunerCallbackAdapter.java | 37 private final RadioTuner.Callback mCallback; 56 TunerCallbackAdapter(RadioTuner.Callback callback, @Nullable Handler handler) { in TunerCallbackAdapter() 147 case RadioTuner.TUNER_RESULT_CANCELED: in onTuneFailed() 148 errorCode = RadioTuner.ERROR_CANCELLED; in onTuneFailed() 152 errorCode = RadioTuner.ERROR_SERVER_DIED; in onTuneFailed() 158 case RadioTuner.TUNER_RESULT_INTERNAL_ERROR: in onTuneFailed() 159 case RadioTuner.TUNER_RESULT_INVALID_ARGUMENTS: in onTuneFailed() 160 case RadioTuner.TUNER_RESULT_INVALID_STATE: in onTuneFailed() 161 case RadioTuner.TUNER_RESULT_NOT_SUPPORTED: in onTuneFailed() 162 case RadioTuner.TUNER_RESULT_UNKNOWN_ERROR: in onTuneFailed() [all …]
|
D | TunerAdapter.java | 34 final class TunerAdapter extends RadioTuner { 143 mTuner.step(/* directionDown= */ direction == RadioTuner.DIRECTION_DOWN, in step() 158 mTuner.seek(/* directionDown= */ direction == RadioTuner.DIRECTION_DOWN, in scan() 173 mTuner.seek(/* directionDown= */ direction == RadioTuner.DIRECTION_DOWN, in seek()
|
D | RadioTuner.java | 44 public abstract class RadioTuner { class
|
D | RadioManager.java | 1915 public RadioTuner openTuner(int moduleId, BandConfig config, boolean withAudio, in openTuner() 1916 RadioTuner.Callback callback, Handler handler) { in openTuner()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
D | TunerAdapterTest.java | 70 private RadioTuner mRadioTuner; 81 private RadioTuner.Callback mCallbackMock; 104 mTunerCallback.onTuneFailed(RadioTuner.TUNER_RESULT_INVALID_ARGUMENTS, program); in setUp() 253 int scanStatus = mRadioTuner.step(RadioTuner.DIRECTION_DOWN, /* skipSubChannel= */ false); in step_forTunerAdapter_succeeds() 266 .that(mRadioTuner.step(RadioTuner.DIRECTION_UP, /* skipSubChannel= */ false)) in step_whenIllegalState_fails() 275 .that(mRadioTuner.step(RadioTuner.DIRECTION_UP, /* skipSubChannel= */ false)) in step_whenServiceDied_fails() 286 int scanStatus = mRadioTuner.scan(RadioTuner.DIRECTION_DOWN, /* skipSubChannel= */ false); in scan_forTunerAdapter_succeeds() 299 .that(mRadioTuner.scan(RadioTuner.DIRECTION_UP, /* skipSubChannel= */ false)) in scan_whenIllegalState_fails() 308 .that(mRadioTuner.scan(RadioTuner.DIRECTION_UP, /* skipSubChannel= */ true)) in scan_whenServiceDied_fails() 319 int scanStatus = mRadioTuner.seek(RadioTuner.DIRECTION_DOWN, /* skipSubChannel= */ false); in seek_forTunerAdapter_succeeds() [all …]
|
D | DefaultRadioTunerTest.java | 34 private static final RadioTuner DEFAULT_RADIO_TUNER = new RadioTuner() { 124 DEFAULT_RADIO_TUNER.seek(RadioTuner.DIRECTION_DOWN, in seek_forRadioTuner_throwsException()
|
D | ProgramListTest.java | 133 private RadioTuner mRadioTuner; 146 private RadioTuner.Callback mTunerCallbackMock;
|
D | RadioManagerTest.java | 166 private RadioTuner.Callback mCallbackMock; 1270 RadioTuner nullTuner = mRadioManager.openTuner(/* moduleId= */ 0, FM_BAND_CONFIG, in openTuner_whenServiceDied_returnsNull()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | Convert.java | 38 import android.hardware.radio.RadioTuner; 84 @RadioTuner.TunerResultType 88 return RadioTuner.TUNER_RESULT_OK; in halResultToTunerResult() 90 return RadioTuner.TUNER_RESULT_INTERNAL_ERROR; in halResultToTunerResult() 92 return RadioTuner.TUNER_RESULT_INVALID_ARGUMENTS; in halResultToTunerResult() 94 return RadioTuner.TUNER_RESULT_INVALID_STATE; in halResultToTunerResult() 96 return RadioTuner.TUNER_RESULT_NOT_SUPPORTED; in halResultToTunerResult() 98 return RadioTuner.TUNER_RESULT_TIMEOUT; in halResultToTunerResult() 101 return RadioTuner.TUNER_RESULT_UNKNOWN_ERROR; in halResultToTunerResult()
|
D | BroadcastRadioService.java | 27 import android.hardware.radio.RadioTuner; 86 prevModule.closeSessions(RadioTuner.ERROR_HARDWARE_FAILURE); 112 prevModule.closeSessions(RadioTuner.ERROR_HARDWARE_FAILURE);
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | ConversionUtils.java | 41 import android.hardware.radio.RadioTuner; 130 @RadioTuner.TunerResultType 134 return RadioTuner.TUNER_RESULT_OK; in halResultToTunerResult() 136 return RadioTuner.TUNER_RESULT_INTERNAL_ERROR; in halResultToTunerResult() 138 return RadioTuner.TUNER_RESULT_INVALID_ARGUMENTS; in halResultToTunerResult() 140 return RadioTuner.TUNER_RESULT_INVALID_STATE; in halResultToTunerResult() 142 return RadioTuner.TUNER_RESULT_NOT_SUPPORTED; in halResultToTunerResult() 144 return RadioTuner.TUNER_RESULT_TIMEOUT; in halResultToTunerResult() 146 return RadioTuner.TUNER_RESULT_CANCELED; in halResultToTunerResult() 149 return RadioTuner.TUNER_RESULT_UNKNOWN_ERROR; in halResultToTunerResult()
|
D | BroadcastRadioServiceImpl.java | 26 import android.hardware.radio.RadioTuner; 92 prevModule.closeSessions(RadioTuner.ERROR_HARDWARE_FAILURE); 125 prevModule.closeSessions(RadioTuner.ERROR_HARDWARE_FAILURE); in binderDied()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/ |
D | TunerCallback.java | 25 import android.hardware.radio.RadioTuner; 86 onError(RadioTuner.ERROR_HARDWARE_FAILURE); in handleHwFailure()
|
/frameworks/base/api/ |
D | javadoc-lint-baseline | 49 …castradio/aidl/ConversionUtils.java:70: lint: Unresolved link/see tag "RadioTuner" in android [101] 52 … lint: Unresolved link/see tag "com.android.server.broadcastradio.aidl.RadioTuner" in android [101]
|
/frameworks/base/core/api/ |
D | system-current.txt | 6390 …id.hardware.radio.RadioTuner openTuner(int, android.hardware.radio.RadioManager.BandConfig, boolea… 6605 public abstract class RadioTuner { 6606 ctor public RadioTuner(); 6652 public abstract static class RadioTuner.Callback { 6653 ctor public RadioTuner.Callback();
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 21887 Landroid/hardware/radio/RadioTuner;->getMetadataImage(I)Landroid/graphics/Bitmap;
|