/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | ILowpanEnergyScanCallback.aidl | 21 oneway void onEnergyScanResult(int channel, int rssi);
|
H A D | LowpanScanner.java | 258 public void onEnergyScanResult(int channel, int rssi) { 272 result.setMaxRssi(rssi);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ConnectedScore.java | 68 * @param rssi signal strength (dB). 71 public void updateUsingRssi(int rssi, long millis) { argument 72 updateUsingRssi(rssi, millis, mDefaultRssiStandardDeviation); 81 * @param rssi signal strength (dB). 85 public abstract void updateUsingRssi(int rssi, long millis, double standardDeviation); argument
|
H A D | AggressiveConnectedScore.java | 37 public void updateUsingRssi(int rssi, long millis, double standardDeviation) { argument 38 mRssi = rssi;
|
H A D | VelocityBasedConnectedScore.java | 75 * @param rssi signal strength (dB). 80 public void updateUsingRssi(int rssi, long millis, double standardDeviation) { argument 84 mFilter.mx = new Matrix(1, new double[]{rssi, 0.0}); 91 mFilter.update(new Matrix(1, new double[]{rssi})); 143 * If the (filtered) rssi is near or below the current effective threshold, and the 144 * rate of rssi change is small, and there is traffic, and the error rate is looking 167 * Velocity scorer - predict the rssi a few seconds from now
|
H A D | ScoringParams.java | 106 private void validateRssiArray(int[] rssi) throws IllegalArgumentException { argument 109 for (int i = 0; i < rssi.length; i++) { 110 validateRange(rssi[i], low, high); 111 low = rssi[i]; 337 * Returns the number of seconds to use for rssi forecast.
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | RssiPacketCountInfo.java | 31 public int rssi; field in class:RssiPacketCountInfo 40 rssi = txgood = txbad = rxgood = 0; 44 rssi = in.readInt(); 52 out.writeInt(rssi);
|
H A D | WifiInfo.java | 283 public void setRssi(int rssi) { argument 284 if (rssi < INVALID_RSSI) 285 rssi = INVALID_RSSI; 286 if (rssi > MAX_RSSI) 287 rssi = MAX_RSSI; 288 mRssi = rssi;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | NeighboringCellInfoTest.java | 31 int rssi = 31; 34 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); 36 assertEquals(rssi, nc.getRssi()); 41 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); 43 assertEquals(rssi, nc.getRssi()); 48 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UNKNOWN); 50 assertEquals(rssi, nc.getRssi()); 58 int rssi = 20; 60 NeighboringCellInfo nc = new NeighboringCellInfo(rssi, "12345678", NETWORK_TYPE_GPRS); 62 assertEquals(rssi, n [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
H A D | ScanResultTest.java | 43 int rssi = -10; 46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi,
|
/frameworks/base/core/java/android/net/ |
H A D | RssiCurve.java | 130 * @param rssi The RSSI to lookup. If the RSSI falls below the start of the curve, the score at 135 public byte lookupScore(int rssi) { argument 136 return lookupScore(rssi, false /* isActiveNetwork */); 142 * @param rssi The RSSI to lookup. If the RSSI falls below the start of the curve, the score at 148 public byte lookupScore(int rssi, boolean isActiveNetwork) { argument 150 rssi += activeNetworkRssiBoost; 153 int index = (rssi - start) / bucketWidth;
|
H A D | WifiLinkQualityInfo.java | 116 public void setRssi(int rssi) { argument 117 mRssi = rssi;
|
H A D | ScoredNetwork.java | 265 public int calculateRankingScore(int rssi) throws UnsupportedOperationException { argument 277 int score = (rssiCurve == null) ? 0 : rssiCurve.lookupScore(rssi) << Byte.SIZE; 292 * @param rssi The rssi level for which the badge should be calculated 295 public int calculateBadge(int rssi) { argument 299 return badgingCurve.lookupScore(rssi);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiScoreReportTest.java | 164 * Test for no score report if rssi is invalid 242 for (int rssi = -60; rssi >= -83; rssi -= 1) { 243 mWifiInfo.setRssi(rssi); 244 oops += " " + mClock.mWallClockMillis + "," + rssi; 269 int rssi = Math.max(r, -80); 270 mWifiInfo.setRssi(rssi); 271 oops += " " + mClock.mWallClockMillis + "," + rssi; 316 for (int rssi [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | NeighboringCellInfo.java | 89 * Initialize the object from rssi and cid. 98 public NeighboringCellInfo(int rssi, int cid) { argument 99 mRssi = rssi; 104 * Initialize the object from rssi, location string, and radioType 113 public NeighboringCellInfo(int rssi, String location, int radioType) { argument 115 mRssi = rssi; 251 * @deprecated initial rssi value passed as parameter to constructor 255 public void setRssi(int rssi) { argument 256 mRssi = rssi;
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
H A D | RangingResult.java | 89 int distanceStdDevMm, int rssi, int numAttemptedMeasurements, 96 mRssi = rssi; 106 int distanceStdDevMm, int rssi, int numAttemptedMeasurements, 113 mRssi = rssi; 349 int rssi = in.readInt(); 356 return new RangingResult(status, peerHandle, distanceMm, distanceStdDevMm, rssi, 359 return new RangingResult(status, mac, distanceMm, distanceStdDevMm, rssi, 372 ", rssi=").append(mRssi).append(", numAttemptedMeasurements=").append( 88 RangingResult(@angeResultStatus int status, @NonNull MacAddress mac, int distanceMm, int distanceStdDevMm, int rssi, int numAttemptedMeasurements, int numSuccessfulMeasurements, byte[] lci, byte[] lcr, long timestamp) argument 105 RangingResult(@angeResultStatus int status, PeerHandle peerHandle, int distanceMm, int distanceStdDevMm, int rssi, int numAttemptedMeasurements, int numSuccessfulMeasurements, byte[] lci, byte[] lcr, long timestamp) argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCallback.java | 160 * @param rssi The RSSI value for the remote device 163 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SignalController.java | 263 int rssi; // Only for logging. field in class:SignalController.State 276 rssi = state.rssi; 299 .append("rssi=").append(rssi).append(',') 316 && other.rssi == rssi;
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | PeriodicAdvertisingReport.java | 58 public PeriodicAdvertisingReport(int syncHandle, int txPower, int rssi, argument 62 mRssi = rssi; 170 + ", txPower=" + mTxPower + ", rssi=" + mRssi + ", dataStatus=" + mDataStatus
|
H A D | ScanResult.java | 99 * @param rssi Received signal strength. 105 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, argument 109 mRssi = rssi; 128 * @param rssi Received signal strength. 134 int advertisingSid, int txPower, int rssi, int periodicAdvertisingInterval, 142 mRssi = rssi; 334 + Objects.toString(mScanRecord) + ", rssi=" + mRssi 133 ScanResult(BluetoothDevice device, int eventType, int primaryPhy, int secondaryPhy, int advertisingSid, int txPower, int rssi, int periodicAdvertisingInterval, ScanRecord scanRecord, long timestampNanos) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | WifiStatusTracker.java | 73 public int rssi; field in class:WifiStatusTracker 136 rssi = newRssi; 137 level = WifiManager.calculateSignalLevel(rssi, WifiManager.RSSI_LEVELS); 163 ? null : AccessPoint.getSpeedLabel(mContext, scoredNetwork, rssi);
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
H A D | AccessPointTest.java | 89 private static ScanResult createScanResult(String ssid, String bssid, int rssi) { argument 92 scanResult.level = rssi; 467 int rssi = -55; 473 wifiInfo.setRssi(rssi); 482 .setRssi(rssi) 662 int rssi = -55; 667 wifiInfo.setRssi(rssi); 676 .setRssi(rssi) 688 int rssi = -55; 693 wifiInfo.setRssi(rssi); [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
H A D | WifiRttManagerTest.java | 234 int rssi = 5; 242 RangingResult result = new RangingResult(status, mac, distanceCm, distanceStdDevCm, rssi, 258 result = new RangingResult(status, peerHandle, distanceCm, distanceStdDevCm, rssi, 284 int rssi = 5; 291 RangingResult rr1 = new RangingResult(status, mac, distanceCm, distanceStdDevCm, rssi, 293 RangingResult rr2 = new RangingResult(status, mac, distanceCm, distanceStdDevCm, rssi,
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
H A D | WifiNetworkScoreCacheTest.java | 167 final int rssi = -70; 169 result.level = rssi; 171 when(mockRssiCurve.lookupScore(rssi)).thenReturn(score);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerWifiTest.java | 179 int rssi = (int)(MIN_RSSI + level * amountPerLevel); 181 rssi += amountPerLevel / 2; 183 i.putExtra(WifiManager.EXTRA_NEW_RSSI, rssi);
|