Searched refs:mNetworkPreference (Results 1 – 2 of 2) sorted by relevance
64 private Preference mNetworkPreference; field in CarrierWifiTogglePreferenceControllerTest88 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 …]
33 private int mNetworkPreference; field in TestWallpaperRotationInitializer40 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()