/frameworks/base/wifi/java/android/net/wifi/ |
RssiPacketCountInfo.java | 23 * Bundle of RSSI and packet count information, for WiFi watchdog 31 public int rssi; field in class:RssiPacketCountInfo 40 rssi = txgood = txbad = rxgood = 0; 44 rssi = in.readInt(); 52 out.writeInt(rssi);
|
WifiInfo.java | 356 * @return the RSSI. 363 public void setRssi(int rssi) { 364 if (rssi < INVALID_RSSI) 365 rssi = INVALID_RSSI; 366 if (rssi > MAX_RSSI) 367 rssi = MAX_RSSI; 368 mRssi = rssi; 559 append(", RSSI: ").append(mRssi).
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
NeighboringCellInfoTest.java | 31 int rssi = 31; local 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; local 60 NeighboringCellInfo nc = new NeighboringCellInfo(rssi, "12345678", NETWORK_TYPE_GPRS); 62 assertEquals(rssi, nc.getRssi()) [all...] |
/system/bt/service/common/bluetooth/ |
scan_result.cpp | 28 int rssi) 31 rssi_(rssi) {
|
scan_result.h | 32 int rssi); 43 // Returns the RSSI associated with this scan result. 44 int rssi() const { return rssi_; } function in class:bluetooth::ScanResult
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
NeighboringCellInfoTest.java | 30 private static final int RSSI = 20; 34 int rssi = 31; local 39 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); 41 assertEquals(rssi, nc.getRssi()); 46 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); 48 assertEquals(rssi, nc.getRssi()); 53 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UNKNOWN); 55 assertEquals(rssi, nc.getRssi()); 61 nc = new NeighboringCellInfo(rssi, "12345678", NETWORK_TYPE_GPRS); 63 assertEquals(rssi, nc.getRssi()) [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
ScanResultTest.java | 43 int rssi = -10; local 46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi,
|
/external/autotest/server/site_tests/bluetooth_Sanity_Discoverable/ |
bluetooth_Sanity_Discoverable.py | 33 for address, address_type, rssi, flags, eirdata in devices: 35 logging.info('Found device with RSSI %d', rssi) 49 # Write out the RSSI now we've found it. 50 self.write_perf_keyval({'rssi': int(rssi)}) 51 self.output_perf_value('rssi', int(rssi), 'dBm')
|
/frameworks/base/core/java/android/net/ |
RssiCurve.java | 27 * A curve defining the network score over a range of RSSI values. 29 * <p>For each RSSI bucket, the score may be any byte. Scores have no absolute meaning and are only 38 * <p>A network can be assigned a fixed score independent of RSSI by setting 40 * should be set to the lowest RSSI value at which this fixed score should apply, and 42 * highest RSSI value at which this fixed score should apply. 44 * <p>Note that RSSI values below -110 dBm or above 30 dBm are unlikely to cause any difference 60 /** The width of each RSSI bucket, in dBm. */ 63 /** The score for each RSSI bucket. */ 67 * The RSSI boost to give this network when active, in dBm. 70 * much higher of an RSSI. This is to avoid switching networks when another network has only [all...] |
WifiLinkQualityInfo.java | 33 /* Rssi found by scans */ 106 * returns RSSI of the network in raw form 107 * @return un-normalized RSSI or {@link android.net.LinkQualityInfo#UNKNOWN_INT} 116 public void setRssi(int rssi) { 117 mRssi = rssi;
|
/frameworks/base/telephony/java/android/telephony/ |
NeighboringCellInfo.java | 47 * In GSM, mRssi is the Received RSSI; 71 * Empty constructor. Initializes the RSSI and CID. 89 * Initialize the object from rssi and cid. 98 public NeighboringCellInfo(int rssi, int cid) { 99 mRssi = rssi; 104 * Initialize the object from rssi, location string, and radioType 113 public NeighboringCellInfo(int rssi, String location, int radioType) { 115 mRssi = rssi; 251 * @deprecated initial rssi value passed as parameter to constructor 255 public void setRssi(int rssi) { [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
WifiStatusTracker.java | 27 public int rssi; field in class:WifiStatusTracker 59 rssi = intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, -200); 60 level = WifiManager.calculateSignalLevel(rssi, 5);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattCallback.java | 130 * Callback reporting the RSSI for a remote device connection. 136 * @param rssi The RSSI value for the remote device 137 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the RSSI was read successfully 139 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) {
|
IBluetoothGattCallback.aidl | 40 void onReadRemoteRssi(in String address, in int rssi, in int status);
|
/external/iw/ |
cqm.c | 53 COMMAND(cqm, rssi, "<threshold|off> [<hysteresis>]", 55 "Set connection quality monitor RSSI threshold.\n");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
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;
|
WifiSignalController.java | 106 mCurrentState.rssi = mWifiTracker.rssi;
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
event_packet.cc | 109 const std::vector<uint8_t>& rssi, 114 clock_offset.size() + rssi.size() + extended_inquiry_response.size(); 124 VECTOR_COPY_TO_END(rssi, payload);
|
/system/connectivity/shill/dbus/ |
chromeos_wimax_network_proxy.cc | 44 const char ChromeosWiMaxNetworkProxy::kPropertyRSSI[] = "RSSI"; 57 RegisterProperty(kPropertyRSSI, &rssi); 137 int ChromeosWiMaxNetworkProxy::RSSI(Error* /*error*/) { 139 if (!properties_->rssi.GetAndBlock()) { 140 LOG(ERROR) << "Failed to get RSSI"; 143 return properties_->rssi.value();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiScoreReport.java | 137 * We want to make sure that we use the 24GHz RSSI thresholds if 170 int rssi = wifiInfo.getRssi() - AGGRESSIVE_HANDOVER_PENALTY * aggressiveHandover local 172 sb.append(String.format(" rssi=%d ag=%d", rssi, aggressiveHandover)); 176 boolean isBadRSSI = (is24GHz && rssi < wifiConfigManager.mThresholdMinimumRssi24.get()) 177 || (!is24GHz && rssi < wifiConfigManager.mThresholdMinimumRssi5.get()); 178 boolean isLowRSSI = (is24GHz && rssi < wifiConfigManager.mThresholdQualifiedRssi24.get()) 181 boolean isHighRSSI = (is24GHz && rssi >= wifiConfigManager.mThresholdSaturatedRssi24.get()) 319 score += GOOD_LINKSPEED_BONUS; // So as bad rssi alone dont kill us 330 // Decrement bad Rssi coun [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
ScanResult.java | 48 * @param rssi Received signal strength. 51 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, 55 mRssi = rssi;
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
rssi_monitor.cpp | 104 s8 rssi; local 147 rssi = get_s8(tb_vendor[ 149 ALOGV("Current RSSI : %d ", rssi); 152 (*mHandler.on_rssi_threshold_breached)(reqId, addr, rssi); 154 ALOGE("RSSI Monitoring: No Callback registered: "); 206 ALOGV("%s: Max RSSI:%d Min RSSI:%d", __FUNCTION__,
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
event_packet.h | 137 // RSSI (1 octet) 148 const std::vector<uint8_t>& rssi,
|
/external/autotest/server/cros/bluetooth/ |
bluetooth_tester.py | 109 (address, address_type, rssi, flags, base64-encoded eirdata), 118 (address, address_type, rssi, flags, 120 for address, address_type, rssi, flags, eirdata
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
common.h | 197 signed char rssi; member in struct:wifi_pno_result 208 s32 rssi; // in db member in struct:wifi_gscan_result
|