Home
last modified time | relevance | path

Searched refs:AdvertiseData (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DAppAdvertiseStatsTest.java26 import android.bluetooth.le.AdvertiseData;
95 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in recordAdvertiseStart()
96 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in recordAdvertiseStart()
99 AdvertiseData periodicData = new AdvertiseData.Builder().build(); in recordAdvertiseStart()
130 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in recordAdvertiseStop()
131 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in recordAdvertiseStop()
134 AdvertiseData periodicData = new AdvertiseData.Builder().build(); in recordAdvertiseStop()
179 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in setAdvertisingData()
192 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in setScanResponseData()
228 AdvertiseData periodicData = new AdvertiseData.Builder().build(); in setPeriodicAdvertisingData()
[all …]
DAdvertiseManagerTest.java25 import android.bluetooth.le.AdvertiseData;
76 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in setUp()
77 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in setUp()
80 AdvertiseData periodicData = new AdvertiseData.Builder().build(); in setUp()
120 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in advertisingData()
129 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in scanResponseData()
157 AdvertiseData periodicData = new AdvertiseData.Builder().build(); in periodicAdvertisingData()
DContextMapTest.java25 import android.bluetooth.le.AdvertiseData;
121 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in advertisingSetAndData()
125 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in advertisingSetAndData()
138 AdvertiseData periodicData = new AdvertiseData.Builder().build(); in advertisingSetAndData()
DGattServiceBinderTest.java30 import android.bluetooth.le.AdvertiseData;
611 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in startAdvertisingSet()
612 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in startAdvertisingSet()
615 AdvertiseData periodicData = new AdvertiseData.Builder().build(); in startAdvertisingSet()
683 AdvertiseData data = new AdvertiseData.Builder().build(); in setAdvertisingData()
693 AdvertiseData data = new AdvertiseData.Builder().build(); in setScanResponseData()
725 AdvertiseData data = new AdvertiseData.Builder().build(); in setPeriodicAdvertisingData()
DAdvertiseHelperTest.java23 import android.bluetooth.le.AdvertiseData;
53 AdvertiseData advertiseData = in advertiseDataToBytes()
54 new AdvertiseData.Builder() in advertiseDataToBytes()
DGattServiceTest.java31 import android.bluetooth.le.AdvertiseData;
286 AdvertiseData data = new AdvertiseData.Builder().build(); in setAdvertisingData()
302 AdvertiseData data = new AdvertiseData.Builder().build(); in setPeriodicAdvertisingData()
327 AdvertiseData data = new AdvertiseData.Builder().build(); in setScanResponseData()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_adv.rs60 pub struct AdvertiseData { struct
255 impl AdvertiseData { impl
288 AdvertiseData::append_adv_data(dest, *ad_type, bytes);
293 AdvertiseData::append_uuids(dest, &SERVICE_AD_TYPES, uuids); in append_service_uuids()
297 AdvertiseData::append_uuids(dest, &SOLICIT_AD_TYPES, uuids); in append_solicit_uuids()
307 2 => AdvertiseData::append_adv_data(dest, SERVICE_DATA_16_BIT_UUID, &concated), in append_service_data()
308 4 => AdvertiseData::append_adv_data(dest, SERVICE_DATA_32_BIT_UUID, &concated), in append_service_data()
309 16 => AdvertiseData::append_adv_data(dest, SERVICE_DATA_128_BIT_UUID, &concated), in append_service_data()
325 AdvertiseData::append_adv_data(dest, ad_type, &name); in append_device_name()
331 AdvertiseData::append_adv_data(dest, MANUFACTURER_SPECIFIC_DATA, &concated); in append_manufacturer_data()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DAdvertiseData.java43 public final class AdvertiseData implements Parcelable { class
56 private AdvertiseData( in AdvertiseData() method in AdvertiseData
144 AdvertiseData other = (AdvertiseData) obj; in equals()
203 public static final @android.annotation.NonNull Parcelable.Creator<AdvertiseData> CREATOR =
204 new Creator<AdvertiseData>() {
206 public AdvertiseData[] newArray(int size) {
207 return new AdvertiseData[size];
211 public AdvertiseData createFromParcel(Parcel in) {
363 public AdvertiseData build() { in build()
364 return new AdvertiseData( in build()
DBluetoothLeAdvertiser.java101 AdvertiseData advertiseData, in startAdvertising()
122 AdvertiseData advertiseData, in startAdvertising()
123 AdvertiseData scanResponse, in startAdvertising()
275 AdvertiseData advertiseData,
276 AdvertiseData scanResponse,
278 AdvertiseData periodicData,
320 AdvertiseData advertiseData,
321 AdvertiseData scanResponse,
323 AdvertiseData periodicData,
370 AdvertiseData advertiseData,
[all …]
DAdvertisingSet.java103 public void setAdvertisingData(AdvertiseData advertiseData) { in setAdvertisingData()
123 public void setScanResponseData(AdvertiseData scanResponse) { in setScanResponseData()
178 public void setPeriodicAdvertisingData(AdvertiseData periodicData) { in setPeriodicAdvertisingData()
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DLeLegacyAdvertisingTest.java21 import android.bluetooth.le.AdvertiseData;
68 AdvertiseData advertiseData = in setAdvertisingDataOver31Bytes()
69 new AdvertiseData.Builder() in setAdvertisingDataOver31Bytes()
120 AdvertiseData advertiseData = in setScanResponseDataOver31Bytes()
121 new AdvertiseData.Builder() in setScanResponseDataOver31Bytes()
157 private AdvertiseData createAdvertiseData(int length) { in createAdvertiseData()
169 return new AdvertiseData.Builder() in createAdvertiseData()
DLeAdvertisingTest.java21 import android.bluetooth.le.AdvertiseData;
109 AdvertiseData advertiseData = new AdvertiseData.Builder().build(); in startAdvertising()
110 AdvertiseData scanResponse = new AdvertiseData.Builder().build(); in startAdvertising()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dbt_adv.rs9 use btstack::bluetooth_adv::{AdvertiseData, AdvertiserId, AdvertisingSetParameters};
22 pub(crate) data: AdvertiseData,
25 pub(crate) scan_rsp: AdvertiseData,
44 let data = AdvertiseData { in new()
54 let scan_rsp = AdvertiseData { in new()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DBleDiscoveryAdvertiseProvider.java21 import android.bluetooth.le.AdvertiseData;
168 private AdvertiseData getAdvertiseData() { in getAdvertiseData()
169 return new AdvertiseData.Builder() in getAdvertiseData()
176 private AdvertiseData getScanResponse() { in getScanResponse()
177 AdvertiseData.Builder scanResponseBuilder = in getScanResponse()
178 new AdvertiseData.Builder() in getScanResponse()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DReflectorViewModel.java23 import android.bluetooth.le.AdvertiseData;
82 AdvertiseData response = (new AdvertiseData.Builder()).setIncludeDeviceName(true).build(); in startConnectableAdvertising()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothGatt.aidl23 import android.bluetooth.le.AdvertiseData;
69 void startAdvertisingSet(in AdvertisingSetParameters parameters, in AdvertiseData advertiseData, in startAdvertisingSet()
70 … in AdvertiseData scanResponse, in PeriodicAdvertisingParameters periodicParameters, in startAdvertisingSet()
71 … in AdvertiseData periodicData, in int duration, in int maxExtAdvEvents, in int gattServerIf, in startAdvertisingSet()
81 …void setAdvertisingData(in int advertiserId, in AdvertiseData data, in AttributionSource attributi… in setAdvertisingData()
83 …void setScanResponseData(in int advertiserId, in AdvertiseData data, in AttributionSource attribut… in setScanResponseData()
89 …void setPeriodicAdvertisingData(in int advertiserId, in AdvertiseData data, in AttributionSource a… in setPeriodicAdvertisingData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAppAdvertiseStats.java20 import android.bluetooth.le.AdvertiseData;
116 AdvertiseData advertiseData, in recordAdvertiseStart()
117 AdvertiseData scanResponse, in recordAdvertiseStart()
119 AdvertiseData periodicData, in recordAdvertiseStart()
230 void setAdvertisingData(AdvertiseData data) { in setAdvertisingData()
248 void setScanResponseData(AdvertiseData data) { in setScanResponseData()
286 void setPeriodicAdvertisingData(AdvertiseData data) { in setPeriodicAdvertisingData()
DContextMap.java18 import android.bluetooth.le.AdvertiseData;
442 AdvertiseData advertiseData, in recordAdvertiseStart()
443 AdvertiseData scanResponse, in recordAdvertiseStart()
445 AdvertiseData periodicData, in recordAdvertiseStart()
489 void setAdvertisingData(int id, AdvertiseData data) { in setAdvertisingData()
499 void setScanResponseData(int id, AdvertiseData data) { in setScanResponseData()
529 void setPeriodicAdvertisingData(int id, AdvertiseData data) { in setPeriodicAdvertisingData()
DAdvertiseManager.java22 import android.bluetooth.le.AdvertiseData;
214 AdvertiseData advertiseData, in startAdvertisingSet()
215 AdvertiseData scanResponse, in startAdvertisingSet()
217 AdvertiseData periodicData, in startAdvertisingSet()
365 void setAdvertisingData(int advertiserId, AdvertiseData data) { in setAdvertisingData()
387 void setScanResponseData(int advertiserId, AdvertiseData data) { in setScanResponseData()
432 void setPeriodicAdvertisingData(int advertiserId, AdvertiseData data) { in setPeriodicAdvertisingData()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DBleBroadcastProvider.java24 import android.bluetooth.le.AdvertiseData;
79 AdvertiseData advertiseData = in start()
80 new AdvertiseData.Builder() in start()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_gatt.rs5 AdvertiseData, AdvertisingSetParameters, IAdvertisingSetCallback, ManfId,
576 #[dbus_propmap(AdvertiseData)]
664 advertise_data: AdvertiseData, in start_advertising_set() argument
665 scan_response: Option<AdvertiseData>, in start_advertising_set() argument
667 periodic_data: Option<AdvertiseData>, in start_advertising_set() argument
697 fn set_advertising_data(&mut self, advertiser_id: i32, data: AdvertiseData) { in set_advertising_data() argument
707 fn set_scan_response_data(&mut self, advertiser_id: i32, data: AdvertiseData) { in set_scan_response_data() argument
730 fn set_periodic_advertising_data(&mut self, advertiser_id: i32, data: AdvertiseData) { in set_periodic_advertising_data() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairAdvertiserTest.java38 import android.bluetooth.le.AdvertiseData;
127 @Captor ArgumentCaptor<AdvertiseData> mAdvertiseDataCaptor;
169 mAdvertiseDataCaptor = ArgumentCaptor.forClass(AdvertiseData.class); in setUp()
218 private void assertAdvertisingData(AdvertiseData actual, byte[] data) { in assertAdvertisingData()
219 AdvertiseData expected = new AdvertiseData.Builder() in assertAdvertisingData()
331 AdvertiseData actual = mAdvertiseDataCaptor.getValue(); in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java32 import android.bluetooth.le.AdvertiseData;
201 private AdvertiseData mAdvertiseData;
211 mAdvertiseData = new AdvertiseData.Builder().setIncludeDeviceName(true).build(); in MyBleAdvertiser()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/le/
DAdvertiseData.aidl19 parcelable AdvertiseData;
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt1145 public final class AdvertiseData implements android.os.Parcelable {
1155 …Null public static final android.os.Parcelable.Creator<android.bluetooth.le.AdvertiseData> CREATOR;
1158 public static final class AdvertiseData.Builder {
1159 ctor public AdvertiseData.Builder();
1160 method public android.bluetooth.le.AdvertiseData.Builder addManufacturerData(int, byte[]);
1161 …method public android.bluetooth.le.AdvertiseData.Builder addServiceData(android.os.ParcelUuid, byt…
1162 …method @NonNull public android.bluetooth.le.AdvertiseData.Builder addServiceSolicitationUuid(@NonN…
1163 method public android.bluetooth.le.AdvertiseData.Builder addServiceUuid(android.os.ParcelUuid);
1164 …method @NonNull public android.bluetooth.le.AdvertiseData.Builder addTransportDiscoveryData(@NonNu…
1165 method public android.bluetooth.le.AdvertiseData build();
[all …]

12