OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NetworkBadging
(Results
1 - 8
of
8
) sorted by null
/packages/apps/Settings/tests/robotests/src/android/net/
NetworkBadging.java
29
* Implementation for {@link android.net.
NetworkBadging
}.
33
public class
NetworkBadging
{
46
int signalLevel, @
NetworkBadging
.Badging int badging, @Nullable Resources.Theme theme) {
/frameworks/base/core/tests/coretests/src/android/net/
ScoredNetworkTest.java
170
assertEquals(
NetworkBadging
.BADGING_NONE, network.calculateBadge(TEST_RSSI));
176
assertEquals(
NetworkBadging
.BADGING_NONE, network.calculateBadge(TEST_RSSI));
182
buildScoredNetworkWithGivenBadgeForTestRssi(
NetworkBadging
.BADGING_4K);
183
assertEquals(
NetworkBadging
.BADGING_4K, network.calculateBadge(TEST_RSSI));
189
buildScoredNetworkWithGivenBadgeForTestRssi(
NetworkBadging
.BADGING_HD);
190
assertEquals(
NetworkBadging
.BADGING_HD, network.calculateBadge(TEST_RSSI));
196
buildScoredNetworkWithGivenBadgeForTestRssi(
NetworkBadging
.BADGING_SD);
197
assertEquals(
NetworkBadging
.BADGING_SD, network.calculateBadge(TEST_RSSI));
203
buildScoredNetworkWithGivenBadgeForTestRssi(
NetworkBadging
.BADGING_NONE);
204
assertEquals(
NetworkBadging
.BADGING_NONE, network.calculateBadge(TEST_RSSI))
[
all
...]
/frameworks/base/core/java/android/net/
NetworkBadging.java
42
public class
NetworkBadging
{
53
private
NetworkBadging
() {}
60
* @param badging {@see
NetworkBadging
#Badging}, retrieved from
ScoredNetwork.java
44
*
NetworkBadging
.Badging} enums.
270
* Return the {@link
NetworkBadging
.Badging} enum for this network for the given RSSI, derived from the
277
@
NetworkBadging
.Badging
285
return
NetworkBadging
.BADGING_NONE;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
AccessPointPreference.java
24
import android.net.
NetworkBadging
;
74
private int mWifiSpeed =
NetworkBadging
.BADGING_NONE;
182
// TODO(b/62355275): Revert this to N code after deleting
NetworkBadging
API
183
Drawable drawable =
NetworkBadging
.getWifiIcon(
184
level,
NetworkBadging
.BADGING_NONE, getContext().getTheme());
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
Utils.java
21
import android.net.
NetworkBadging
;
299
case
NetworkBadging
.BADGING_NONE:
301
case
NetworkBadging
.BADGING_SD:
303
case
NetworkBadging
.BADGING_HD:
305
case
NetworkBadging
.BADGING_4K:
/packages/apps/Settings/src/com/android/settings/wifi/details/
WifiDetailPreferenceController.java
35
import android.net.
NetworkBadging
;
373
Drawable wifiIcon =
NetworkBadging
.getWifiIcon(
374
iconSignalLevel,
NetworkBadging
.BADGING_NONE, mContext.getTheme()).mutate();
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
WifiDetailPreferenceControllerTest.java
44
import android.net.
NetworkBadging
;
346
NetworkBadging
.getWifiIcon(LEVEL,
NetworkBadging
.BADGING_NONE, mContext.getTheme());
Completed in 473 milliseconds