Home
last modified time | relevance | path

Searched refs:mRadioManager (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioController.java77 private IRadioManager mRadioManager; field in RadioController
214 if (mRadioManager == null) { in updateRadioDisplay()
219 RadioStation station = mRadioManager.getCurrentRadioStation(); in updateRadioDisplay()
225 mHasDualTuners = mRadioManager.hasDualTuners(); in updateRadioDisplay()
241 mRadioDisplayController.setPlayPauseButtonState(mRadioManager.isMuted()); in updateRadioDisplay()
257 if (mRadioManager == null) { in tuneToRadioChannel()
262 mRadioManager.tune(radioStation); in tuneToRadioChannel()
282 if (mRadioManager == null) { in getCurrentRadioStation()
287 return mRadioManager.getCurrentRadioStation(); in getCurrentRadioStation()
303 if (mRadioManager == null || radioBand == mCurrentRadioBand) { in openRadioBand()
[all …]
DRadioService.java78 private RadioManager mRadioManager; field in RadioService
154 mRadioManager = (RadioManager) getSystemService(Context.RADIO_SERVICE); in initialze()
157 Log.d(TAG, "initialze(); mRadioManager: " + mRadioManager); in initialze()
160 if (mRadioManager == null) { in initialze()
165 int status = mRadioManager.listModules(mModules); in initialze()
216 mBackgroundScanner = new RadioBackgroundScanner(this /* context */, mRadioManager, in initialze()
263 mRadioTuner = mRadioManager.openTuner(mModules.get(0).getId(), config, true, in openRadioBandInternal()
487 if (mRadioManager == null || radioStation == null
512 if (mRadioManager == null
533 if (mRadioManager == null
[all …]
DRadioBackgroundScanner.java42 private final RadioManager mRadioManager; field in RadioBackgroundScanner
57 mRadioManager = radioManager; in RadioBackgroundScanner()
84 mRadioTuner = mRadioManager.openTuner(mRadioModule.getId(), config, true, in onRadioBandChanged()
/packages/apps/Car/Stream/src/com/android/car/stream/radio/
DRadioStreamProducer.java69 private IRadioManager mRadioManager; field in RadioStreamProducer
139 if (mRadioManager == null || !RADIO_INTENT_ACTION.equals(intent.getAction())) { in onReceive()
151 mRadioManager.seekForward(); in onReceive()
159 mRadioManager.seekBackward(); in onReceive()
167 mRadioManager.unMute(); in onReceive()
176 mRadioManager.mute(); in onReceive()
203 if (mRadioManager == null) {
208 boolean isPlaying = !mRadioManager.isMuted();
231 if (mRadioManager == null) {
238 boolean isPlaying = !mRadioManager.isMuted();
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
DRadioTestFragment.java134 private RadioManager mRadioManager; field in RadioTestFragment
220 mRadioManager = (RadioManager) getContext().getSystemService(Context.RADIO_SERVICE); in initializeRadio()
222 if (mRadioManager == null) { in initializeRadio()
226 int status = mRadioManager.listModules(mModules); in initializeRadio()
438 mRadioTuner = mRadioManager.openTuner(mModules.get(0).getId(), in handleRadioStart()