Searched refs:canShowWifiHotspot (Results 1 – 7 of 7) sorted by relevance
137 doReturn(false).when(mController).canShowWifiHotspot(); in queryShortcuts_shouldOnlyIncludeSystemApp()164 doReturn(false).when(mController).canShowWifiHotspot(); in queryShortcuts_shouldSortBasedOnPriority()173 doReturn(true).when(mController).canShowWifiHotspot(); in queryShortcuts_setSupportOneHandedMode_ShouldEnableShortcuts()182 doReturn(false).when(mController).canShowWifiHotspot(); in queryShortcuts_setUnsupportOneHandedMode_ShouldDisableShortcuts()191 doReturn(true).when(mController).canShowWifiHotspot(); in queryShortcuts_configShowWifiHotspot_ShouldEnableShortcuts()199 doReturn(false).when(mController).canShowWifiHotspot(); in queryShortcuts_configNotShowWifiHotspot_ShouldDisableShortcuts()
23 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;137 if (!canShowWifiHotspot(getContext())) { in onCreate()396 return WifiUtils.canShowWifiHotspot(context); in isPageSearchEnabled()
22 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;106 return canShowWifiHotspot(mContext) && !Utils.isMonkeyRunning(); in isAvailable()
190 assertThat(WifiUtils.canShowWifiHotspot(null)).isTrue(); in canShowWifiHotspot_cachedIsReady_returnCached()194 assertThat(WifiUtils.canShowWifiHotspot(null)).isFalse(); in canShowWifiHotspot_cachedIsReady_returnCached()
201 if (!canShowWifiHotspot()) { in queryShortcuts()229 boolean canShowWifiHotspot() { in canShowWifiHotspot() method in CreateShortcutPreferenceController230 return WifiUtils.canShowWifiHotspot(mContext); in canShowWifiHotspot()
295 public static boolean canShowWifiHotspot(Context context) { in canShowWifiHotspot() method in WifiUtils
23 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;640 if (!canShowWifiHotspot(context) || !TetherUtil.isTetherAvailable(context)) {