Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/
DBrowseTree.java40 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
172 .setMediaUri(ProgramSelectorExt.toUri(sel)) in createChild()
206 if (ProgramSelectorExt.isAmFrequency(freq)) { in setAmFmRegionConfig()
208 } else if (ProgramSelectorExt.isFmFrequency(freq)) { in setAmFmRegionConfig()
430 ProgramSelector sel = ProgramSelectorExt.createAmFmSelector(ch); in getChannels()
432 ProgramSelectorExt.getDisplayName(sel, 0), sel, null)); in getChannels()
487 return ProgramSelectorExt.createAmFmSelector(freqInt); in parseMediaId()
498 return ProgramSelectorExt.createAmFmSelector(mAmChannels.mBands.get(0).getLowerLimit()); in parseMediaId()
501 return ProgramSelectorExt.createAmFmSelector(mFmChannels.mBands.get(0).getLowerLimit()); in parseMediaId()
/packages/apps/Car/Radio/src/com/android/car/radio/bands/
DProgramType.java28 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
121 if (!ProgramSelectorExt.isAmFmProgram(sel)) return null; in fromSelector()
124 if (!ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in fromSelector()
130 if (ProgramSelectorExt.isAmFrequency(freq)) return AM; in fromSelector()
131 if (ProgramSelectorExt.isFmFrequency(freq)) return FM; in fromSelector()
DAMFMProgramType.java25 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
67 tuner.tune(ProgramSelectorExt.createAmFmSelector(freq), succeeded -> { in tuneToDefault()
92 return ProgramSelectorExt.createAmFmSelector(leadingDigits * getLeadingDigitsFactor()); in parseDigits()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramInfoExt.java53 ProgramSelectorExt.NAME_NO_MODULATION,
54 ProgramSelectorExt.NAME_MODULATION_ONLY,
91 if (ProgramSelectorExt.isAmFmProgram(sel)) { in getProgramName()
94 String chName = ProgramSelectorExt.formatAmFmFrequency(phy.getValue(), flags); in getProgramName()
99 String selName = ProgramSelectorExt.getDisplayName(sel, flags); in getProgramName()
DProgramSelectorExt.java43 public class ProgramSelectorExt { class
/packages/apps/Car/Radio/src/com/android/car/radio/
DDisplayController.java32 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
224 } else if (!ProgramSelectorExt.isAmFmProgram(sel) in setChannel()
225 || !ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in setChannel()
227 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel()
231 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel()
239 ProgramSelectorExt.formatAmFmFrequency((int) animation.getAnimatedValue(), 0))); in setChannel()
DProgramViewHolder.java30 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
117 mPresetItemChannel.setText(ProgramSelectorExt.getDisplayName( in bindPreset()
118 sel, ProgramSelectorExt.NAME_NO_MODULATION)); in bindPreset()
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DProgramSelectorConverter.java25 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
33 return Objects.requireNonNull(ProgramSelectorExt.fromUri(Uri.parse(uri))); in toSelector()
39 return ProgramSelectorExt.toUri(sel).toString(); in toString()
DRadioStorage.java30 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
158 Uri selUri = ProgramSelectorExt.toUri(sel); in setRecentlySelected()
190 return ProgramSelectorExt.fromUri(Uri.parse(selUriStr)); in getRecentlySelected()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java36 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt;
198 ProgramSelector selector = ProgramSelectorExt.fromUri(uri); in onPlayFromUri()