Home
last modified time | relevance | path

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

/packages/apps/Car/Radio/src/com/android/car/radio/
DPrescannedRadioStationAdapter.java54 public int setStartingStation(int channelNumber, int band) { in setStartingStation() argument
55 getIndexOrInsertForStation(channelNumber, band); in setStartingStation()
111 public int getIndexOrInsertForStation(int channelNumber, int band) { in getIndexOrInsertForStation() argument
122 if (channelNumber >= station.getChannelNumber()) { in getIndexOrInsertForStation()
127 if (station.getChannelNumber() == channelNumber && station.getRadioBand() == band) { in getIndexOrInsertForStation()
135 RadioStation stationToInsert = new RadioStation(channelNumber, 0 /* subChannel */, in getIndexOrInsertForStation()
DRadioChannelFormatter.java55 public static String formatRadioChannel(int band, int channelNumber) { in formatRadioChannel() argument
58 return AM_FORMATTER.format(channelNumber); in formatRadioChannel()
62 return FM_FORMATTER.format((float) channelNumber / 1000); in formatRadioChannel()
DPresetsViewHolder.java106 String channelNumber = RadioChannelFormatter.formatRadioChannel(preset.getRadioBand(), in bindPreset() local
109 mPresetItemChannel.setText(channelNumber); in bindPreset()
DRadioDatabase.java244 String channelNumber = Integer.toString(preset.getChannelNumber()); in deletePreset() local
248 new String[] { channelNumber, subChannelNumber }); in deletePreset()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelInfo.java76 public static ChannelInfo create(@Nullable Context context, int channelNumber) { in create() argument
78 .setNumber(String.valueOf(channelNumber)) in create()
79 .setName("Channel " + channelNumber) in create()
80 .setOriginalNetworkId(channelNumber); in create()
83 int logo_num = (channelNumber % 1000); in create()
/packages/apps/Car/Stream/src/com/android/car/stream/radio/
DRadioFormatter.java54 public static String formatRadioChannel(int band, int channelNumber) { in formatRadioChannel() argument
57 return AM_FORMATTER.format(channelNumber); in formatRadioChannel()
61 return FM_FORMATTER.format((float) channelNumber / 1000); in formatRadioChannel()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java220 result.channelNumber = channel.getDisplayNumber(); in addResult()
253 private String buildProgramDescription(String channelNumber, String channelName, in buildProgramDescription() argument
256 + System.lineSeparator() + channelNumber + " " + channelName; in buildProgramDescription()
DTvProviderSearch.java232 result.channelNumber = c.getString(1); in searchChannels()
278 result.description = buildProgramDescription(result.channelNumber, channelName, in fillProgramInfo()
292 private String buildProgramDescription(String channelNumber, String channelName, in buildProgramDescription() argument
295 + System.lineSeparator() + channelNumber + " " + channelName; in buildProgramDescription()
DLocalSearchProvider.java159 public String channelNumber; field in LocalSearchProvider.SearchResult
175 ", channelNumber: " + channelNumber + in toString()
/packages/apps/Car/libs/car-radio-service/src/com/android/car/radio/service/
DRadioStation.java44 public RadioStation(int channelNumber, int subChannelNumber, int band, in RadioStation() argument
46 mChannelNumber = channelNumber; in RadioStation()