Home
last modified time | relevance | path

Searched refs:WifiInfo (Results 1 – 25 of 72) 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()
/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
753 public static final @android.annotation.NonNull Creator<WifiInfo> CREATOR =
754 new Creator<WifiInfo>() {
755 public WifiInfo createFromParcel(Parcel in) {
756 WifiInfo info = new WifiInfo();
793 public WifiInfo[] newArray(int size) {
794 return new WifiInfo[size];
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java44 import android.net.wifi.WifiInfo;
101 private WifiInfo mWifiInfo;
131 mWifiInfo = new WifiInfo(); in setUp()
308 WifiInfo wifiInfo = new WifiInfo();
324 WifiInfo wifiInfo = new WifiInfo();
357 WifiInfo wifiInfo = new WifiInfo();
499 WifiInfo wifiInfo = new WifiInfo();
550 WifiInfo wifiInfo = new WifiInfo();
756 WifiInfo wifiInfo = new WifiInfo();
782 WifiInfo wifiInfo = new WifiInfo();
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectedScore.java19 import android.net.wifi.WifiInfo;
92 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.java21 import android.net.wifi.WifiInfo;
95 public void calculateAndReportScore(WifiInfo wifiInfo, NetworkAgent networkAgent, in calculateAndReportScore()
97 if (wifiInfo.getRssi() == WifiInfo.INVALID_RSSI) { in calculateAndReportScore()
249 private void logLinkMetrics(WifiInfo wifiInfo, long now, int netId, in logLinkMetrics()
DExtendedWifiInfo.java20 import android.net.wifi.WifiInfo;
25 public class ExtendedWifiInfo extends WifiInfo {
DWifiDataStall.java20 import android.net.wifi.WifiInfo;
107 WifiInfo wifiInfo) { in checkForDataStall()
212 private int updateCcaLevel(WifiLinkLayerStats newStats, WifiInfo wifiInfo, in updateCcaLevel()
/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.java45 import android.net.wifi.WifiInfo;
82 WifiInfo mWifiInfo;
138 mWifiInfo = new WifiInfo(); in setUp()
183 mWifiInfo.setRssi(WifiInfo.INVALID_RSSI); in calculateAndReportScoreDoesNotReportWhenRssiIsNotValid()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java32 import android.net.wifi.WifiInfo;
186 WifiInfo.sanitizeSsid(nai.networkCapabilities.getSsid())); in showNotification()
193 WifiInfo.sanitizeSsid(nai.networkCapabilities.getSsid())); in showNotification()
201 WifiInfo.sanitizeSsid(nai.networkCapabilities.getSsid())); in showNotification()
206 WifiInfo.sanitizeSsid(nai.networkCapabilities.getSsid())); in showNotification()
213 WifiInfo.sanitizeSsid(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;
70 private WifiInfo mWifiInfo;
190 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/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingSecondaryUserActivity.java27 import android.net.wifi.WifiInfo;
82 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onReceive()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DWifiMacAddressPreferenceControllerTest.java28 import android.net.wifi.WifiInfo;
58 private WifiInfo mWifiInfo;
/frameworks/base/wifi/aidl-export/android/net/wifi/
DWifiInfo.aidl19 parcelable WifiInfo;
/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.java24 import android.net.wifi.WifiInfo;
111 public static NetworkKey createFromWifiInfo(@Nullable WifiInfo wifiInfo) { in createFromWifiInfo()
DNetworkPolicyManager.java33 import android.net.wifi.WifiInfo;
543 return WifiInfo.sanitizeSsid(config.isPasspoint()
549 return WifiInfo.sanitizeSsid(ssid);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java13 import android.net.wifi.WifiInfo;
198 WifiInfo wifiInfo = mock(WifiInfo.class); in setWifiState()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java25 import android.net.wifi.WifiInfo;
42 @Mock private WifiInfo mWifiInfo;

123