Home
last modified time | relevance | path

Searched refs:scanType (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/nl80211/
DSingleScanSettings.java34 public int scanType; field in SingleScanSettings
52 return scanType == settings.scanType in equals()
60 return Objects.hash(scanType, channelSettings, hiddenNetworks); in hashCode()
70 private static boolean isValidScanType(int scanType) { in isValidScanType() argument
71 return scanType == IWifiScannerImpl.SCAN_TYPE_LOW_SPAN in isValidScanType()
72 || scanType == IWifiScannerImpl.SCAN_TYPE_LOW_POWER in isValidScanType()
73 || scanType == IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in isValidScanType()
82 if (!isValidScanType(scanType)) { in writeToParcel()
83 Log.wtf(TAG, "Invalid scan type " + scanType); in writeToParcel()
85 out.writeInt(scanType); in writeToParcel()
[all …]
DWifiNl80211Manager.java830 @ScanResultType int scanType) { in getScanResults() argument
838 if (scanType == SCAN_TYPE_SINGLE_SCAN) { in getScanResults()
859 private static int getScanType(@WifiAnnotations.ScanType int scanType) { in getScanType() argument
860 switch (scanType) { in getScanType()
868 throw new IllegalArgumentException("Invalid scan type " + scanType); in getScanType()
894 public boolean startScan(@NonNull String ifaceName, @WifiAnnotations.ScanType int scanType, in startScan() argument
903 settings.scanType = getScanType(scanType); in startScan()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DSingleScanSettingsTest.java71 scanSettings.scanType = IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in canSerializeAndDeserialize()
95 scanSettings1.scanType = IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in testAsHashMapKey()
102 scanSettings2.scanType = IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in testAsHashMapKey()
DWifiNl80211ManagerTest.java1080 if (settings.scanType != mExpectedScanType) { in matches()
/frameworks/base/telephony/java/android/telephony/
DNetworkScanRequest.java139 public NetworkScanRequest(int scanType, RadioAccessSpecifier[] specifiers, in NetworkScanRequest() argument
145 this.mScanType = scanType; in NetworkScanRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java101 mSettings.scanType = WifiScanner.SCAN_TYPE_LOW_LATENCY; in NativeScanSettingsBuilder()
108 mSettings.scanType = type; in withType()
357 assertEquals("scan type", expected.scanType, actual.scanType); in assertNativeScanSettingsEquals()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java512 expectSuccessfulSingleScan(order, settings.scanType, eventHandler, expectedScan, in doSuccessfulSingleScanTest()
519 int scanType, WifiNative.ScanEventHandler eventHandler, Set<Integer> expectedScan, in expectSuccessfulSingleScan() argument
522 eq(IFACE_NAME), eq(scanType), eq(expectedScan), eq(expectedHiddenNetSSIDs)); in expectSuccessfulSingleScan()
/frameworks/base/media/java/android/media/tv/tuner/
DTuner.java427 private native int nativeScan(int settingsType, FrontendSettings settings, int scanType); in nativeScan() argument
611 public int scan(@NonNull FrontendSettings settings, @ScanType int scanType, in scan() argument
626 return nativeScan(settings.getType(), settings, scanType); in scan()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.h206 int scan(const FrontendSettings& settings, FrontendScanType scanType);
Dandroid_media_tv_Tuner.cpp1301 int JTuner::scan(const FrontendSettings& settings, FrontendScanType scanType) { in scan() argument
1306 Result result = mFe->scan(settings, scanType); in scan()
2509 JNIEnv *env, jobject thiz, jint settingsType, jobject settings, jint scanType) { in android_media_tv_Tuner_scan() argument
2512 env, settingsType, settings), static_cast<FrontendScanType>(scanType)); in android_media_tv_Tuner_scan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java188 getIfaceName(), settings.scanType, freqs, hiddenNetworkSSIDSet); in startSingleScan()
DWifiScanningServiceImpl.java1080 switch(mActiveScanSettings.scanType) { in activeScanTypeSatisfies()
1090 + mActiveScanSettings.scanType); in activeScanTypeSatisfies()
1188 settings.scanType = mergeScanTypes(settings.scanType, entry.settings.type); in tryToStartNewScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1438 @NonNull String ifaceName, @WifiAnnotations.ScanType int scanType, Set<Integer> freqs, in scan() argument
1451 return mWifiCondManager.startScan(ifaceName, scanType, freqs, hiddenNetworkSsidsArrays); in scan()
2682 public int scanType;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...