Home
last modified time | relevance | path

Searched refs:WifiInfo (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiInfoTest.java47 WifiInfo writeWifiInfo = new WifiInfo(); in testWifiInfoParcelWriteRead()
62 WifiInfo readWifiInfo = WifiInfo.CREATOR.createFromParcel(parcel); in testWifiInfoParcelWriteRead()
DWifiConfigurationTest.java198 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_SavesAndReturnsSameAddress()
211 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_ChangesSavedAddress()
225 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testGetOrCreateRandomizedMacAddress_ReRandomizesInvalidAddress()
254 MacAddress defaultMac = MacAddress.fromString(WifiInfo.DEFAULT_MAC_ADDRESS); in testSetRandomizedMacAddress_DoesNothingWhenNull()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java40 public class WifiInfo implements Parcelable { class
217 public WifiInfo() { in WifiInfo() method in WifiInfo
259 public WifiInfo(WifiInfo source) { in WifiInfo() method in WifiInfo
741 public static final @android.annotation.NonNull Creator<WifiInfo> CREATOR =
742 new Creator<WifiInfo>() {
743 public WifiInfo createFromParcel(Parcel in) {
744 WifiInfo info = new WifiInfo();
781 public WifiInfo[] newArray(int size) {
782 return new WifiInfo[size];
DWifiInfo.aidl19 parcelable WifiInfo;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectedScore.java20 import android.net.wifi.WifiInfo;
93 public void updateUsingWifiInfo(WifiInfo wifiInfo, long millis) { in updateUsingWifiInfo()
DAggressiveConnectedScore.java19 import android.net.wifi.WifiInfo;
42 public void updateUsingWifiInfo(WifiInfo wifiInfo, long millis) { in updateUsingWifiInfo()
DLinkProbeManager.java22 import android.net.wifi.WifiInfo;
192 public void updateConnectionStats(WifiInfo wifiInfo, String interfaceName) { in updateConnectionStats()
226 if (rssi != WifiInfo.INVALID_RSSI && rssi > RSSI_THRESHOLD in updateConnectionStats()
340 void updateConnectionStats(WifiInfo wifiInfo) { in updateConnectionStats()
367 if (rssi != WifiInfo.INVALID_RSSI && rssi > mRssiThreshold in updateConnectionStats()
DVelocityBasedConnectedScore.java19 import android.net.wifi.WifiInfo;
102 public void updateUsingWifiInfo(WifiInfo wifiInfo, long millis) { in updateUsingWifiInfo()
149 private void adjustThreshold(WifiInfo wifiInfo) { in adjustThreshold()
DWifiScoreReport.java20 import android.net.wifi.WifiInfo;
94 public void calculateAndReportScore(WifiInfo wifiInfo, NetworkAgent networkAgent, in calculateAndReportScore()
96 if (wifiInfo.getRssi() == WifiInfo.INVALID_RSSI) { in calculateAndReportScore()
245 private void logLinkMetrics(WifiInfo wifiInfo, long now, int netId, in logLinkMetrics()
DExtendedWifiInfo.java20 import android.net.wifi.WifiInfo;
25 public class ExtendedWifiInfo extends WifiInfo {
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java43 import android.net.wifi.WifiInfo;
100 private WifiInfo mWifiInfo;
130 mWifiInfo = new WifiInfo(); in setUp()
307 WifiInfo wifiInfo = new WifiInfo();
323 WifiInfo wifiInfo = new WifiInfo();
356 WifiInfo wifiInfo = new WifiInfo();
498 WifiInfo wifiInfo = new WifiInfo();
549 WifiInfo wifiInfo = new WifiInfo();
755 WifiInfo wifiInfo = new WifiInfo();
781 WifiInfo wifiInfo = new WifiInfo();
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DVelocityBasedConnectedScoreTest.java25 import android.net.wifi.WifiInfo;
58 WifiInfo mWifiInfo;
88 mWifiInfo = new WifiInfo(); in setUp()
DTestUtil.java24 import android.net.wifi.WifiInfo;
50 Context context, NetworkInfo nwInfo, WifiInfo wifiInfo) { in sendNetworkStateChanged()
DWifiScoreReportTest.java37 import android.net.wifi.WifiInfo;
73 WifiInfo mWifiInfo;
120 mWifiInfo = new WifiInfo(); in setUp()
162 mWifiInfo.setRssi(WifiInfo.INVALID_RSSI); in calculateAndReportScoreDoesNotReportWhenRssiIsNotValid()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java31 import android.net.wifi.WifiInfo;
183 WifiInfo.removeDoubleQuotes(nai.networkCapabilities.getSSID())); in showNotification()
188 WifiInfo.removeDoubleQuotes(nai.networkCapabilities.getSSID())); in showNotification()
193 WifiInfo.removeDoubleQuotes(nai.networkCapabilities.getSSID())); in showNotification()
200 WifiInfo.removeDoubleQuotes(nai.networkCapabilities.getSSID())); in showNotification()
227 title = WifiInfo.removeDoubleQuotes(nai.networkCapabilities.getSSID()); in showNotification()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java24 import android.net.wifi.WifiInfo;
58 private WifiInfo mWifiInfo;
217 public TestAccessPointBuilder setWifiInfo(WifiInfo info) { in setWifiInfo()
DWifiStatusTracker.java28 import android.net.wifi.WifiInfo;
69 private WifiInfo mWifiInfo;
183 private String getValidSsid(WifiInfo info) { in getValidSsid()
DWifiUtils.java22 import android.net.wifi.WifiInfo;
35 final WifiInfo info = accessPoint.getInfo(); in buildLoggingSummary()
85 final WifiInfo info = accessPoint.getInfo(); in getVisibilityStatus()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DWifiMacAddressPreferenceControllerTest.java28 import android.net.wifi.WifiInfo;
58 private WifiInfo mWifiInfo;
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java24 import android.net.wifi.WifiInfo;
67 WifiInfo wi = mWifiManager.getConnectionInfo(); in testWifiAssociation()
/frameworks/base/core/java/android/net/
DNetworkKey.java22 import android.net.wifi.WifiInfo;
98 public static NetworkKey createFromWifiInfo(@Nullable WifiInfo wifiInfo) { in createFromWifiInfo()
DNetworkPolicyManager.java30 import android.net.wifi.WifiInfo;
369 return WifiInfo.removeDoubleQuotes(config.isPasspoint()
374 return WifiInfo.removeDoubleQuotes(ssid);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java6 import android.net.wifi.WifiInfo;
198 WifiInfo wifiInfo = mock(WifiInfo.class); in setWifiState()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java24 import android.net.wifi.WifiInfo;
41 @Mock private WifiInfo mWifiInfo;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java31 import android.net.wifi.WifiInfo;
241 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onAvailable()

123