Searched refs:shouldEnabled (Results 1 – 2 of 2) sorted by relevance
75 assertThat(mPreference.shouldEnabled()).isTrue(); in shouldEnabled_canConnect_returnTrue()83 assertThat(mPreference.shouldEnabled()).isFalse(); in shouldEnabled_canNotConnect_returnFalse()92 assertThat(mPreference.shouldEnabled()).isTrue(); in shouldEnabled_canNotConnectButCanDisconnect_returnTrue()101 assertThat(mPreference.shouldEnabled()).isTrue(); in shouldEnabled_canNotConnectButIsSaved_returnTrue()111 assertThat(mPreference.shouldEnabled()).isTrue(); in shouldEnabled_canNotConnectButCanDisconnectAndIsSaved_returnTrue()
54 setEnabled(shouldEnabled()); in refresh()58 boolean shouldEnabled() { in shouldEnabled() method in LongPressWifiEntryPreference