/frameworks/base/core/java/android/bluetooth/le/ |
ScanFilter.aidl | 19 parcelable ScanFilter;
|
TruncatedFilter.java | 29 private final ScanFilter mFilter; 38 public TruncatedFilter(ScanFilter filter, List<ResultStorageDescriptor> storageDescriptors) { 46 public ScanFilter getFilter() {
|
ScanFilter.java | 32 * Criteria for filtering result from Bluetooth LE scans. A {@link ScanFilter} allows clients to 45 public final class ScanFilter implements Parcelable { 70 private static final ScanFilter EMPTY = new ScanFilter.Builder().build() ; 73 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, 142 * A {@link android.os.Parcelable.Creator} to create {@link ScanFilter} from parcel. 144 public static final Creator<ScanFilter> 145 CREATOR = new Creator<ScanFilter>() { 148 public ScanFilter[] newArray(int size) { 149 return new ScanFilter[size] [all...] |
BluetoothLeScanner.java | 43 * application can scan for a particular type of Bluetooth LE devices using {@link ScanFilter}. It 52 * @see ScanFilter 105 * @param filters {@link ScanFilter}s for finding exact BLE devices. 111 public void startScan(List<ScanFilter> filters, ScanSettings settings, 136 * @param filters {@link ScanFilter}s for finding exact BLE devices. 146 public void startScanFromSource(List<ScanFilter> filters, ScanSettings settings, 151 private void startScan(List<ScanFilter> filters, ScanSettings settings, 248 List<ScanFilter> scanFilters = new ArrayList<ScanFilter>(filterSize); 274 private final List<ScanFilter> mFilters [all...] |
/system/bt/service/common/bluetooth/ |
scan_filter.h | 27 class ScanFilter { 29 ScanFilter() = default; 30 ~ScanFilter() = default; 33 ScanFilter(const ScanFilter& other); 34 ScanFilter& operator=(const ScanFilter& other); 50 // from these getters belongs to the ScanFilter object. nullptr will be 65 bool operator==(const ScanFilter& rhs) const;
|
scan_filter.cpp | 23 ScanFilter::ScanFilter(const ScanFilter& other) { 34 ScanFilter& ScanFilter::operator=(const ScanFilter& other) { 51 bool ScanFilter::SetDeviceAddress(const std::string& device_address) { 59 void ScanFilter::SetServiceUuid(const UUID& service_uuid) { 64 void ScanFilter::SetServiceUuidWithMask(const UUID& service_uuid, 70 bool ScanFilter::operator==(const ScanFilter& rhs) const [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ScanClient.java | 20 import android.bluetooth.le.ScanFilter; 38 List<ScanFilter> filters; 64 List<ScanFilter> filters) { 69 List<ScanFilter> filters, List<List<ResultStorageDescriptor>> storages) { 74 List<ScanFilter> filters, WorkSource workSource, 80 List<ScanFilter> filters, WorkSource workSource,
|
ScanFilterQueue.java | 20 import android.bluetooth.le.ScanFilter; 203 * Add ScanFilter to scan filter queue. 205 void addScanFilter(ScanFilter filter) {
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
ScanFilterTest.java | 21 import android.bluetooth.le.ScanFilter; 39 private ScanFilter.Builder mFilterBuilder; 57 mFilterBuilder = new ScanFilter.Builder(); 62 ScanFilter filter = mFilterBuilder.setDeviceName("Ped").build(); 72 ScanFilter filter = mFilterBuilder.setDeviceAddress(DEVICE_MAC).build(); 81 ScanFilter filter = mFilterBuilder.setServiceUuid( 101 ScanFilter filter = mFilterBuilder.setServiceData(serviceDataUuid, setServiceData).build(); 129 ScanFilter filter = 156 ScanFilter filter = mFilterBuilder.build(); 207 private void testReadWriteParcelForFilter(ScanFilter filter) [all...] |
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
ScanFilterTest.java | 21 import android.bluetooth.le.ScanFilter; 44 private ScanFilter.Builder mFilterBuilder; 69 mFilterBuilder = new ScanFilter.Builder(); 77 ScanFilter filter = mFilterBuilder.setDeviceName(LOCAL_NAME).build(); 89 ScanFilter filter = mFilterBuilder.setDeviceAddress(DEVICE_MAC).build(); 101 ScanFilter filter = mFilterBuilder.setServiceUuid( 127 ScanFilter filter = mFilterBuilder.setServiceData(serviceDataUuid, setServiceData).build(); 160 ScanFilter filter = 194 ScanFilter filter = mFilterBuilder.build(); 248 assertEquals(expected, new ScanFilter.Builder().build().describeContents()) [all...] |
BluetoothLeScanTest.java | 23 import android.bluetooth.le.ScanFilter; 122 List<ScanFilter> filters = new ArrayList<ScanFilter>(); 123 ScanFilter filter = createScanFilter(); 144 private ScanFilter createScanFilter() { 159 return new ScanFilter.Builder().setServiceData(uuid, new byte[]{0}, 164 return new ScanFilter.Builder().setManufacturerData(manufacturerSpecificData.keyAt(0), 169 return new ScanFilter.Builder().setServiceUuid(serviceUuids.get(0)).build(); 188 mScanner.startScan(Collections.<ScanFilter>emptyList(), opportunisticScanSettings, 196 List<ScanFilter> filters = new ArrayList<>() [all...] |
/system/bt/service/doc/ |
IBluetoothLowEnergy.txt | 67 in ScanFilter[] filters);
|
/developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ |
ScannerFragment.java | 22 import android.bluetooth.le.ScanFilter; 177 * Return a List of {@link ScanFilter} objects to filter by Service UUID. 179 private List<ScanFilter> buildScanFilters() { 180 List<ScanFilter> scanFilters = new ArrayList<>(); 182 ScanFilter.Builder builder = new ScanFilter.Builder();
|
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ |
ScannerFragment.java | 22 import android.bluetooth.le.ScanFilter; 177 * Return a List of {@link ScanFilter} objects to filter by Service UUID. 179 private List<ScanFilter> buildScanFilters() { 180 List<ScanFilter> scanFilters = new ArrayList<>(); 182 ScanFilter.Builder builder = new ScanFilter.Builder();
|
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/ |
ScannerFragment.java | 22 import android.bluetooth.le.ScanFilter; 177 * Return a List of {@link ScanFilter} objects to filter by Service UUID. 179 private List<ScanFilter> buildScanFilters() { 180 List<ScanFilter> scanFilters = new ArrayList<>(); 182 ScanFilter.Builder builder = new ScanFilter.Builder();
|
/system/bt/service/common/bluetooth/binder/ |
parcel_helpers.h | 71 // Helpers for converting bluetooth::ScanFilter to/from Parcel 74 const bluetooth::ScanFilter& filter, 77 std::unique_ptr<bluetooth::ScanFilter> CreateScanFilterFromParcel(
|
IBluetoothLowEnergy.h | 84 const std::vector<bluetooth::ScanFilter>& filters) = 0; 137 const std::vector<bluetooth::ScanFilter>& filters) override;
|
parcel_helpers.cpp | 26 using bluetooth::ScanFilter; 180 const ScanFilter& filter, 203 std::unique_ptr<ScanFilter> CreateScanFilterFromParcel( 222 std::unique_ptr<ScanFilter> filter(new ScanFilter());
|
IBluetoothLowEnergy.cpp | 101 std::vector<bluetooth::ScanFilter> filters; 237 const std::vector<bluetooth::ScanFilter>& filters) { 244 // The Java equivalent of |filters| is a List<ScanFilter>. Parcel.java inserts
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleScannerService.java | 25 import android.bluetooth.le.ScanFilter; 103 List<ScanFilter> filters = new ArrayList<ScanFilter>(); 109 filters.add(new ScanFilter.Builder() 120 filters.add(new ScanFilter.Builder()
|
BleClientService.java | 35 import android.bluetooth.le.ScanFilter; 451 List<ScanFilter> filter = Arrays.asList(new ScanFilter.Builder().setServiceUuid(
|
/system/bt/service/ipc/binder/ |
bluetooth_low_energy_binder_server.h | 56 const std::vector<bluetooth::ScanFilter>& filters) override;
|
/system/bt/service/test/ |
parcel_helpers_unittest.cpp | 28 using bluetooth::ScanFilter; 86 bool TestScanFilter(const ScanFilter& filter_in) { 179 TEST(ParcelHelpersTest, ScanFilter) { 180 ScanFilter filter;
|
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothGatt.aidl | 22 import android.bluetooth.le.ScanFilter; 39 in List<ScanFilter> filters, in WorkSource workSource, in List scanStorages,
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothLeScanFacade.java | 30 import android.bluetooth.le.ScanFilter; 32 import android.bluetooth.le.ScanFilter.Builder; 67 private final HashMap<Integer, ArrayList<ScanFilter>> mScanFilterList; 82 mScanFilterList = new HashMap<Integer, ArrayList<ScanFilter>>(); 127 mScanFilterList.put(index, new ArrayList<ScanFilter>()); 214 ArrayList<ScanFilter> mScanFilters = new ArrayList<ScanFilter>(); 215 mScanFilters.add(new ScanFilter.Builder().build()); 441 * Get ScanFilter's Manufacturer Id 443 * @param index the ScanFilter object to us [all...] |