OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ScanSettings
(Results
1 - 15
of
15
) sorted by null
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
ScanSettingsTest.java
19
import android.bluetooth.le.
ScanSettings
;
25
* Test for Bluetooth LE {@link
ScanSettings
}.
31
ScanSettings
settings = new
ScanSettings
.Builder().build();
32
assertEquals(
ScanSettings
.CALLBACK_TYPE_ALL_MATCHES, settings.getCallbackType());
33
assertEquals(
ScanSettings
.SCAN_MODE_LOW_POWER, settings.getScanMode());
40
ScanSettings
settings = new
ScanSettings
.Builder().build();
48
ScanSettings
settings = new
ScanSettings
.Builder(
[
all
...]
ScanCallbackTest.java
21
import android.bluetooth.le.
ScanSettings
;
45
mMockScanner.startScan(new
ScanSettings
.Builder().build(), mMockScanCallback);
50
ScanSettings
settings = new
ScanSettings
.Builder().setReportDelay(1000).build();
57
ScanSettings
settings = new
ScanSettings
.Builder().build();
70
void startScan(
ScanSettings
settings, ScanCallback callback) {
BluetoothLeScanTest.java
27
import android.bluetooth.le.
ScanSettings
;
147
ScanSettings
settings = new
ScanSettings
.Builder().setScanMode(
148
ScanSettings
.SCAN_MODE_LOW_LATENCY).build();
201
//
ScanSettings
opportunisticScanSettings = new
ScanSettings
.Builder()
202
// .setScanMode(
ScanSettings
.SCAN_MODE_OPPORTUNISTIC)
217
//
ScanSettings
regularScanSettings = new
ScanSettings
.Builder()
218
// .setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY).build()
[
all
...]
/developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
ScannerFragment.java
24
import android.bluetooth.le.
ScanSettings
;
191
* Return a {@link
ScanSettings
} object set to use low power (to preserve battery life).
193
private
ScanSettings
buildScanSettings() {
194
ScanSettings
.Builder builder = new
ScanSettings
.Builder();
195
builder.setScanMode(
ScanSettings
.SCAN_MODE_LOW_POWER);
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
ScannerFragment.java
24
import android.bluetooth.le.
ScanSettings
;
191
* Return a {@link
ScanSettings
} object set to use low power (to preserve battery life).
193
private
ScanSettings
buildScanSettings() {
194
ScanSettings
.Builder builder = new
ScanSettings
.Builder();
195
builder.setScanMode(
ScanSettings
.SCAN_MODE_LOW_POWER);
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
ScannerFragment.java
24
import android.bluetooth.le.
ScanSettings
;
191
* Return a {@link
ScanSettings
} object set to use low power (to preserve battery life).
193
private
ScanSettings
buildScanSettings() {
194
ScanSettings
.Builder builder = new
ScanSettings
.Builder();
195
builder.setScanMode(
ScanSettings
.SCAN_MODE_LOW_POWER);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleScannerService.java
28
import android.bluetooth.le.
ScanSettings
;
102
ScanSettings
.Builder settingBuilder = new
ScanSettings
.Builder();
114
settingBuilder.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY);
124
settingBuilder.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY);
128
settingBuilder.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY);
161
if (callBackType !=
ScanSettings
.CALLBACK_TYPE_ALL_MATCHES) {
BleConnectionPriorityClientService.java
32
import android.bluetooth.le.
ScanSettings
;
411
ScanSettings
setting = new
ScanSettings
.Builder()
412
.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY).build();
BleEncryptedClientService.java
33
import android.bluetooth.le.
ScanSettings
;
560
ScanSettings
setting = new
ScanSettings
.Builder()
561
.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY).build();
BleCocClientService.java
43
import android.bluetooth.le.
ScanSettings
;
682
ScanSettings
setting = new
ScanSettings
.Builder()
683
.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY).build();
BleClientService.java
33
import android.bluetooth.le.
ScanSettings
;
[
all
...]
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsBgVsFgActions.java
26
import android.bluetooth.le.
ScanSettings
;
145
ScanSettings
scanSettings
= new
ScanSettings
.Builder()
146
.setScanMode(
ScanSettings
.SCAN_MODE_OPPORTUNISTIC).build();
147
performBleScan(
scanSettings
);
152
ScanSettings
scanSettings
= new
ScanSettings
.Builder()
153
.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY).build()
[
all
...]
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
AtomTests.java
34
import android.bluetooth.le.
ScanSettings
;
85
ScanSettings
scanSettings
= new
ScanSettings
.Builder()
86
.setScanMode(
ScanSettings
.SCAN_MODE_OPPORTUNISTIC).build();
87
performBleScan(
scanSettings
, null,false);
92
ScanSettings
scanSettings
= new
ScanSettings
.Builder()
93
.setScanMode(
ScanSettings
.SCAN_MODE_LOW_LATENCY).build()
[
all
...]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothLeScanFacade.java
28
import android.bluetooth.le.
ScanSettings
;
62
private android.bluetooth.le.
ScanSettings
.Builder mScanSettingsBuilder;
67
private final HashMap<Integer,
ScanSettings
> mScanSettingsList;
83
mScanSettingsList = new HashMap<Integer,
ScanSettings
>();
86
mScanSettingsBuilder = new android.bluetooth.le.
ScanSettings
.Builder();
155
mScanSettingsBuilder = new android.bluetooth.le.
ScanSettings
.Builder();
215
ScanSettings
mScanSettings = new
ScanSettings
.Builder().build();
310
* Set
scanSettings
for ble scan. Note: You have to set all variables at once.
397
ScanSettings
mScanSettings = mScanSettingsList.get(index)
[
all
...]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
WifiScannerFacade.java
26
import android.net.wifi.WifiScanner.
ScanSettings
;
335
private
ScanSettings
parseScanSettings(JSONObject j) throws JSONException {
339
ScanSettings
result = new
ScanSettings
();
391
* @param
scanSettings
397
@RpcParameter(name = "
scanSettings
") JSONObject
scanSettings
)
399
ScanSettings
ss = parseScanSettings(
scanSettings
);
441
* @param
scanSettings
[
all
...]
Completed in 546 milliseconds