/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 414 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/ |
D | WifiDebuggingSecondaryUserActivity.java | 82 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onReceive()
|
D | WifiDebuggingActivity.java | 153 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onReceive()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 484 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/ |
D | WifiMacAddressPreferenceControllerTest.java | 76 doReturn(mWifiInfo).when(mWifiManager).getConnectionInfo(); in setUp()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | WifiAssociationTest.java | 67 WifiInfo wi = mWifiManager.getConnectionInfo(); in testWifiAssociation()
|
D | ConnectivityManagerMobileTest.java | 314 assertNotNull("not associated with any AP", mWifiManager.getConnectionInfo().getBSSID()); in testWifiStateChange()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 241 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in onAvailable()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 290 && mWifiManager.getConnectionInfo() != null in updateCarrierText() 291 && mWifiManager.getConnectionInfo().getBSSID() != null)) { in updateCarrierText()
|
/frameworks/base/core/java/android/net/ |
D | NetworkIdentity.java | 214 final WifiInfo info = wifi.getConnectionInfo(); in buildNetworkIdentity()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 120 mWifiInfo = mWifiManager.getConnectionInfo(); in handleBroadcast()
|
D | WifiTracker.java | 354 mLastInfo = mWifiManager.getConnectionInfo(); in forceUpdate() 792 mLastInfo = mWifiManager.getConnectionInfo(); in updateNetworkInfo()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 104 WifiInfo getConnectionInfo(String callingPackage); in getConnectionInfo() method
|
D | WifiManager.java | 2339 public WifiInfo getConnectionInfo() { 2341 return mService.getConnectionInfo(mContext.getOpPackageName());
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 286 String connectedSSID = mWifiManager.getConnectionInfo().getSSID(); in testWifiConfiguredNetworkStatus()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 200 when(mMockWm.getConnectionInfo()).thenReturn(wifiInfo); in setWifiState()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 192 public WifiInfo getConnectionInfo(String callingPackage) { in getConnectionInfo() method in BaseWifiService
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 96 when(mWifiManager.getConnectionInfo()).thenReturn(mWifiInfo); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextControllerTest.java | 357 when(mWifiManager.getConnectionInfo()).thenReturn(wifiInfo); in mockWifi()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipAudioCall.java | 858 return (mWm.getConnectionInfo().getBSSID() == null) ? false : true;
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1578 when(mWifiService.getConnectionInfo(anyString())).thenReturn(wifiInfo); in testGetConnectionInfo() 1580 assertEquals(wifiInfo, mWifiManager.getConnectionInfo()); in testGetConnectionInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 591 return wifiManager.getConnectionInfo(); in get()
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 617 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); 1294 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getCurrentWifiApInfo()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 1333 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/ |
D | WifiServiceImpl.java | 2233 public WifiInfo getConnectionInfo(String callingPackage) { in getConnectionInfo() method in WifiServiceImpl
|