/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | ScanRequest.java | 106 private ScanRequest(@ScanType int scanType, @ScanMode int scanMode, boolean bleEnabled, in ScanRequest() argument 108 mScanType = scanType; in ScanRequest() 140 public static boolean isValidScanType(@ScanType int scanType) { in isValidScanType() argument 141 return scanType == SCAN_TYPE_FAST_PAIR in isValidScanType() 142 || scanType == SCAN_TYPE_NEARBY_PRESENCE; in isValidScanType() 304 public Builder setScanType(@ScanType int scanType) { in setScanType() argument 305 mScanType = scanType; in setScanType()
|
D | NearbyManager.java | 165 @ScanRequest.ScanType int scanType) { in toClientNearbyDevice() argument 166 if (scanType == ScanRequest.SCAN_TYPE_FAST_PAIR) { in toClientNearbyDevice() 177 if (scanType == ScanRequest.SCAN_TYPE_NEARBY_PRESENCE) { in toClientNearbyDevice() 373 ScanListenerTransport(@ScanRequest.ScanType int scanType, ScanCallback scanCallback, in ScanListenerTransport() argument 377 Preconditions.checkState(ScanRequest.isValidScanType(scanType), in ScanListenerTransport() 378 "invalid scan type : " + scanType in ScanListenerTransport() local 380 mScanType = scanType; in ScanListenerTransport()
|
D | NearbyDeviceParcelable.java | 117 @ScanRequest.ScanType int scanType, in NearbyDeviceParcelable() argument 131 mScanType = scanType; in NearbyDeviceParcelable() 453 public Builder setScanType(@ScanRequest.ScanType int scanType) { in setScanType() argument 454 mScanType = scanType; in setScanType()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragment.kt | 64 private var scanType = ScanType.CLASSIC variable 101 this.scanType = ScanType.CLASSIC in setFilter() 112 this.scanType = ScanType.LE in setFilter() 208 if (scanType == ScanType.LE in addDevice() 209 || (scanType == ScanType.CLASSIC && filter.matches(cachedDevice.device) == true)) { in addDevice() 299 if (scanType == ScanType.LE) { in startScanning() 308 if (scanType == ScanType.LE) { in stopScanning()
|
/packages/modules/Connectivity/nearby/tests/unit/src/android/nearby/ |
D | ScanRequestTest.java | 58 final int scanType = SCAN_TYPE_FAST_PAIR; in testScanRequestBuilder() local 59 ScanRequest request = new ScanRequest.Builder().setScanType(scanType).build(); in testScanRequestBuilder() 61 assertThat(request.getScanType()).isEqualTo(scanType); in testScanRequestBuilder() 161 final int scanType = SCAN_TYPE_NEARBY_PRESENCE; in testParceling_nullWorkSource() local 163 .setScanType(scanType).build(); in testParceling_nullWorkSource()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pDiscoveryConfig.java | 49 private WifiP2pDiscoveryConfig(@WifiP2pManager.WifiP2pScanType int scanType, int frequencyMhz, in WifiP2pDiscoveryConfig() argument 51 mScanType = scanType; in WifiP2pDiscoveryConfig() 163 public Builder(@WifiP2pManager.WifiP2pScanType int scanType) { in Builder() argument 164 mScanType = scanType; in Builder()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | ScanNativeInterface.java | 118 private native void gattClientReadScanReportsNative(int clientIf, int scanType); in gattClientReadScanReportsNative() argument 203 public void gattClientReadScanReports(int clientIf, int scanType) { in gattClientReadScanReports() argument 204 gattClientReadScanReportsNative(clientIf, scanType); in gattClientReadScanReports()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/ |
D | PrivacyFilter.java | 33 public static NearbyDeviceParcelable filter(@ScanRequest.ScanType int scanType, in filter() argument
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 2199 int[] scanType = mExternalSingleScanType == null ? mCurrentSingleScanType in getScheduledSingleScanType() local 2201 if (scanType == null) { in getScheduledSingleScanType() 2205 if (index >= scanType.length) { in getScheduledSingleScanType() 2206 index = scanType.length - 1; in getScheduledSingleScanType() 2208 return scanType[index]; in getScheduledSingleScanType() 2242 private void setSingleScanningType(int[] scanType) { in setSingleScanningType() argument 2243 mCurrentSingleScanType = scanType; in setSingleScanningType() 2297 int scanType) { in startForcedSingleScan() argument 2310 settings.type = scanType; in startForcedSingleScan() 2339 private void startSingleScan(boolean isFullBandScan, WorkSource workSource, int scanType) { in startSingleScan() argument [all …]
|
D | WifiMetrics.java | 9007 public void logScanStarted(@ScanType int scanType) { 9012 mActiveScanStates[scanType] = mNextScanState; 9021 public void logScanFailedToStart(@ScanType int scanType) { 9026 mActiveScanStates[scanType] = mNextScanState; 9029 log(scanType, WifiStatsLog.WIFI_SCAN_REPORTED__RESULT__RESULT_FAILED_TO_START, 0); 9030 mActiveScanStates[scanType] = null; 9039 public void logScanSucceeded(@ScanType int scanType, int countOfNetworksFound) { 9043 log(scanType, WifiStatsLog.WIFI_SCAN_REPORTED__RESULT__RESULT_SUCCESS, 9045 mActiveScanStates[scanType] = null; 9081 public void logScanFailed(@ScanType int scanType) { [all …]
|
D | WifiNative.java | 1925 @NonNull String ifaceName, @WifiAnnotations.ScanType int scanType, Set<Integer> freqs, in scan() argument 1948 scanRequestStatus = mWifiCondManager.startScan2(ifaceName, scanType, freqs, in scan() 1951 scanStatus = mWifiCondManager.startScan(ifaceName, scanType, freqs, in scan() 1959 scanStatus = mWifiCondManager.startScan(ifaceName, scanType, freqs, in scan() 3499 public int scanType;
|
D | WifiServiceImpl.java | 3562 public void setScreenOnScanSchedule(int[] scanScheduleSeconds, int[] scanType) { in setScreenOnScanSchedule() argument 3566 if ((scanScheduleSeconds == null && scanType != null) in setScreenOnScanSchedule() 3567 || (scanScheduleSeconds != null && scanType == null)) { in setScreenOnScanSchedule() 3574 if (scanType != null) { in setScreenOnScanSchedule() 3575 if (scanType.length < 1) { in setScreenOnScanSchedule() 3578 for (int type : scanType) { in setScreenOnScanSchedule() 3591 .c(Arrays.toString(scanType)).c(uid).flush(); in setScreenOnScanSchedule() 3593 scanScheduleSeconds, scanType), TAG + "#setScreenOnScanSchedule"); in setScreenOnScanSchedule()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 112 mSettings.scanType = WifiScanner.SCAN_TYPE_LOW_LATENCY; in NativeScanSettingsBuilder() 119 mSettings.scanType = type; in withType() 457 assertEquals("scan type", expected.scanType, actual.scanType); in assertNativeScanSettingsEquals()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BaseWifiScannerImplTest.java | 531 expectSuccessfulSingleScan(order, settings.scanType, eventHandler, expectedScan, in doSuccessfulSingleScanTest() 538 int scanType, WifiNative.ScanEventHandler eventHandler, Set<Integer> expectedScan, in expectSuccessfulSingleScan() argument 542 eq(IFACE_NAME), eq(scanType), eq(expectedScan), eq(expectedHiddenNetSSIDs), in expectSuccessfulSingleScan()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 253 int scanType = WifiP2pManager.WIFI_P2P_SCAN_FULL; in testFindWithType() local 257 assertTrue(mDut.find(scanType, freq, timeout)); in testFindWithType() 258 verify(mP2pIfaceHalAidlMock).find(eq(scanType), eq(freq), eq(timeout)); in testFindWithType()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalAidlImpl.java | 547 private static int frameworkToHalScanType(@WifiP2pManager.WifiP2pScanType int scanType) { in frameworkToHalScanType() argument 548 switch (scanType) { in frameworkToHalScanType() 556 Log.e(TAG, "Invalid discovery scan type: " + scanType); in frameworkToHalScanType() 578 halInfo.scanType = frameworkToHalScanType(config.getScanType()); in findWithParams() 581 if (halInfo.scanType == -1) { in findWithParams()
|
D | WifiP2pServiceImpl.java | 3167 int scanType = message.arg1; in processMessageImpl() local 3178 if (scanType != WifiP2pManager.WIFI_P2P_SCAN_FULL in processMessageImpl() 3205 if (scanType == WifiP2pManager.WIFI_P2P_SCAN_SOCIAL) { in processMessageImpl() 3207 } else if (scanType == WifiP2pManager.WIFI_P2P_SCAN_SINGLE_FREQ) { in processMessageImpl() 3209 } else if (scanType == WifiP2pManager.WIFI_P2P_SCAN_WITH_CONFIG_PARAMS) { in processMessageImpl() 3216 if (p2pFind(scanType, freq, DISCOVER_TIMEOUT_S, discoveryConfig)) { in processMessageImpl() 7477 private boolean p2pFind(@WifiP2pManager.WifiP2pScanType int scanType, int freq, in p2pFind() argument 7488 if (scanType == WifiP2pManager.WIFI_P2P_SCAN_FULL) { in p2pFind() 7490 } else if (scanType == WifiP2pManager.WIFI_P2P_SCAN_SOCIAL in p2pFind() 7492 return mWifiNative.p2pFind(scanType, freq, timeout); in p2pFind() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 223 getIfaceName(), settings.scanType, freqs, hiddenNetworkSSIDSet, in startSingleScan()
|
D | WifiScanningServiceImpl.java | 1387 switch(mActiveScanSettings.scanType) { in activeScanTypeSatisfies() 1397 + mActiveScanSettings.scanType); in activeScanTypeSatisfies() 1521 settings.scanType = mergeScanTypes(settings.scanType, entry.settings.type); in tryToStartNewScan()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | EmergencyCallDomainSelectorTest.java | 4395 private void verifyScanPreferred(int scanType, int expectedPreferredAccessNetwork) { 4398 any(), eq(scanType), anyBoolean(), any(), any()); 4472 int scanType = SCAN_TYPE_NO_PREFERENCE; 4481 maxCellularTimerSec, scanType, voWifiOverEmergencyPdn, requiresImsRegistration, 4491 int maxCellularTimerSec, int scanType, 4528 bundle.putInt(KEY_EMERGENCY_NETWORK_SCAN_TYPE_INT, scanType);
|
D | NormalCallDomainSelectorTest.java | 799 int scanType, in onRequestEmergencyNetworkScan() argument
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | EmergencyCallDomainSelector.java | 1893 @CarrierConfigManager.ImsEmergency.EmergencyScanType int scanType) { in carrierConfigNetworkScanTypeToString() 1894 switch (scanType) { in carrierConfigNetworkScanTypeToString()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 102 void setScreenOnScanSchedule(in int[] scanScheduleSeconds, in int[] scanType); in setScreenOnScanSchedule() argument
|
D | BaseWifiService.java | 110 public void setScreenOnScanSchedule(int[] scanScheduleSeconds, int[] scanType) { in setScreenOnScanSchedule() argument
|
D | WifiManager.java | 2427 @WifiAnnotations.ScanType int scanType) { in ScreenOnScanSchedule() argument 2432 mScanType = scanType; in ScreenOnScanSchedule() 2630 int[] scanType = new int[screenOnScanSchedule.size()]; in setScreenOnScanSchedule() local 2633 scanType[i] = screenOnScanSchedule.get(i).getScanType(); in setScreenOnScanSchedule() 2635 mService.setScreenOnScanSchedule(scanSchedule, scanType); in setScreenOnScanSchedule()
|