Home
last modified time | relevance | path

Searched refs:AdvertisingSetParameters (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DAdvertisingSetParameters.java35 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 …]
DAdvertiseSettings.java21 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()
DBluetoothLeAdvertiser.java143 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/
DLeLegacyAdvertisingTest.java24 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()
DLeAdvertisingTest.java24 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/
DBleDiscoveryAdvertiseProviderTest.java34 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/
DAppAdvertiseStatsTest.java27 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()
DAdvertiseManagerTest.java26 import android.bluetooth.le.AdvertisingSetParameters;
75 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in setUp()
138 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in advertisingParameters()
DContextMapTest.java26 import android.bluetooth.le.AdvertisingSetParameters;
129 AdvertisingSetParameters parameters = new AdvertisingSetParameters.Builder().build(); in advertisingSetAndData()
DGattServiceBinderTest.java31 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/
DReflectorViewModel.java26 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/
DAdvertiseInfo.java18 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/
DAdvertiseManagerNativeInterface.java19 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()
DAdvertiseManager.java23 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/
DBleDiscoveryAdvertiseProvider.java24 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/
DBleBroadcastProvider.java28 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/
Dbt_adv.rs9 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/
DPacsControleeSessionTest.java41 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/
DAdvertisingSetCallbackHelperTest.java30 import android.bluetooth.le.AdvertisingSetParameters;
236 AdvertisingSetParameters advertisingSetParameters = new AdvertisingSetParameters.Builder() in integrationTest_onAdvertisingSetStarted_onOwnAddressRead()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairAdvertiser.java28 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/
DFastPairAdvertiserTest.java41 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/
DDiscoveryProviderFactoryTest.java26 import android.bluetooth.le.AdvertisingSetParameters;
92 new AdvertisingSetParameters.Builder().build(), ADVERTISEMENT)),
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/le/
DAdvertisingSetParameters.aidl19 parcelable AdvertisingSetParameters;
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DPacsControleeSession.java25 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/
Dbluetooth_adv.rs29 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

12