Searched refs:isWifiOnly (Results 1 – 18 of 18) sorted by relevance
363 assertTrue(testWPRotationInitializer.isWifiOnly()); in testShowStartRotationDialog_WifiOnly_ClickOK_StartsRotation()417 assertTrue(testWPRotationInitializer.isWifiOnly()); in testStartRotation_WifiOnly_FailOnce_Retry()442 assertFalse(testWPRotationInitializer.isWifiOnly()); in testShowStartRotationDialog_TurnOffWifiOnly_ClickOK_StartsRotation()473 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
100 && !Utils.isWifiOnly(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
77 return !isUserRestricted() && !Utils.isWifiOnly(mContext); in isAvailable()
121 && !Utils.isWifiOnly(mContext) in isAvailable()
199 return !Utils.isWifiOnly(mContext) && mUserManager.isAdminUser(); in isAvailable()
163 return !Utils.isWifiOnly(mContext); in isAvailable()
83 return !isUserRestricted() && !Utils.isWifiOnly(mContext); in isAvailable()
120 && !Utils.isWifiOnly(mContext) in isAvailable()
118 && !Utils.isWifiOnly(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
176 if (Utils.isWifiOnly(getActivity())) { in onCreatePreferences()
220 if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in initWifiConfigController()953 if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in showSecurityFields()
241 if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in initWifiConfigController2()1020 } else if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in showSecurityFields()
252 if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in initWifiConfigController()1039 } else if (Utils.isWifiOnly(mContext) || !mContext.getResources().getBoolean( in showSecurityFields()