Home
last modified time | relevance | path

Searched refs:getScanMode (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceControllerTest.java220 assertThat(BluetoothAdapter.getDefaultAdapter().getScanMode()).isEqualTo( in refreshUi_noDeviceBonding_setsScanModeConnectableDiscoverable()
251 assertThat(BluetoothAdapter.getDefaultAdapter().getScanMode()).isEqualTo( in refreshUi_deviceBonding_setsScanModeConnectable()
288 assertThat(BluetoothAdapter.getDefaultAdapter().getScanMode()).isEqualTo( in onStop_setsScanModeConnectable()
299 assertThat(BluetoothAdapter.getDefaultAdapter().getScanMode()).isEqualTo( in discoverableScanModeTimeout_controllerStarted_resetsDiscoverableScanMode()
311 assertThat(BluetoothAdapter.getDefaultAdapter().getScanMode()).isEqualTo( in discoverableScanModeTimeout_controllerStopped_doesNotResetDiscoverableScanMode()
DBluetoothRequestPermissionActivityTest.java219 assertThat(mAdapter.getScanMode()).isEqualTo( in onPositiveClick_discoverableDialog_scanModeSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAlwaysDiscoverableTest.java80 assertThat(mBluetoothAdapter.getScanMode()) in startSetsModeAndRegistersReceiver()
95 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges()
101 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges()
DBluetoothPairingDetailTest.java133 assertThat(mBluetoothAdapter.getScanMode()) in updateContent_stateOn_addDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java586 curScanSetting = client.settings.getScanMode(); in configureRegularScanParams()
625 if (client.settings.getScanMode() > curScanSetting) { in getAggressiveClient()
627 curScanSetting = client.settings.getScanMode(); in getAggressiveClient()
650 if (client.settings.getScanMode() != ScanSettings.SCAN_MODE_OPPORTUNISTIC) { in numRegularScanClients()
675 return client.settings.getScanMode() == ScanSettings.SCAN_MODE_OPPORTUNISTIC; in isOpportunisticScanClient()
747 params.scanMode = Math.max(params.scanMode, client.settings.getScanMode()); in getBatchScanParams()
1127 switch (settings.getScanMode()) { in getScanWindowMillis()
1159 switch (settings.getScanMode()) { in getScanIntervalMillis()
DAppScanStats.java188 settings.getScanMode(), settings.getCallbackType()); in recordScanStart()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDiscoverableEnabler.java114 handleModeChanged(mBluetoothAdapter.getScanMode()); in resume()
252 handleModeChanged(mBluetoothAdapter.getScanMode()); in setNumberOfPairedDevices()
275 int mode = mBluetoothAdapter.getScanMode(); in updateCountdownSummary()
DAlwaysDiscoverable.java57 if (mBluetoothAdapter.getScanMode() in start()
78 if (mBluetoothAdapter.getScanMode() in onReceive()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDiscoverableEnabler.java114 handleModeChanged(mBluetoothAdapter.getScanMode()); in resume()
252 handleModeChanged(mBluetoothAdapter.getScanMode()); in setNumberOfPairedDevices()
275 int mode = mBluetoothAdapter.getScanMode(); in updateCountdownSummary()
DAlwaysDiscoverable.java57 if (mBluetoothAdapter.getScanMode() in start()
78 if (mBluetoothAdapter.getScanMode() in onReceive()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBluetoothAdapter.java51 protected int getScanMode() { in getScanMode() method in ShadowLocalBluetoothAdapter
DShadowBluetoothAdapter.java75 protected int getScanMode() { in getScanMode() method in ShadowBluetoothAdapter
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceController.java189 if (mAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in setDiscoverable()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java340 int getScanMode() { in getScanMode() method in AdapterProperties
944 writer.println(" " + "ScanMode: " + dumpScanMode(getScanMode())); in dump()
DAdapterService.java1254 public int getScanMode() { in getScanMode() method in AdapterService.AdapterServiceBinder
1262 return service.mAdapterProperties.getScanMode(); in getScanMode()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java231 final int scanMode = mServiceBinder.getScanMode(); in doEnable()