Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DLongPressWifiEntryPreferenceTest.java75 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()
/packages/apps/Settings/src/com/android/settings/wifi/
DLongPressWifiEntryPreference.java54 setEnabled(shouldEnabled()); in refresh()
58 boolean shouldEnabled() { in shouldEnabled() method in LongPressWifiEntryPreference