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/ |
D | BrowseTree.java | 40 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/ |
D | ProgramType.java | 29 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt; 128 if (!ProgramSelectorExt.isAmFmProgram(sel)) return null; in fromSelector() 131 if (!ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in fromSelector() 137 if (ProgramSelectorExt.isAmFrequency(freq)) return AM; in fromSelector() 138 if (ProgramSelectorExt.isFmFrequency(freq)) return FM; in fromSelector()
|
D | AMFMProgramType.java | 25 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/ |
D | ProgramInfoExt.java | 53 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()
|
D | ProgramSelectorExt.java | 43 public class ProgramSelectorExt { class
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | DisplayController.java | 32 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt; 220 } else if (!ProgramSelectorExt.isAmFmProgram(sel) in setChannel() 221 || !ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in setChannel() 223 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel() 227 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel() 235 ProgramSelectorExt.formatAmFmFrequency((int) animation.getAnimatedValue(), 0))); in setChannel()
|
D | ProgramViewHolder.java | 30 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/ |
D | ProgramSelectorConverter.java | 25 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()
|
D | RadioStorage.java | 30 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt; 161 Uri selUri = ProgramSelectorExt.toUri(sel); in setRecentlySelected() 193 return ProgramSelectorExt.fromUri(Uri.parse(selUriStr)); in getRecentlySelected()
|
/packages/apps/Car/Radio/src/com/android/car/radio/media/ |
D | TunerSession.java | 36 import com.android.car.broadcastradio.support.platform.ProgramSelectorExt; 198 ProgramSelector selector = ProgramSelectorExt.fromUri(uri); in onPlayFromUri()
|