Home
last modified time | relevance | path

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

123

/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 isScanResultForEapSuiteBNetwork(ScanResult scanResult) { in isScanResultForEapSuiteBNetwork()
77 public static boolean isScanResultForWepNetwork(ScanResult scanResult) { in isScanResultForWepNetwork()
85 public static boolean isScanResultForOweNetwork(ScanResult scanResult) { in isScanResultForOweNetwork()
93 public static boolean isScanResultForOweTransitionNetwork(ScanResult scanResult) { in isScanResultForOweTransitionNetwork()
101 public static boolean isScanResultForSaeNetwork(ScanResult scanResult) { in isScanResultForSaeNetwork()
109 public static boolean isScanResultForPskSaeTransitionNetwork(ScanResult scanResult) { in isScanResultForPskSaeTransitionNetwork()
118 public static boolean isScanResultForOpenNetwork(ScanResult scanResult) { in isScanResultForOpenNetwork()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DScanTests.java105 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in newInstallSimpleAllNominal() local
123 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in newInstallForAllUsers() local
137 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in installRealPackageName() local
166 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in updateSimpleNominal() local
197 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in updateInstantSimpleNominal() local
217 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in installStaticSharedLibrary() local
249 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in installDynamicLibraries() local
290 final PackageManagerService.ScanResult scanResult = executeScan( in volumeUuidChangesOnUpdate() local
307 final PackageManagerService.ScanResult scanResult = executeScan(new ScanRequestBuilder( in scanFirstBoot_derivesAbis() local
350 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in updateInstant_changeToFull() local
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java111 ScanResult scanResult = mock(ScanResult.class); in createFromScanResult_nullSsid() local
119 ScanResult scanResult = mock(ScanResult.class); in createFromScanResult_emptySsid() local
128 ScanResult scanResult = mock(ScanResult.class); in createFromScanResult_noneSsid() local
137 ScanResult scanResult = mock(ScanResult.class); in createFromScanResult_nullBssid() local
145 ScanResult scanResult = mock(ScanResult.class); in createFromScanResult_emptyBssid() local
154 ScanResult scanResult = mock(ScanResult.class); in createFromScanResult_invalidBssid() local
163 ScanResult scanResult = mock(ScanResult.class); in createFromScanResult_validSsid() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupEvaluatorTest.java59 ScanResult scanResult = new ScanResult(); in makeScanResult() local
120 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks() local
133 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold() local
145 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResult() local
158 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResultWithHighestRssi() local
DConfigurationMapTest.java196 ScanResult scanResult = createScanResultForNetwork(config); in verifyScanResultMatchWithNetwork() local
288 ScanResult scanResult = createScanResultForNetwork(config); in testScanResultDoesNotMatchWithOtherNetworks() local
303 ScanResult scanResult = createScanResultForNetwork(config); in testScanResultDoesNotMatchAfterNetworkRemove() local
321 ScanResult scanResult = createScanResultForNetwork(config); in testScanResultDoesNotMatchAfterClear() local
DWifiNetworkSelectorTestUtil.java101 ScanResult scanResult = scanDetails.get(i).getScanResult(); in checkConsistencyOfScanDetailsAndWifiConfigs() local
345 ScanResult scanResult = scanDetail.getScanResult(); in configureScoreCache() local
DWakeupControllerTest.java163 ScanResult scanResult = new ScanResult(); in createOpenScanResult() local
171 ScanResult scanResult = new ScanResult(); in createOweScanResult() local
/frameworks/base/wifi/tests/src/android/net/wifi/
DScanResultTest.java104 ScanResult scanResult = createScanResult(); in verifyScanResultCopyWithoutRadioChainInfo() local
114 ScanResult scanResult = createScanResult(); in verifyScanResultCopyWithRadioChainInfo() local
131 ScanResult scanResult = createScanResult(); in verifyScanResultToStringWithoutRadioChainInfo() local
145 ScanResult scanResult = createScanResult(); in verifyScanResultToStringWithRadioChainInfo() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoredNetworkEvaluator.java95 ScanResult scanResult = scanDetails.get(i).getScanResult(); in updateNetworkScoreCache() local
139 ScanResult scanResult = scanDetail.getScanResult(); in evaluateNetworks() local
212 private Integer getNetworkScore(ScanResult scanResult, boolean isCurrentNetwork) { in getNetworkScore()
226 ScanResult scanResult = scanDetail.getScanResult(); in trackUntrustedCandidate() local
243 ScanResult scanResult, WifiConfiguration config, boolean isCurrentNetwork) { in trackUntrustedCandidate()
259 ScanResult scanResult, WifiConfiguration config, boolean isCurrentNetwork) { in trackExternallyScoredCandidate()
DScanResultMatchInfo.java81 public static @WifiConfiguration.SecurityType int getNetworkType(ScanResult scanResult) { in getNetworkType()
104 public static ScanResultMatchInfo fromScanResult(ScanResult scanResult) { in fromScanResult()
DWakeupEvaluator.java67 public boolean isBelowThreshold(ScanResult scanResult) { in isBelowThreshold()
DWifiNetworkSelector.java350 public static String toScanId(@Nullable ScanResult scanResult) { in toScanId()
369 public boolean isSignalTooWeak(ScanResult scanResult) { in isSignalTooWeak()
383 ScanResult scanResult = scanDetail.getScanResult(); in filterScanResults() local
462 ScanResult scanResult = scanDetail.getScanResult(); in getFilteredScanDetailsForOpenUnsavedNetworks() local
497 ScanResult scanResult = scanDetail.getScanResult(); in getFilteredScanDetailsForCarrierUnsavedNetworks() local
DSavedNetworkEvaluator.java112 private int calculateBssidScore(ScanResult scanResult, WifiConfiguration network, in calculateBssidScore()
196 ScanResult scanResult = scanDetail.getScanResult(); in evaluateNetworks() local
DConfigurationMap.java124 public WifiConfiguration getByScanResultForCurrentUser(ScanResult scanResult) { in getByScanResultForCurrentUser()
DCarrierNetworkEvaluator.java99 ScanResult scanResult = scanDetail.getScanResult(); in evaluateNetworks() local
DScanDetail.java76 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail) { in ScanDetail()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java154 ScanResult scanResult = createScanResult(TEST_SSID, "bssid-" + i, i); in buildScanResultCache() local
161 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.java484 public void onScanResult(final ScanResult scanResult) { in onScanResult()
512 public void onFoundOrLost(final boolean onFound, final ScanResult scanResult) { in onFoundOrLost()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DNativeScanResultTest.java60 NativeScanResult scanResult = new NativeScanResult(); in canSerializeAndDeserialize() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java385 ScanResult scanResult = new ScanResult(); in createTestScanResult() local
403 ScanResult scanResult = new ScanResult(); in createTestScanResults() local
439 ScanResult scanResult = new ScanResult(); in generateScanDetail() local
1052 ScanResult scanResult = createTestScanResult(); in getAllMatchingFqdnsForScanResultsWithNullBSSID() local
1065 ScanResult scanResult = createTestScanResult(); in ggetAllMatchingFqdnsForScanResultsWithInvalidBSSID() local
1078 ScanResult scanResult = createTestScanResult(); in getAllMatchingFqdnsForScanResultsForNonPasspointAP() local
1103 ScanResult scanResult = createTestScanResult(); in getMatchingOsuProvidersForInvalidBSSID() local
1116 ScanResult scanResult = createTestScanResult(); in getMatchingOsuProvidersForNonPasspointAP() local
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java168 ScanResult scanResult = new ScanResult(); in testRangingRequestAtLimit() local
193 ScanResult scanResult = new ScanResult(); in testRangingRequestPastLimit() local
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java112 ScanResult scanResult = new ScanResult(); in createScanResult() local
1302 ScanResult scanResult = createScanResult(TEST_SSID, TEST_BSSID, DEFAULT_RSSI); in testGetKey_supportSaeTransitionMode_shouldGetSaeKey() local
1321 ScanResult scanResult = createScanResult(TEST_SSID, TEST_BSSID, DEFAULT_RSSI); in testGetKey_notSupportSaeTransitionMode_shouldGetPskKey() local
1665 ScanResult scanResult = createScanResult(AccessPoint.removeDoubleQuotes(TEST_SSID), in getPskSaeTransitionModeAp() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java486 ScanResult scanResult = scanDetail.getScanResult(); in findEapMethodFromNAIRealmMatchedWithCarrier() local
746 public Pair<PasspointProvider, PasspointMatch> matchProvider(ScanResult scanResult) { in matchProvider()
782 ScanResult scanResult) { in getAllMatchedProviders()
903 public Map<Constants.ANQPElementType, ANQPElement> getANQPElements(ScanResult scanResult) { in getANQPElements()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java91 ScanResult scanResult = new ScanResult(ssid, "ab:cd:01:ef:45:89", 1245, 0, "", in testNetworkCreationFromScanResult() local

123