Home
last modified time | relevance | path

Searched refs:ownAddressType (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DAdvertiseSettings.java85 @AddressTypeStatus int ownAddressType) { in AdvertiseSettings() argument
90 mOwnAddressType = ownAddressType; in AdvertiseSettings()
260 public @NonNull Builder setOwnAddressType(@AddressTypeStatus int ownAddressType) { in setOwnAddressType() argument
261 if (ownAddressType < AdvertisingSetParameters.ADDRESS_TYPE_DEFAULT in setOwnAddressType()
262 || ownAddressType > AdvertisingSetParameters.ADDRESS_TYPE_RANDOM) { in setOwnAddressType()
263 throw new IllegalArgumentException("unknown address type " + ownAddressType); in setOwnAddressType()
265 mOwnAddressType = ownAddressType; in setOwnAddressType()
DAdvertisingSetParameters.java153 int interval, int txPowerLevel, @AddressTypeStatus int ownAddressType) { in AdvertisingSetParameters() argument
163 mOwnAddressType = ownAddressType; in AdvertisingSetParameters()
467 public @NonNull Builder setOwnAddressType(@AddressTypeStatus int ownAddressType) { in setOwnAddressType() argument
468 if (ownAddressType < AdvertisingSetParameters.ADDRESS_TYPE_DEFAULT in setOwnAddressType()
469 || ownAddressType > AdvertisingSetParameters.ADDRESS_TYPE_RANDOM) { in setOwnAddressType()
470 throw new IllegalArgumentException("unknown address type " + ownAddressType); in setOwnAddressType()
472 mOwnAddressType = ownAddressType; in setOwnAddressType()
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DHost.kt481 val ownAddressType = in startAdvertising() constant
482 when (request.ownAddressType) { in startAdvertising()
492 .setOwnAddressType(ownAddressType) in startAdvertising()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_gatt.cpp2109 int8_t ownAddressType = env->CallIntMethod(i, methodId); in parseParams() local
2130 p.own_address_type = ownAddressType; in parseParams()