Home
last modified time | relevance | path

Searched refs:mScanResult (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanDetail.java41 private final ScanResult mScanResult; field in ScanDetail
82 mScanResult = sBuilder in ScanDetail()
96 mScanResult.seen = mSeen; in ScanDetail()
97 mScanResult.channelWidth = channelWidth; in ScanDetail()
98 mScanResult.centerFreq0 = centerFreq0; in ScanDetail()
99 mScanResult.centerFreq1 = centerFreq1; in ScanDetail()
100 mScanResult.informationElements = informationElements; in ScanDetail()
101 mScanResult.anqpLines = anqpLines; in ScanDetail()
103 mScanResult.setFlag(ScanResult.FLAG_80211mc_RESPONDER); in ScanDetail()
106 mScanResult.setFlag(ScanResult.FLAG_PASSPOINT_NETWORK); in ScanDetail()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogFragmentTest.java89 ScanResult mScanResult = new ScanResult(); field in NetworkRequestDialogFragmentTest
99 mScanResult.SSID = KEY_SSID; in setUp()
100 mScanResult.capabilities = TEST_CAPABILITIES_OPEN; in setUp()
180 mScanResult.capabilities = TEST_CAPABILITIES_OPEN; in onWifiStateChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries()
181 networkRequestDialogFragment.onMatch(Arrays.asList(mScanResult)); in onWifiStateChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries()
192 mScanResult.capabilities = TEST_CAPABILITIES_OPEN; in onWifiEntriesChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries()
193 networkRequestDialogFragment.onMatch(Arrays.asList(mScanResult)); in onWifiEntriesChanged_nonEmptyMatchedScanResults_shouldUpdateWifiEntries()
316 mScanResult.capabilities = TEST_CAPABILITIES_OPEN; in updateWifiEntries_noMatchSecurityWifi_filteredWifiIsEmpty()
317 networkRequestDialogFragment.onMatch(Arrays.asList(mScanResult)); in updateWifiEntries_noMatchSecurityWifi_filteredWifiIsEmpty()
326 mScanResult.capabilities = TEST_CAPABILITIES_WPA2_PSK; in updateWifiEntries_matchWpa2Wifi_filteredWifiNotEmpty()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java117 private final ScanResult mScanResult; field in SelectFromListWizardFragment.ListItem
124 mScanResult = null; in ListItem()
134 mScanResult = scanResult; in ListItem()
154 return mScanResult; in getScanResult()
197 dest.writeParcelable(mScanResult, flags); in writeToParcel()
198 if (mScanResult == null) { in writeToParcel()
208 if (mScanResult == null && li.mScanResult == null) { in equals()
211 return (mScanResult != null && li.mScanResult != null in equals()
213 && WifiSecurityUtil.getSecurity(mScanResult) in equals()
214 == WifiSecurityUtil.getSecurity(li.mScanResult)); in equals()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DPeriodicScanManagerTest.java67 private ScanResult mScanResult; field in PeriodicScanManagerTest
85 mScanResult = new ScanResult(mTestDevice, 0, 0, 0, 0, 0, 0, 0, null, 0); in setUp()
100 mPeriodicScanManager.startSync(mScanResult, 0, 0, mCallback); in testStartSync()
107 mPeriodicScanManager.startSync(mScanResult, 0, 0, mCallback); in testOnSyncStarted()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DPacsControllerSessionTest.java101 private ScanResult mScanResult; field in PacsControllerSessionTest
130 mTransportClientInfo = new TransportClientInfo(mScanResult); in setUp()
131 when(mScanResult.getDevice()).thenReturn(mBluetoothDevice); in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java210 private ScanResult mScanResult; field in BassClientService.SourceSyncRequest
214 this.mScanResult = scanResult; in SourceSyncRequest()
219 return mScanResult; in getScanResult()
223 return mScanResult.getRssi(); in getRssi()
234 + mScanResult in toString()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java594 @Mock ScanResult mScanResult; field in ClientModeImplTest
10048 when(mScanResult.getApMldMacAddress()).thenReturn(TEST_AP_MLD_MAC_ADDRESS); in setScanResultWithMloInfo()
10049 when(mScanResult.getApMloLinkId()).thenReturn(TEST_MLO_LINK_ID); in setScanResultWithMloInfo()
10050 when(mScanResult.getAffiliatedMloLinks()).thenReturn(mloLinks); in setScanResultWithMloInfo()
10051 mScanResult.level = TEST_RSSI; in setScanResultWithMloInfo()
10055 when(mScanDetailCache.getScanResult(any())).thenReturn(mScanResult); in setScanResultWithMloInfo()
10061 when(mScanResult.getApMldMacAddress()).thenReturn(null); in setScanResultWithoutMloInfo()
10062 when(mScanResult.getApMloLinkId()).thenReturn(MloLink.INVALID_MLO_LINK_ID); in setScanResultWithoutMloInfo()
10063 when(mScanResult.getAffiliatedMloLinks()).thenReturn(Collections.emptyList()); in setScanResultWithoutMloInfo()
10065 when(mScanRequestProxy.getScanResults()).thenReturn(Arrays.asList(mScanResult)); in setScanResultWithoutMloInfo()
[all …]