Home
last modified time | relevance | path

Searched refs:convertStringToChannelList (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java253 assertEquals(Arrays.asList(1, 6, 11), ApConfigUtil.convertStringToChannelList("1, 6, 11")); in testConvertStringToChannelList()
254 assertEquals(Arrays.asList(1, 6, 11), ApConfigUtil.convertStringToChannelList("1,6,11")); in testConvertStringToChannelList()
256 ApConfigUtil.convertStringToChannelList("1, 9-11")); in testConvertStringToChannelList()
258 ApConfigUtil.convertStringToChannelList("1,6-7, 10-11")); in testConvertStringToChannelList()
260 ApConfigUtil.convertStringToChannelList("1,6a,11")); in testConvertStringToChannelList()
261 assertEquals(Arrays.asList(1, 11), ApConfigUtil.convertStringToChannelList("1,6-3,11")); in testConvertStringToChannelList()
263 ApConfigUtil.convertStringToChannelList("1, abc , def - rsv")); in testConvertStringToChannelList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java194 public static List<Integer> convertStringToChannelList(String channelString) { in convertStringToChannelList() method in ApConfigUtil
249 configuredList = convertStringToChannelList(resources.getString( in getAvailableChannelFreqsForBand()
254 configuredList = convertStringToChannelList(resources.getString( in getAvailableChannelFreqsForBand()
259 configuredList = convertStringToChannelList(resources.getString( in getAvailableChannelFreqsForBand()