/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSliceItem.java | 63 mConnectedState = wifiEntry.getConnectedState(); in WifiSliceItem() 85 if (getConnectedState() != otherItem.getConnectedState()) { in equals() 118 public int getConnectedState() { in getConnectedState() method in WifiSliceItem
|
D | WifiSlice.java | 133 && apList.get(0).getConnectedState() != WifiEntry.CONNECTED_STATE_DISCONNECTED; in getSlice() 268 if (wifiSliceItem.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) { in getWifiSliceItemLevelIcon() 270 } else if (wifiSliceItem.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED) { in getWifiSliceItemLevelIcon() 291 if (wifiSliceItem.getConnectedState() != WifiEntry.CONNECTED_STATE_DISCONNECTED) { in getEndIcon() 305 if (wifiSliceItem.getConnectedState() != WifiEntry.CONNECTED_STATE_DISCONNECTED) { in getWifiEntryAction()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsActionButtonsPreferenceController.java | 67 .setVisible(canConnectOrDisconnect || getWifiEntry().getConnectedState() in updateState() 116 switch (getWifiEntry().getConnectedState()) { in getConnectDisconnectButtonTextResource() 129 switch (getWifiEntry().getConnectedState()) { in getConnectDisconnectButtonIconResource()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ProviderModelSliceHelperTest.java | 130 when(mWifiSliceItem1.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in getConnectedWifiItem_inputListInvolveOneConnectedWifiItem_verifyReturnItem() 131 when(mWifiSliceItem2.getConnectedState()).thenReturn( in getConnectedWifiItem_inputListInvolveOneConnectedWifiItem_verifyReturnItem() 145 when(mWifiSliceItem1.getConnectedState()).thenReturn( in getConnectedWifiItem_inputListInvolveNoConnectedWifiItem_verifyReturnItem() 147 when(mWifiSliceItem2.getConnectedState()).thenReturn( in getConnectedWifiItem_inputListInvolveNoConnectedWifiItem_verifyReturnItem()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsBasePreferenceControllerTestCase.java | 90 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in setUpConnectedState() 94 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUpDisconnectedState()
|
D | WifiIpv6AddressPreferenceControllerTest.java | 87 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in onCreate_hasIpv6Address_summaryTextSet() 101 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in onCreate_isNotActive_preferenceNotVisible()
|
D | WifiDetailsActionButtonsPreferenceControllerTest.java | 97 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in updateState_connectNotNeeded_disconnectButtonShown() 109 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in updateState_needConnect_connectButtonShown()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 402 return mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED; in updateCaptivePortalButton() 471 if (mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) { in updateNetworkInfo() 754 return mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED in getMacAddressTitle() 782 || mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTING); in refreshButtons() 794 switch (mWifiEntry.getConnectedState()) { in getConnectDisconnectButtonTextResource() 807 switch (mWifiEntry.getConnectedState()) { in getConnectDisconnectButtonIconResource() 820 if (mWifiEntry.getConnectedState() != WifiEntry.CONNECTED_STATE_CONNECTED in refreshIpLayerInfo() 1033 if (mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED) { in connectDisconnectNetwork()
|
D | WifiPrivacyPreferenceController2.java | 84 if (mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) { in onPreferenceChange()
|
D | WifiPrivacyPageProvider.kt | 165 if (wifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) { in onSelectedChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiEntryPreferenceTest.java | 104 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUp() 148 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in setWifiEntry_connectedStateChanged_setIconAndSummary() 156 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setWifiEntry_connectedStateChanged_setIconAndSummary()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiUtils.java | 34 } else if (wifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) { in getConnectionStatus()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiEntryPreference.java | 132 && mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED) { in onBindViewHolder() 211 && mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED); in getIconColorAttr()
|
D | NetworkRequestDialogFragment.java | 292 if (entry.getConnectedState() == WifiEntry.CONNECTED_STATE_DISCONNECTED in isMatchedWifiEntry()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | NetworkProviderSettingsTest.java | 344 when(mWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in onCreateContextMenu_shouldHaveForgetAndDisconnectMenuForConnectedWifiEntry() 367 when(mWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in onCreateContextMenu_canShare_shouldHaveShareMenuForConnectedWifiEntry() 389 when(mWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in onCreateContextMenu_canNotShare_shouldDisappearShareMenuForConnectedWifiEntry() 802 when(mWifiEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in addModifyMenuIfSuitable_isAdmin_addMenu() 813 when(mWifiEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in addModifyMenuIfSuitable_isNotAdmin_notAddMenu()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 325 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in setUpForConnectedNetwork() 348 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUpForDisconnectedNetwork() 354 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in setUpForNotInRangeNetwork() 1485 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectButton_clickConnect_displayAsSuccess() 1499 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTING); in testConnectButton_clickConnect_displayAsSuccess() 1511 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in testConnectButton_clickConnect_displayAsSuccess() 1527 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectButton_clickConnectButFailed_displayFailMessage() 1539 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTING); in testConnectButton_clickConnectButFailed_displayFailMessage() 1551 when(mMockWifiEntry.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_DISCONNECTED); in testConnectButton_clickConnectButFailed_displayFailMessage()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiEntryPreference.java | 86 if (mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED in getWifiEntryIcon()
|
D | WifiUtil.java | 322 return wifiEntry.getConnectedState() != WifiEntry.CONNECTED_STATE_DISCONNECTED; in isWifiEntryConnectedOrConnecting()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | AccessPointPreferenceController.java | 99 if (accessPoint.getWifiEntry().getConnectedState() != WifiEntry.CONNECTED_STATE_CONNECTED) { in isCaptivePortal()
|
D | AccessPoint.java | 238 return mWifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED; in isActive()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSlice.java | 166 .filter(item -> item.getConnectedState() != WifiEntry.CONNECTED_STATE_CONNECTED) in getSlice() 397 if (wifiSliceItem.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED in getWifiSliceItemLevelIcon()
|
D | ProviderModelSliceHelper.java | 172 .filter(x -> x.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) in getConnectedWifiItem()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiEntryListPreferenceControllerTest.java | 205 when(mMockWifiEntry1.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in performClick_activeWifiEntry_showDetailsFragment() 219 when(mMockWifiEntry1.getConnectedState()).thenReturn(WifiEntry.CONNECTED_STATE_CONNECTED); in performClick_secondaryActiveWifiEntry_doesNotShowDetailsFragment()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectState.java | 250 if (wifiEntry.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) { in startConnect()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 233 when(wifiEntry.getConnectedState()).thenReturn(connectedState); in createWifiSliceItem()
|