/packages/apps/Car/Radio/src/com/android/car/radio/demo/ |
D | DemoRadioStations.java | 20 import com.android.car.radio.service.RadioStation; 30 private static final List<RadioStation> mFmStations = Arrays.asList( 31 new RadioStation(94900, 0, RadioManager.BAND_FM, 33 new RadioStation(96500, 0, RadioManager.BAND_FM, 35 new RadioStation(97300, 0, RadioManager.BAND_FM, 37 new RadioStation(99700, 0, RadioManager.BAND_FM, 39 new RadioStation(101300, 0, RadioManager.BAND_FM, 41 new RadioStation(103700, 0, RadioManager.BAND_FM, 43 new RadioStation(106100, 0, RadioManager.BAND_FM, 46 private static final List<RadioStation> mAmStations = Arrays.asList( [all …]
|
D | RadioDemo.java | 33 import com.android.car.radio.service.RadioStation; 57 private List<RadioStation> mCurrentStations = new ArrayList<>(); 83 public void tune(RadioStation station) throws RemoteException { in createDemoManager() 95 RadioStation storedStation = mCurrentStations.get(i); in createDemoManager() 109 RadioStation storedStation = mCurrentStations.get(i); in createDemoManager() 117 RadioStation stationToInsert = new RadioStation(station.getChannelNumber(), in createDemoManager() 199 public RadioStation getCurrentRadioStation() throws RemoteException { in createDemoManager() 377 private void notifyCallbacks(RadioStation station) {
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioStorage.java | 27 import com.android.car.radio.service.RadioStation; 87 private List<RadioStation> mPresets = new ArrayList<>(); 164 public List<RadioStation> getPresets() { in getPresets() 176 return isPreset(new RadioStation(channel, 0 /* subchannel */, radioBand, null /* rds */)); in isPreset() 182 public boolean isPreset(RadioStation station) { in isPreset() 189 for (RadioStation preset : mPresets) { in isPreset() 207 public void storePreset(RadioStation preset) { in storePreset() 223 public void removePreset(RadioStation preset) { in removePreset() 311 public void storePreScannedStations(int radioBand, List<RadioStation> stations) { in storePreScannedStations() 324 public List<RadioStation> getPreScannedStationsForBand(int radioBand) { in getPreScannedStationsForBand() [all …]
|
D | RadioController.java | 43 import com.android.car.radio.service.RadioStation; 54 LoaderManager.LoaderCallbacks<List<RadioStation>> { 131 void onRadioStationChanged(RadioStation station); in onRadioStationChanged() 219 RadioStation station = mRadioManager.getCurrentRadioStation(); in updateRadioDisplay() 256 public void tuneToRadioChannel(RadioStation radioStation) { in tuneToRadioChannel() 281 public RadioStation getCurrentRadioStation() { in getCurrentRadioStation() 353 RadioStation station = new RadioStation(mCurrentChannelNumber, 0 /* subchannel */, in maybeTuneToStoredRadioChannel() 633 public Loader<List<RadioStation>> onCreateLoader(int id, Bundle args) { in onCreateLoader() 642 public void onLoadFinished(Loader<List<RadioStation>> loader, in onLoadFinished() 643 List<RadioStation> preScannedStations) { in onLoadFinished() [all …]
|
D | PrescannedRadioStationAdapter.java | 25 import com.android.car.radio.service.RadioStation; 36 private List<RadioStation> mStations; 42 public void setStations(List<RadioStation> stations) { in setStations() 74 public RadioStation getPrevStation() { in getPrevStation() 92 public RadioStation getNextStation() { in getNextStation() 120 RadioStation station = mStations.get(i); in getIndexOrInsertForStation() 135 RadioStation stationToInsert = new RadioStation(channelNumber, 0 /* subChannel */, in getIndexOrInsertForStation() 163 RadioStation station = mStations.get(position); in bindView()
|
D | RadioDatabase.java | 30 import com.android.car.radio.service.RadioStation; 148 public List<RadioStation> getAllPresets() { in getAllPresets() 156 List<RadioStation> presets = new ArrayList<>(); in getAllPresets() 177 presets.add(new RadioStation(channel, subChannel, band, rds)); in getAllPresets() 200 public boolean insertPreset(RadioStation preset) { in insertPreset() 236 public boolean deletePreset(RadioStation preset) { in deletePreset() 267 public List<RadioStation> getAllPreScannedStationsForBand(int radioBand) { in getAllPreScannedStationsForBand() 275 List<RadioStation> stations = new ArrayList<>(); in getAllPreScannedStationsForBand() 298 stations.add(new RadioStation(channel, subChannel, band, rds)); in getAllPreScannedStationsForBand() 324 public boolean insertPreScannedStations(int radioBand, List<RadioStation> stations) { in insertPreScannedStations() [all …]
|
D | RadioBackgroundScanner.java | 26 import com.android.car.radio.service.RadioStation; 52 private List<RadioStation> mScannedStations = new ArrayList<>(); 112 private void addOrReplaceInScannedStations(RadioStation station) { in addOrReplaceInScannedStations() 154 for (RadioStation station : mScannedStations) { in onProgramInfoChanged() 176 RadioStation station = new RadioStation(mCurrentChannel, 0 /* subChannelNumber */, in onProgramInfoChanged() 194 RadioStation station = new RadioStation(mCurrentChannel, 0 /* subChannelNumber */, in onMetadataChanged()
|
D | PresetsAdapter.java | 25 import com.android.car.radio.service.RadioStation; 39 private RadioStation mActiveRadioStation; 41 private List<RadioStation> mPresets; 54 void onPresetItemClicked(RadioStation radioStation); in onPresetItemClicked() 67 public void setPresets(List<RadioStation> presets) { in setPresets() 77 public void setActiveRadioStation(RadioStation station) { in setActiveRadioStation() 92 RadioStation station = mPresets.get(position); in onBindViewHolder()
|
D | RadioPresetsFragment.java | 33 import com.android.car.radio.service.RadioStation; 239 public void onPresetItemClicked(RadioStation station) { in onPresetItemClicked() 244 public void onRadioStationChanged(RadioStation station) { in onRadioStationChanged() 264 private void setPresetsOnList(List<RadioStation> presets) { in setPresetsOnList() 270 for (RadioStation radioStation : presets) { in setPresetsOnList()
|
D | RadioService.java | 44 import com.android.car.radio.service.RadioStation; 300 private RadioStation createCurrentRadioStation() { in createCurrentRadioStation() 327 return new RadioStation(mCurrentRadioChannel, 0 /* subChannelNumber */, in createCurrentRadioStation() 486 public void tune(RadioStation radioStation) { 708 public RadioStation getCurrentRadioStation() { 762 RadioStation station = createCurrentRadioStation(); in onProgramInfoChanged()
|
D | PreScannedChannelLoader.java | 21 import com.android.car.radio.service.RadioStation; 29 public class PreScannedChannelLoader extends AsyncTaskLoader<List<RadioStation>> { 57 public List<RadioStation> loadInBackground() { in loadInBackground()
|
D | ManualTunerFragment.java | 25 import com.android.car.radio.service.RadioStation; 51 void onStationSelected(@Nullable RadioStation station); in onStationSelected() 82 public void onDone(RadioStation station) { in onDone()
|
D | ManualTunerController.java | 24 import com.android.car.radio.service.RadioStation; 114 void onDone(RadioStation station); in onDone() 492 RadioStation station = new RadioStation(channelFrequency, 0 /* subChannelNumber */,
|
D | RadioChannelColorMapper.java | 23 import com.android.car.radio.service.RadioStation; 76 public int getColorForStation(@NonNull RadioStation radioStation) { in getColorForStation()
|
D | PresetsViewHolder.java | 27 import com.android.car.radio.service.RadioStation; 95 public void bindPreset(RadioStation preset, boolean isActiveStation, int itemCount) { in bindPreset()
|
D | CarRadioActivity.java | 28 import com.android.car.radio.service.RadioStation; 122 public void onStationSelected(RadioStation station) { in onStationSelected()
|
D | RadioChannelFormatter.java | 21 import com.android.car.radio.service.RadioStation;
|
/packages/apps/Car/libs/car-radio-service/src/com/android/car/radio/service/ |
D | RadioStation.java | 28 public class RadioStation implements Parcelable { class 44 public RadioStation(int channelNumber, int subChannelNumber, int band, in RadioStation() method in RadioStation 52 private RadioStation(Parcel in) { in RadioStation() method in RadioStation 100 if (!(object instanceof RadioStation)) { in equals() 104 RadioStation station = (RadioStation) object; in equals() 119 public static final Parcelable.Creator<RadioStation> CREATOR = new 120 Parcelable.Creator<RadioStation>() { 121 public RadioStation createFromParcel(Parcel in) { 122 return new RadioStation(in); 125 public RadioStation[] newArray(int size) { [all …]
|
D | IRadioManager.aidl | 19 import com.android.car.radio.service.RadioStation; 28 void tune(in RadioStation station); in tune() 83 RadioStation getCurrentRadioStation(); in getCurrentRadioStation()
|
D | IRadioCallback.aidl | 18 import com.android.car.radio.service.RadioStation; 31 void onRadioStationChanged(in RadioStation station); in onRadioStationChanged()
|
D | RadioStation.aidl | 18 parcelable RadioStation;
|
/packages/apps/Car/Stream/src/com/android/car/stream/radio/ |
D | RadioStreamProducer.java | 32 import com.android.car.radio.service.RadioStation; 195 public void onRadioStationChanged(RadioStation station) { 236 RadioStation station = new RadioStation(mCurrentChannelNumber, 252 RadioStation station = new RadioStation(mCurrentChannelNumber,
|
D | RadioConverter.java | 27 import com.android.car.radio.service.RadioStation; 83 public StreamCard convert(RadioStation station, boolean isPlaying) { in convert() 115 private String createTitleText(RadioStation station) { in createTitleText()
|
D | RadioFormatter.java | 20 import com.android.car.radio.service.RadioStation;
|