Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DCarrierWifiTogglePreferenceControllerTest.java64 private Preference mNetworkPreference; field in CarrierWifiTogglePreferenceControllerTest
88 mNetworkPreference = new Preference(mContext); in setUp()
89 mNetworkPreference.setKey( in setUp()
91 mScreen.addPreference(mNetworkPreference); in setUp()
92 mController.mCarrierNetworkPreference = mNetworkPreference; in setUp()
151 assertThat(mController.mCarrierNetworkPreference).isEqualTo(mNetworkPreference); in displayPreference_carrierNetworkActive_showCarrierNetwork()
152 assertThat(mNetworkPreference.isVisible()).isTrue(); in displayPreference_carrierNetworkActive_showCarrierNetwork()
153 assertThat(mNetworkPreference.getSummary()).isEqualTo(SSID); in displayPreference_carrierNetworkActive_showCarrierNetwork()
162 assertThat(mController.mCarrierNetworkPreference).isEqualTo(mNetworkPreference); in displayPreference_carrierNetworkInactive_hideCarrierNetwork()
163 assertThat(mNetworkPreference.isVisible()).isFalse(); in displayPreference_carrierNetworkInactive_hideCarrierNetwork()
[all …]
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperRotationInitializer.java33 private int mNetworkPreference; field in TestWallpaperRotationInitializer
40 mNetworkPreference = NETWORK_PREFERENCE_WIFI_ONLY; in TestWallpaperRotationInitializer()
46 mNetworkPreference = NETWORK_PREFERENCE_WIFI_ONLY; in TestWallpaperRotationInitializer()
52 mNetworkPreference = NETWORK_PREFERENCE_WIFI_ONLY; in TestWallpaperRotationInitializer()
60 mNetworkPreference = networkPreference; in setFirstWallpaperInRotation()
109 return mNetworkPreference == NETWORK_PREFERENCE_WIFI_ONLY; in isWifiOnly()