/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 220 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()
|
D | BluetoothRequestPermissionActivityTest.java | 219 assertThat(mAdapter.getScanMode()).isEqualTo( in onPositiveClick_discoverableDialog_scanModeSet()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverableTest.java | 80 assertThat(mBluetoothAdapter.getScanMode()) in startSetsModeAndRegistersReceiver() 95 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges() 101 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges()
|
D | BluetoothPairingDetailTest.java | 133 assertThat(mBluetoothAdapter.getScanMode()) in updateContent_stateOn_addDevices()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanManager.java | 586 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()
|
D | AppScanStats.java | 188 settings.getScanMode(), settings.getCallbackType()); in recordScanStart()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDiscoverableEnabler.java | 114 handleModeChanged(mBluetoothAdapter.getScanMode()); in resume() 252 handleModeChanged(mBluetoothAdapter.getScanMode()); in setNumberOfPairedDevices() 275 int mode = mBluetoothAdapter.getScanMode(); in updateCountdownSummary()
|
D | AlwaysDiscoverable.java | 57 if (mBluetoothAdapter.getScanMode() in start() 78 if (mBluetoothAdapter.getScanMode() in onReceive()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDiscoverableEnabler.java | 114 handleModeChanged(mBluetoothAdapter.getScanMode()); in resume() 252 handleModeChanged(mBluetoothAdapter.getScanMode()); in setNumberOfPairedDevices() 275 int mode = mBluetoothAdapter.getScanMode(); in updateCountdownSummary()
|
D | AlwaysDiscoverable.java | 57 if (mBluetoothAdapter.getScanMode() in start() 78 if (mBluetoothAdapter.getScanMode() in onReceive()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowLocalBluetoothAdapter.java | 51 protected int getScanMode() { in getScanMode() method in ShadowLocalBluetoothAdapter
|
D | ShadowBluetoothAdapter.java | 75 protected int getScanMode() { in getScanMode() method in ShadowBluetoothAdapter
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 189 if (mAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in setDiscoverable()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 340 int getScanMode() { in getScanMode() method in AdapterProperties 944 writer.println(" " + "ScanMode: " + dumpScanMode(getScanMode())); in dump()
|
D | AdapterService.java | 1254 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/ |
D | AdapterServiceTest.java | 231 final int scanMode = mServiceBinder.getScanMode(); in doEnable()
|