Searched refs:isAddWifiConfigAllowed (Results 1 – 7 of 7) sorted by relevance
65 assertThat(mFragment.isAddWifiConfigAllowed(mContext)).isTrue(); in isAddWifiConfigAllowed_hasNoUserRestriction_returnTrue()72 assertThat(mFragment.isAddWifiConfigAllowed(mContext)).isFalse(); in isAddWifiConfigAllowed_hasUserRestriction_returnFalse()
65 assertThat(mActivity.isAddWifiConfigAllowed(mContext)).isTrue(); in isAddWifiConfigAllowed_hasNoUserRestriction_returnTrue()72 assertThat(mActivity.isAddWifiConfigAllowed(mContext)).isFalse(); in isAddWifiConfigAllowed_hasUserRestriction_returnFalse()
104 if (!isAddWifiConfigAllowed(getApplicationContext())) { in onCreate()128 if (!isAddWifiConfigAllowed(getApplicationContext())) { in handleIntent()417 static boolean isAddWifiConfigAllowed(Context context) { in isAddWifiConfigAllowed() method in WifiDppConfiguratorActivity
71 if (!isAddWifiConfigAllowed(getContext())) { in onCreate()252 static boolean isAddWifiConfigAllowed(Context context) { in isAddWifiConfigAllowed() method in AddNetworkFragment
127 if (!isConfigWifiAllowed() || !isAddWifiConfigAllowed()) { in onCreate()402 boolean isAddWifiConfigAllowed() { in isAddWifiConfigAllowed() method in WifiDialogActivity
248 assertThat(mActivity.isAddWifiConfigAllowed()).isTrue(); in isAddWifiConfigAllowed_hasNoUserRestriction_returnTrue()255 assertThat(mActivity.isAddWifiConfigAllowed()).isFalse(); in isAddWifiConfigAllowed_hasUserRestriction_returnFalse()
140 return WifiEnterpriseRestrictionUtils.isAddWifiConfigAllowed(this); in isAddWifiConfigAllow()