Searched refs:isWifiApEnabled (Results 1 – 11 of 11) sorted by relevance
97 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()
105 public boolean isWifiApEnabled() { in isWifiApEnabled() method in ShadowCarWifiManager106 return sInstance.isWifiApEnabled(); in isWifiApEnabled()
170 public boolean isWifiApEnabled() { in isWifiApEnabled() method in CarWifiManager171 return mWifiManager.isWifiApEnabled(); in isWifiApEnabled()
64 if (mCarWifiManager != null && mCarWifiManager.isWifiApEnabled()) {81 .setChecked(mCarWifiManager.isWifiApEnabled()) in onCreate()
148 when(mWifiManager.isWifiApEnabled()).thenReturn(false); in displayPreference_wifiApDisabled_shouldHideQrCodeIcon()160 when(mWifiManager.isWifiApEnabled()).thenReturn(true); in displayPreference_wifiApEnabled_shouldShowQrCodeIcon()
63 if (mWifiManager.isWifiApEnabled() && config != null) { in updateDisplay()
96 } else if (!mWifiManager.isWifiApEnabled()) { in onSwitchToggled()
65 return mWifiManager.isWifiApEnabled(); in isDisplayable()
85 if (mWifiManager.isWifiApEnabled() && config != null) { in updateDisplay()
67 return mWifiManager.isWifiApEnabled(); in isDisplayable()
228 if (mWifiManager.isWifiApEnabled()) { in getTetheringState()