/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverable.java | 60 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in start() 70 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in stop() 81 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in onReceive()
|
D | BluetoothDiscoverableEnabler.java | 142 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setEnabled() 154 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in setEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverableTest.java | 73 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in stopWithoutStart() 78 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in startSetsModeAndRegistersReceiver() 107 mBluetoothAdapter.setScanMode(newMode); in sendScanModeChangedIntent()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 263 verify(mBluetoothAdapter).setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in refreshUi_noDeviceBonding_setsScanModeConnectableDiscoverable() 275 .setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in refreshUi_notValidCallingPackage_doesNotSetScanMode() 308 verify(mBluetoothAdapter).setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in refreshUi_deviceBonding_setsScanModeConnectable() 349 verify(mBluetoothAdapter).setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in onStop_setsScanModeConnectable() 360 verify(mBluetoothAdapter).setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in discoverableScanModeTimeout_controllerStarted_resetsDiscoverableScanMode() 374 .setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in discoverableScanModeTimeout_controllerStopped_doesNotResetDiscoverableScanMode()
|
D | BluetoothRequestPermissionActivityTest.java | 99 when(mMockLocalBluetoothAdapter.setScanMode( in setUp() 159 verify(mMockLocalBluetoothAdapter).setScanMode( in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan() 196 verify(mMockLocalBluetoothAdapter).setScanMode( in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery() 208 verify(mMockLocalBluetoothAdapter, never()).setScanMode( in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() 311 verify(mMockLocalBluetoothAdapter).setScanMode( in onPositiveClick_discoverableDialog_scanModeSet()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowLocalBluetoothAdapter.java | 56 protected void setScanMode(int mode) { in setScanMode() method in ShadowLocalBluetoothAdapter 61 protected boolean setScanMode(int mode, int duration) { in setScanMode() method in ShadowLocalBluetoothAdapter
|
D | ShadowBluetoothAdapter.java | 88 protected Object setScanMode(int scanMode) { in setScanMode() method in ShadowBluetoothAdapter
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | LeScanningTest.java | 129 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in startBleScan_withCallbackTypeFirstMatchSilentlyFails() 151 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in startBleScan_withCallbackTypeMatchLostSilentlyFails() 177 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in startBleScan_withPendingIntentAndDynamicReceiverAndCallbackTypeAllMatches() 227 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in startBleScan_withPendingIntentAndStaticReceiverAndCallbackTypeAllMatches() 262 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in startBleScan_oneTooManyScansFails() 349 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in startScanning()
|
D | DckScanTest.kt | 82 .setScanMode(ScanSettings.SCAN_MODE_AMBIENT_DISCOVERY) in scanForIrkAndIdentityAddress_remoteFound() 106 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in scanForUuid_remoteFound()
|
D | DckGattTest.kt | 233 .setScanMode(ScanSettings.SCAN_MODE_AMBIENT_DISCOVERY) in testGattConnect_fromIrkScan() 283 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY) in testGattConnect_fromUuidScan()
|
/packages/modules/Connectivity/nearby/tests/unit/src/android/nearby/ |
D | ScanRequestTest.java | 81 SCAN_TYPE_FAST_PAIR).setScanMode(invalidScanMode); in testScanModeBuilder_invalidScanType() 116 .setScanMode(SCAN_MODE_BALANCED) in testToString() 145 .setScanMode(SCAN_MODE_BALANCED) in testParceling()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | ScanClient.java | 50 new ScanSettings.Builder().setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); 112 builder.setScanMode(newScanMode) in updateScanMode()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 224 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in stop() 234 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setDiscoverable()
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | ScanRequest.java | 82 .setScanMode(in.readInt()) 316 public Builder setScanMode(@ScanMode int scanMode) { in setScanMode() method in ScanRequest.Builder
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIface.java | 351 public boolean setScanMode(boolean enable) { in setScanMode() method in WifiStaIface 353 () -> mWifiStaIface.setScanMode(enable)); in setScanMode()
|
D | IWifiStaIface.java | 194 boolean setScanMode(boolean enable); in setScanMode() method
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 108 .setScanMode(ScanSettings.SCAN_MODE_OPPORTUNISTIC).build(); in testBleScanOpportunistic() 115 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in testBleScanUnoptimized() 122 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in testBleScanResult() 131 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in testBleScanInterrupted()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothRequestPermissionActivity.java | 78 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in proceedAndFinish()
|
D | BluetoothDevicePairer.java | 381 bluetoothAdapter.setScanMode( in start() 422 bluetoothAdapter.setScanMode(mDefaultScanMode); in dispose()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
D | AnomalyActions.java | 61 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in doUnoptimizedBleScan()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/ |
D | MergedDiscoveryRequest.java | 123 public Builder setScanMode(@ScanRequest.ScanMode int scanMode) { in setScanMode() method in MergedDiscoveryRequest.Builder
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | CustomUuidEirFragment.java | 326 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setAdvertisingState() 332 mAdapter.setScanMode(mScanModeNotDiscoverable); in setAdvertisingState()
|
/packages/modules/Connectivity/nearby/tests/integration/privileged/src/android/nearby/integration/privileged/ |
D | NearbyManagerTest.kt | 57 .setScanMode(ScanRequest.SCAN_MODE_LOW_LATENCY) in testNearbyManagerStartScanStopScan_fromPrivilegedApp_succeed()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/metrics/ |
D | NearbyMetricsTest.java | 61 .setScanMode(SCAN_MODE_BALANCED)
|
/packages/modules/Connectivity/nearby/tests/integration/untrusted/src/android/nearby/integration/untrusted/ |
D | NearbyManagerTest.kt | 63 .setScanMode(ScanRequest.SCAN_MODE_LOW_LATENCY) in testNearbyManagerStartScan_fromUnTrustedApp_throwsException()
|