Home
last modified time | relevance | path

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

/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/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/
DConnectivityManagerTestBase.java484 assertNotNull("no active wifi info", mWifiManager.getConnectionInfo()); in connectToWifi()
485 assertEquals("SSID mismatch", config.SSID, mWifiManager.getConnectionInfo().getSSID()); in connectToWifi()
/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/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java119 mWifiInfo = mWifiManager.getConnectionInfo(); in handleBroadcast()
DWifiTracker.java352 mLastInfo = mWifiManager.getConnectionInfo(); in forceUpdate()
773 mLastInfo = mWifiManager.getConnectionInfo(); in updateNetworkInfo()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl104 WifiInfo getConnectionInfo(String callingPackage); in getConnectionInfo() method
DWifiManager.java2306 public WifiInfo getConnectionInfo() {
2308 return mService.getConnectionInfo(mContext.getOpPackageName());
/frameworks/base/core/java/android/net/
DNetworkIdentity.java225 final WifiInfo info = wifi.getConnectionInfo(); in buildNetworkIdentity()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java349 && mWifiManager.getConnectionInfo() != null in updateCarrierText()
350 && 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/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/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java852 return (mWm.getConnectionInfo().getBSSID() == null) ? false : true;
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1590 when(mWifiService.getConnectionInfo(anyString())).thenReturn(wifiInfo); in testGetConnectionInfo()
1592 assertEquals(wifiInfo, mWifiManager.getConnectionInfo()); in testGetConnectionInfo()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java595 return wifiManager.getConnectionInfo(); in get()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1194 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1212 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreHiddenOnSecurityException()
1227 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreVisibleFromPermittedApp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2186 public WifiInfo getConnectionInfo(String callingPackage) { in getConnectionInfo() method in WifiServiceImpl
/frameworks/base/config/
Dboot-image-profile.txt10773 HSPLandroid/net/wifi/IWifiManager$Stub$Proxy;->getConnectionInfo(Ljava/lang/String;)Landroid/net/wi…
10946 HSPLandroid/net/wifi/WifiManager;->getConnectionInfo()Landroid/net/wifi/WifiInfo;
Dhiddenapi-greylist-max-o.txt49734 Landroid/net/wifi/IWifiManager$Stub$Proxy;->getConnectionInfo(Ljava/lang/String;)Landroid/net/wifi/…
49868 Landroid/net/wifi/IWifiManager;->getConnectionInfo(Ljava/lang/String;)Landroid/net/wifi/WifiInfo;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18040 method public android.net.wifi.WifiInfo getConnectionInfo();
/frameworks/base/api/
Dcurrent.txt29791 method public android.net.wifi.WifiInfo getConnectionInfo();