Home
last modified time | relevance | path

Searched refs:shouldEnabled (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java200 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java169 mWifiListLayout.setEnabled(shouldEnabled(wifiEntry)); in onBind()
179 boolean shouldEnabled(@NonNull WifiEntry wifiEntry) { in shouldEnabled() method in InternetAdapter.InternetViewHolder