Home
last modified time | relevance | path

Searched refs:channelList (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/
DEasyConnectStatusCallbackTest.java72 SparseArray<int[]> channelList = new SparseArray<>(); in testR1OnFailureCalled() local
75 channelList.append(81, channelArray); in testR1OnFailureCalled()
78 "SomeSSID", channelList, new int[] {81}); in testR1OnFailureCalled()
DWifiManagerTest.java2231 String channelList = "81/1,2,3,4,5,6,7,8,9,10,11,115/36,40,44,48"; in testparseDppChannelList() local
2236 SparseArray<int[]> result = WifiManager.parseDppChannelList(channelList); in testparseDppChannelList()
2264 String channelList = "1,2,3,4,5,6,7,8,9,10,11,36,40,44,48"; in testparseDppChannelListWithInvalidFormats() local
2265 SparseArray<int[]> result = WifiManager.parseDppChannelList(channelList); in testparseDppChannelListWithInvalidFormats()
2268 channelList = "ajgalskgjalskjg3-09683dh"; in testparseDppChannelListWithInvalidFormats()
2269 result = WifiManager.parseDppChannelList(channelList); in testparseDppChannelListWithInvalidFormats()
2272 channelList = "13/abc,46////"; in testparseDppChannelListWithInvalidFormats()
2273 result = WifiManager.parseDppChannelList(channelList); in testparseDppChannelListWithInvalidFormats()
2276 channelList = "11/4,5,13/"; in testparseDppChannelListWithInvalidFormats()
2277 result = WifiManager.parseDppChannelList(channelList); in testparseDppChannelListWithInvalidFormats()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DDppManager.java90 public void onFailure(int dppStatusCode, String ssid, String channelList, int[] bandList) {
92 DppManager.this.onFailure(dppStatusCode, ssid, channelList, bandList);
589 private boolean isEnrolleeCompatibleWithNetwork(String ssid, String channelList) { in isEnrolleeCompatibleWithNetwork() argument
590 if (ssid == null || channelList == null) { in isEnrolleeCompatibleWithNetwork()
593 SparseArray<int[]> dppChannelList = WifiManager.parseDppChannelList(channelList); in isEnrolleeCompatibleWithNetwork()
653 private void onFailure(int dppStatusCode, String ssid, String channelList, int[] bandList) { in onFailure() argument
705 if (isEnrolleeCompatibleWithNetwork(ssid, channelList)) { in onFailure()
736 mDppRequestInfo.callback.onFailure(dppFailureCode, ssid, channelList, bandList); in onFailure()
DSupplicantStaIfaceCallbackV1_3Impl.java221 public void onDppFailure_1_3(int code, String ssid, String channelList, in onDppFailure_1_3() argument
234 mStaIfaceHal.getDppCallback().onFailure(code, ssid, channelList, bandListArray); in onDppFailure_1_3()
DWifiConnectivityManager.java1440 Set<Integer> channelList = new HashSet<>(); in retrievePnoNetworkList() local
1441 addChannelFromWifiScoreCard(channelList, config, 0, in retrievePnoNetworkList()
1443 pnoNetwork.frequencies = channelList.stream().mapToInt(Integer::intValue).toArray(); in retrievePnoNetworkList()
DWifiNative.java2544 void onFailure(int dppStatusCode, String ssid, String channelList, int[] bandList);
/frameworks/base/wifi/java/android/net/wifi/
DIDppCallback.aidl41 void onFailure(int status, String ssid, String channelList, in int[] bandArray); in onFailure() argument
DWifiManager.java5544 public void onFailure(int status, String ssid, String channelList, in onFailure() argument
5549 SparseArray<int[]> channelListArray = parseDppChannelList(channelList); in onFailure()
5899 public static SparseArray<int[]> parseDppChannelList(String channelList) { in parseDppChannelList() argument
5902 if (TextUtils.isEmpty(channelList)) { in parseDppChannelList()
5905 StringTokenizer str = new StringTokenizer(channelList, ","); in parseDppChannelList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java199 List<Integer> channelList = new ArrayList<Integer>(); in convertStringToChannelList() local
217 channelList.add(channel); in convertStringToChannelList()
220 channelList.add(Integer.parseInt(channelRange.trim())); in convertStringToChannelList()
228 return channelList; in convertStringToChannelList()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java1828 final List<Integer> channelList = new ArrayList<>(); in verifyFullBandScanWhenConnected() local
1829 channelList.add(TEST_FREQUENCY_1); in verifyFullBandScanWhenConnected()
1830 channelList.add(TEST_FREQUENCY_2); in verifyFullBandScanWhenConnected()
1831 channelList.add(TEST_FREQUENCY_3); in verifyFullBandScanWhenConnected()
1908 List<Integer> channelList = linkScoreCardFreqsToNetwork(configuration).get(0); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming() local
1918 assertEquals(settings.channels.length, channelList.size()); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming()
1920 assertTrue(channelList.contains(settings.channels[chanIdx].frequency)); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming()
1957 List<Integer> channelList = linkScoreCardFreqsToNetwork(configuration).get(0); in checkPartialScanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming() local
1967 assertEquals(settings.channels.length, channelList.size()); in checkPartialScanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming()
1969 assertTrue(channelList.contains(settings.channels[chanIdx].frequency)); in checkPartialScanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming()
[all …]
DDppManagerTest.java880 private void testOnFailureCallback(int internalFailure, String ssid, String channelList, in testOnFailureCallback() argument
908 dppEventCallback.onFailure(internalFailure, ssid, channelList, bandList); in testOnFailureCallback()
910 verify(mDppCallback).onFailure(eq(appFailure), eq(ssid), eq(channelList), in testOnFailureCallback()
DWifiServiceImplTest.java426 public void onFailure(int status, String ssid, String channelList, int[] bandList) in setUp()