Searched refs:parseChannelNumber (Results 1 – 7 of 7) sorted by relevance
18 import static com.android.tv.data.ChannelNumber.parseChannelNumber;43 assertThat(parseChannelNumber("")).isNull(); in parseChannelNumber_empty()48 assertThat(parseChannelNumber("-")).isNull(); in parseChannelNumber_dash()53 assertThat(parseChannelNumber("abcd12")).isNull(); in parseChannelNumber_abcd12()58 assertThat(parseChannelNumber("12abcd")).isNull(); in parseChannelNumber_12abcd()63 assertThat(parseChannelNumber("-12")).isNull(); in parseChannelNumber_dash12()68 assertThat(parseChannelNumber("1")).displaysAs(1); in parseChannelNumber_1()73 assertThat(parseChannelNumber("1234-4321")).displaysAs(1234, 4321); in parseChannelNumber_1234dash4321()78 assertThat(parseChannelNumber("3-4")).displaysAs(3, 4); in parseChannelNumber_3dash4()83 assertThat(parseChannelNumber("5-6")).displaysAs(5, 6); in parseChannelNumber_5dash6()[all …]
66 assertThat(TunerSetupUtils.parseChannelNumber("11")).containsExactly("11"); in parseChannelNumber_majorNumberOnly()71 assertThat(TunerSetupUtils.parseChannelNumber("2-11")).containsExactly("2", "11"); in parseChannelNumber_majorAndMinorNumbers()76 assertThat(TunerSetupUtils.parseChannelNumber(" 2 - 11 ")).containsExactly("2", "11"); in parseChannelNumber_containsExtraSpaces()81 assertThat(TunerSetupUtils.parseChannelNumber("2-11-1")).isEmpty(); in parseChannelNumber_tooLong()86 assertThat(TunerSetupUtils.parseChannelNumber(" ")).isEmpty(); in parseChannelNumber_empty()
56 ChannelNumber lhsNumber = parseChannelNumber(lhs); in equivalent()57 ChannelNumber rhsNumber = parseChannelNumber(rhs); in equivalent()127 public static ChannelNumber parseChannelNumber(String number) { in parseChannelNumber() method in ChannelNumber159 ChannelNumber lhsNumber = parseChannelNumber(lhs); in compare()160 ChannelNumber rhsNumber = parseChannelNumber(rhs); in compare()
79 static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber() method in TunerSetupUtils101 numbers.add(parseChannelNumber(channelNumber)); in parseChannelNumbers()
202 List<String> parsedNumbers = parseChannelNumber(lineupChannel); in getMatchCount()207 if (matchChannelNumber(parsedNumbers, parseChannelNumber(channel))) { in getMatchCount()251 private static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber() method in LineupSelectionFragment
176 public static int parseChannelNumber(byte cla) { in parseChannelNumber() method in Util
299 ChannelNumber chNumber = ChannelNumber.parseChannelNumber(channel.getDisplayNumber()); in updateView()