/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanDetail.java | 41 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/ |
D | NetworkRequestDialogFragmentTest.java | 89 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/ |
D | SelectFromListWizardFragment.java | 117 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/ |
D | PeriodicScanManagerTest.java | 67 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/ |
D | PacsControllerSessionTest.java | 101 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/ |
D | BassClientService.java | 210 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/ |
D | ClientModeImplTest.java | 594 @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 …]
|