Searched refs:mSettingsConfigStore (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsStore.java | 43 private final WifiSettingsConfigStore mSettingsConfigStore; field in WifiSettingsStore 47 mSettingsConfigStore = sharedPreferences; in WifiSettingsStore() 147 mSettingsConfigStore.put( in persistScanAlwaysAvailableState() 152 mSettingsConfigStore.put( in persistWifiScoringEnabledState() 188 return mSettingsConfigStore.get( in getPersistedScanAlwaysAvailable() 193 return mSettingsConfigStore.get( in getPersistedWifiScoringEnabled()
|
D | WifiCountryCode.java | 57 private final WifiSettingsConfigStore mSettingsConfigStore; field in WifiCountryCode 173 mSettingsConfigStore = settingsConfigStore; in WifiCountryCode() 388 mSettingsConfigStore.put(WIFI_DEFAULT_COUNTRY_CODE, in setDefaultCountryCode() 410 + mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)); in dump() 445 return mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE); in pickCountryCode()
|
D | WifiInjector.java | 214 private final WifiSettingsConfigStore mSettingsConfigStore; field in WifiInjector 375 mSettingsConfigStore = new WifiSettingsConfigStore(context, wifiHandler, in WifiInjector() 377 mSettingsStore = new WifiSettingsStore(mContext, mSettingsConfigStore); in WifiInjector() 387 mWifiPermissionsUtil, mWifiMetrics, mClock, wifiHandler, mSettingsConfigStore); in WifiInjector() 469 mCmiMonitor, mWifiNative, mSettingsConfigStore); in WifiInjector() 752 this, mSettingsConfigStore, verboseLoggingEnabled); in makeClientModeImpl() 977 return mSettingsConfigStore; in getSettingsConfigStore()
|
D | ScanRequestProxy.java | 98 private final WifiSettingsConfigStore mSettingsConfigStore; field in ScanRequestProxy 215 mSettingsConfigStore = settingsConfigStore; in ScanRequestProxy() 234 mThrottleEnabled = mSettingsConfigStore.get(WIFI_SCAN_THROTTLE_ENABLED); in retrieveWifiScannerIfNecessary() 582 mSettingsConfigStore.put(WIFI_SCAN_THROTTLE_ENABLED, enable); in setScanThrottleEnabled()
|
D | ClientModeImpl.java | 244 private final WifiSettingsConfigStore mSettingsConfigStore; field in ClientModeImpl 754 mSettingsConfigStore = settingsConfigStore; in ClientModeImpl() 5995 String factoryMacAddressStr = mSettingsConfigStore.get(WIFI_STA_FACTORY_MAC_ADDRESS); 6006 mSettingsConfigStore.put(WIFI_STA_FACTORY_MAC_ADDRESS, factoryMacAddress.toString());
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCountryCodeTest.java | 64 @Mock WifiSettingsConfigStore mSettingsConfigStore; field in WifiCountryCodeTest 97 when(mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)) in setUp() 100 }).when(mSettingsConfigStore).put(eq(WIFI_DEFAULT_COUNTRY_CODE), any(String.class)); in setUp() 102 when(mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)).thenReturn(mDefaultCountryCode); in setUp() 116 mSettingsConfigStore); in createWifiCountryCode() 391 verify(mSettingsConfigStore).put(eq(WIFI_DEFAULT_COUNTRY_CODE), eq(TEST_COUNTRY_CODE)); in setDefaultCountryCode() 392 assertEquals(TEST_COUNTRY_CODE, mSettingsConfigStore.get(WIFI_DEFAULT_COUNTRY_CODE)); in setDefaultCountryCode()
|
D | ClientModeImplTest.java | 470 @Mock WifiSettingsConfigStore mSettingsConfigStore; field in ClientModeImplTest 486 when(mSettingsConfigStore.get(WIFI_STA_FACTORY_MAC_ADDRESS)) in setUpWifiNative() 489 }).when(mSettingsConfigStore).put(eq(WIFI_STA_FACTORY_MAC_ADDRESS), any(String.class)); in setUpWifiNative() 684 mWifiNetworkSelector, mTelephonyManager, mWifiInjector, mSettingsConfigStore, in initializeCmi() 3091 verify(mSettingsConfigStore, times(2)).get(any()); in testConnectedMacRandomizationNotSupported() 3179 clearInvocations(mWifiNative, mSettingsConfigStore); in testConnectedMacRandomizationRandomizationNoneSameMac() 3190 verify(mSettingsConfigStore).get(WIFI_STA_FACTORY_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationNoneSameMac() 3192 verify(mSettingsConfigStore, never()).put( in testConnectedMacRandomizationRandomizationNoneSameMac() 3204 verify(mSettingsConfigStore, times(2)).get(WIFI_STA_FACTORY_MAC_ADDRESS); in testConnectedMacRandomizationRandomizationNoneSameMac() 3207 verify(mSettingsConfigStore, never()).put( in testConnectedMacRandomizationRandomizationNoneSameMac() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 183 private WifiSettingsConfigStore mSettingsConfigStore; field in WifiP2pServiceImpl 531 mSettingsConfigStore = mWifiInjector.getSettingsConfigStore(); in WifiP2pServiceImpl() 954 mSettingsConfigStore.registerChangeListener( in P2pStateMachine() 3972 String deviceName = mSettingsConfigStore.get(WIFI_P2P_DEVICE_NAME); in getPersistedDeviceName() 4018 mSettingsConfigStore.put(WIFI_P2P_DEVICE_NAME, devName); in setAndPersistDeviceName() 4074 enableVerboseLogging(mSettingsConfigStore.get(WIFI_VERBOSE_LOGGING_ENABLED)); in initializeP2pSettings() 4495 mSettingsConfigStore.put(WIFI_P2P_PENDING_FACTORY_RESET, pending); in setPendingFactoryReset() 4499 return mSettingsConfigStore.get(WIFI_P2P_PENDING_FACTORY_RESET); in isPendingFactoryReset()
|