/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 | 565 public ArrayList<ScanDetail> getScanResults(@NonNull String ifaceName, int scanType) { in getScanResults() argument 574 if (scanType == SCAN_TYPE_SINGLE_SCAN) { in getScanResults() 646 private static int getScanType(int scanType) { in getScanType() argument 647 switch (scanType) { in getScanType() 655 throw new IllegalArgumentException("Invalid scan type " + scanType); in getScanType() 668 int scanType, in scan() argument 678 settings.scanType = getScanType(scanType); in scan()
|
D | WifiNative.java | 1296 @NonNull String ifaceName, int scanType, Set<Integer> freqs, in scan() argument 1298 return mWificondControl.scan(ifaceName, scanType, freqs, hiddenNetworkSSIDs); in scan() 2471 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 | 1272 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()
|