Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherFragmentTest.java74 when(mCarWifiManager.isWifiApEnabled()).thenReturn(true); in onStart_tetherStateOn_shouldReturnSwitchStateOn()
84 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onStart_tetherStateOff_shouldReturnSwitchStateOff()
94 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onSwitchOn_shouldAttemptTetherOn()
107 when(mCarWifiManager.isWifiApEnabled()).thenReturn(true); in onSwitchOff_shouldAttemptTetherOff()
120 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onTetherEnabling_shouldReturnSwitchStateDisabled()
133 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn()
147 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onTetherDisabled_shouldReturnSwitchStateEnabledAndOff()
161 when(mCarWifiManager.isWifiApEnabled()).thenReturn(false); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java109 public boolean isWifiApEnabled() { in isWifiApEnabled() method in ShadowCarWifiManager
110 return sInstance.isWifiApEnabled(); in isWifiApEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarControllerTest.java105 when(mWifiManager.isWifiApEnabled()).thenReturn(true); in onSwitchToggled_onlyStartsTetherWhenNeeded()
110 doReturn(false).when(mWifiManager).isWifiApEnabled(); in onSwitchToggled_onlyStartsTetherWhenNeeded()
DWifiTetherSSIDPreferenceControllerTest.java128 when(mWifiManager.isWifiApEnabled()).thenReturn(false); in displayPreference_wifiApDisabled_shouldHideQrCodeIcon()
140 when(mWifiManager.isWifiApEnabled()).thenReturn(true); in displayPreference_wifiApEnabled_shouldShowQrCodeIcon()
/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.java123 mTetherSwitch.setChecked(mCarWifiManager.isWifiApEnabled()); in setupTetherSwitch()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSSIDPreferenceController.java65 if (mWifiManager.isWifiApEnabled() && config != null) { in updateDisplay()
DWifiTetherSwitchBarController.java96 } else if (!mWifiManager.isWifiApEnabled()) { in onSwitchToggled()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSSIDPreferenceController.java73 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DHotspotConditionController.java65 return mWifiManager.isWifiApEnabled(); in isDisplayable()