/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiWatchdogStateMachine.java | 646 int rssi = info.rssi; in processMessage() local 647 if (DBG) logd("Fetch RSSI succeed, rssi=" + rssi); in processMessage() 655 if (rssi >= mCurrentBssid.mGoodLinkTargetRssi) { in processMessage() 658 if (DBG) logd("Good link detected, rssi=" + rssi); in processMessage() 793 int rssi = info.rssi; in processMessage() local 794 int mrssi = (mLastRssi + rssi) / 2; in processMessage() 797 if (DBG) logd("Fetch RSSI succeed, rssi=" + rssi + " mrssi=" + mrssi + " txbad=" in processMessage() 828 if (mCurrentBssid.poorLinkDetected(rssi)) { in processMessage() 841 mLastRssi = rssi; in processMessage() 907 private int calculateSignalLevel(int rssi) { in calculateSignalLevel() argument [all …]
|
D | WifiAutoJoinController.java | 946 public int rssiBoostFrom5GHzRssi(int rssi, String dbg) { in rssiBoostFrom5GHzRssi() argument 950 if (rssi in rssiBoostFrom5GHzRssi() 957 *(rssi - mWifiConfigStore.bandPreferenceBoostThreshold5); in rssiBoostFrom5GHzRssi() 964 logDbg(" " + dbg + ": rssi5 " + rssi + " 5GHz-boost " + boost); in rssiBoostFrom5GHzRssi() 969 if (rssi in rssiBoostFrom5GHzRssi() 973 *(rssi - mWifiConfigStore.bandPreferencePenaltyThreshold5); in rssiBoostFrom5GHzRssi()
|
D | WifiStateMachine.java | 3692 int rssi = mWifiInfo.getRssi() - 6 * mAggressiveHandover in calculateWifiScore() local 3694 sb.append(String.format(" rssi=%d ag=%d", rssi, mAggressiveHandover)); in calculateWifiScore() 3698 boolean isBadRSSI = (is24GHz && rssi < mWifiConfigStore.thresholdBadRssi24) in calculateWifiScore() 3699 || (!is24GHz && rssi < mWifiConfigStore.thresholdBadRssi5); in calculateWifiScore() 3700 boolean isLowRSSI = (is24GHz && rssi < mWifiConfigStore.thresholdLowRssi24) in calculateWifiScore() 3702 boolean isHighRSSI = (is24GHz && rssi >= mWifiConfigStore.thresholdGoodRssi24) in calculateWifiScore() 6173 int rssi = mWifiInfo.getRssi(); in noteWifiDisabledWhileAssociated() local 6176 && rssi != WifiInfo.INVALID_RSSI in noteWifiDisabledWhileAssociated() 6179 boolean isBadRSSI = (is24GHz && rssi < mWifiConfigStore.thresholdBadRssi24) in noteWifiDisabledWhileAssociated() 6180 || (!is24GHz && rssi < mWifiConfigStore.thresholdBadRssi5); in noteWifiDisabledWhileAssociated() [all …]
|
D | WifiConfigStore.java | 1874 int rssi = WifiConfiguration.INVALID_RSSI; in readNetworkHistory() local 1904 rssi = WifiConfiguration.INVALID_RSSI; in readNetworkHistory() 2093 rssi = WifiConfiguration.INVALID_RSSI; in readNetworkHistory() 2101 rssi = Integer.parseInt(lvl); in readNetworkHistory() 2136 caps, rssi, freq, (long) 0); in readNetworkHistory()
|
/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 | 337 public void setRssi(int rssi) { in setRssi() argument 338 if (rssi < INVALID_RSSI) in setRssi() 339 rssi = INVALID_RSSI; in setRssi() 340 if (rssi > MAX_RSSI) in setRssi() 341 rssi = MAX_RSSI; in setRssi() 342 mRssi = rssi; in setRssi()
|
D | RttManager.java | 183 public int rssi; field in RttManager.RttResult 234 dest.writeInt(result.rssi); in writeToParcel() 267 results[i].rssi = in.readInt();
|
D | WifiManager.java | 1357 public static int calculateSignalLevel(int rssi, int numLevels) { in calculateSignalLevel() argument 1358 if (rssi <= MIN_RSSI) { in calculateSignalLevel() 1360 } else if (rssi >= MAX_RSSI) { in calculateSignalLevel() 1365 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange); in calculateSignalLevel()
|
/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/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 | 104 int rssi = (int)(MIN_RSSI + level * amountPerLevel); in setWifiLevel() local 106 rssi += amountPerLevel / 2; in setWifiLevel() 108 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 | IBluetoothGattServerCallback.aidl | 27 void onScanResult(in String address, in int rssi, in byte[] advData); in onScanResult() argument
|
D | BluetoothGattCallbackWrapper.java | 110 public void onReadRemoteRssi(String address, int rssi, int status) throws RemoteException { in onReadRemoteRssi() argument
|
D | IBluetoothGattCallback.aidl | 67 void onReadRemoteRssi(in String address, in int rssi, in int status); in onReadRemoteRssi() argument
|
D | BluetoothGatt.java | 580 public void onReadRemoteRssi(String address, int rssi, int status) { 582 " rssi=" + rssi + " status=" + status); 587 mCallback.onReadRemoteRssi(BluetoothGatt.this, rssi, status);
|
D | BluetoothGattServer.java | 86 public void onScanResult(String address, int rssi, byte[] advData) { 87 if (VDBG) Log.d(TAG, "onScanResult() - Device=" + address + " RSSI=" +rssi);
|
D | BluetoothAdapter.java | 1639 public void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord); in onLeScan() argument
|
/frameworks/opt/net/wifi/service/tools/halutil/ |
D | halutil.cpp | 201 printMsg("%d\t", result.rssi); in printScanResult() 217 printMsg("%d,", result.rssi[i]); in printSignificantChangeResult() 521 if (result1->rssi < result2->rssi) { in compareScanResultsByRssi() 523 } else if (result1->rssi == result2->rssi) { in compareScanResultsByRssi() 568 result[i].addr[4], result[i].addr[5], result[i].ts, result[i].rssi, in onRTTResults() 814 params.ap[i].low = results[i].rssi - swctest_rssi_ch_threshold; in SelectSignificantAPsFromScanResults() 815 params.ap[i].high = results[i].rssi + swctest_rssi_ch_threshold; in SelectSignificantAPsFromScanResults()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 914 mCurrentState.rssi = intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, -200); in handleBroadcast() 916 mCurrentState.rssi, WifiIcons.WIFI_LEVEL_COUNT); in handleBroadcast() 1725 int rssi; // Only for logging. field in NetworkControllerImpl.SignalController.State 1738 rssi = state.rssi; in copyFrom() 1761 .append("rssi=").append(rssi).append(',') in toString() 1778 && other.rssi == rssi; in equals()
|
/frameworks/opt/net/wifi/service/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 188 setIntField(env, scanResult, "level", result->rssi); in createScanResult() 457 setIntField(env, scanResult, "level", results[i].rssi); in android_net_wifi_getScanResults() 589 setIntField(env, scanResult, "level", results[i].rssi); in onHotlistApFound() 703 setIntField(env, scanResult, "level", result.rssi[0]); in onSignificantWifiChange() 919 setIntField(env, rttResult, "rssi", result.rssi); in onRttResults()
|