/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NeighboringCellInfoTest.java | 31 int rssi = 31; in testConstructor() local 34 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); in testConstructor() 36 assertEquals(rssi, nc.getRssi()); in testConstructor() 41 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); in testConstructor() 43 assertEquals(rssi, nc.getRssi()); in testConstructor() 48 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UNKNOWN); in testConstructor() 50 assertEquals(rssi, nc.getRssi()); in testConstructor() 58 int rssi = 20; in testParcel() local 60 NeighboringCellInfo nc = new NeighboringCellInfo(rssi, "12345678", NETWORK_TYPE_GPRS); in testParcel() 62 assertEquals(rssi, nc.getRssi()); in testParcel() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | RssiPacketCountInfo.java | 31 public int rssi; field in RssiPacketCountInfo 40 rssi = txgood = txbad = rxgood = 0; in RssiPacketCountInfo() 44 rssi = in.readInt(); in RssiPacketCountInfo() 52 out.writeInt(rssi); in writeToParcel()
|
D | WifiInfo.java | 363 public void setRssi(int rssi) { in setRssi() argument 364 if (rssi < INVALID_RSSI) in setRssi() 365 rssi = INVALID_RSSI; in setRssi() 366 if (rssi > MAX_RSSI) in setRssi() 367 rssi = MAX_RSSI; in setRssi() 368 mRssi = rssi; in setRssi()
|
D | WifiManager.java | 1496 public static int calculateSignalLevel(int rssi, int numLevels) { 1497 if (rssi <= MIN_RSSI) { 1499 } else if (rssi >= MAX_RSSI) { 1504 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange);
|
/frameworks/base/telephony/java/android/telephony/ |
D | NeighboringCellInfo.java | 98 public NeighboringCellInfo(int rssi, int cid) { in NeighboringCellInfo() argument 99 mRssi = rssi; in NeighboringCellInfo() 113 public NeighboringCellInfo(int rssi, String location, int radioType) { in NeighboringCellInfo() argument 115 mRssi = rssi; in NeighboringCellInfo() 255 public void setRssi(int rssi) { in setRssi() argument 256 mRssi = rssi; in setRssi()
|
/frameworks/base/core/java/android/net/ |
D | RssiCurve.java | 135 public byte lookupScore(int rssi) { in lookupScore() argument 136 return lookupScore(rssi, false /* isActiveNetwork */); in lookupScore() 148 public byte lookupScore(int rssi, boolean isActiveNetwork) { in lookupScore() argument 150 rssi += activeNetworkRssiBoost; in lookupScore() 153 int index = (rssi - start) / bucketWidth; in lookupScore()
|
D | WifiLinkQualityInfo.java | 116 public void setRssi(int rssi) { in setRssi() argument 117 mRssi = rssi; in setRssi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SignalController.java | 263 int rssi; // Only for logging. field in SignalController.State 276 rssi = state.rssi; in copyFrom() 299 .append("rssi=").append(rssi).append(',') in toString() 316 && other.rssi == rssi; in equals()
|
D | WifiSignalController.java | 106 mCurrentState.rssi = mWifiTracker.rssi; in handleBroadcast()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 27 public int rssi; field in WifiStatusTracker 59 rssi = intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, -200); in handleBroadcast() 60 level = WifiManager.calculateSignalLevel(rssi, 5); in handleBroadcast()
|
D | AccessPoint.java | 271 int rssi = Integer.MIN_VALUE; in getRssi() local 273 if (result.level > rssi) { in getRssi() 274 rssi = result.level; in getRssi() 278 return rssi; in getRssi() 758 void setRssi(int rssi) { in setRssi() argument 759 mRssi = rssi; in setRssi()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 170 int rssi = wifiInfo.getRssi() - AGGRESSIVE_HANDOVER_PENALTY * aggressiveHandover in calculateScore() local 172 sb.append(String.format(" rssi=%d ag=%d", rssi, aggressiveHandover)); in calculateScore() 176 boolean isBadRSSI = (is24GHz && rssi < wifiConfigManager.mThresholdMinimumRssi24.get()) in calculateScore() 177 || (!is24GHz && rssi < wifiConfigManager.mThresholdMinimumRssi5.get()); in calculateScore() 178 boolean isLowRSSI = (is24GHz && rssi < wifiConfigManager.mThresholdQualifiedRssi24.get()) in calculateScore() 181 boolean isHighRSSI = (is24GHz && rssi >= wifiConfigManager.mThresholdSaturatedRssi24.get()) in calculateScore()
|
D | WifiMetrics.java | 799 public void incrementRssiPollRssiCount(int rssi) { in incrementRssiPollRssiCount() argument 800 if (!(rssi >= MIN_RSSI_POLL && rssi <= MAX_RSSI_POLL)) { in incrementRssiPollRssiCount() 804 int count = mRssiPollCounts.get(rssi); in incrementRssiPollRssiCount() 805 mRssiPollCounts.put(rssi, count + 1); in incrementRssiPollRssiCount() 998 keyVal.rssi = mRssiPollCounts.keyAt(i); in consolidateProto()
|
D | WifiNetworkHistory.java | 340 int rssi = WifiConfiguration.INVALID_RSSI; in readNetworkHistory() local 493 rssi = WifiConfiguration.INVALID_RSSI; in readNetworkHistory() 497 rssi = Integer.parseInt(value); in readNetworkHistory() 519 caps, rssi, freq, (long) 0, seen); in readNetworkHistory()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanResultTest.java | 43 int rssi = -10; in testScanResultParceling() local 46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi, in testScanResultParceling()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanResult.java | 51 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, in ScanResult() argument 55 mRssi = rssi; in ScanResult()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 108 int rssi = (int)(MIN_RSSI + level * amountPerLevel); in setWifiLevel() local 110 rssi += amountPerLevel / 2; in setWifiLevel() 112 i.putExtra(WifiManager.EXTRA_NEW_RSSI, rssi); in setWifiLevel()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCallback.java | 139 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) { in onReadRemoteRssi() argument
|
D | BluetoothGattCallbackWrapper.java | 82 public void onReadRemoteRssi(String address, int rssi, int status) throws RemoteException { in onReadRemoteRssi() argument
|
D | IBluetoothGattCallback.aidl | 40 void onReadRemoteRssi(in String address, in int rssi, in int status); in onReadRemoteRssi() argument
|
D | IBluetoothGattServerCallback.aidl | 27 void onScanResult(in String address, in int rssi, in byte[] advData); in onScanResult() argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResults.java | 109 int rssi = r.nextInt(40) - 99; // -99 to -60 in generateNativeResults() local 120 bssid, "", rssi, freq, in generateNativeResults()
|
/frameworks/opt/net/wifi/service/proto/ |
D | wifi.proto | 344 // Number of occurrences of a specific RSSI poll rssi value 347 optional int32 rssi = 1; field 349 // Number of RSSI polls with 'rssi'
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 436 void setRssi(short rssi) { in setRssi() argument 437 if (mRssi != rssi) { in setRssi() 438 mRssi = rssi; in setRssi()
|
D | BluetoothEventManager.java | 189 short rssi = intent.getShortExtra(BluetoothDevice.EXTRA_RSSI, Short.MIN_VALUE); in onReceive() local 200 cachedDevice.setRssi(rssi); in onReceive()
|