/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | AdvertisingSetParameters.java | 35 public final class AdvertisingSetParameters implements Parcelable { class 137 private AdvertisingSetParameters( in AdvertisingSetParameters() method in AdvertisingSetParameters 162 private AdvertisingSetParameters(Parcel in) { in AdvertisingSetParameters() method in AdvertisingSetParameters 280 public static final @android.annotation.NonNull Parcelable.Creator<AdvertisingSetParameters> 282 new Creator<AdvertisingSetParameters>() { 284 public AdvertisingSetParameters[] newArray(int size) { 285 return new AdvertisingSetParameters[size]; 289 public AdvertisingSetParameters createFromParcel(Parcel in) { 290 return new AdvertisingSetParameters(in); 475 if (ownAddressType < AdvertisingSetParameters.ADDRESS_TYPE_DEFAULT in setOwnAddressType() [all …]
|
D | AdvertiseSettings.java | 21 import android.bluetooth.le.AdvertisingSetParameters.AddressTypeStatus; 190 private int mOwnAddressType = AdvertisingSetParameters.ADDRESS_TYPE_DEFAULT; 281 if (ownAddressType < AdvertisingSetParameters.ADDRESS_TYPE_DEFAULT in setOwnAddressType() 283 > AdvertisingSetParameters.ADDRESS_TYPE_RANDOM_NON_RESOLVABLE) { in setOwnAddressType()
|
D | BluetoothLeAdvertiser.java | 143 AdvertisingSetParameters.Builder parameters = new AdvertisingSetParameters.Builder(); in startAdvertising() 274 AdvertisingSetParameters parameters, 319 AdvertisingSetParameters parameters, 369 AdvertisingSetParameters parameters, 423 AdvertisingSetParameters parameters, 490 @NonNull AdvertisingSetParameters parameters,
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | LeLegacyAdvertisingTest.java | 24 import android.bluetooth.le.AdvertisingSetParameters; 60 AdvertisingSetParameters params = in setAdvertisingDataOver31Bytes() 61 new AdvertisingSetParameters.Builder() in setAdvertisingDataOver31Bytes() 64 .setInterval(AdvertisingSetParameters.INTERVAL_HIGH) in setAdvertisingDataOver31Bytes() 65 .setTxPowerLevel(AdvertisingSetParameters.TX_POWER_MEDIUM) in setAdvertisingDataOver31Bytes() 112 AdvertisingSetParameters params = in setScanResponseDataOver31Bytes() 113 new AdvertisingSetParameters.Builder() in setScanResponseDataOver31Bytes() 116 .setInterval(AdvertisingSetParameters.INTERVAL_HIGH) in setScanResponseDataOver31Bytes() 117 .setTxPowerLevel(AdvertisingSetParameters.TX_POWER_MEDIUM) in setScanResponseDataOver31Bytes()
|
D | LeAdvertisingTest.java | 24 import android.bluetooth.le.AdvertisingSetParameters; 85 addressType == AdvertisingSetParameters.ADDRESS_TYPE_PUBLIC in scanWithBumble() 105 AdvertisingSetParameters parameters = in startAdvertising() 106 new AdvertisingSetParameters.Builder() in startAdvertising() 107 .setOwnAddressType(AdvertisingSetParameters.ADDRESS_TYPE_RANDOM) in startAdvertising()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/ |
D | BleDiscoveryAdvertiseProviderTest.java | 34 import android.bluetooth.le.AdvertisingSetParameters; 66 private static final AdvertisingSetParameters PARAMETERS = 67 new AdvertisingSetParameters.Builder() 68 .setInterval(AdvertisingSetParameters.INTERVAL_HIGH) 70 .setTxPowerLevel(AdvertisingSetParameters.TX_POWER_HIGH) 126 AdvertisingSetParameters expectedParameters = in testStartAdvertise_checkAdvertisingSetParameters() 127 new AdvertisingSetParameters.Builder() in testStartAdvertise_checkAdvertisingSetParameters() 128 .setInterval(AdvertisingSetParameters.INTERVAL_HIGH) in testStartAdvertise_checkAdvertisingSetParameters() 131 .setTxPowerLevel(AdvertisingSetParameters.TX_POWER_HIGH) in testStartAdvertise_checkAdvertisingSetParameters() 134 ArgumentCaptor<AdvertisingSetParameters> captor = in testStartAdvertise_checkAdvertisingSetParameters() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | AppAdvertiseStatsTest.java | 27 import android.bluetooth.le.AdvertisingSetParameters; 94 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in recordAdvertiseStart() 129 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in recordAdvertiseStop() 205 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in setAdvertisingParameters() 243 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in testDump_doesNotCrash() 271 AdvertisingSetParameters parameters = in testAdvertiseCounterMetrics() 272 new AdvertisingSetParameters.Builder().setConnectable(true).build(); in testAdvertiseCounterMetrics()
|
D | AdvertiseManagerTest.java | 26 import android.bluetooth.le.AdvertisingSetParameters; 75 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in setUp() 138 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in advertisingParameters()
|
D | ContextMapTest.java | 26 import android.bluetooth.le.AdvertisingSetParameters; 129 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in advertisingSetAndData()
|
D | GattServiceBinderTest.java | 31 import android.bluetooth.le.AdvertisingSetParameters; 610 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in startAdvertisingSet() 703 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in setAdvertisingParameters()
|
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/ |
D | ReflectorViewModel.java | 26 import android.bluetooth.le.AdvertisingSetParameters; 73 AdvertisingSetParameters parameters = in startConnectableAdvertising() 74 (new AdvertisingSetParameters.Builder()) in startConnectableAdvertising() 78 .setInterval(AdvertisingSetParameters.INTERVAL_LOW) in startConnectableAdvertising() 79 .setTxPowerLevel(AdvertisingSetParameters.TX_POWER_MEDIUM) in startConnectableAdvertising()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/ |
D | AdvertiseInfo.java | 18 import android.bluetooth.le.AdvertisingSetParameters; 28 AdvertisingSetParameters advertisingSetParameters, in AdvertiseInfo() 35 public final AdvertisingSetParameters advertisingSetParameters;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | AdvertiseManagerNativeInterface.java | 19 import android.bluetooth.le.AdvertisingSetParameters; 66 AdvertisingSetParameters parameters, in startAdvertisingSet() 107 void setAdvertisingParameters(int advertiserId, AdvertisingSetParameters parameters) { in setAdvertisingParameters() 168 AdvertisingSetParameters parameters, in startAdvertisingSetNative() 190 int advertiserId, AdvertisingSetParameters parameters); in setAdvertisingParametersNative()
|
D | AdvertiseManager.java | 23 import android.bluetooth.le.AdvertisingSetParameters; 213 AdvertisingSetParameters parameters, in startAdvertisingSet() 225 != AdvertisingSetParameters.ADDRESS_TYPE_RANDOM_NON_RESOLVABLE) { in startAdvertisingSet() 409 void setAdvertisingParameters(int advertiserId, AdvertisingSetParameters parameters) { in setAdvertisingParameters()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/ |
D | BleDiscoveryAdvertiseProvider.java | 24 import android.bluetooth.le.AdvertisingSetParameters; 150 private AdvertisingSetParameters getAdvertisingSetParameters() { in getAdvertisingSetParameters() 152 AdvertisingSetParameters parameters = mAdvertiseInfo.advertisingSetParameters; in getAdvertisingSetParameters() 153 return new AdvertisingSetParameters.Builder() in getAdvertisingSetParameters() 165 return new AdvertisingSetParameters.Builder().setConnectable(true).build(); in getAdvertisingSetParameters()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/ |
D | BleBroadcastProvider.java | 28 import android.bluetooth.le.AdvertisingSetParameters; 164 private static AdvertisingSetParameters getAdvertisingSetParameters() { in getAdvertisingSetParameters() 165 return new AdvertisingSetParameters.Builder() in getAdvertisingSetParameters() 166 .setInterval(AdvertisingSetParameters.INTERVAL_MEDIUM) in getAdvertisingSetParameters() 167 .setTxPowerLevel(AdvertisingSetParameters.TX_POWER_MEDIUM) in getAdvertisingSetParameters()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | bt_adv.rs | 9 use btstack::bluetooth_adv::{AdvertiseData, AdvertiserId, AdvertisingSetParameters}; 19 pub(crate) params: AdvertisingSetParameters, 30 let params = AdvertisingSetParameters { in new()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/ |
D | PacsControleeSessionTest.java | 41 import android.bluetooth.le.AdvertisingSetParameters; 142 AdvertisingSetParameters parameters = in setUp() 143 new AdvertisingSetParameters.Builder() in setUp() 144 .setInterval(AdvertisingSetParameters.INTERVAL_HIGH) in setUp() 146 .setTxPowerLevel(AdvertisingSetParameters.TX_POWER_HIGH) in setUp()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/builtin/bluetooth/le/ |
D | AdvertisingSetCallbackHelperTest.java | 30 import android.bluetooth.le.AdvertisingSetParameters; 236 AdvertisingSetParameters advertisingSetParameters = new AdvertisingSetParameters.Builder() in integrationTest_onAdvertisingSetStarted_onOwnAddressRead()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairAdvertiser.java | 28 import android.bluetooth.le.AdvertisingSetParameters; 84 private AdvertisingSetParameters mAdvertisingSetParameters; 133 AdvertisingSetParameters.INTERVAL_LOW, callback); in advertiseModelId() 208 AdvertisingSetParameters.INTERVAL_MEDIUM, callback); in advertiseAccountKeys() 277 mAdvertisingSetParameters = new AdvertisingSetParameters.Builder() in startAdvertisingInternal()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairAdvertiserTest.java | 41 import android.bluetooth.le.AdvertisingSetParameters; 88 AdvertisingSetParameters.INTERVAL_LOW; 110 AdvertisingSetParameters.INTERVAL_MEDIUM; 126 @Captor ArgumentCaptor<AdvertisingSetParameters> mAdvertisingSetParametersCaptor; 170 mAdvertisingSetParametersCaptor = ArgumentCaptor.forClass(AdvertisingSetParameters.class); in setUp() 211 private void assertAdvertisingParameters(AdvertisingSetParameters params, int interval) { in assertAdvertisingParameters()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ |
D | DiscoveryProviderFactoryTest.java | 26 import android.bluetooth.le.AdvertisingSetParameters; 92 new AdvertisingSetParameters.Builder().build(), ADVERTISEMENT)),
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/le/ |
D | AdvertisingSetParameters.aidl | 19 parcelable AdvertisingSetParameters;
|
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/ |
D | PacsControleeSession.java | 25 import android.bluetooth.le.AdvertisingSetParameters; 124 private AdvertisingSetParameters mAdvertisingSetParameters; 130 public void setAdvertisingSetParameters(AdvertisingSetParameters advertisingSetParameters) { in setAdvertisingSetParameters()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_adv.rs | 29 pub struct AdvertisingSetParameters { struct 213 impl Into<bt_topshim::profiles::gatt::AdvertiseParameters> for AdvertisingSetParameters { implementation 368 pub fn can_upgrade(parameters: &mut AdvertisingSetParameters, adv_bytes: &Vec<u8>) -> bool { in can_upgrade() argument 811 parameters: AdvertisingSetParameters, in start_advertising_set() argument 851 parameters: AdvertisingSetParameters, in set_advertising_parameters() argument 896 mut parameters: AdvertisingSetParameters, in start_advertising_set() argument 1069 parameters: AdvertisingSetParameters, in set_advertising_parameters() argument 1414 advertising_params: AdvertisingSetParameters, 1691 advertising_params: AdvertisingSetParameters, in start_advertising_set() argument 1890 fn set_advertising_parameters(&mut self, adv_id: i32, params: AdvertisingSetParameters) { in set_advertising_parameters() argument
|