Searched defs:mSettingsStore (Results 1 - 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiControllerTest.java80 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false);
81 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(false);
82 when(mSettingsStore.isScanAlwaysAvailable()).thenReturn(true);
89 @Mock WifiSettingsStore mSettingsStore; field in class:WifiControllerTest
113 mSettingsStore, mWifiLockManager, mLooper.getLooper(), mFacade);
135 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(true);
140 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(false);
145 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(true);
255 when(mSettingsStore.isWifiToggleEnabled()).thenReturn(true);
281 when(mSettingsStore
[all...]
H A DWifiServiceImplTest.java156 @Mock WifiSettingsStore mSettingsStore; field in class:WifiServiceImplTest
278 when(mWifiInjector.getWifiSettingsStore()).thenReturn(mSettingsStore);
364 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true);
365 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false);
376 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(false);
390 when(mSettingsStore.isAirplaneModeOn()).thenReturn(false);
401 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true);
402 when(mSettingsStore.isAirplaneModeOn()).thenReturn(true);
416 when(mSettingsStore.handleWifiToggled(eq(true))).thenReturn(true);
417 when(mSettingsStore
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DWifiPermissionsUtil.java53 private final WifiSettingsStore mSettingsStore; field in class:WifiPermissionsUtil
65 mSettingsStore = settingsStore;
383 return (mSettingsStore.getLocationModeSetting(mContext)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiController.java96 private final WifiSettingsStore mSettingsStore; field in class:WifiController
151 mSettingsStore = wss;
171 boolean isAirplaneModeOn = mSettingsStore.isAirplaneModeOn();
172 boolean isWifiEnabled = mSettingsStore.isWifiToggleEnabled();
173 boolean isScanningAlwaysAvailable = mSettingsStore.isScanAlwaysAvailable();
449 if (mSettingsStore.isWifiToggleEnabled()) {
468 } else if (mSettingsStore.isScanAlwaysAvailable()) {
473 if (mSettingsStore.isScanAlwaysAvailable()) {
480 mSettingsStore.setWifiSavedState(WifiSettingsStore.WIFI_DISABLED);
532 if (! mSettingsStore
[all...]
H A DWifiInjector.java87 private final WifiSettingsStore mSettingsStore; field in class:WifiInjector
143 mSettingsStore = new WifiSettingsStore(mContext);
150 mSettingsStore, UserManager.get(mContext), mNetworkScoreManager, this);
233 mWifiController = new WifiController(mContext, mWifiStateMachine, mSettingsStore,
300 return mSettingsStore;
H A DWifiServiceImpl.java175 final WifiSettingsStore mSettingsStore; field in class:WifiServiceImpl
437 mSettingsStore = mWifiInjector.getWifiSettingsStore();
489 boolean wifiEnabled = mSettingsStore.isWifiToggleEnabled();
499 if (mSettingsStore.handleAirplaneModeToggled()) {
502 if (mSettingsStore.isAirplaneModeOn()) {
792 if (mSettingsStore.isAirplaneModeOn() && !isFromSettings) {
812 if (! mSettingsStore.handleWifiToggled(enable)) {
1205 if (mSettingsStore.getLocationModeSetting(mContext) == Settings.Secure.LOCATION_MODE_OFF) {
1404 return mSettingsStore.isScanAlwaysAvailable();
2161 mSettingsStore
[all...]

Completed in 103 milliseconds