Searched refs:scan (Results 1 - 25 of 30) 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.java518 // increment pno scan metrics
820 //Setup mock configs and scan details
845 //Create a connection event using the config and a scan detail
1267 List<ScanDetail> scan = new ArrayList<ScanDetail>();
1269 scan.add(buildMockScanDetail("PASSPOINT_1", "bssid0", false, false, true, false));
1270 scan.add(buildMockScanDetail("PASSPOINT_2", "bssid1", false, false, true, false));
1271 scan.add(buildMockScanDetail("SSID_B", "bssid2", true, true, false, false));
1272 scan.add(buildMockScanDetail("SSID_B", "bssid3", true, true, false, false));
1273 scan.add(buildMockScanDetail("SSID_C", "bssid4", true, false, false, false));
1274 scan
[all...]
H A DWificondControlTest.java502 * Verifies that scan result's carrier network info {@link ScanResult#isCarrierAp} and
533 // Verify returned scan result.
547 // Verify returned scan result.
562 when(scanner.scan(any(SingleScanSettings.class))).thenReturn(true);
564 assertTrue(mWificondControl.scan(SCAN_FREQ_SET, SCAN_HIDDEN_NETWORK_SSID_SET));
565 verify(scanner).scan(argThat(new ScanMatcher(
576 when(scanner.scan(any(SingleScanSettings.class))).thenReturn(true);
578 assertTrue(mWificondControl.scan(null, null));
579 verify(scanner).scan(argThat(new ScanMatcher(null, null)));
583 * Verifies that Scan() can handle wificond scan failur
[all...]
H A DWifiNativeTest.java678 * Verifies that scan() calls underlying WificondControl.
682 mWifiNative.scan(SCAN_FREQ_SET, SCAN_HIDDEN_NETWORK_SSID_SET);
683 verify(mWificondControl).scan(SCAN_FREQ_SET, SCAN_HIDDEN_NETWORK_SSID_SET);
711 // connectToNetwork() should abort ongoing scan before connection.
723 // roamToNetwork() should abort ongoing scan before connection.
/frameworks/base/core/java/android/hardware/radio/
H A DITuner.aidl51 void scan(boolean directionDown, boolean skipSubChannel);
71 * @return {@code true} if the scan was properly scheduled,
72 * {@code false} if the scan feature is unavailable
78 * @return the list, or null if scan is in progress
80 * @throws IllegalStateException if the scan has not been started, client may
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)} */
139 * onProgramInfoChanged() will be called when scan completes or
155 public abstract int scan(int direction, boolean skipSubChannel); method in class:RadioTuner
191 * Cancel a pending scan or tune operation.
256 * Initiates a background scan to update internally cached program list.
258 * It may not be necessary to initiate the scan explicitly - the scan MAY be performed on boot.
264 * @return {@code true} if the scan was properly scheduled, {@code false} if the scan featur
[all...]
H A DTunerAdapter.java131 public int scan(int direction, boolean skipSubChannel) { method in class:TunerAdapter
133 mTuner.scan(direction == RadioTuner.DIRECTION_DOWN, skipSubChannel);
135 Log.e(TAG, "Can't scan", e);
/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/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DBaseWifiScannerImplTest.java159 * Tests whether the provided hidden networkId's in scan settings is correctly passed along
160 * when invoking native scan.
182 * Tests whether the provided hidden networkId's in scan settings is truncated to max size
183 * supported by wificond when invoking native scan.
227 // scan start succeeds
228 when(mWifiNative.scan(any(), any(Set.class))).thenReturn(true);
231 assertFalse("second scan while first scan running should fail immediately",
250 // scan fails
251 when(mWifiNative.scan(an
[all...]
H A DWificondScannerTest.java61 * Test that WificondScannerImpl will not issue a scan and report scan failure
62 * when there is no channel to scan for.
87 // No scan is issued to WifiNative.
88 verify(mWifiNative, never()).scan(any(), any(Set.class));
89 // A scan failed event must be reported.
322 // expected scan frequencies
359 when(mWifiNative.scan(any(), any(Set.class))).thenReturn(false);
361 // Start scan
369 // Fire alarm to start next scan
[all...]
H A DWificondPnoScannerTest.java82 * Verify that the HW disconnected PNO scan triggers a wificond PNO scan and invokes the
83 * OnPnoNetworkFound callback when the scan results are received.
94 // Start PNO scan
101 * Verify that we pause & resume HW PNO scan when a single scan is scheduled and invokes the
102 * OnPnoNetworkFound callback when the scan results are received.
115 // Start PNO scan
117 // Start single scan
119 // Verify that the PNO scan wa
[all...]
/frameworks/base/cmds/idmap/
H A DAndroid.mk18 LOCAL_SRC_FILES := idmap.cpp create.cpp scan.cpp inspect.cpp
/frameworks/base/core/java/com/android/internal/alsa/
H A DAlsaCardsParser.java107 public void scan() { method in class:AlsaCardsParser
109 Slog.i(TAG, "AlsaCardsParser.scan()");
185 scan();
250 // now scan to see if this card number is in the previous scan list
H A DAlsaDevicesParser.java261 public void scan() { method in class:AlsaDevicesParser
/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/opt/net/wifi/service/java/com/android/server/wifi/
H A DWificondControl.java55 /* Get scan results for a single scan */
58 /* Get scan results for Pno Scan */
100 Log.d(TAG, "Pno scan result event");
113 Log.d(TAG, "Pno scan over offload started");
119 Log.d(TAG, "Pno scan over offload failed");
341 * Fetch the latest scan result from kernel via wificond.
381 Log.e(TAG, "Illegal argument for scan result with bssid: " + bssid, e);
403 Log.d(TAG, "get " + results.size() + " scan results from wificond");
410 * Start a scan usin
415 public boolean scan(Set<Integer> freqs, Set<String> hiddenNetworkSSIDs) { method in class:WificondControl
[all...]
H A DWifiNative.java215 * Start a scan using wificond for the given parameters.
216 * @param freqs list of frequencies to scan for, if null scan all supported channels.
220 public boolean scan(Set<Integer> freqs, Set<String> hiddenNetworkSSIDs) { method in class:WifiNative
221 return mWificondControl.scan(freqs, hiddenNetworkSSIDs);
225 * Fetch the latest scan result from kernel via wificond.
234 * Fetch the latest scan result from kernel via wificond.
243 * Start PNO scan.
244 * @param pnoSettings Pno scan configuration.
252 * Stop PNO scan
[all...]
H A DWifiVendorHal.java438 * Gets the scan capabilities
451 mVerboseLog.info("scan capabilities %").c(cap.toString()).flush();
469 * Holds the current background scan state, to implement pause and restart
515 // exponential back off scan. Native API and above support only
516 // truncated binary exponential back off scan.
580 * Starts a background scan
582 * Any ongoing scan will be stopped first
584 * @param settings to control the scan
600 CurrentBackgroundScan scan = new CurrentBackgroundScan(mLastScanCmdId, settings);
601 status = mIWifiStaIface.startBackgroundScan(scan
[all...]
/frameworks/base/services/core/java/com/android/server/broadcastradio/
H A DTuner.java178 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
368 if (!info.scan(scanner, maxApiLevel)) {
397 if (!info.scan(scanner, maxApiLevel)) {
614 if (!info.scan(scanner, maxApiLevel)) {
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAlsaManager.java134 // initial scan
135 mCardsParser.scan();
317 mDevicesParser.scan();
406 // Don't need to call mDevicesParser.scan() because selectAudioCard() does this above.
408 // mDevicesParser.scan()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
H A DRadioTunerTest.java340 /* There is a possible race condition between scan and cancel commands - the scan may finish
343 int scanRet = mRadioTuner.scan(RadioTuner.DIRECTION_DOWN, true);
/frameworks/base/media/java/android/media/
H A DMediaScanner.java78 * The way the scan currently works is:
548 // we don't process playlists in the main scan, so return null
613 // rescan if the build fingerprint has changed since the last scan.
620 // rescan for metadata if file was modified since last scan
1360 long scan = System.currentTimeMillis();
1366 Log.d(TAG, " scan time: " + (scan - prescan) + "ms\n");
1367 Log.d(TAG, "postscan time: " + (end - scan) + "ms\n");
1372 Log.e(TAG, "SQLException in MediaScanner.scan()", e);
1375 Log.e(TAG, "UnsupportedOperationException in MediaScanner.scan()",
[all...]
/frameworks/base/services/core/jni/BroadcastRadio/
H A DTuner.cpp296 convert::ThrowIfFailed(env, halTuner->scan(dir, skipSubChannel));
378 ALOGI("Background scan is not supported with HAL < 1.1");

Completed in 1832 milliseconds

12