Home
last modified time | relevance | path

Searched refs:RssiCurve (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/net/
DRssiCurve.java58 public class RssiCurve implements Parcelable { class
86 public RssiCurve(int start, int bucketWidth, byte[] rssiBuckets) { in RssiCurve() method in RssiCurve
98 public RssiCurve(int start, int bucketWidth, byte[] rssiBuckets, int activeNetworkRssiBoost) { in RssiCurve() method in RssiCurve
108 private RssiCurve(Parcel in) { in RssiCurve() method in RssiCurve
181 RssiCurve rssiCurve = (RssiCurve) o; in equals()
217 public static final @android.annotation.NonNull Creator<RssiCurve> CREATOR =
218 new Creator<RssiCurve>() {
220 public RssiCurve createFromParcel(Parcel in) {
221 return new RssiCurve(in);
225 public RssiCurve[] newArray(int size) {
[all …]
DScoredNetwork.java82 public final RssiCurve rssiCurve;
115 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve) { in ScoredNetwork()
132 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint) { in ScoredNetwork()
150 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint, in ScoredNetwork()
161 rssiCurve = RssiCurve.CREATOR.createFromParcel(in); in ScoredNetwork()
301 RssiCurve badgingCurve = in calculateBadge()
302 … attributes.getParcelable(ATTRIBUTES_KEY_BADGING_CURVE, android.net.RssiCurve.class); in calculateBadge()
/frameworks/base/core/tests/coretests/src/android/net/
DScoredNetworkTest.java43 private static final RssiCurve CURVE =
44 new RssiCurve(RSSI_START, 10, new byte[] {-1, 0, 1, 2, 3, 4, TEST_SCORE, 6, 7});
263 RssiCurve badgingCurve = in buildScoredNetworkWithGivenBadgeForTestRssi()
264 new RssiCurve(RSSI_START, 10, new byte[] {0, 0, 0, 0, 0, 0, (byte) badge}); in buildScoredNetworkWithGivenBadgeForTestRssi()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java26 import android.net.RssiCurve;
67 @Mock private RssiCurve mockRssiCurve;
89 private static ScoredNetwork buildScoredNetwork(WifiKey key, RssiCurve curve) { in buildScoredNetwork()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java31 import android.net.RssiCurve;
68 private RssiCurve mockBadgeCurve;
257 private ScoredNetwork buildScoredNetworkWithGivenBadgeCurve(RssiCurve badgeCurve) { in buildScoredNetworkWithGivenBadgeCurve()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java38 import android.net.RssiCurve;
93 private static final RssiCurve FAST_BADGE_CURVE =
94 new RssiCurve(-150, 10, new byte[]{Speed.FAST});
104 @Mock private RssiCurve mockBadgeCurve;
558 private ScoredNetwork buildScoredNetworkWithGivenBadgeCurve(RssiCurve badgeCurve) {
982 RssiCurve badgeCurve1 = mock(RssiCurve.class); in testSpeedLabelAveragesAllBssidScores()
987 RssiCurve badgeCurve2 = mock(RssiCurve.class); in testSpeedLabelAveragesAllBssidScores()
1005 RssiCurve badgeCurve1 = mock(RssiCurve.class); in testSpeedLabelAverageIgnoresNoSpeedScores()
1010 RssiCurve badgeCurve2 = mock(RssiCurve.class); in testSpeedLabelAverageIgnoresNoSpeedScores()
1075 RssiCurve curve = list.get(0).getScore().attributes.getParcelable( in testScoredNetworkCacheBundling()
DWifiTrackerTest.java43 import android.net.RssiCurve;
150 @Mock private RssiCurve mockCurve1;
151 @Mock private RssiCurve mockCurve2;
152 @Mock private RssiCurve mockBadgeCurve1;
153 @Mock private RssiCurve mockBadgeCurve2;
/frameworks/base/core/api/
Dsystem-current.txt9710 @Deprecated public class RssiCurve implements android.os.Parcelable {
9711 ctor @Deprecated public RssiCurve(int, int, byte[]);
9712 ctor @Deprecated public RssiCurve(int, int, byte[], int);
9717 …precated @NonNull public static final android.os.Parcelable.Creator<android.net.RssiCurve> CREATOR;
9725 ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve);
9726 ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean);
9727 …ctor @Deprecated public ScoredNetwork(android.net.NetworkKey, android.net.RssiCurve, boolean, @Nul…
9738 field @Deprecated public final android.net.RssiCurve rssiCurve;
/frameworks/base/boot/
Dpreloaded-classes5671 android.net.RssiCurve$1
5672 android.net.RssiCurve
Dboot-image-profile.txt28068 Landroid/net/RssiCurve$1;
28069 Landroid/net/RssiCurve;
/frameworks/base/config/
Dpreloaded-classes5675 android.net.RssiCurve$1
5676 android.net.RssiCurve
Dboot-image-profile.txt38202 Landroid/net/RssiCurve$1;
38203 Landroid/net/RssiCurve;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt33271 Landroid/net/RssiCurve;-><init>(Landroid/os/Parcel;)V
33272 Landroid/net/RssiCurve;->DEFAULT_ACTIVE_NETWORK_RSSI_BOOST:I