/system/bt/service/doc/ |
IBluetoothLowEnergy.txt | 66 boolean startScan(in int client_id, in ScanSettings settings,
|
/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);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
ScanScheduleUtil.java | 22 import android.net.wifi.WifiScanner.ScanSettings; 70 * Compares two ScanSettings for equality. 72 public static boolean scheduleEquals(@Nullable WifiNative.ScanSettings schedule1, 73 @Nullable WifiNative.ScanSettings schedule2) { 132 ScanResult result, int bucketsScanned, ScanSettings settings, int scheduledBucket) { 153 ScanData[] scanDatas, ScanSettings settings, int scheduledBucket) {
|
WifiScannerImpl.java | 96 public abstract boolean startSingleScan(WifiNative.ScanSettings settings, 111 public abstract boolean startBatchedScan(WifiNative.ScanSettings settings,
|
WifiScanningServiceImpl.java | 33 import android.net.wifi.WifiScanner.ScanSettings; 264 private WifiNative.ScanSettings mPreviousSchedule; 455 private WifiNative.ScanSettings mActiveScanSettings = null; 456 private RequestList<ScanSettings> mActiveScans = new RequestList<>(); 457 private RequestList<ScanSettings> mPendingScans = new RequestList<>(); 607 ScanSettings scanSettings = 611 if (validateScanRequest(ci, handler, scanSettings, workSource)) { 613 scanSettings, null); 622 if (activeScanSatisfies(scanSettings)) { [all...] |
HalWifiScannerImpl.java | 77 public boolean startSingleScan(WifiNative.ScanSettings settings, 88 public boolean startBatchedScan(WifiNative.ScanSettings settings,
|
NoBandChannelHelper.java | 34 * This is a guess at the number of channels the device supports for use when a ScanSettings 40 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { 59 public int estimateScanDuration(WifiScanner.ScanSettings settings) {
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
WifiGScanReceiver.java | 12 import android.net.wifi.WifiScanner.ScanSettings; 29 private ScanSettings mScanSettings; 35 public WifiGScanReceiver(PMCMainActivity activity, ScanSettings settings, int interval, 85 class GScanTask extends AsyncTask<ScanSettings, Integer, String> { 94 protected String doInBackground(ScanSettings... settings) {
|
GattClientListener.java | 33 import android.bluetooth.le.ScanSettings; 310 private ScanSettings mScanSettings; 323 mScanSettings = new ScanSettings.Builder().setScanMode( 324 ScanSettings.SCAN_MODE_LOW_LATENCY).build();
|
/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;
406 ScanSettings setting = new ScanSettings.Builder()
407 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
BaseWifiScannerImplTest.java | 115 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 130 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 143 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 165 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 193 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 211 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 219 WifiNative.ScanSettings settings2 = new NativeScanSettingsBuilder() 237 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 267 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 301 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder( [all...] |
WificondScannerTest.java | 57 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 78 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 106 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 129 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 158 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 183 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 235 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 275 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 311 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 346 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder( [all...] |
NoBandChannelHelperTest.java | 73 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2400, 2450, 5100), 85 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, 147 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(), 160 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2400, 5650), 173 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, 187 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_BOTH,
|
KnownBandsChannelHelperTest.java | 79 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2400, 2450, 5100), 91 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, 207 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(), 220 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2400, 5650), 233 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, 247 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_BOTH,
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
ScanTestUtil.java | 51 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, 53 WifiScanner.ScanSettings request = new WifiScanner.ScanSettings(); 63 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, 71 public static WifiScanner.ScanSettings createRequest(int band, int period, int maxPeriod, 73 WifiScanner.ScanSettings request = new WifiScanner.ScanSettings(); 86 * Builder to create WifiNative.ScanSettings objects for testing 89 private final WifiNative.ScanSettings mSettings = new WifiNative.ScanSettings(); [all...] |
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsBgVsFgActions.java | 26 import android.bluetooth.le.ScanSettings; 110 ScanSettings scanSettings = new ScanSettings.Builder() 111 .setScanMode(ScanSettings.SCAN_MODE_OPPORTUNISTIC).build(); 112 performBleScan(scanSettings); 117 ScanSettings scanSettings = new ScanSettings.Builder() 118 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build() [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
IWifiManager.aidl | 26 import android.net.wifi.ScanSettings; 84 void startScan(in ScanSettings requested, in WorkSource ws, in String packageName);
|
WifiScanner.java | 165 public static final String SCAN_PARAMS_SCAN_SETTINGS_KEY = "ScanSettings"; 171 public static class ScanSettings implements Parcelable { 263 public static final Creator<ScanSettings> CREATOR = 264 new Creator<ScanSettings>() { 265 public ScanSettings createFromParcel(Parcel in) { 266 ScanSettings settings = new ScanSettings(); 293 public ScanSettings[] newArray(int size) { 294 return new ScanSettings[size]; 522 public static final String PNO_PARAMS_SCAN_SETTINGS_KEY = "ScanSettings"; [all...] |
/system/bt/service/ipc/binder/ |
bluetooth_le_scanner_binder_server.h | 59 const android::bluetooth::ScanSettings& settings,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
AppScanStats.java | 18 import android.bluetooth.le.ScanSettings; 126 synchronized void recordScanStart(ScanSettings settings, boolean filtered) { 136 scan.opportunistic = settings.getScanMode() == ScanSettings.SCAN_MODE_OPPORTUNISTIC; 137 scan.background = (settings.getCallbackType() & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0;
|
/packages/services/Car/TrustAgent/src/com/android/car/trust/comms/ |
SimpleBleClient.java | 29 import android.bluetooth.le.ScanSettings; 129 ScanSettings.Builder settings = new ScanSettings.Builder(); 130 settings.setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY);
|
/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(); 308 * Set scanSettings for ble scan. Note: You have to set all variables at once. 395 ScanSettings mScanSettings = mScanSettingsList.get(index) [all...] |