Searched refs:scan (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DScanResultMatchInfoTest.java41 ScanDetail scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA");
43 ScanResultMatchInfo.fromScanResult(scan.getScanResult()));
46 scan = createScanDetailForNetwork(conf, "BB:BB:BB:BB:BB:BB");
48 ScanResultMatchInfo.fromScanResult(scan.getScanResult()));
88 * Creates a scan detail corresponding to the provided network and given BSSID
H A DWifiMetricsTest.java516 // increment connectivity scan metrics
616 // increment pno scan metrics
1049 //Setup mock configs and scan details
1074 //Create a connection event using the config and a scan detail
1519 List<ScanDetail> scan = new ArrayList<ScanDetail>();
1521 scan.add(buildMockScanDetail("PASSPOINT_1", "bssid0", false, false, true, false));
1522 scan.add(buildMockScanDetail("PASSPOINT_2", "bssid1", false, false, true, false));
1523 scan.add(buildMockScanDetail("SSID_B", "bssid2", true, true, false, false));
1524 scan.add(buildMockScanDetail("SSID_B", "bssid3", true, true, false, false));
1525 scan
[all...]
H A DWificondControlTest.java299 assertFalse(mWificondControl.scan(
302 verify(mWifiScannerImpl, never()).scan(any());
651 * Verifies that scan result's carrier network info {@link ScanResult#isCarrierAp} and
682 // Verify returned scan result.
696 // Verify returned scan result.
750 when(mWifiScannerImpl.scan(any(SingleScanSettings.class))).thenReturn(true);
751 assertTrue(mWificondControl.scan(
754 verify(mWifiScannerImpl).scan(argThat(new ScanMatcher(
764 when(mWifiScannerImpl.scan(any(SingleScanSettings.class))).thenReturn(true);
765 assertTrue(mWificondControl.scan(
[all...]
H A DWifiNativeTest.java515 * Verifies that scan() calls underlying WificondControl.
519 mWifiNative.scan(WIFI_IFACE_NAME, WifiNative.SCAN_TYPE_HIGH_ACCURACY, SCAN_FREQ_SET,
521 verify(mWificondControl).scan(
552 // connectToNetwork() should abort ongoing scan before connection.
564 // roamToNetwork() should abort ongoing scan before connection.
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
H A DWifiRttManagerTest.java354 ScanResult scan = new ScanResult();
355 scan.BSSID = "00:01:02:03:04:05";
356 scan.informationElements = null;
357 scan.channelWidth = ResponderConfig.CHANNEL_WIDTH_80MHZ;
359 ResponderConfig config = ResponderConfig.fromScanResult(scan);
364 scan.channelWidth = ResponderConfig.CHANNEL_WIDTH_40MHZ;
366 scan.informationElements = new ScanResult.InformationElement[2];
367 scan.informationElements[0] = htCap;
368 scan.informationElements[1] = vhtCap;
370 config = ResponderConfig.fromScanResult(scan);
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h63 /// scan - scan pData from pHandler for a token.
65 Token scan(ConstAddress pHandler,
90 EhFrameReader::Token EhFrameReader::scan<true>(ConstAddress pHandler,
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp112 void scan(const char *path) { function
139 scan(newPath);
158 scan(argv[i]);
/frameworks/opt/net/lowpan/tests/
H A Dscantest.sh19 echo "Running scan command test. . ."
41 echo "+ adb shell lowpanctl -I wpan6 scan"
42 adb shell lowpanctl -I wpan6 scan || die
44 echo "Finished scan command test."
H A Djointest.sh64 echo "+ adb shell lowpanctl -I wpan6 scan"
65 adb shell lowpanctl -I wpan6 scan || die
/frameworks/base/core/java/android/hardware/radio/
H A DITuner.aidl52 void scan(boolean directionDown, boolean skipSubChannel);
70 * @return {@code true} if the scan was properly scheduled,
71 * {@code false} if the scan feature is unavailable
H A DRadioTuner.java39 /** Scanning direction UP for {@link #step(int, boolean)}, {@link #scan(int, boolean)} */
42 /** Scanning directions DOWN for {@link #step(int, boolean)}, {@link #scan(int, boolean)} */
144 * onProgramInfoChanged() will be called when scan completes or
160 public abstract int scan(int direction, boolean skipSubChannel); method in class:RadioTuner
196 * Cancel a pending scan or tune operation.
263 * Initiates a background scan to update internally cached program list.
265 * It may not be necessary to initiate the scan explicitly - the scan MAY be performed on boot.
271 * @return {@code true} if the scan was properly scheduled, {@code false} if the scan featur
[all...]
H A DTunerAdapter.java141 public int scan(int direction, boolean skipSubChannel) { method in class:TunerAdapter
143 mTuner.scan(direction == RadioTuner.DIRECTION_DOWN, skipSubChannel);
145 Log.e(TAG, "Can't scan", e);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DBaseWifiScannerImplTest.java175 * Tests whether the provided hidden networkId's in scan settings is correctly passed along
176 * when invoking native scan.
198 * Tests whether the provided hidden networkId's in scan settings is truncated to max size
199 * supported by wificond when invoking native scan.
243 // scan start succeeds
244 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
247 assertFalse("second scan while first scan running should fail immediately",
266 // scan fails
267 when(mWifiNative.scan(e
[all...]
H A DWificondScannerTest.java64 * Test that WificondScannerImpl will not issue a scan and report scan failure
65 * when there is no channel to scan for.
90 // No scan is issued to WifiNative.
91 verify(mWifiNative, never()).scan(any(), anyInt(), any(), any(Set.class));
92 // A scan failed event must be reported.
142 // Kick off a scan
143 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(Set.class))).thenReturn(true);
152 // Now report scan results (results lost the race with timeout)
165 * Test that dump() of WificondScannerImpl dumps native scan result
[all...]
H A DWificondPnoScannerTest.java87 * Verify that the HW disconnected PNO scan triggers a wificond PNO scan and invokes the
88 * OnPnoNetworkFound callback when the scan results are received.
99 // Start PNO scan
106 * Verify that the HW PNO scan stop failure still resets the PNO scan state.
108 * 2. Stop Hw PNO scan which raises a stop command to WifiNative which is failed.
109 * 3. Now restart a new PNO scan to ensure that the failure was cleanly handled.
118 // Start PNO scan
127 // Add a new PNO scan reques
[all...]
/frameworks/base/cmds/idmap/
H A DAndroid.mk18 LOCAL_SRC_FILES := idmap.cpp create.cpp scan.cpp inspect.cpp
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DTunerSession.java124 public void scan(boolean directionDown, boolean skipSubChannel) throws RemoteException { method in class:TunerSession
127 int halResult = mHwSession.scan(!directionDown, skipSubChannel);
161 Slog.i(TAG, "Explicit background scan trigger is not supported with HAL 2.x");
/frameworks/base/core/java/com/android/internal/alsa/
H A DAlsaCardsParser.java136 public int scan() { method in class:AlsaCardsParser
138 Slog.d(TAG, "AlsaCardsParser.scan()....");
164 // scan "usbbus" file
H A DAlsaDevicesParser.java252 public int scan() { method in class:AlsaDevicesParser
254 Slog.i(TAG, "AlsaDevicesParser.scan()....");
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp44 EhFrameReader::Token EhFrameReader::scan<true>(ConstAddress pHandler, function in class:mcld::EhFrameReader
135 Token token = scan<true>(handler, file_off, sect_reg);
140 // fail to scan
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
H A DTuner.java182 public void scan(boolean directionDown, boolean skipSubChannel) { method in class:Tuner
/frameworks/rs/script_api/
H A DSpecification.cpp227 bool VersionInfo::scan(Scanner* scanner, unsigned int maxApiLevel) { function in class:VersionInfo
369 if (!info.scan(scanner, maxApiLevel)) {
398 if (!info.scan(scanner, maxApiLevel)) {
615 if (!info.scan(scanner, maxApiLevel)) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWificondControl.java63 /* Get scan results for a single scan */
66 /* Get scan results for Pno Scan */
119 Log.d(TAG, "Pno scan result event");
132 Log.d(TAG, "Pno scan over offload started");
138 Log.d(TAG, "Pno scan over offload failed");
504 * Fetch the latest scan result from kernel via wificond.
546 Log.e(TAG, "Illegal argument for scan result with bssid: " + bssid, e);
581 Log.d(TAG, "get " + results.size() + " scan results from wificond");
588 * Return scan typ
611 public boolean scan(@NonNull String ifaceName, method in class:WificondControl
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAlsaManager.java161 mCardsParser.scan();
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
H A DRadioTunerTest.java334 /* There is a possible race condition between scan and cancel commands - the scan may finish
337 int scanRet = mRadioTuner.scan(RadioTuner.DIRECTION_DOWN, true);

Completed in 667 milliseconds

12