Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java404 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/
DScanClient.java63 this.scanModeApp = settings.getScanMode(); in ScanClient()
92 .append(settings.getScanMode()); in toString()
106 if (settings.getScanMode() == newScanMode) { in updateScanMode()
DScanManager.java790 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 …]
DTransitionalScanHelper.java1464 if (settings.getScanMode() == ScanSettings.SCAN_MODE_AMBIENT_DISCOVERY) { in needsPrivilegedPermissionForScan()
1565 .setScanMode(settings.getScanMode()) in enforceReportDelayFloor()
DAppScanStats.java247 settings.getScanMode(), in recordScanStart()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAlwaysDiscoverableTest.java80 assertThat(mBluetoothAdapter.getScanMode()) in startSetsModeAndRegistersReceiver()
96 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges()
102 assertThat(mBluetoothAdapter.getScanMode()) in resetsToDiscoverableModeWhenScanModeChanges()
DBluetoothPairingDetailTest.java122 assertThat(mBluetoothAdapter.getScanMode()) in updateContent_stateOn_addDevices()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceBinderTest.java104 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/
DAlwaysDiscoverable.java58 if (mBluetoothAdapter.getScanMode() in start()
79 if (mBluetoothAdapter.getScanMode() in onReceive()
DBluetoothDiscoverableEnabler.java116 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/
DDiscoveryProviderManager.java256 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()
DDiscoveryProviderManagerLegacy.java277 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()
DMergedDiscoveryRequest.java69 public final int getScanMode() { in getScanMode() method in MergedDiscoveryRequest
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBluetoothAdapter.java51 protected int getScanMode() { in getScanMode() method in ShadowLocalBluetoothAdapter
DShadowBluetoothAdapter.java80 protected int getScanMode() { in getScanMode() method in ShadowBluetoothAdapter
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DCustomUuidEirFragment.java206 mScanModeNotDiscoverable = mAdapter.getScanMode(); in onCreateView()
349 mAdvertisingToggle.setChecked(mAdapter.getScanMode() in refreshUi()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java375 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/
DBluetoothScanningDevicesGroupPreferenceControllerTest.java357 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/
DScanRequestTest.java62 assertThat(request.getScanMode()).isEqualTo(SCAN_MODE_LOW_POWER); in testScanRequestBuilder()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanSettings.java186 public int getScanMode() { in getScanMode() method in ScanSettings
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceController.java233 if (mAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in setDiscoverable()
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DScanRequestTest.java71 assertThat(request.getScanMode()).isEqualTo(SCAN_MODE_LOW_POWER); in testScanMode_defaultLowPower()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DScanRequest.java165 public @ScanMode int getScanMode() { in getScanMode() method in ScanRequest
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java357 int getScanMode() { in getScanMode() method in AdapterProperties
1239 writer.println(" " + "ScanMode: " + dumpScanMode(getScanMode())); in dump()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetooth.aidl73 int getScanMode(in AttributionSource attributionSource); in getScanMode() method

12