Home
last modified time | relevance | path

Searched refs:isWifiApEnabled (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherFragmentTest.java97 when(mCarWifiManager.isWifiApEnabled()).thenReturn(true); in onStart_tetherStateOn_shouldReturnSwitchStateOn()
107 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onStart_tetherStateOff_shouldReturnSwitchStateOff()
117 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onSwitchOn_shouldAttemptTetherOn()
131 when(mCarWifiManager.isWifiApEnabled()).thenReturn(true); in onSwitchOff_shouldAttemptTetherOff()
142 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onTetherEnabling_shouldReturnSwitchStateDisabled()
156 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn()
171 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onTetherDisabled_shouldReturnSwitchStateEnabledAndOff()
186 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java105 public boolean isWifiApEnabled() { in isWifiApEnabled() method in ShadowCarWifiManager
106 return sInstance.isWifiApEnabled(); in isWifiApEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java170 public boolean isWifiApEnabled() { in isWifiApEnabled() method in CarWifiManager
171 return mWifiManager.isWifiApEnabled(); in isWifiApEnabled()
DWifiTetherFragment.java64 if (mCarWifiManager != null && mCarWifiManager.isWifiApEnabled()) {
81 .setChecked(mCarWifiManager.isWifiApEnabled()) in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSSIDPreferenceControllerTest.java148 when(mWifiManager.isWifiApEnabled()).thenReturn(false); in displayPreference_wifiApDisabled_shouldHideQrCodeIcon()
160 when(mWifiManager.isWifiApEnabled()).thenReturn(true); in displayPreference_wifiApEnabled_shouldShowQrCodeIcon()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSSIDPreferenceController.java63 if (mWifiManager.isWifiApEnabled() && config != null) { in updateDisplay()
DWifiTetherSwitchBarController.java96 } else if (!mWifiManager.isWifiApEnabled()) { in onSwitchToggled()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionController.java65 return mWifiManager.isWifiApEnabled(); in isDisplayable()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSSIDPreferenceController.java85 if (mWifiManager.isWifiApEnabled() && config != null) { in updateDisplay()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DHotspotConditionController.java67 return mWifiManager.isWifiApEnabled(); in isDisplayable()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java228 if (mWifiManager.isWifiApEnabled()) { in getTetheringState()