/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NeighboringCellInfoTest.java | 32 int rssi = 31; in testConstructor() local 35 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); in testConstructor() 37 assertEquals(rssi, nc.getRssi()); in testConstructor() 42 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); in testConstructor() 44 assertEquals(rssi, nc.getRssi()); in testConstructor() 49 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UNKNOWN); in testConstructor() 51 assertEquals(rssi, nc.getRssi()); in testConstructor() 59 int rssi = 20; in testParcel() local 61 NeighboringCellInfo nc = new NeighboringCellInfo(rssi, "12345678", NETWORK_TYPE_GPRS); in testParcel() 63 assertEquals(rssi, nc.getRssi()); in testParcel() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | ConnectivityState.kt | 35 @JvmField var rssi = 0 variable in com.android.systemui.statusbar.connectivity.ConnectivityState 71 rssi, in tableData() 85 rssi = other.rssi in copyFrom() 97 .append("rssi=$rssi,") in toString() 113 o.rssi == rssi in equals() 124 result = 31 * result + rssi in hashCode()
|
D | WifiSignalController.java | 233 mCurrentState.rssi = mWifiTracker.rssi; in copyWifiStates()
|
/frameworks/base/core/java/android/net/ |
D | RssiCurve.java | 139 public byte lookupScore(int rssi) { in lookupScore() argument 140 return lookupScore(rssi, false /* isActiveNetwork */); in lookupScore() 152 public byte lookupScore(int rssi, boolean isActiveNetwork) { in lookupScore() argument 154 rssi += activeNetworkRssiBoost; in lookupScore() 157 int index = (rssi - start) / bucketWidth; in lookupScore()
|
D | ScoredNetwork.java | 269 public int calculateRankingScore(int rssi) throws UnsupportedOperationException { in calculateRankingScore() argument 281 int score = (rssiCurve == null) ? 0 : rssiCurve.lookupScore(rssi) << Byte.SIZE; in calculateRankingScore() 299 public int calculateBadge(int rssi) { in calculateBadge() argument 303 return badgingCurve.lookupScore(rssi); in calculateBadge()
|
D | WifiLinkQualityInfo.java | 116 public void setRssi(int rssi) { in setRssi() argument 117 mRssi = rssi; in setRssi()
|
/frameworks/base/telephony/java/android/telephony/ |
D | NeighboringCellInfo.java | 110 public NeighboringCellInfo(int rssi, int cid) { in NeighboringCellInfo() argument 111 mRssi = rssi; in NeighboringCellInfo() 158 public NeighboringCellInfo(int rssi, String location, int radioType) { in NeighboringCellInfo() argument 160 mRssi = rssi; in NeighboringCellInfo() 300 public void setRssi(int rssi) { in setRssi() argument 301 mRssi = rssi; in setRssi()
|
D | CellSignalStrengthLte.java | 138 public CellSignalStrengthLte(int rssi, int rsrp, int rsrq, int rssnr, int cqiTableIndex, in CellSignalStrengthLte() argument 140 mRssi = inRangeOrUnavailable(rssi, -113, -51); in CellSignalStrengthLte() 163 public CellSignalStrengthLte(int rssi, int rsrp, int rsrq, int rssnr, int cqi, in CellSignalStrengthLte() argument 165 this(rssi, rsrp, rsrq, rssnr, CellInfo.UNAVAILABLE, cqi, timingAdvance); in CellSignalStrengthLte()
|
D | CellSignalStrengthTdscdma.java | 70 public CellSignalStrengthTdscdma(int rssi, int ber, int rscp) { in CellSignalStrengthTdscdma() argument 71 mRssi = inRangeOrUnavailable(rssi, -113, -51); in CellSignalStrengthTdscdma()
|
D | CellSignalStrengthGsm.java | 62 public CellSignalStrengthGsm(int rssi, int ber, int ta) { in CellSignalStrengthGsm() argument 63 mRssi = inRangeOrUnavailable(rssi, GSM_RSSI_MIN, GSM_RSSI_MAX); in CellSignalStrengthGsm()
|
D | CellSignalStrengthWcdma.java | 89 public CellSignalStrengthWcdma(int rssi, int ber, int rscp, int ecno) { in CellSignalStrengthWcdma() argument 90 mRssi = inRangeOrUnavailable(rssi, WCDMA_RSSI_MIN, WCDMA_RSSI_MAX); in CellSignalStrengthWcdma()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | TestUtils.java | 53 String utf8Ssid, String bssid, long timestampMillis, int rssi) { in buildScanResult() argument 55 result.level = rssi; in buildScanResult()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkScoreCacheTest.java | 167 final int rssi = -70; in getNetworkScoreShouldReturnScore() local 169 result.level = rssi; in getNetworkScoreShouldReturnScore() 171 when(mockRssiCurve.lookupScore(rssi)).thenReturn(score); in getNetworkScoreShouldReturnScore()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 111 private ScanResult createScanResult(String ssid, String bssid, int rssi) { in createScanResult() argument 114 scanResult.level = rssi; in createScanResult() 515 final int rssi = -55; 524 wifiInfo.setRssi(rssi); 538 when(mMockWifiManager.calculateSignalLevel(rssi)).thenReturn(4); 547 .setRssi(rssi) 710 int rssi = -55; 715 wifiInfo.setRssi(rssi); 724 .setRssi(rssi) 736 int rssi = -55; [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerWifiTest.java | 323 int rssi = calculateRssiForLevel(testLevel); in vcnOnlyOnUnderlyingNetwork() local 324 when(underlyingCarrierMergedInfo.getRssi()).thenReturn(rssi); in vcnOnlyOnUnderlyingNetwork() 405 int rssi = (int) (MIN_RSSI + level * amountPerLevel); in calculateRssiForLevel() local 407 rssi += amountPerLevel / 2; in calculateRssiForLevel() 408 return rssi; in calculateRssiForLevel()
|
D | NetworkControllerBaseTest.java | 194 int rssi = invocation.getArgument(0); in setUp() 195 if (rssi < -88) return 0; in setUp() 196 if (rssi < -77) return 1; in setUp() 197 if (rssi < -66) return 2; in setUp() 198 if (rssi < -55) return 3; in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 169 public int rssi; field in WifiStatusTracker 289 rssi = newRssi; in updateRssi() 290 level = mWifiManager.calculateSignalLevel(rssi); in updateRssi() 343 ? null : AccessPoint.getSpeedLabel(mContext, scoredNetwork, rssi); in updateStatusLabel()
|
D | TestAccessPointBuilder.java | 151 public TestAccessPointBuilder setRssi(int rssi) { in setRssi() argument 152 mRssi = rssi; in setRssi()
|
D | AccessPoint.java | 1578 void setRssi(int rssi) { in setRssi() argument 1579 mRssi = rssi; in setRssi() 1633 public static String getSpeedLabel(Context context, ScoredNetwork scoredNetwork, int rssi) { in getSpeedLabel() argument 1634 return getSpeedLabel(context, roundToClosestSpeedEnum(scoredNetwork.calculateBadge(rssi))); in getSpeedLabel()
|
D | WifiUtils.kt | 228 visibility.append(" rssi=").append(info.rssi) in <lambda>()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiStatusTrackerTest.java | 104 assertThat(mWifiStatusTracker.rssi).isEqualTo(primaryRssi); in testWifiInfoClearedOnPrimaryNetworkLost() 124 assertThat(mWifiStatusTracker.rssi).isEqualTo(primaryRssi); in testWifiInfoClearedOnPrimaryNetworkLost() 131 assertThat(mWifiStatusTracker.rssi).isEqualTo(primaryRssi); in testWifiInfoClearedOnPrimaryNetworkLost()
|
D | WifiUtilsTest.java | 247 private static ScanResult createScanResult(String ssid, String bssid, int rssi) { in createScanResult() argument 250 scanResult.level = rssi; in createScanResult()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 345 short rssi = intent.getShortExtra(BluetoothDevice.EXTRA_RSSI, Short.MIN_VALUE); in onReceive() local 362 cachedDevice.setRssi(rssi); in onReceive()
|
D | CachedBluetoothDevice.java | 867 void setRssi(short rssi) { in setRssi() argument 868 if (mRssi != rssi) { in setRssi() 869 mRssi = rssi; in setRssi()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioResponse.java | 2410 int rssi; in responseCellList() local 2421 rssi = cells.get(i).rssi; in responseCellList() 2423 cell = new NeighboringCellInfo(rssi, location, radioType); in responseCellList()
|