Home
last modified time | relevance | path

Searched refs:SCAN_MODE_CONNECTABLE_DISCOVERABLE (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DAlwaysDiscoverable.java59 != 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()
DBluetoothDiscoverableEnabler.java142 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()
DRequestPermissionActivity.java264 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) in proceedAndFinish()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAlwaysDiscoverableTest.java81 .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()
DBluetoothPairingDetailTest.java123 .isEqualTo(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in updateContent_stateOn_addDevices()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java100 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()
DBluetoothScanningDevicesGroupPreferenceControllerTest.java263 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/
DCustomUuidEirFragment.java210 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/
DBluetoothScanningDevicesGroupPreferenceController.java233 if (mAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in setDiscoverable()
234 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setDiscoverable()
DBluetoothRequestPermissionActivity.java234 if (!mLocalBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, in setDiscoverable()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairProvider.java75 if (successful || mScanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
120 if (mScanMode == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
DBluetoothUtils.java107 sScanModes.put(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, in sScanModes.put() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothUtilsGetScanModeNameTest.java52 {BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, "Connectable/Discoverable"}, in provideParams()
DFastPairProviderTest.java453 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/
DBluetoothRequestPermissionActivity.java78 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in proceedAndFinish()
DBluetoothDevicePairer.java376 if (scanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in start()
382 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in start()
/packages/modules/Bluetooth/android/pandora/server/src/
DHost.kt843 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE in setDiscoverabilityMode()
878 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE in setConnectabilityMode()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java437 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/
DAdapterProperties.java1326 case BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE: in dumpScanMode()
DAdapterService.java6099 case BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE: in convertScanModeToHal()
6113 return BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE; in convertScanModeFromHal()
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt78 field public static final int SCAN_MODE_CONNECTABLE_DISCOVERABLE = 23; // 0x17