/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/ |
D | ScanManagerTest.java | 404 assertThat(client.settings.getScanMode()).isEqualTo(expectedScanMode); in testScreenOffStartUnfilteredScan() 437 assertThat(client.settings.getScanMode()).isEqualTo(expectedScanMode); in testScreenOffStartFilteredScan() 471 assertThat(client.settings.getScanMode()).isEqualTo(expectedScanMode); in testScreenOffStartEmptyFilterScan() 504 assertThat(client.settings.getScanMode()).isEqualTo(expectedScanMode); in testScreenOnStartUnfilteredScan() 537 assertThat(client.settings.getScanMode()).isEqualTo(expectedScanMode); in testScreenOnStartFilteredScan() 570 assertThat(client.settings.getScanMode()).isEqualTo(ScanMode); in testResumeUnfilteredScanAfterScreenOn() 575 assertThat(client.settings.getScanMode()).isEqualTo(ScanMode); in testResumeUnfilteredScanAfterScreenOn() 608 assertThat(client.settings.getScanMode()).isEqualTo(expectedScanMode); in testResumeFilteredScanAfterScreenOn() 613 assertThat(client.settings.getScanMode()).isEqualTo(ScanMode); in testResumeFilteredScanAfterScreenOn() 646 assertThat(client.settings.getScanMode()).isEqualTo(ScanMode); in testUnfilteredScanTimeout() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | ScanClient.java | 63 this.scanModeApp = settings.getScanMode(); in ScanClient() 92 .append(settings.getScanMode()); in toString() 106 if (settings.getScanMode() == newScanMode) { in updateScanMode()
|
D | ScanManager.java | 790 if (mPriorityMap.get(client.settings.getScanMode()) in revertScanModeUpgrade() 823 int scanMode = client.settings.getScanMode(); in downgradeScanModeFromMaxDuty() 1040 curScanSetting = client.settings.getScanMode(); in configureRegularScanParams() 1095 int priority = mPriorityMap.get(client.settings.getScanMode()); in getAggressiveClient() 1116 && client.settings.getScanMode() != ScanSettings.SCAN_MODE_OPPORTUNISTIC) { in startRegularScan() 1119 if (!AppScanStats.recordScanRadioStart(client.settings.getScanMode())) { in startRegularScan() 1128 if (client.settings.getScanMode() != ScanSettings.SCAN_MODE_OPPORTUNISTIC) { in numRegularScanClients() 1165 return client.settings.getScanMode() == ScanSettings.SCAN_MODE_OPPORTUNISTIC; in isOpportunisticScanClient() 1247 params.scanMode = winner.settings.getScanMode(); in getBatchScanParams() 1374 int scanMode = client.settings.getScanMode(); in regularScanTimeout() [all …]
|
D | TransitionalScanHelper.java | 1464 if (settings.getScanMode() == ScanSettings.SCAN_MODE_AMBIENT_DISCOVERY) { in needsPrivilegedPermissionForScan() 1565 .setScanMode(settings.getScanMode()) in enforceReportDelayFloor()
|
D | AppScanStats.java | 247 settings.getScanMode(), in recordScanStart()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverableTest.java | 80 assertThat(mBluetoothAdapter.getScanMode()) in startSetsModeAndRegistersReceiver() 96 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges() 102 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges()
|
D | BluetoothPairingDetailTest.java | 122 assertThat(mBluetoothAdapter.getScanMode()) in updateContent_stateOn_addDevices()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceBinderTest.java | 104 public void getScanMode() { in getScanMode() method in AdapterServiceBinderTest 105 mBinder.getScanMode(mAttributionSource); in getScanMode() 106 verify(mService).getScanMode(); in getScanMode()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverable.java | 58 if (mBluetoothAdapter.getScanMode() in start() 79 if (mBluetoothAdapter.getScanMode() in onReceive()
|
D | BluetoothDiscoverableEnabler.java | 116 handleModeChanged(mBluetoothAdapter.getScanMode()); in resume() 253 handleModeChanged(mBluetoothAdapter.getScanMode()); in setNumberOfPairedDevices() 276 int mode = mBluetoothAdapter.getScanMode(); in updateCountdownSummary()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/ |
D | DiscoveryProviderManager.java | 256 mBleDiscoveryProvider.getController().setProviderScanMode(mMerged.getScanMode()); in startBleProvider() 268 mChreDiscoveryProvider.getController().setProviderScanMode(mMerged.getScanMode()); in startChreProvider() 290 mBleDiscoveryProvider.getController().setProviderScanMode(mMerged.getScanMode()); in invalidateProviderScanMode() 312 int requestScanMode = registration.getScanRequest().getScanMode(); in mergeRegistrations()
|
D | DiscoveryProviderManagerLegacy.java | 277 if (mScanMode < scanRequest.getScanMode()) { in registerScanListener() 278 mScanMode = scanRequest.getScanMode(); in registerScanListener() 317 if (removedRecord.getScanRequest().getScanMode() == mScanMode) { in unregisterScanListener() 323 @ScanRequest.ScanMode int scanMode = record.getScanRequest().getScanMode(); in unregisterScanListener()
|
D | MergedDiscoveryRequest.java | 69 public final int getScanMode() { in getScanMode() method in MergedDiscoveryRequest
|
/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 | 80 protected int getScanMode() { in getScanMode() method in ShadowBluetoothAdapter
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | CustomUuidEirFragment.java | 206 mScanModeNotDiscoverable = mAdapter.getScanMode(); in onCreateView() 349 mAdvertisingToggle.setChecked(mAdapter.getScanMode() in refreshUi()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 375 final int scanMode = bluetoothAdapter.getScanMode(); in start() 420 && mDefaultScanMode != bluetoothAdapter.getScanMode()) { in dispose()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 357 when(mBluetoothAdapter.getScanMode()).thenReturn(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in discoverableScanModeTimeout_controllerStarted_resetsDiscoverableScanMode() 370 when(mBluetoothAdapter.getScanMode()).thenReturn(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in discoverableScanModeTimeout_controllerStopped_doesNotResetDiscoverableScanMode()
|
/packages/modules/Connectivity/nearby/tests/unit/src/android/nearby/ |
D | ScanRequestTest.java | 62 assertThat(request.getScanMode()).isEqualTo(SCAN_MODE_LOW_POWER); in testScanRequestBuilder()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | ScanSettings.java | 186 public int getScanMode() { in getScanMode() method in ScanSettings
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 233 if (mAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in setDiscoverable()
|
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/ |
D | ScanRequestTest.java | 71 assertThat(request.getScanMode()).isEqualTo(SCAN_MODE_LOW_POWER); in testScanMode_defaultLowPower()
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | ScanRequest.java | 165 public @ScanMode int getScanMode() { in getScanMode() method in ScanRequest
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 357 int getScanMode() { in getScanMode() method in AdapterProperties 1239 writer.println(" " + "ScanMode: " + dumpScanMode(getScanMode())); in dump()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetooth.aidl | 73 int getScanMode(in AttributionSource attributionSource); in getScanMode() method
|