OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:parseChannelNumber
(Results
1 - 3
of
3
) sorted by null
/packages/apps/TV/tests/unit/src/com/android/tv/data/
ChannelNumberTest.java
18
import static com.android.tv.data.ChannelNumber.
parseChannelNumber
;
41
* {@link com.android.tv.data.ChannelNumber#
parseChannelNumber
(java.lang.String)}.
44
assertNull(
parseChannelNumber
(""));
45
assertNull(
parseChannelNumber
(" "));
46
assertNull(
parseChannelNumber
("abcd12"));
47
assertNull(
parseChannelNumber
("12abcd"));
48
assertNull(
parseChannelNumber
("-12"));
49
assertChannelEquals(
parseChannelNumber
("1"), "1", false, "");
50
assertChannelEquals(
parseChannelNumber
("1234 4321"), "1234", true, "4321");
51
assertChannelEquals(
parseChannelNumber
("3-4"), "3", true, "4")
[
all
...]
/packages/apps/TV/src/com/android/tv/data/
ChannelNumber.java
87
public static ChannelNumber
parseChannelNumber
(String number) {
119
ChannelNumber lhsNumber =
parseChannelNumber
(lhs);
120
ChannelNumber rhsNumber =
parseChannelNumber
(rhs);
/packages/apps/TV/src/com/android/tv/ui/
KeypadChannelSwitchView.java
277
ChannelNumber chNumber = ChannelNumber.
parseChannelNumber
(channel.getDisplayNumber());
Completed in 46 milliseconds