Searched refs:isWifiApEnabled (Results 1 – 12 of 12) sorted by relevance
74 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()
109 public boolean isWifiApEnabled() { in isWifiApEnabled() method in ShadowCarWifiManager110 return sInstance.isWifiApEnabled(); in isWifiApEnabled()
105 when(mWifiManager.isWifiApEnabled()).thenReturn(true); in onSwitchToggled_onlyStartsTetherWhenNeeded()110 doReturn(false).when(mWifiManager).isWifiApEnabled(); in onSwitchToggled_onlyStartsTetherWhenNeeded()
128 when(mWifiManager.isWifiApEnabled()).thenReturn(false); in displayPreference_wifiApDisabled_shouldHideQrCodeIcon()140 when(mWifiManager.isWifiApEnabled()).thenReturn(true); in displayPreference_wifiApEnabled_shouldShowQrCodeIcon()
170 public boolean isWifiApEnabled() { in isWifiApEnabled() method in CarWifiManager171 return mWifiManager.isWifiApEnabled(); in isWifiApEnabled()
123 mTetherSwitch.setChecked(mCarWifiManager.isWifiApEnabled()); in setupTetherSwitch()
65 if (mWifiManager.isWifiApEnabled() && config != null) { in updateDisplay()
96 } else if (!mWifiManager.isWifiApEnabled()) { in onSwitchToggled()
73 if (mWifiManager.isWifiApEnabled() && config != null) { in updateDisplay()
65 return mWifiManager.isWifiApEnabled(); in isDisplayable()