Home
last modified time | relevance | path

Searched refs:getConnectionInfo (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTracker.java87 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in StandardNetworkDetailsTracker()
140 mChosenEntry.updateConnectionInfo(mWifiManager.getConnectionInfo(), mCurrentNetworkInfo); in handleNetworkStateChangedAction()
146 mChosenEntry.updateConnectionInfo(mWifiManager.getConnectionInfo(), mCurrentNetworkInfo); in handleRssiChangedAction()
DPasspointNetworkDetailsTracker.java108 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in PasspointNetworkDetailsTracker()
147 mChosenEntry.updateConnectionInfo(mWifiManager.getConnectionInfo(), mCurrentNetworkInfo); in handleRssiChangedAction()
155 mChosenEntry.updateConnectionInfo(mWifiManager.getConnectionInfo(), mCurrentNetworkInfo); in handleNetworkStateChangedAction()
DWifiPickerTracker.java194 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in handleOnStart()
249 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in handleNetworkStateChangedAction()
259 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in handleRssiChangedAction()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java151 mWifiInfo = mWifiManager.getConnectionInfo(); in fetchInitialState()
180 mWifiInfo = mWifiManager.getConnectionInfo(); in handleBroadcast()
DWifiTracker.java363 mLastInfo = mWifiManager.getConnectionInfo(); in forceUpdate()
800 mLastInfo = mWifiManager.getConnectionInfo(); in updateNetworkInfo()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java414 when(mockWifiManager.getConnectionInfo()).thenReturn(CONNECTED_AP_1_INFO); in createTrackerWithScanResultsAndAccessPoint1Connected()
451 when(mockWifiManager.getConnectionInfo()).thenReturn(info); in switchToNetwork2()
755 doAnswer(invocation -> info).when(mockWifiManager).getConnectionInfo(); in rssiChangeBroadcastShouldUpdateConnectedAp()
769 when(mockWifiManager.getConnectionInfo()).thenReturn(CONNECTED_AP_1_INFO); in onStartShouldSynchronouslyFetchLatestInformation()
779 verify(mockWifiManager).getConnectionInfo(); in onStartShouldSynchronouslyFetchLatestInformation()
795 when(mockWifiManager.getConnectionInfo()).thenReturn(CONNECTED_AP_1_INFO); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults()
808 verify(mockWifiManager).getConnectionInfo(); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingSecondaryUserActivity.java82 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onReceive()
DWifiDebuggingActivity.java153 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java193 when(mMockWm.getConnectionInfo()).thenReturn(wifiInfo); in testFetchInitialData_correctValues()
230 when(mMockWm.getConnectionInfo()).thenReturn(wifiInfo); in setWifiState()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java484 assertNotNull("no active wifi info", mWifiManager.getConnectionInfo()); in connectToWifi()
485 assertEquals("SSID mismatch", config.SSID, mWifiManager.getConnectionInfo().getSSID()); in connectToWifi()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DWifiMacAddressPreferenceControllerTest.java78 doReturn(mWifiInfo).when(mWifiManager).getConnectionInfo(); in setUp()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java67 WifiInfo wi = mWifiManager.getConnectionInfo(); in testWifiAssociation()
DConnectivityManagerMobileTest.java314 assertNotNull("not associated with any AP", mWifiManager.getConnectionInfo().getBSSID()); in testWifiStateChange()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java245 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onAvailable()
/frameworks/base/core/java/android/net/
DNetworkIdentity.java214 final WifiInfo info = wifi.getConnectionInfo(); in buildNetworkIdentity()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java326 && mWifiManager.getConnectionInfo() != null in updateCarrierText()
327 && mWifiManager.getConnectionInfo().getBSSID() != null)) { in updateCarrierText()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java286 String connectedSSID = mWifiManager.getConnectionInfo().getSSID(); in testWifiConfiguredNetworkStatus()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl111 WifiInfo getConnectionInfo(String callingPackage, String callingFeatureId); in getConnectionInfo() method
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java98 when(mWifiManager.getConnectionInfo()).thenReturn(mWifiInfo); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DBaseWifiService.java236 public WifiInfo getConnectionInfo(String callingPackage, String callingFeatureId) { in getConnectionInfo() method in BaseWifiService
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java401 when(mWifiManager.getConnectionInfo()).thenReturn(wifiInfo); in mockWifi()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java858 return (mWm.getConnectionInfo().getBSSID() == null) ? false : true;
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java117 when(mMockWifiManager.getConnectionInfo()).thenReturn(mMockWifiInfo); in setUp()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java588 return wifiManager.getConnectionInfo(); in get()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java627 WifiInfo wifiInfo = wifiManager.getConnectionInfo();
1304 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getCurrentWifiApInfo()

12