Home
last modified time | relevance | path

Searched refs:canShowWifiHotspot (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/
DCreateShortcutPreferenceControllerTest.java137 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()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java23 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;
137 if (!canShowWifiHotspot(getContext())) { in onCreate()
396 return WifiUtils.canShowWifiHotspot(context); in isPageSearchEnabled()
DWifiTetherPreferenceController.java22 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;
106 return canShowWifiHotspot(mContext) && !Utils.isMonkeyRunning(); in isAvailable()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiUtilsTest.java190 assertThat(WifiUtils.canShowWifiHotspot(null)).isTrue(); in canShowWifiHotspot_cachedIsReady_returnCached()
194 assertThat(WifiUtils.canShowWifiHotspot(null)).isFalse(); in canShowWifiHotspot_cachedIsReady_returnCached()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java201 if (!canShowWifiHotspot()) { in queryShortcuts()
229 boolean canShowWifiHotspot() { in canShowWifiHotspot() method in CreateShortcutPreferenceController
230 return WifiUtils.canShowWifiHotspot(mContext); in canShowWifiHotspot()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java295 public static boolean canShowWifiHotspot(Context context) { in canShowWifiHotspot() method in WifiUtils
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java23 import static com.android.settings.wifi.WifiUtils.canShowWifiHotspot;
640 if (!canShowWifiHotspot(context) || !TetherUtil.isTetherAvailable(context)) {