/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | SavedNetworkTrackerTest.java | 118 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in testOnStart_setsWifiState() 122 assertThat(savedNetworkTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_DISABLED); in testOnStart_setsWifiState() 126 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in testOnStart_setsWifiState() 130 assertThat(savedNetworkTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in testOnStart_setsWifiState() 144 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in testWifiStateChangeBroadcast_updatesWifiState() 148 assertThat(wifiPickerTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_DISABLED); in testWifiStateChangeBroadcast_updatesWifiState() 151 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in testWifiStateChangeBroadcast_updatesWifiState() 155 assertThat(wifiPickerTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in testWifiStateChangeBroadcast_updatesWifiState()
|
D | WifiPickerTrackerTest.java | 139 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in testWifiStateChangeBroadcast_updatesWifiState() 143 assertThat(wifiPickerTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_DISABLED); in testWifiStateChangeBroadcast_updatesWifiState() 146 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in testWifiStateChangeBroadcast_updatesWifiState() 150 assertThat(wifiPickerTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in testWifiStateChangeBroadcast_updatesWifiState() 197 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in testOnStart_setsWifiState() 201 assertThat(wifiPickerTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_DISABLED); in testOnStart_setsWifiState() 205 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in testOnStart_setsWifiState() 209 assertThat(wifiPickerTracker.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in testOnStart_setsWifiState()
|
D | StandardNetworkDetailsTrackerTest.java | 100 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in setUp() 235 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in testWifiStateChanged_disabled_clearsLevel()
|
D | NetworkDetailsTrackerTest.java | 87 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in setUp()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | BaseWifiTracker.java | 101 if (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLED) { 227 if (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLED) { in onStart() 259 public int getWifiState() { in getWifiState() method in BaseWifiTracker 260 return mWifiManager.getWifiState(); in getWifiState()
|
D | StandardNetworkDetailsTracker.java | 176 if (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_DISABLED) { in conditionallyUpdateScanResults()
|
D | PasspointNetworkDetailsTracker.java | 237 if (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_DISABLED) { in conditionallyUpdateScanResults()
|
D | SavedNetworkTracker.java | 265 if (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_DISABLED) { in conditionallyUpdateScanResults()
|
D | WifiPickerTracker.java | 565 if (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_DISABLED) { in conditionallyUpdateScanResults()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 179 Mockito.verify(mMockWm).getWifiState(); in testFetchInitialData() 187 when(mMockWm.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in testFetchInitialData_correctValues() 218 when(mMockWm.getWifiState()).thenReturn( in setWifiEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 83 public WifiIconState getWifiState() { in getWifiState() method in StatusBarIconHolder
|
D | StatusBarIconController.java | 259 return addSignalIcon(index, slot, holder.getWifiState()); in addHolder() 366 onSetSignalIcon(viewIndex, holder.getWifiState()); in onSetIconHolder()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 200 state = mWifiManager.getWifiState(); in updateWifiState()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 175 int state = mWifiManager.getWifiState(); in waitForWifiState()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 2932 public int getWifiState() { in getWifiState() method in WifiManager 2946 return getWifiState() == WIFI_STATE_ENABLED; in isWifiEnabled()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 149 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in setUp()
|
D | WifiAwareStateManagerTest.java | 146 when(mMockWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in setUp() 3809 when(mMockWifiManager.getWifiState()).thenReturn( in simulateWifiStateChange()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 709 if (mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in enableUsage()
|
/frameworks/base/wifi/api/ |
D | current.txt | 325 method public int getWifiState();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 245 when(mMockWifiManager.getWifiState()).thenReturn( in simulateWifiStateChange()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18043 method public int getWifiState();
|
/frameworks/base/api/ |
D | current.txt | 31405 method public int getWifiState();
|