/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverable.java | 59 != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in start() 60 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in start() 80 != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in onReceive() 81 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in onReceive()
|
D | BluetoothDiscoverableEnabler.java | 142 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setEnabled() 258 if (mode == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in handleModeChanged() 277 if (mode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in updateCountdownSummary()
|
D | RequestPermissionActivity.java | 264 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) in proceedAndFinish()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverableTest.java | 81 .isEqualTo(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in startSetsModeAndRegistersReceiver() 97 .isEqualTo(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in resetsToDiscoverableModeWhenScanModeChanges() 100 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in resetsToDiscoverableModeWhenScanModeChanges() 103 .isEqualTo(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in resetsToDiscoverableModeWhenScanModeChanges()
|
D | BluetoothPairingDetailTest.java | 123 .isEqualTo(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in updateContent_stateOn_addDevices()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 100 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, DEFAULT_DISCOVERABLE_TIMEOUT)) in setUp() 160 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, DEFAULT_DISCOVERABLE_TIMEOUT); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan() 197 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, DEFAULT_DISCOVERABLE_TIMEOUT); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery() 209 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, DEFAULT_DISCOVERABLE_TIMEOUT); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() 312 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, DEFAULT_DISCOVERABLE_TIMEOUT); in onPositiveClick_discoverableDialog_scanModeSet()
|
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() 360 verify(mBluetoothAdapter).setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in discoverableScanModeTimeout_controllerStarted_resetsDiscoverableScanMode() 374 .setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in discoverableScanModeTimeout_controllerStopped_doesNotResetDiscoverableScanMode()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | CustomUuidEirFragment.java | 210 if (mScanModeNotDiscoverable == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in onCreateView() 326 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setAdvertisingState() 350 == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in refreshUi() 375 case BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE: in scanModeToText()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 233 if (mAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in setDiscoverable() 234 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setDiscoverable()
|
D | BluetoothRequestPermissionActivity.java | 234 if (!mLocalBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, in setDiscoverable()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairProvider.java | 75 if (successful || mScanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { 120 if (mScanMode == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
|
D | BluetoothUtils.java | 107 sScanModes.put(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, in sScanModes.put() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothUtilsGetScanModeNameTest.java | 52 {BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, "Connectable/Discoverable"}, in provideParams()
|
D | FastPairProviderTest.java | 453 sendScanModeChange(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in testReceiveScanModeConnectableDiscoverable_advertiseModelId() 463 sendScanModeChange(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in testReceiveScanModeConnectableDiscoverableNotDiscovering_advertisingStopped()
|
/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 | 376 if (scanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in start() 382 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in start()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Host.kt | 843 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE in setDiscoverabilityMode() 878 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE in setConnectabilityMode()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothAdapter.java | 437 value = {SCAN_MODE_NONE, SCAN_MODE_CONNECTABLE, SCAN_MODE_CONNECTABLE_DISCOVERABLE}) 469 public static final int SCAN_MODE_CONNECTABLE_DISCOVERABLE = 23; field in BluetoothAdapter 1890 && mode != SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in setScanMode()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 1326 case BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE: in dumpScanMode()
|
D | AdapterService.java | 6099 case BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE: in convertScanModeToHal() 6113 return BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE; in convertScanModeFromHal()
|
/packages/modules/Bluetooth/framework/api/ |
D | current.txt | 78 field public static final int SCAN_MODE_CONNECTABLE_DISCOVERABLE = 23; // 0x17
|