HomeSort by relevance Sort by last modified time
    Searched refs:AdvertiseData (Results 1 - 25 of 49) sorted by null

1 2

  /system/bt/service/common/bluetooth/
advertise_data.h 29 // frameworks/base/core/j/android/bluetooth/le/AdvertiseData.java
30 class AdvertiseData {
32 // Constructs an AdvertiseData with the given parameters. |data| can only
39 explicit AdvertiseData(const std::vector<uint8_t>& data);
42 AdvertiseData();
43 AdvertiseData(const AdvertiseData& other);
44 virtual ~AdvertiseData() = default;
55 bool operator==(const AdvertiseData& rhs) const;
58 AdvertiseData& operator=(const AdvertiseData& other)
    [all...]
advertise_data.cc 26 AdvertiseData::AdvertiseData(const std::vector<uint8_t>& data) : data_(data) {}
28 AdvertiseData::AdvertiseData() {}
30 AdvertiseData::AdvertiseData(const AdvertiseData& other) : data_(other.data_) {}
32 bool AdvertiseData::IsValid() const {
72 bool AdvertiseData::operator==(const AdvertiseData& rhs) const
    [all...]
  /system/bt/binder/android/bluetooth/le/
AdvertiseData.aidl 19 parcelable AdvertiseData;
  /system/bt/service/common/android/bluetooth/
AdvertiseData.aidl 19 parcelable AdvertiseData cpp_header "android/bluetooth/advertise_data.h";
advertise_data.h 31 class AdvertiseData : public Parcelable, public ::bluetooth::AdvertiseData {
34 AdvertiseData(const ::bluetooth::AdvertiseData& advertise_data) // NOLINT
35 : ::bluetooth::AdvertiseData(advertise_data){};
36 AdvertiseData() = default;
37 ~AdvertiseData() = default;
IBluetoothLeAdvertiser.aidl 21 import android.bluetooth.AdvertiseData;
31 in AdvertiseData advertise_data,
32 in AdvertiseData scan_response,
advertise_data.cc 24 status_t AdvertiseData::writeToParcel(Parcel* parcel) const {
29 status_t AdvertiseData::readFromParcel(const Parcel* parcel) {
IBluetoothLowEnergy.aidl 21 import android.bluetooth.AdvertiseData;
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
AdvertiseDataTest.java 26 * Unit test cases for {@link AdvertiseData}.
33 private AdvertiseData.Builder mAdvertiseDataBuilder;
37 mAdvertiseDataBuilder = new AdvertiseData.Builder();
43 AdvertiseData data = mAdvertiseDataBuilder.build();
46 AdvertiseData dataFromParcel =
47 AdvertiseData.CREATOR.createFromParcel(parcel);
54 AdvertiseData data = mAdvertiseDataBuilder.setIncludeDeviceName(true).build();
57 AdvertiseData dataFromParcel =
58 AdvertiseData.CREATOR.createFromParcel(parcel);
67 AdvertiseData data
    [all...]
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
AdvertiseDataTest.java 19 import android.bluetooth.le.AdvertiseData;
26 * Unit test cases for {@link AdvertiseData}.
33 private AdvertiseData.Builder mAdvertiseDataBuilder;
37 mAdvertiseDataBuilder = new AdvertiseData.Builder();
43 AdvertiseData data = mAdvertiseDataBuilder.build();
46 AdvertiseData dataFromParcel =
47 AdvertiseData.CREATOR.createFromParcel(parcel);
59 AdvertiseData data = mAdvertiseDataBuilder.setIncludeDeviceName(true).build();
62 AdvertiseData dataFromParcel =
63 AdvertiseData.CREATOR.createFromParcel(parcel)
    [all...]
  /system/bt/service/test/
advertise_data_unittest.cc 27 AdvertiseData adv0(data0);
32 AdvertiseData adv1(data1);
39 AdvertiseData adv0(data0);
44 AdvertiseData adv1(data1);
49 AdvertiseData adv2(data2);
54 AdvertiseData adv3(data3);
61 AdvertiseData adv0(data0);
66 AdvertiseData adv1(data1);
73 AdvertiseData adv0(data0);
79 AdvertiseData adv1(data1)
    [all...]
  /system/bt/service/doc/
IBluetoothLowEnergy.txt 83 * common/bluetooth/binder for documentation on the AdvertiseData and
87 in AdvertiseData advertise_data,
88 in AdvertiseData scan_response_data,
  /frameworks/base/core/java/android/bluetooth/le/
AdvertiseData.java 35 * Use {@link AdvertiseData.Builder} to create an instance of {@link AdvertiseData} to be
41 public final class AdvertiseData implements Parcelable {
51 private AdvertiseData(List<ParcelUuid> serviceUuids,
120 AdvertiseData other = (AdvertiseData) obj;
131 return "AdvertiseData [mServiceUuids=" + mServiceUuids + ", mManufacturerSpecificData="
162 public static final Parcelable.Creator<AdvertiseData> CREATOR =
163 new Creator<AdvertiseData>() {
165 public AdvertiseData[] newArray(int size)
    [all...]
AdvertisingSet.java 34 * @see AdvertiseData
88 * @param advertiseData Advertisement data to be broadcasted. Size must not exceed {@link
93 public void setAdvertisingData(AdvertiseData advertiseData) {
95 mGatt.setAdvertisingData(mAdvertiserId, advertiseData);
110 public void setScanResponseData(AdvertiseData scanResponse) {
156 public void setPeriodicAdvertisingData(AdvertiseData periodicData) {
BluetoothLeAdvertiser.java 37 * represented by {@link AdvertiseData}.
45 * @see AdvertiseData
82 * Start Bluetooth LE Advertising. On success, the {@code advertiseData} will be broadcasted.
88 * @param advertiseData Advertisement data to be broadcasted.
92 AdvertiseData advertiseData, final AdvertiseCallback callback) {
93 startAdvertising(settings, advertiseData, null, callback);
97 * Start Bluetooth LE Advertising. The {@code advertiseData} will be broadcasted if the
105 * @param advertiseData Advertisement data to be advertised in advertisement packet.
110 AdvertiseData advertiseData, AdvertiseData scanResponse
    [all...]
  /packages/services/Car/service/src/com/android/car/
FastPairProvider.java 23 import android.bluetooth.le.AdvertiseData;
53 private AdvertiseData mData;
82 AdvertiseData.Builder dataBuilder = new AdvertiseData.Builder();
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothLeAdvertiseFacade.java 22 import android.bluetooth.le.AdvertiseData;
23 import android.bluetooth.le.AdvertiseData.Builder;
57 private final HashMap<Integer, AdvertiseData> mAdvertiseDataList;
73 mAdvertiseDataList = new HashMap<Integer, AdvertiseData>();
96 * Constructs a AdvertiseData obj and returns its index
101 "Constructs a new Builder obj for AdvertiseData and returns its index")
117 "Constructs a new Builder obj for AdvertiseData and returns its index")
152 * @param dataIndex the AdvertiseData index
165 AdvertiseData mData = new AdvertiseData.Builder().build()
    [all...]
  /system/bt/service/ipc/binder/
bluetooth_le_advertiser_binder_server.h 58 const android::bluetooth::AdvertiseData& advertise_data,
59 const android::bluetooth::AdvertiseData& scan_response,
  /system/bt/service/
low_energy_advertiser.h 57 const AdvertiseData& advertise_data,
58 const AdvertiseData& scan_response,
  /developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java 9 import android.bluetooth.le.AdvertiseData;
139 AdvertiseData data = buildAdvertiseData();
179 * Returns an AdvertiseData object which includes the Service UUID and Device Name.
181 private AdvertiseData buildAdvertiseData() {
185 * This includes everything put into AdvertiseData including UUIDs, device info, &
192 AdvertiseData.Builder dataBuilder = new AdvertiseData.Builder();
  /developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java 9 import android.bluetooth.le.AdvertiseData;
139 AdvertiseData data = buildAdvertiseData();
179 * Returns an AdvertiseData object which includes the Service UUID and Device Name.
181 private AdvertiseData buildAdvertiseData() {
185 * This includes everything put into AdvertiseData including UUIDs, device info, &
192 AdvertiseData.Builder dataBuilder = new AdvertiseData.Builder();
  /development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
AdvertiserService.java 7 import android.bluetooth.le.AdvertiseData;
132 AdvertiseData data = buildAdvertiseData();
154 * Returns an AdvertiseData object which includes the Service UUID and Device Name.
156 private AdvertiseData buildAdvertiseData() {
160 * This includes everything put into AdvertiseData including UUIDs, device info, &
167 AdvertiseData.Builder dataBuilder = new AdvertiseData.Builder();
  /packages/services/Car/tests/carservice_test/src/com/android/car/
FastPairProviderTest.java 26 import android.bluetooth.le.AdvertiseData;
81 ArgumentCaptor<AdvertiseData> advertiseDataCaptor = ArgumentCaptor.forClass(
82 AdvertiseData.class);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleAdvertiserService.java 32 import android.bluetooth.le.AdvertiseData;
181 private AdvertiseData generateAdvertiseData(UUID uuid, byte[] data) {
182 return new AdvertiseData.Builder()
214 AdvertiseData data = generateAdvertiseData(PRIVACY_MAC_UUID, PRIVACY_MAC_DATA);
215 AdvertiseData response = generateAdvertiseData(SCAN_RESP_UUID, PRIVACY_RESPONSE);
246 AdvertiseData d = generateAdvertiseData(POWER_LEVEL_UUID, dataBytes);
  /system/bt/binder/android/bluetooth/
IBluetoothGatt.aidl 23 import android.bluetooth.le.AdvertiseData;
56 void startAdvertisingSet(in AdvertisingSetParameters parameters, in AdvertiseData advertiseData,
57 in AdvertiseData scanResponse, in PeriodicAdvertisingParameters periodicParameters,
58 in AdvertiseData periodicData, in int duration, in int maxExtAdvEvents,
64 void setAdvertisingData(in int advertiserId, in AdvertiseData data);
65 void setScanResponseData(in int advertiserId, in AdvertiseData data);
68 void setPeriodicAdvertisingData(in int advertiserId, in AdvertiseData data);

Completed in 366 milliseconds

1 2