Home
last modified time | relevance | path

Searched refs:txPowerLevel (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
DAdvertisingSetParameters.java113 int interval, int txPowerLevel) { in AdvertisingSetParameters() argument
122 mTxPowerLevel = txPowerLevel; in AdvertisingSetParameters()
393 public Builder setTxPowerLevel(int txPowerLevel) { in setTxPowerLevel() argument
394 if (txPowerLevel < TX_POWER_MIN || txPowerLevel > TX_POWER_MAX) { in setTxPowerLevel()
395 throw new IllegalArgumentException("unknown txPowerLevel " + txPowerLevel); in setTxPowerLevel()
397 mTxPowerLevel = txPowerLevel; in setTxPowerLevel()
DAdvertiseSettings.java192 public Builder setTxPowerLevel(int txPowerLevel) { in setTxPowerLevel() argument
193 if (txPowerLevel < ADVERTISE_TX_POWER_ULTRA_LOW in setTxPowerLevel()
194 || txPowerLevel > ADVERTISE_TX_POWER_HIGH) { in setTxPowerLevel()
195 throw new IllegalArgumentException("unknown tx power level " + txPowerLevel); in setTxPowerLevel()
197 mTxPowerLevel = txPowerLevel; in setTxPowerLevel()
DScanRecord.java175 int advertiseFlags, int txPowerLevel, in ScanRecord() argument
183 mTxPowerLevel = txPowerLevel; in ScanRecord()
209 int txPowerLevel = Integer.MIN_VALUE; in parseFromBytes() local
262 txPowerLevel = scanRecord[currentPos]; in parseFromBytes()
302 serviceData, advertiseFlag, txPowerLevel, localName, scanRecord); in parseFromBytes()