Home
last modified time | relevance | path

Searched refs:isDiscovering (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceControllerTest.java130 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in disallowConfigBluetooth_doesNotStartScanning()
138 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onScanningStateChanged_scanningEnabled_receiveStopped_restartsScanning()
143 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onScanningStateChanged_scanningEnabled_receiveStopped_restartsScanning()
152 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing()
156 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing()
162 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onDeviceBondStateChanged_refreshesUi()
169 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onDeviceBondStateChanged_refreshesUi()
189 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onDeviceClicked_cancelsScanning()
193 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isFalse(); in onDeviceClicked_cancelsScanning()
202 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in refreshUi_noDeviceBonding_startsScanning()
[all …]
DBluetoothUnbondedDevicesPreferenceControllerTest.java149 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onDeviceClicked_pairingStartFails_resumesScanning()
153 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onDeviceClicked_pairingStartFails_resumesScanning()
DBluetoothDevicePickerPreferenceControllerTest.java234 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
238 assertThat(BluetoothAdapter.getDefaultAdapter().isDiscovering()).isTrue(); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceController.java108 if (!mBluetoothAdapter.isDiscovering()) { in enableScanning()
120 if (mBluetoothAdapter.isDiscovering()) { in disableScanning()
DBluetoothUtils.java126 if (adapter.isDiscovering()) { in shouldShowDialogInForeground()
/packages/apps/Settings/tests/unit/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java59 if (mAdapter.isDiscovering()) { in onClick()
83 if (mAdapter.isDiscovering()) { in onCreate()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceListPreferenceFragment.java281 if (!mBluetoothAdapter.isDiscovering()) { in startScanning()
287 if (mBluetoothAdapter.isDiscovering()) { in stopScanning()
DLocalBluetoothPreferences.java94 if (adapter.isDiscovering()) { in shouldShowDialogInForeground()
DBluetoothPairingDetail.java77 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
DDevicePickerFragment.java97 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DDeviceListPreferenceFragment.java281 if (!mBluetoothAdapter.isDiscovering()) { in startScanning()
287 if (mBluetoothAdapter.isDiscovering()) { in stopScanning()
DLocalBluetoothPreferences.java94 if (adapter.isDiscovering()) { in shouldShowDialogInForeground()
DDevicePickerFragment.java97 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
DBluetoothPairingDetail.java77 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1081 public boolean isDiscovering() { in isDiscovering() method in AdapterService.AdapterServiceBinder
1091 return service.isDiscovering(); in isDiscovering()
1968 boolean isDiscovering() { in isDiscovering() method in AdapterService
1971 return mAdapterProperties.isDiscovering(); in isDiscovering()
DAdapterProperties.java572 boolean isDiscovering() { in isDiscovering() method in AdapterProperties
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java275 if (mBtAdapter.isDiscovering()) { in scanNow()