Home
last modified time | relevance | path

Searched refs:radioChainInfos (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/
DScanResultTest.java78 writeScanResult.radioChainInfos = new ScanResult.RadioChainInfo[0]; in verifyScanResultParcelWithZeroRadioChainInfo()
80 assertNull(readScanResult.radioChainInfos); in verifyScanResultParcelWithZeroRadioChainInfo()
89 writeScanResult.radioChainInfos = new ScanResult.RadioChainInfo[2]; in verifyScanResultParcelWithRadioChainInfo()
90 writeScanResult.radioChainInfos[0] = new ScanResult.RadioChainInfo(); in verifyScanResultParcelWithRadioChainInfo()
91 writeScanResult.radioChainInfos[0].id = 0; in verifyScanResultParcelWithRadioChainInfo()
92 writeScanResult.radioChainInfos[0].level = -45; in verifyScanResultParcelWithRadioChainInfo()
93 writeScanResult.radioChainInfos[1] = new ScanResult.RadioChainInfo(); in verifyScanResultParcelWithRadioChainInfo()
94 writeScanResult.radioChainInfos[1].id = 1; in verifyScanResultParcelWithRadioChainInfo()
95 writeScanResult.radioChainInfos[1].level = -54; in verifyScanResultParcelWithRadioChainInfo()
116 scanResult.radioChainInfos = new ScanResult.RadioChainInfo[2]; in verifyScanResultCopyWithRadioChainInfo()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java144 if (ArrayUtils.size(r.radioChainInfos) == 1) { in dumpScanResults()
146 r.radioChainInfos[0].id, r.radioChainInfos[0].level); in dumpScanResults()
147 } else if (ArrayUtils.size(r.radioChainInfos) == 2) { in dumpScanResults()
149 r.radioChainInfos[0].id, r.radioChainInfos[0].level, in dumpScanResults()
150 r.radioChainInfos[1].id, r.radioChainInfos[1].level); in dumpScanResults()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java273 public RadioChainInfo[] radioChainInfos; field in ScanResult
487 this.radioChainInfos = null; in ScanResult()
509 this.radioChainInfos = null; in ScanResult()
538 this.radioChainInfos = null; in ScanResult()
579 radioChainInfos = source.radioChainInfos; in ScanResult()
623 sb.append(", Radio Chain Infos: ").append(Arrays.toString(radioChainInfos)); in toString()
695 if (radioChainInfos != null) { in writeToParcel()
696 dest.writeInt(radioChainInfos.length); in writeToParcel()
697 for (int i = 0; i < radioChainInfos.length; i++) { in writeToParcel()
698 dest.writeInt(radioChainInfos[i].id); in writeToParcel()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
DNativeScanResult.java41 public ArrayList<RadioChainInfo> radioChainInfos; field in NativeScanResult
81 out.writeTypedList(radioChainInfos); in writeToParcel()
104 result.radioChainInfos = new ArrayList<>();
105 in.readTypedList(result.radioChainInfos, RadioChainInfo.CREATOR);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DNativeScanResultTest.java68 scanResult.radioChainInfos = new ArrayList( in canSerializeAndDeserialize()
85 assertTrue(scanResult.radioChainInfos.containsAll(scanResultDeserialized.radioChainInfos)); in canSerializeAndDeserialize()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWificondControl.java564 if (result.radioChainInfos != null) { in getScanResults()
565 scanResult.radioChainInfos = in getScanResults()
566 new ScanResult.RadioChainInfo[result.radioChainInfos.size()]; in getScanResults()
568 for (RadioChainInfo nativeRadioChainInfo : result.radioChainInfos) { in getScanResults()
569 scanResult.radioChainInfos[idx] = new ScanResult.RadioChainInfo(); in getScanResults()
570 scanResult.radioChainInfos[idx].id = nativeRadioChainInfo.chainId; in getScanResults()
571 scanResult.radioChainInfos[idx].level = nativeRadioChainInfo.level; in getScanResults()
DWifiConnectivityManager.java377 && fullScanResult.radioChainInfos != null in onFullResult()
378 && fullScanResult.radioChainInfos.length == 1) { in onFullResult()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWificondControlTest.java124 radioChainInfos = new ArrayList<>();
719 nativeScanResult.radioChainInfos = nativeRadioChainInfos; in testGetScanResultsWithRadioChainInfo()
741 returnedScanResults.get(i).getScanResult().radioChainInfos); in testGetScanResultsWithRadioChainInfo()
DWifiConnectivityManagerTest.java1933 scanDatas[0].getResults()[0].radioChainInfos = null;
1934 scanDatas[0].getResults()[1].radioChainInfos = new ScanResult.RadioChainInfo[0];
1935 scanDatas[0].getResults()[2].radioChainInfos = new ScanResult.RadioChainInfo[1];
1936 scanDatas[0].getResults()[3].radioChainInfos = new ScanResult.RadioChainInfo[2];