HomeSort by relevance Sort by last modified time
    Searched refs:rssi (Results 1 - 25 of 211) sorted by null

1 2 3 4 5 6 7 8 9

  /frameworks/base/lowpan/java/android/net/lowpan/
ILowpanEnergyScanCallback.aidl 21 oneway void onEnergyScanResult(int channel, int rssi);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ConnectedScore.java 37 /** This is a typical STD for the connected RSSI for a phone sitting still */
66 * Updates scoring state using RSSI alone
68 * @param rssi signal strength (dB).
71 public void updateUsingRssi(int rssi, long millis) {
72 updateUsingRssi(rssi, millis, mDefaultRssiStandardDeviation);
76 * Updates scoring state using RSSI and noise estimate
78 * This is useful if an RSSI comes from another source (e.g. scan results) and the
81 * @param rssi signal strength (dB).
83 * @param standardDeviation of the RSSI.
85 public abstract void updateUsingRssi(int rssi, long millis, double standardDeviation)
    [all...]
AggressiveConnectedScore.java 45 public void updateUsingRssi(int rssi, long millis, double standardDeviation) {
46 mRssi = rssi;
LegacyConnectedScore.java 107 int rssi = wifiInfo.getRssi(); local
109 rssi += WifiConfiguration.HOME_NETWORK_RSSI_BOOST;
114 && rssi < rssiThreshLow) {
125 if (rssi < rssiThreshBad) {
129 } else if (rssi < rssiThreshLow) {
132 // Decrement bad Rssi count
146 public void updateUsingRssi(int rssi, long millis, double standardDeviation) {
147 // This scorer needs more than just the RSSI. Just ignore.
178 int rssi = wifiInfo.getRssi(); local
180 rssi += WifiConfiguration.HOME_NETWORK_RSSI_BOOST
    [all...]
  /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);
  /frameworks/base/core/java/android/bluetooth/le/
PeriodicAdvertisingReport.java 44 private int rssi; field in class:PeriodicAdvertisingReport
58 public PeriodicAdvertisingReport(int syncHandle, int txPower, int rssi,
62 this.rssi = rssi;
75 dest.writeInt(rssi);
88 rssi = in.readInt();
119 return rssi;
147 return Objects.hash(syncHandle, txPower, rssi, dataStatus, data, timestampNanos);
161 (rssi == other.rssi) &
    [all...]
  /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.cc 25 const std::vector<uint8_t>& scan_record, int rssi)
26 : device_address_(device_address), scan_record_(scan_record), rssi_(rssi) {
scan_result.h 31 const std::vector<uint8_t>& scan_record, int rssi);
42 // Returns the RSSI associated with this scan result.
43 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;
ScoredNetwork.java 43 * <p>The badging curve is a {@link RssiCurve} used to map different RSSI values to {@link
77 * The {@link RssiCurve} representing the scores for this network based on the RSSI.
110 * RSSI. This field is optional, and may be skipped to represent a network which the scorer
125 * RSSI. This field is optional, and may be skipped to represent a network which the scorer
142 * RSSI. This field is optional, and may be skipped to represent a network which the scorer
233 * Returns a ranking score for a given RSSI which can be used to comparatively
248 public int calculateRankingScore(int rssi) throws UnsupportedOperationException {
260 int score = (rssiCurve == null) ? 0 : rssiCurve.lookupScore(rssi) << Byte.SIZE;
270 * Return the {@link NetworkBadging.Badging} enum for this network for the given RSSI, derived from the
275 * @param rssi The rssi level for which the badge should be calculate
    [all...]
  /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 29 public int rssi; field in class:WifiStatusTracker
68 rssi = intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, -200);
69 level = WifiManager.calculateSignalLevel(rssi, 5);
  /external/iw/
cqm.c 53 COMMAND(cqm, rssi, "<threshold|off> [<hysteresis>]",
55 "Set connection quality monitor RSSI threshold.\n");
  /frameworks/base/core/java/android/bluetooth/
BluetoothGattCallback.java 159 * Callback reporting the RSSI for a remote device connection.
165 * @param rssi The RSSI value for the remote device
166 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the RSSI was read successfully
168 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) {
  /system/chre/apps/wifi_offload/test/
scanresult_test.cc 36 EXPECT_EQ(chre_scan_result.rssi, nanoapp_scan_result.rssi_dbm_);
utility.cc 50 void init_rssi(int8_t &rssi, RandomGenerator &rand_gen) {
51 rssi = rand_gen.get<int8_t>();
52 if (rssi > 0) {
53 rssi = -rssi;
154 init_rssi(result.rssi, rand_gen);
  /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;
  /frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
AccessPointTest.java 83 private static ScanResult createScanResult(String ssid, String bssid, int rssi) {
86 scanResult.level = rssi;
513 int rssi = -55;
519 wifiInfo.setRssi(rssi);
528 .setRssi(rssi)
707 int rssi = -55;
712 wifiInfo.setRssi(rssi);
721 .setRssi(rssi)
733 int rssi = -55;
738 wifiInfo.setRssi(rssi);
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ConnectivityEvents.java 126 long createTimestamp, int rssi) {
128 mRssi = rssi;
136 json.put(ConnectivityConstants.NetworkCallbackContainer.RSSI, mRssi);
  /hardware/libhardware/include/hardware/
ble_scanner.h 43 int8_t rssi, uint16_t periodic_adv_int,
130 base::Callback<void(uint16_t sync_handle, int8_t tx_power, int8_t rssi,

Completed in 435 milliseconds

1 2 3 4 5 6 7 8 9