Searched refs:shouldEnabled (Results 1 – 2 of 2) sorted by relevance
200 assertThat(mViewHolder.shouldEnabled(mWifiEntry)).isTrue(); in viewHolderShouldEnabled_wifiCanConnect_returnTrue()207 assertThat(mViewHolder.shouldEnabled(mWifiEntry)).isFalse(); in viewHolderShouldEnabled_wifiCanNotConnect_returnFalse()215 assertThat(mViewHolder.shouldEnabled(mWifiEntry)).isTrue(); in viewHolderShouldEnabled_wifiCanNotConnectButCanDisconnect_returnTrue()223 assertThat(mViewHolder.shouldEnabled(mWifiEntry)).isTrue(); in viewHolderShouldEnabled_wifiCanNotConnectButIsSaved_returnTrue()
169 mWifiListLayout.setEnabled(shouldEnabled(wifiEntry)); in onBind()179 boolean shouldEnabled(@NonNull WifiEntry wifiEntry) { in shouldEnabled() method in InternetAdapter.InternetViewHolder