Searched refs:isWifiOnly (Results 1 – 11 of 11) sorted by relevance
240 assertTrue(testWPRotationInitializer.isWifiOnly()); in testShowStartRotationDialog_WifiOnly_ClickOK_StartsRotation()296 assertTrue(testWPRotationInitializer.isWifiOnly()); in testStartRotation_WifiOnly_FailOnce_Retry()321 assertFalse(testWPRotationInitializer.isWifiOnly()); in testShowStartRotationDialog_TurnOffWifiOnly_ClickOK_StartsRotation()352 assertFalse(testWPRotationInitializer.isWifiOnly()); in testStartRotation_WifiOnly_FailOnce_Retry_ShouldStillHaveWifiTurnedOff()
39 return !Utils.isWifiOnly(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
46 return !(Utils.isWifiOnly(mContext) || mIsFromSUW); in isAvailable()
108 public boolean isWifiOnly() { in isWifiOnly() method in TestWallpaperRotationInitializer
79 return !isUserRestricted() && !Utils.isWifiOnly(mContext); in isAvailable()
120 && !Utils.isWifiOnly(mContext) in isAvailable()
220 return !Utils.isWifiOnly(mContext) && mUserManager.isAdminUser(); in isAvailable()
122 && !Utils.isWifiOnly(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
199 if (Utils.isWifiOnly(getActivity())) { in onCreatePreferences()
258 if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in initWifiConfigController2()1020 } else if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in showSecurityFields()
260 if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in initWifiConfigController()1040 } else if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in showSecurityFields()