Home
last modified time | relevance | path

Searched defs:scanResult (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java43 public static ScanDetail toScanDetail(ScanResult scanResult) { in toScanDetail()
53 public static boolean isScanResultForPskNetwork(ScanResult scanResult) { in isScanResultForPskNetwork()
61 public static boolean isScanResultForEapNetwork(ScanResult scanResult) { in isScanResultForEapNetwork()
69 public static boolean isScanResultForWepNetwork(ScanResult scanResult) { in isScanResultForWepNetwork()
78 public static boolean isScanResultForOpenNetwork(ScanResult scanResult) { in isScanResultForOpenNetwork()
96 public static WifiConfiguration createNetworkFromScanResult(ScanResult scanResult) { in createNetworkFromScanResult()
107 public static void setAllowedKeyManagementFromScanResult(ScanResult scanResult, in setAllowedKeyManagementFromScanResult()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java93 ScanResult scanResult = new ScanResult(); in createFromScanResult_nullWifiSsid() local
101 ScanResult scanResult = new ScanResult(); in createFromScanResult_emptyWifiSsid() local
110 ScanResult scanResult = new ScanResult(); in createFromScanResult_noneWifiSsid() local
119 ScanResult scanResult = new ScanResult(); in createFromScanResult_nullBssid() local
127 ScanResult scanResult = new ScanResult(); in createFromScanResult_emptyBssid() local
136 ScanResult scanResult = new ScanResult(); in createFromScanResult_invalidBssid() local
145 ScanResult scanResult = new ScanResult(); in createFromScanResult_validWifiSsid() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupEvaluatorTest.java57 ScanResult scanResult = new ScanResult(); in makeScanResult() local
115 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks() local
128 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold() local
140 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResult() local
153 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResultWithHighestRssi() local
DConfigurationMapTest.java195 ScanResult scanResult = createScanResultForNetwork(config); in verifyScanResultMatchWithNetwork() local
287 ScanResult scanResult = createScanResultForNetwork(config); in testScanResultDoesNotMatchWithOtherNetworks() local
302 ScanResult scanResult = createScanResultForNetwork(config); in testScanResultDoesNotMatchAfterNetworkRemove() local
320 ScanResult scanResult = createScanResultForNetwork(config); in testScanResultDoesNotMatchAfterClear() local
DWifiMetricsTest.java337 ScanResult scanResult = new ScanResult(); in buildMockScanDetail() local
361 ScanResult scanResult = new ScanResult(); in buildMockScanDetailPasspoint() local
1054 ScanResult scanResult = mock(ScanResult.class); in testScanDetailAndWifiConfigurationUsage() local
1797 ScanResult scanResult = null; in generateRssiDelta() local
DWifiNetworkSelectorTestUtil.java328 ScanResult scanResult = scanDetail.getScanResult(); in configureScoreCache() local
DOpenNetworkNotifierTest.java705 ScanResult scanResult = new ScanResult(); in createOpenScanResults() local
/frameworks/base/wifi/tests/src/android/net/wifi/
DScanResultTest.java105 ScanResult scanResult = createScanResult(); in verifyScanResultCopyWithoutRadioChainInfo() local
115 ScanResult scanResult = createScanResult(); in verifyScanResultCopyWithRadioChainInfo() local
132 ScanResult scanResult = createScanResult(); in verifyScanResultToStringWithoutRadioChainInfo() local
146 ScanResult scanResult = createScanResult(); in verifyScanResultToStringWithRadioChainInfo() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoredNetworkEvaluator.java94 ScanResult scanResult = scanDetails.get(i).getScanResult(); in updateNetworkScoreCache() local
138 ScanResult scanResult = scanDetail.getScanResult(); in evaluateNetworks() local
211 private Integer getNetworkScore(ScanResult scanResult, boolean isCurrentNetwork) { in getNetworkScore()
224 void trackUntrustedCandidate(ScanResult scanResult) { in trackUntrustedCandidate()
240 ScanResult scanResult, WifiConfiguration config, boolean isCurrentNetwork) { in trackUntrustedCandidate()
255 ScanResult scanResult, WifiConfiguration config, boolean isCurrentNetwork) { in trackExternallyScoredCandidate()
DWifiNetworkSelector.java247 public static String toScanId(@Nullable ScanResult scanResult) { in toScanId()
266 public boolean isSignalTooWeak(ScanResult scanResult) { in isSignalTooWeak()
280 ScanResult scanResult = scanDetail.getScanResult(); in filterScanResults() local
347 ScanResult scanResult = scanDetail.getScanResult(); in getFilteredScanDetailsForOpenUnsavedNetworks() local
376 ScanResult scanResult = scanDetail.getScanResult(); in getFilteredScanDetailsForCarrierUnsavedNetworks() local
DWakeupEvaluator.java82 public boolean isBelowThreshold(ScanResult scanResult) { in isBelowThreshold()
DSavedNetworkEvaluator.java153 private int calculateBssidScore(ScanResult scanResult, WifiConfiguration network, in calculateBssidScore()
239 ScanResult scanResult = scanDetail.getScanResult(); in evaluateNetworks() local
DScanResultMatchInfo.java66 public static ScanResultMatchInfo fromScanResult(ScanResult scanResult) { in fromScanResult()
DConfigurationMap.java108 public WifiConfiguration getByScanResultForCurrentUser(ScanResult scanResult) { in getByScanResultForCurrentUser()
DScanDetail.java76 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail) { in ScanDetail()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java346 public Pair<PasspointProvider, PasspointMatch> matchProvider(ScanResult scanResult) { in matchProvider()
382 ScanResult scanResult) { in getAllMatchedProviders()
504 public Map<Constants.ANQPElementType, ANQPElement> getANQPElements(ScanResult scanResult) { in getANQPElements()
535 public WifiConfiguration getMatchingWifiConfig(ScanResult scanResult) { in getMatchingWifiConfig()
563 public List<WifiConfiguration> getAllMatchingWifiConfigs(ScanResult scanResult) { in getAllMatchingWifiConfigs()
597 public List<OsuProvider> getMatchingOsuProviders(ScanResult scanResult) { in getMatchingOsuProviders()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java153 ScanResult scanResult = createScanResult(TEST_SSID, "bssid-" + i, i); in buildScanResultCache() local
160 ScanResult scanResult = new ScanResult(); in createScanResult() local
/frameworks/base/core/java/android/bluetooth/le/
DPeriodicAdvertisingManager.java92 public void registerSync(ScanResult scanResult, int skip, int timeout, in registerSync()
116 public void registerSync(ScanResult scanResult, int skip, int timeout, in registerSync()
DBluetoothLeScanner.java473 public void onScanResult(final ScanResult scanResult) { in onScanResult()
501 public void onFoundOrLost(final boolean onFound, final ScanResult scanResult) { in onFoundOrLost()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java298 ScanResult scanResult = new ScanResult(); in createTestScanResult() local
861 ScanResult scanResult = createTestScanResult(); in getMatchingWifiConfigWithNullBSSID() local
874 ScanResult scanResult = createTestScanResult(); in getMatchingWifiConfigWithInvalidBSSID() local
887 ScanResult scanResult = createTestScanResult(); in getMatchingWifiConfigForNonPasspointAP() local
955 ScanResult scanResult = createTestScanResult(); in getAllMatchingWifiConfigWithNullBSSID() local
968 ScanResult scanResult = createTestScanResult(); in getAllMatchingWifiConfigWithInvalidBSSID() local
981 ScanResult scanResult = createTestScanResult(); in getAllMatchingWifiConfigForNonPasspointAP() local
1005 ScanResult scanResult = createTestScanResult(); in getMatchingOsuProvidersForInvalidBSSID() local
1018 ScanResult scanResult = createTestScanResult(); in getMatchingOsuProvidersForNonPasspointAP() local
DPasspointNetworkEvaluatorTest.java118 ScanResult scanResult = new ScanResult(); in generateScanDetail() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DNativeScanResultTest.java59 NativeScanResult scanResult = new NativeScanResult(); in canSerializeAndDeserialize() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java90 ScanResult scanResult = new ScanResult(ssid, "ab:cd:01:ef:45:89", 1245, 0, "", in testNetworkCreationFromScanResult() local
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java165 ScanResult scanResult = new ScanResult(); in testRangingRequestAtLimit() local
190 ScanResult scanResult = new ScanResult(); in testRangingRequestPastLimit() local
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl62 WifiConfiguration getMatchingWifiConfig(in ScanResult scanResult); in getMatchingWifiConfig()
64 List<WifiConfiguration> getAllMatchingWifiConfigs(in ScanResult scanResult); in getAllMatchingWifiConfigs()
66 List<OsuProvider> getMatchingOsuProviders(in ScanResult scanResult); in getMatchingOsuProviders()

12