OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rssiCurve
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/core/java/android/net/
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.
83
public final
RssiCurve
rssiCurve
;
109
* @param
rssiCurve
the {@link
RssiCurve
} representing the scores for this network based on the
116
public ScoredNetwork(NetworkKey networkKey,
RssiCurve
rssiCurve
) {
117
this(networkKey,
rssiCurve
, false /* meteredHint */);
124
* @param
rssiCurve
the {@link RssiCurve} representing the scores for this network based on th
[
all
...]
RssiCurve.java
54
public class
RssiCurve
implements Parcelable {
76
* Construct a new {@link
RssiCurve
}.
82
public
RssiCurve
(int start, int bucketWidth, byte[] rssiBuckets) {
87
* Construct a new {@link
RssiCurve
}.
94
public
RssiCurve
(int start, int bucketWidth, byte[] rssiBuckets, int activeNetworkRssiBoost) {
104
private
RssiCurve
(Parcel in) {
177
RssiCurve
rssiCurve
= (
RssiCurve
) o;
179
return start ==
rssiCurve
.start &
[
all
...]
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/util/
OCompatFactory.java
19
import android.net.
RssiCurve
;
32
RssiCurve
rssiCurve
,
35
return new ScoredNetwork(networkToScore,
rssiCurve
, meteredHint, attributesBundle);
38
/** Create an
RssiCurve
with the provided parameters. */
39
public static
RssiCurve
createRssiCurveOCompat(
41
return new
RssiCurve
(start, bucketWidth, rssiBuckets, activeNetworkRssiBoost);
/frameworks/base/core/tests/coretests/src/android/net/
ScoredNetworkTest.java
37
private static final
RssiCurve
CURVE =
38
new
RssiCurve
(RSSI_START, 10, new byte[] {-1, 0, 1, 2, 3, 4, TEST_SCORE, 6, 7});
100
ScoredNetwork network = new ScoredNetwork(KEY, null /*
rssiCurve
*/);
107
new ScoredNetwork(KEY, null /*
rssiCurve
*/, false /* meteredHint */, ATTRIBUTES);
134
assertEquals(CURVE.start, newNetwork.
rssiCurve
.start);
135
assertEquals(CURVE.bucketWidth, newNetwork.
rssiCurve
.bucketWidth);
136
assertTrue(Arrays.equals(CURVE.rssiBuckets, newNetwork.
rssiCurve
.rssiBuckets));
160
assertEquals(CURVE.start, newNetwork.
rssiCurve
.start);
161
assertEquals(CURVE.bucketWidth, newNetwork.
rssiCurve
.bucketWidth);
162
assertTrue(Arrays.equals(CURVE.rssiBuckets, newNetwork.
rssiCurve
.rssiBuckets))
[
all
...]
/frameworks/base/wifi/java/android/net/wifi/
WifiNetworkScoreCache.java
137
return network != null && network.
rssiCurve
!= null;
145
if (network != null && network.
rssiCurve
!= null) {
146
score = network.
rssiCurve
.lookupScore(result.level);
171
if (network != null && network.
rssiCurve
!= null) {
172
score = network.
rssiCurve
.lookupScore(result.level, isActiveNetwork);
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/
DefaultNetworkRecommendationProvider.java
25
import android.net.
RssiCurve
;
102
static final
RssiCurve
BADGE_CURVE_SD =
103
new
RssiCurve
(
110
static final
RssiCurve
BADGE_CURVE_HD =
111
new
RssiCurve
(
118
static final
RssiCurve
BADGE_CURVE_4K =
119
new
RssiCurve
(
186
final int score = network.
rssiCurve
.lookupScore(scanResult.level);
353
RssiCurve
rssiCurve
= new RssiCurve(CONSTANT_CURVE_START, bucketWidth, rssiBuckets, 0)
[
all
...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiNetworkSelectorTestUtil.java
26
import android.net.
RssiCurve
;
331
RssiCurve
rssiCurve
;
342
rssiCurve
= new
RssiCurve
(-100, 100, new byte[] {rssiScore});
344
rssiCurve
= new
RssiCurve
(-80, 20, new byte[] {-10, 0, 10, 20, 30, 40});
346
ScoredNetwork scoredNetwork = new ScoredNetwork(ntwkKey,
rssiCurve
, meteredHints[i]);
/prebuilts/sdk/system_current/
android.jar
Completed in 1675 milliseconds