Home
last modified time | relevance | path

Searched refs:scan (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java359 ScanResult scan = new ScanResult(); in testResponderPreambleSelection() local
360 scan.BSSID = "00:01:02:03:04:05"; in testResponderPreambleSelection()
361 scan.informationElements = null; in testResponderPreambleSelection()
362 scan.channelWidth = ResponderConfig.CHANNEL_WIDTH_80MHZ; in testResponderPreambleSelection()
364 ResponderConfig config = ResponderConfig.fromScanResult(scan); in testResponderPreambleSelection()
369 scan.channelWidth = ResponderConfig.CHANNEL_WIDTH_40MHZ; in testResponderPreambleSelection()
371 scan.informationElements = new ScanResult.InformationElement[2]; in testResponderPreambleSelection()
372 scan.informationElements[0] = htCap; in testResponderPreambleSelection()
373 scan.informationElements[1] = vhtCap; in testResponderPreambleSelection()
375 config = ResponderConfig.fromScanResult(scan); in testResponderPreambleSelection()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResultMatchInfoTest.java42 ScanDetail scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testScanResultMatchesWifiConfiguration() local
44 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration()
47 scan = createScanDetailForNetwork(conf, "BB:BB:BB:BB:BB:BB"); in testScanResultMatchesWifiConfiguration()
49 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration()
53 scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testScanResultMatchesWifiConfiguration()
55 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration()
59 scan = createScanDetailForNetwork(conf, "BB:BB:BB:BB:BB:BB"); in testScanResultMatchesWifiConfiguration()
61 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration()
DWifiMetricsTest.java2614 List<ScanDetail> scan = new ArrayList<ScanDetail>(); in testNumConnectableNetworksGeneration() local
2616 scan.add(buildMockScanDetail("PASSPOINT_1", "bssid0", false, false, true, false)); in testNumConnectableNetworksGeneration()
2617 scan.add(buildMockScanDetail("PASSPOINT_2", "bssid1", false, false, true, false)); in testNumConnectableNetworksGeneration()
2618 scan.add(buildMockScanDetail("SSID_B", "bssid2", true, true, false, false)); in testNumConnectableNetworksGeneration()
2619 scan.add(buildMockScanDetail("SSID_B", "bssid3", true, true, false, false)); in testNumConnectableNetworksGeneration()
2620 scan.add(buildMockScanDetail("SSID_C", "bssid4", true, false, false, false)); in testNumConnectableNetworksGeneration()
2621 scan.add(buildMockScanDetail("SSID_D", "bssid5", false, true, false, false)); in testNumConnectableNetworksGeneration()
2622 scan.add(buildMockScanDetail("SSID_E", "bssid6", false, true, false, false)); in testNumConnectableNetworksGeneration()
2623 scan.add(buildMockScanDetail("SSID_F", "bssid7", false, false, false, false)); in testNumConnectableNetworksGeneration()
2624 scan.add(buildMockScanDetail("SSID_G_WEAK", "bssid9", false, false, false, true)); in testNumConnectableNetworksGeneration()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java103 static List<Integer> getSecurityTypesFromScanResult(@NonNull ScanResult scan) { in getSecurityTypesFromScanResult() argument
105 if (scan.capabilities == null) { in getSecurityTypesFromScanResult()
107 } else if (scan.capabilities.contains("PSK") && scan.capabilities.contains("SAE")) { in getSecurityTypesFromScanResult()
110 } else if (scan.capabilities.contains("OWE_TRANSITION")) { in getSecurityTypesFromScanResult()
113 } else if (scan.capabilities.contains("OWE")) { in getSecurityTypesFromScanResult()
115 } else if (scan.capabilities.contains("WEP")) { in getSecurityTypesFromScanResult()
117 } else if (scan.capabilities.contains("SAE")) { in getSecurityTypesFromScanResult()
119 } else if (scan.capabilities.contains("PSK")) { in getSecurityTypesFromScanResult()
121 } else if (scan.capabilities.contains("EAP_SUITE_B_192")) { in getSecurityTypesFromScanResult()
123 } else if (scan.capabilities.contains("EAP")) { in getSecurityTypesFromScanResult()
[all …]
DStandardNetworkDetailsTracker.java182 .filter(scan -> TextUtils.equals(scan.SSID, mChosenEntry.getSsid()) in cacheNewScanResults()
183 && getSecurityTypesFromScanResult(scan).contains( in cacheNewScanResults()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagReaders.inc11 "cannot scan .eh_frame section in input %0",
12 "cannot scan .eh_frame section in input %0.")
DEhFrameReader.h65 Token scan(ConstAddress pHandler,
90 EhFrameReader::Token EhFrameReader::scan<true>(ConstAddress pHandler,
/frameworks/av/media/libstagefright/id3/
Dtestid3.cpp114 void scan(const char *path) { in scan() function
141 scan(newPath); in scan()
160 scan(argv[i]); in main()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java246 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in overlappingSingleScanFails()
267 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(false); in singleScanFailOnExecute()
295 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in singleScanFailOnTimeout()
327 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in singleScanFailOnFailedEvent()
382 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in multipleSingleScanSuccess()
455 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in singleScanWhereSupplicantReturnsSomeOldResults()
460 order.verify(mWifiNative).scan(eq(IFACE_NAME), anyInt(), eq(expectedScan), any(List.class)); in singleScanWhereSupplicantReturnsSomeOldResults()
507 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in doSuccessfulSingleScanTest()
521 order.verify(mWifiNative).scan( in expectSuccessfulSingleScan()
DWificondScannerTest.java102 verify(mWifiNative, never()).scan(any(), anyInt(), any(), any(List.class)); in singleScanNotIssuedIfNoAvailableChannels()
154 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
223 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in testDumpWithCorrectFormatWithScanResult()
258 order.verify(mWifiNative).scan(eq(IFACE_NAME), anyInt(), eq(expectedScan), any(List.class)); in testDumpWithCorrectFormatWithScanResult()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt36 …cks the various settings (wifi toggle, airplane toggle, tethering toggle, scan mode toggle) and pr…
40 …ller: Controls whether the open network notification is displayed or not based on the scan results.
48 …s or from a third party app will show up a dialog reminding the user that scan mode will be on eve…
49 …- In the scan mode, the device continues to allow scanning from any app with Wi-Fi turned off. Thi…
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTrackerTest.java143 final ScanResult scan = buildScanResult("ssid", "bssid", START_MILLIS, -50 /* rssi */); in testScanResultsAvailableAction_updates_getLevel() local
156 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testScanResultsAvailableAction_updates_getLevel()
221 final ScanResult scan = buildScanResult("ssid", "bssid", START_MILLIS, -50 /* rssi */); in testWifiStateChanged_disabled_clearsLevel() local
223 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testWifiStateChanged_disabled_clearsLevel()
DUtilsTest.java142 final ScanResult scan = buildScanResult("ssid", "bssid", 0, -50); in testGetBestScanResult_singleScan_returnsScan() local
144 assertThat(getBestScanResultByLevel(Arrays.asList(scan))).isEqualTo(scan); in testGetBestScanResult_singleScan_returnsScan()
DStandardWifiEntryTest.java323 final ScanResult scan = buildScanResult("ssid", "bssid", 0, GOOD_RSSI); in testUpdateConfig_unsavedToSaved() local
324 scan.capabilities = "EAP"; in testUpdateConfig_unsavedToSaved()
327 Arrays.asList(scan), mMockWifiManager, mMockScoreCache, in testUpdateConfig_unsavedToSaved()
398 final ScanResult scan = buildScanResult("ssid", "bssid", 0, GOOD_RSSI); in testConnect_savedNetwork_usesSavedConfig() local
401 Arrays.asList(scan), mMockWifiManager, mMockScoreCache, in testConnect_savedNetwork_usesSavedConfig()
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto73 // Error codes that a scan can result in.
89 // Could not start a scan because wifi is disabled.
100 // Return code of the scan.
103 // Number of entries that were found in the scan.
182 // Count of times connectivity watchdog confirmed background scan is working
185 // Count of times connectivity watchdog found background scan not working
204 // Total number of scan results
207 // Total number of scan results for open networks
210 // Total number of scan results for legacy personal networks
213 // Total number of scan results for legacy enterprise networks
[all …]
Dscorecard.proto137 // Most recent WiFi scan time
139 // Number of access points found in most recent WiFi scan at 2G
141 // Number of access points found in most recent WiFi scan above 2G
164 // List of frequencies observed for this network from scan results, sorted by most recent first.
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java272 verify(mWifiScannerImpl, never()).scan(any()); in testTeardownClientInterfaceClearsHandles()
503 when(mWifiScannerImpl.scan(any(SingleScanSettings.class))).thenReturn(true); in testScan()
507 verify(mWifiScannerImpl).scan(argThat(new ScanMatcher( in testScan()
517 when(mWifiScannerImpl.scan(any(SingleScanSettings.class))).thenReturn(true); in testScanWithDuplicateHiddenSsids()
528 verify(mWifiScannerImpl).scan(argThat(new ScanMatcher( in testScanWithDuplicateHiddenSsids()
538 when(mWifiScannerImpl.scan(any(SingleScanSettings.class))).thenReturn(true); in testScanNullParameters()
541 verify(mWifiScannerImpl).scan(argThat(new ScanMatcher( in testScanNullParameters()
550 when(mWifiScannerImpl.scan(any(SingleScanSettings.class))).thenReturn(false); in testScanFailure()
554 verify(mWifiScannerImpl).scan(any(SingleScanSettings.class)); in testScanFailure()
565 verify(mWifiScannerImpl, never()).scan(any(SingleScanSettings.class)); in testScanFailureDueToInvalidType()
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl52 void scan(boolean directionDown, boolean skipSubChannel); in scan() method
DTunerAdapter.java141 public int scan(int direction, boolean skipSubChannel) { in scan() method in TunerAdapter
143 mTuner.scan(direction == RadioTuner.DIRECTION_DOWN, skipSubChannel); in scan()
DRadioTuner.java160 public abstract int scan(int direction, boolean skipSubChannel); in scan() method in RadioTuner
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java146 public void scan(boolean directionDown, boolean skipSubChannel) throws RemoteException { in scan() method in TunerSession
149 int halResult = mHwSession.scan(!directionDown, skipSubChannel); in scan()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags161 # Package Manager .apk scan starts:
163 # Package Manager .apk scan starts:
165 # Package Manager .apk scan ends:
/frameworks/compile/mclinker/lib/LD/
DEhFrameReader.cpp44 EhFrameReader::Token EhFrameReader::scan<true>(ConstAddress pHandler, in scan() function in mcld::EhFrameReader
135 Token token = scan<true>(handler, file_off, sect_reg); in read()
/frameworks/base/core/proto/android/wifi/
Denums.proto37 * scans, and the subsequent reporting of scan results.
/frameworks/rs/script_api/
DSpecification.cpp227 bool VersionInfo::scan(Scanner* scanner, unsigned int maxApiLevel) { in scan() function in VersionInfo
369 if (!info.scan(scanner, maxApiLevel)) { in scanConstantSpecification()
398 if (!info.scan(scanner, maxApiLevel)) { in scanTypeSpecification()
615 if (!info.scan(scanner, maxApiLevel)) { in scanFunctionSpecification()

12