/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
D | SingleScanSettings.java | 35 public int scanType; field in SingleScanSettings 53 return scanType == settings.scanType in equals() 61 return Objects.hash(scanType, channelSettings, hiddenNetworks); in hashCode() 71 private static boolean isValidScanType(int scanType) { in isValidScanType() argument 72 return scanType == IWifiScannerImpl.SCAN_TYPE_LOW_SPAN in isValidScanType() 73 || scanType == IWifiScannerImpl.SCAN_TYPE_LOW_POWER in isValidScanType() 74 || scanType == IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in isValidScanType() 83 if (!isValidScanType(scanType)) { in writeToParcel() 84 Log.wtf(TAG, "Invalid scan type " + scanType); in writeToParcel() 86 out.writeInt(scanType); in writeToParcel() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/ |
D | SingleScanSettingsTest.java | 72 scanSettings.scanType = IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in canSerializeAndDeserialize() 96 scanSettings1.scanType = IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in testAsHashMapKey() 103 scanSettings2.scanType = IWifiScannerImpl.SCAN_TYPE_HIGH_ACCURACY; in testAsHashMapKey()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WificondControl.java | 568 public ArrayList<ScanDetail> getScanResults(@NonNull String ifaceName, int scanType) { in getScanResults() argument 577 if (scanType == SCAN_TYPE_SINGLE_SCAN) { in getScanResults() 649 private static int getScanType(int scanType) { in getScanType() argument 650 switch (scanType) { in getScanType() 658 throw new IllegalArgumentException("Invalid scan type " + scanType); in getScanType() 671 int scanType, in scan() argument 681 settings.scanType = getScanType(scanType); in scan()
|
D | WifiNative.java | 1295 @NonNull String ifaceName, int scanType, Set<Integer> freqs, in scan() argument 1297 return mWificondControl.scan(ifaceName, scanType, freqs, hiddenNetworkSSIDs); in scan() 2470 public int scanType; field in WifiNative.ScanSettings
|
/frameworks/base/telephony/java/android/telephony/ |
D | NetworkScanRequest.java | 139 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/ |
D | ScanTestUtil.java | 99 mSettings.scanType = WifiNative.SCAN_TYPE_LOW_LATENCY; in NativeScanSettingsBuilder() 106 mSettings.scanType = type; in withType() 369 assertEquals("scan type", expected.scanType, actual.scanType); in assertNativeScanSettingsEquals()
|
D | WificondControlTest.java | 1277 if (settings.scanType != mExpectedScanType) { in matches()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BaseWifiScannerImplTest.java | 511 expectSuccessfulSingleScan(order, settings.scanType, eventHandler, expectedScan, in doSuccessfulSingleScanTest() 518 int scanType, WifiNative.ScanEventHandler eventHandler, Set<Integer> expectedScan, in expectSuccessfulSingleScan() argument 521 eq(IFACE_NAME), eq(scanType), eq(expectedScan), eq(expectedHiddenNetSSIDs)); in expectSuccessfulSingleScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 193 mIfaceName, settings.scanType, freqs, hiddenNetworkSSIDSet); in startSingleScan()
|
D | WifiScanningServiceImpl.java | 843 switch(mActiveScanSettings.scanType) { in activeScanTypeSatisfies() 853 + mActiveScanSettings.scanType); in activeScanTypeSatisfies() 951 settings.scanType = in tryToStartNewScan() 952 mergeScanTypes(settings.scanType, getNativeScanType(entry.settings.type)); in tryToStartNewScan()
|