HomeSort by relevance Sort by last modified time
    Searched refs:scanMode (Results 1 - 7 of 7) sorted by null

  /frameworks/base/core/java/android/bluetooth/le/
ScanSettings.java 174 private ScanSettings(int scanMode, int callbackType, int scanResultType,
176 mScanMode = scanMode;
234 * @param scanMode The scan mode can be one of {@link ScanSettings#SCAN_MODE_LOW_POWER},
237 * @throws IllegalArgumentException If the {@code scanMode} is invalid.
239 public Builder setScanMode(int scanMode) {
240 if (scanMode < SCAN_MODE_OPPORTUNISTIC || scanMode > SCAN_MODE_LOW_LATENCY) {
241 throw new IllegalArgumentException("invalid scan mode " + scanMode);
243 mScanMode = scanMode;
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ScanManager.java 318 int scanMode;
323 scanMode = -1;
337 return scanMode == other.scanMode && fullScanClientIf == other.fullScanClientIf
561 Utils.millsToUnit(getBatchScanIntervalMillis(batchScanParams.scanMode));
563 Utils.millsToUnit(getBatchScanWindowMillis(batchScanParams.scanMode));
593 params.scanMode = Math.max(params.scanMode, client.settings.getScanMode());
603 private int getBatchScanWindowMillis(int scanMode) {
604 switch (scanMode) {
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothTestUtils.java 518 int scanMode = adapter.getScanMode();
519 if (scanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE) {
552 fail(String.format("discoverable() timeout: scanMode=%d (expected %d)", scanMode,
568 int scanMode = adapter.getScanMode();
569 if (scanMode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
602 fail(String.format("undiscoverable() timeout: scanMode=%d (expected %d)", scanMode,
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterProperties.java 139 * Set the local adapter property - scanMode
141 * @param scanMode the ScanMode to set
143 boolean setScanMode(int scanMode) {
146 AbstractionLayer.BT_PROPERTY_ADAPTER_SCAN_MODE, Utils.intToByteArray(scanMode));
575 Log.d(TAG, "ScanMode = " + mScanMode );
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothLeScanFacade.java 315 * @param scanMode Bluetooth LE scan mode.
344 * @param scanMode Bluetooth LE scan mode.
348 @RpcParameter(name = "scanMode")
349 Integer scanMode) {
350 mScanSettingsBuilder.setScanMode(scanMode);
    [all...]
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/system_23/
android.jar 

Completed in 746 milliseconds