/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 128 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan() 141 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_noDialog() 153 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_receiverRegistered() 165 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery() 183 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() 299 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in onPositiveClick_discoverableDialog_scanModeSet()
|
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 292 BluetoothAdapter.getDefaultAdapter().setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in discoverableScanModeTimeout_controllerStarted_resetsDiscoverableScanMode() 304 BluetoothAdapter.getDefaultAdapter().setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in discoverableScanModeTimeout_controllerStopped_doesNotResetDiscoverableScanMode()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverable.java | 59 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in start() 69 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in stop() 80 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in onReceive()
|
D | BluetoothDiscoverableEnabler.java | 141 .setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout); in setEnabled() 153 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in setEnabled()
|
D | RequestPermissionActivity.java | 264 } else if (mBluetoothAdapter.setScanMode( in proceedAndFinish()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverableTest.java | 73 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in stopWithoutStart() 78 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in startSetsModeAndRegistersReceiver() 106 mBluetoothAdapter.setScanMode(newMode); in sendScanModeChangedIntent()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowLocalBluetoothAdapter.java | 56 protected void setScanMode(int mode) { in setScanMode() method in ShadowLocalBluetoothAdapter 61 protected boolean setScanMode(int mode, int duration) { in setScanMode() method in ShadowLocalBluetoothAdapter
|
D | ShadowBluetoothAdapter.java | 83 protected boolean setScanMode(int scanMode) { in setScanMode() method in ShadowBluetoothAdapter
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 179 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE); in stop() 189 mAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE); in setDiscoverable()
|
D | BluetoothRequestPermissionActivity.java | 232 if (!mLocalBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, in setDiscoverable()
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 108 .setScanMode(ScanSettings.SCAN_MODE_OPPORTUNISTIC).build(); in testBleScanOpportunistic() 115 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in testBleScanUnoptimized() 122 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in testBleScanResult() 131 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in testBleScanInterrupted()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 361 bluetoothAdapter.setScanMode( in start() 403 bluetoothAdapter.setScanMode(mDefaultScanMode); in dispose()
|
D | BluetoothRequestPermissionActivity.java | 59 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, in onCreate()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 382 boolean setScanMode(int scanMode) { in setScanMode() method in AdapterProperties 1018 setScanMode(AbstractionLayer.BT_SCAN_MODE_CONNECTABLE); in onBluetoothReady() 1028 setScanMode(AbstractionLayer.BT_SCAN_MODE_NONE); in onBleDisable()
|
D | AdapterService.java | 719 mAdapterProperties.setScanMode(AbstractionLayer.BT_SCAN_MODE_NONE); in stopProfileServices() 1428 public boolean setScanMode(int mode, int duration, AttributionSource attributionSource) { in setScanMode() method in AdapterService.AdapterServiceBinder 1437 return service.mAdapterProperties.setScanMode(convertScanModeToHal(mode)); in setScanMode()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanClient.java | 55 new ScanSettings.Builder().setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build();
|
D | ScanManager.java | 882 builder.setScanMode(ScanSettings.SCAN_MODE_OPPORTUNISTIC); in setOpportunisticScanClient() 1424 builder.setScanMode(backgroundScanMode); in handleImportanceChange()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
D | AnomalyActions.java | 61 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in doUnoptimizedBleScan()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | BleScanReceiver.java | 139 mScanSettings = new ScanSettings.Builder().setScanMode( in firstAlarm()
|
D | GattClientListener.java | 323 mScanSettings = new ScanSettings.Builder().setScanMode( in MyBleScanner()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConcreteClientModeManager.java | 972 mWifiNative.setScanMode(mClientInterfaceName, true); in enter() 995 mWifiNative.setScanMode(mClientInterfaceName, false); in exit()
|
D | WifiNative.java | 4071 public boolean setScanMode(String ifaceName, boolean enable) { 4072 return mWifiVendorHal.setScanMode(ifaceName, enable);
|
D | WifiVendorHal.java | 3305 public boolean setScanMode(@NonNull String ifaceName, boolean enable) { 3311 WifiStatus status = iface.setScanMode(enable);
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ConcreteClientModeManagerTest.java | 278 verify(mWifiNative).setScanMode(TEST_INTERFACE_NAME, true); in startClientInScanOnlyModeAndVerifyEnabled() 386 verify(mWifiNative).setScanMode(TEST_INTERFACE_NAME, false); in switchFromScanOnlyModeToConnectMode()
|
D | WifiVendorHalTest.java | 4096 when(mIWifiStaIfaceV15.setScanMode(anyBoolean())).thenReturn(mWifiStatusSuccess); in testSetScanMode() 4098 assertTrue(mWifiVendorHal.setScanMode(TEST_IFACE_NAME, true)); in testSetScanMode() 4099 verify(mIWifiStaIfaceV15).setScanMode(true); in testSetScanMode() 4101 assertTrue(mWifiVendorHal.setScanMode(TEST_IFACE_NAME, false)); in testSetScanMode() 4102 verify(mIWifiStaIfaceV15).setScanMode(false); in testSetScanMode()
|