/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | AppAdvertiseStatsTest.java | 26 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 …]
|
D | AdvertiseManagerTest.java | 25 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()
|
D | ContextMapTest.java | 25 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()
|
D | GattServiceBinderTest.java | 30 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()
|
D | AdvertiseHelperTest.java | 23 import android.bluetooth.le.AdvertiseData; 53 AdvertiseData advertiseData = in advertiseDataToBytes() 54 new AdvertiseData.Builder() in advertiseDataToBytes()
|
D | GattServiceTest.java | 31 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/ |
D | bluetooth_adv.rs | 60 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/ |
D | AdvertiseData.java | 43 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()
|
D | BluetoothLeAdvertiser.java | 101 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 …]
|
D | AdvertisingSet.java | 103 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/ |
D | LeLegacyAdvertisingTest.java | 21 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()
|
D | LeAdvertisingTest.java | 21 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/ |
D | bt_adv.rs | 9 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/ |
D | BleDiscoveryAdvertiseProvider.java | 21 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/ |
D | ReflectorViewModel.java | 23 import android.bluetooth.le.AdvertiseData; 82 AdvertiseData response = (new AdvertiseData.Builder()).setIncludeDeviceName(true).build(); in startConnectableAdvertising()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothGatt.aidl | 23 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/ |
D | AppAdvertiseStats.java | 20 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()
|
D | ContextMap.java | 18 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()
|
D | AdvertiseManager.java | 22 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/ |
D | BleBroadcastProvider.java | 24 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/ |
D | iface_bluetooth_gatt.rs | 5 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/ |
D | FastPairAdvertiserTest.java | 38 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/ |
D | GattServer.java | 32 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/ |
D | AdvertiseData.aidl | 19 parcelable AdvertiseData;
|
/packages/modules/Bluetooth/framework/api/ |
D | current.txt | 1145 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 …]
|