Home
last modified time | relevance | path

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

12

/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()
756 doAnswer(invocation -> info).when(mockWifiManager).getConnectionInfo(); in rssiChangeBroadcastShouldUpdateConnectedAp()
770 when(mockWifiManager.getConnectionInfo()).thenReturn(CONNECTED_AP_1_INFO); in onStartShouldSynchronouslyFetchLatestInformation()
780 verify(mockWifiManager).getConnectionInfo(); in onStartShouldSynchronouslyFetchLatestInformation()
796 when(mockWifiManager.getConnectionInfo()).thenReturn(CONNECTED_AP_1_INFO); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults()
809 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/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.java76 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.java241 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onAvailable()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java290 && mWifiManager.getConnectionInfo() != null in updateCarrierText()
291 && mWifiManager.getConnectionInfo().getBSSID() != null)) { in updateCarrierText()
/frameworks/base/core/java/android/net/
DNetworkIdentity.java214 final WifiInfo info = wifi.getConnectionInfo(); in buildNetworkIdentity()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java120 mWifiInfo = mWifiManager.getConnectionInfo(); in handleBroadcast()
DWifiTracker.java354 mLastInfo = mWifiManager.getConnectionInfo(); in forceUpdate()
792 mLastInfo = mWifiManager.getConnectionInfo(); in updateNetworkInfo()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl104 WifiInfo getConnectionInfo(String callingPackage); in getConnectionInfo() method
DWifiManager.java2339 public WifiInfo getConnectionInfo() {
2341 return mService.getConnectionInfo(mContext.getOpPackageName());
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java286 String connectedSSID = mWifiManager.getConnectionInfo().getSSID(); in testWifiConfiguredNetworkStatus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java200 when(mMockWm.getConnectionInfo()).thenReturn(wifiInfo); in setWifiState()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java192 public WifiInfo getConnectionInfo(String callingPackage) { in getConnectionInfo() method in BaseWifiService
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java96 when(mWifiManager.getConnectionInfo()).thenReturn(mWifiInfo); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java357 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/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1578 when(mWifiService.getConnectionInfo(anyString())).thenReturn(wifiInfo); in testGetConnectionInfo()
1580 assertEquals(wifiInfo, mWifiManager.getConnectionInfo()); in testGetConnectionInfo()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java591 return wifiManager.getConnectionInfo(); in get()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java617 WifiInfo wifiInfo = wifiManager.getConnectionInfo();
1294 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getCurrentWifiApInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1333 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1351 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreHiddenOnSecurityException()
1366 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreVisibleFromPermittedApp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2233 public WifiInfo getConnectionInfo(String callingPackage) { in getConnectionInfo() method in WifiServiceImpl

12