/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/core/java/android/net/ |
D | RssiCurve.java | 137 public byte lookupScore(int rssi) { in lookupScore() argument 138 return lookupScore(rssi, false /* isActiveNetwork */); in lookupScore() 150 public byte lookupScore(int rssi, boolean isActiveNetwork) { in lookupScore() argument 152 rssi += activeNetworkRssiBoost; in lookupScore() 155 int index = (rssi - start) / bucketWidth; in lookupScore()
|
D | ScoredNetwork.java | 267 public int calculateRankingScore(int rssi) throws UnsupportedOperationException { in calculateRankingScore() argument 279 int score = (rssiCurve == null) ? 0 : rssiCurve.lookupScore(rssi) << Byte.SIZE; in calculateRankingScore() 297 public int calculateBadge(int rssi) { in calculateBadge() argument 301 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 | 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 | CellSignalStrengthTdscdma.java | 70 public CellSignalStrengthTdscdma(int rssi, int ber, int rscp) { in CellSignalStrengthTdscdma() argument 71 mRssi = inRangeOrUnavailable(rssi, -113, -51); in CellSignalStrengthTdscdma()
|
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/base/packages/SettingsLib/src/com/android/settingslib/ |
D | SignalIcon.java | 76 public int rssi; // Only for logging. field in SignalIcon.State 92 rssi = state.rssi; in copyFrom() 115 .append("rssi=").append(rssi).append(',') in toString() 132 && other.rssi == rssi; in equals()
|
/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/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | TestUtils.java | 38 static ScanResult buildScanResult(String ssid, String bssid, long timestampMillis, int rssi) { in buildScanResult() argument 40 result.level = rssi; in buildScanResult()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanResult.java | 108 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, in ScanResult() argument 112 mRssi = rssi; in ScanResult() 137 int advertisingSid, int txPower, int rssi, int periodicAdvertisingInterval, in ScanResult() argument 145 mRssi = rssi; in ScanResult()
|
D | PeriodicAdvertisingReport.java | 58 public PeriodicAdvertisingReport(int syncHandle, int txPower, int rssi, in PeriodicAdvertisingReport() argument 62 mRssi = rssi; in PeriodicAdvertisingReport()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 302 int rssi = (int)(MIN_RSSI + level * amountPerLevel); in setWifiLevel() local 304 rssi += amountPerLevel / 2; in setWifiLevel() 305 when(mWifiInfo.getRssi()).thenReturn(rssi); in setWifiLevel() 324 int rssi = (int) (MIN_RSSI + level * amountPerLevel); in setWifiLevelForVcn() local 326 rssi += amountPerLevel / 2; in setWifiLevelForVcn() 329 when(mWifiInfo.getRssi()).thenReturn(rssi); in setWifiLevelForVcn()
|
D | NetworkControllerBaseTest.java | 190 int rssi = invocation.getArgument(0); in setUp() 191 if (rssi < -88) return 0; in setUp() 192 if (rssi < -77) return 1; in setUp() 193 if (rssi < -66) return 2; in setUp() 194 if (rssi < -55) return 3; in setUp()
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | ILowpanEnergyScanCallback.aidl | 21 oneway void onEnergyScanResult(int channel, int rssi); in onEnergyScanResult() argument
|
D | LowpanScanner.java | 258 public void onEnergyScanResult(int channel, int rssi) { in startEnergyScan() 272 result.setMaxRssi(rssi); in startEnergyScan()
|
/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/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 171 public int rssi; field in WifiStatusTracker 275 rssi = newRssi; in updateRssi() 276 level = mWifiManager.calculateSignalLevel(rssi); in updateRssi() 337 ? 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()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCallback.java | 165 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) { in onReadRemoteRssi() argument
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 160 private static ScanResult createScanResult(String ssid, String bssid, int rssi) { in createScanResult() argument 163 scanResult.level = rssi; in createScanResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | WifiSignalController.java | 228 mCurrentState.rssi = mWifiTracker.rssi; in copyWifiStates()
|