Home
last modified time | relevance | path

Searched refs:mRadioTuner (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
DRadioTunerFragment.java54 protected final RadioTuner mRadioTuner; field in RadioTunerFragment
70 mRadioTuner = radioManager.openTuner(moduleId, /* config= */ null, /* withAudio= */ true, in RadioTunerFragment()
73 if (mRadioTuner == null) { in RadioTunerFragment()
76 mProgramList = mRadioTuner.getDynamicProgramList(/* filter= */ null); in RadioTunerFragment()
81 return mRadioTuner; in getRadioTuner()
139 if (mRadioTuner == null) { in handleTune()
145 mRadioTuner.tune(sel); in handleTune()
153 if (mRadioTuner == null) { in handleSeek()
159 mRadioTuner.seek(direction, mSeekChannelCheckBox.isChecked()); in handleSeek()
167 if (mRadioTuner == null) { in handleClose()
[all …]
DAmFmTunerFragment.java74 if (mRadioTuner.isConfigFlagSupported(RadioManager.CONFIG_FORCE_ANALOG_AM)) { in setupTunerView()
77 mAmHdSwitch.setChecked(!mRadioTuner.isConfigFlagSet( in setupTunerView()
80 if (!mRadioTuner.isConfigFlagSupported(RadioManager.CONFIG_FORCE_ANALOG_FM)) { in setupTunerView()
84 mFmHdSwitch.setChecked(!mRadioTuner.isConfigFlagSet( in setupTunerView()
88 if (!mRadioTuner.isConfigFlagSupported(RadioManager.CONFIG_FORCE_ANALOG)) { in setupTunerView()
92 mFmHdSwitch.setChecked(!mRadioTuner.isConfigFlagSet( in setupTunerView()
161 if (mRadioTuner == null) { in handleStep()
167 mRadioTuner.step(direction, /* skipSubChannel= */ false); in handleStep()
175 if (mRadioTuner == null) { in handleHdEnable()
188 mRadioTuner.setConfigFlag(configFlag, !hdEnabled); in handleHdEnable()