Home
last modified time | relevance | path

Searched refs:WifiSettingsConfigStore (Results 1 – 25 of 40) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiSettingsBackupRestore.java47 private WifiSettingsConfigStore mWifiSettingsConfigStore;
48 private Map<String, WifiSettingsConfigStore.Key> mRestoreSettingsMap = new HashMap<>();
54 public WifiSettingsBackupRestore(WifiSettingsConfigStore settingsConfigStore) { in WifiSettingsBackupRestore()
56 for (WifiSettingsConfigStore.Key key : mWifiSettingsConfigStore.getAllKeys()) { in WifiSettingsBackupRestore()
73 WifiSettingsConfigStore.StoreData.XML_TAG_SECTION_HEADER); in retrieveBackupDataFromSettingsConfigStore()
75 for (WifiSettingsConfigStore.Key key in retrieveBackupDataFromSettingsConfigStore()
79 XmlUtil.writeNextValue(out, WifiSettingsConfigStore.StoreData.XML_TAG_VALUES, in retrieveBackupDataFromSettingsConfigStore()
83 WifiSettingsConfigStore.StoreData.XML_TAG_SECTION_HEADER); in retrieveBackupDataFromSettingsConfigStore()
103 WifiSettingsConfigStore.StoreData.XML_TAG_SECTION_HEADER, depth + 1); in restoreSettingsFromBackupData()
105 WifiSettingsConfigStore.StoreData.deserializeSettingsData(in, depth + 2); in restoreSettingsFromBackupData()
DWifiSettingsStore.java149 private final WifiSettingsConfigStore mSettingsConfigStore;
158 WifiSettingsStore(WifiContext context, WifiSettingsConfigStore sharedPreferences, in WifiSettingsStore()
428 WifiSettingsConfigStore.WIFI_SCAN_ALWAYS_AVAILABLE, isAvailable);
433 WifiSettingsConfigStore.WIFI_SCORING_ENABLED, enabled);
438 WifiSettingsConfigStore.WIFI_PASSPOINT_ENABLED, enabled);
443 WifiSettingsConfigStore.WIFI_MULTI_INTERNET_MODE, mode);
479 WifiSettingsConfigStore.WIFI_SCAN_ALWAYS_AVAILABLE);
484 WifiSettingsConfigStore.WIFI_SCORING_ENABLED);
489 WifiSettingsConfigStore.WIFI_PASSPOINT_ENABLED);
494 WifiSettingsConfigStore.WIFI_SCAN_THROTTLE_ENABLED);
[all …]
DWifiCountryCode.java19 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_DEFAULT_COUNTRY_CODE;
73 private final WifiSettingsConfigStore mSettingsConfigStore;
207 @NonNull WifiSettingsConfigStore settingsConfigStore, in WifiCountryCode()
DScanRequestProxy.java19 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_SCAN_THROTTLE_ENABLED;
103 private final WifiSettingsConfigStore mSettingsConfigStore;
240 WifiThreadRunner runner, WifiSettingsConfigStore settingsConfigStore) { in ScanRequestProxy()
DWifiSettingsConfigStore.java51 public class WifiSettingsConfigStore { class
240 public WifiSettingsConfigStore(@NonNull Context context, @NonNull Handler handler, in WifiSettingsConfigStore() method in WifiSettingsConfigStore
DWifiApConfigStore.java24 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO;
91 private final WifiSettingsConfigStore mWifiSettingsConfigStore;
DWifiInjector.java235 private final WifiSettingsConfigStore mSettingsConfigStore;
442 mSettingsConfigStore = new WifiSettingsConfigStore(context, wifiHandler, in WifiInjector()
1096 public WifiSettingsConfigStore getSettingsConfigStore() { in getSettingsConfigStore()
DWifiServiceImpl.java60 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED;
61 import static com.android.server.wifi.WifiSettingsConfigStore.SHOW_DIALOG_WHEN_THIRD_PARTY_APPS_ENA…
62 import static com.android.server.wifi.WifiSettingsConfigStore.SHOW_DIALOG_WHEN_THIRD_PARTY_APPS_ENA…
63 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_AWARE_VERBOSE_LOGGING_ENABLED;
64 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_STA_FACTORY_MAC_ADDRESS;
65 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_VERBOSE_LOGGING_ENABLED;
66 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_WEP_ALLOWED;
337 private final WifiSettingsConfigStore mSettingsConfigStore;
1993 mSettingsConfigStore.put(WifiSettingsConfigStore.WIFI_SOFT_AP_COUNTRY_CODE, in onDriverCountryCodeChanged()
2015 WifiSettingsConfigStore.WIFI_AVAILABLE_SOFT_AP_FREQS_MHZ, in onDriverCountryCodeChanged()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiSettingsBackupRestoreTest.java48 @Mock WifiSettingsConfigStore mWifiSettingsConfigStore;
54 private static final ArrayList<WifiSettingsConfigStore.Key> TEST_KEYS = new ArrayList<>() {{
55 add(WifiSettingsConfigStore.WIFI_WEP_ALLOWED); }};
98 eq(WifiSettingsConfigStore.StoreData.XML_TAG_SECTION_HEADER)); in testBackupWifiSettings()
101 eq(WifiSettingsConfigStore.StoreData.XML_TAG_VALUES)); in testBackupWifiSettings()
102 for (WifiSettingsConfigStore.Key key : mWifiSettingsConfigStore.getAllKeys()) { in testBackupWifiSettings()
107 eq(WifiSettingsConfigStore.StoreData.XML_TAG_SECTION_HEADER)); in testBackupWifiSettings()
119 verify(mWifiSettingsConfigStore).put(eq(WifiSettingsConfigStore.WIFI_WEP_ALLOWED), in testRestoreWifiSettings()
DWifiSettingsConfigStoreTest.java19 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_VERBOSE_LOGGING_ENABLED;
39 import com.android.server.wifi.WifiSettingsConfigStore.Key;
74 private WifiSettingsConfigStore mWifiSettingsConfigStore;
82 new WifiSettingsConfigStore(mContext, new Handler(mLooper.getLooper()), in setUp()
105 WifiSettingsConfigStore.OnSettingsChangedListener listener = mock( in testChangeListener()
106 WifiSettingsConfigStore.OnSettingsChangedListener.class); in testChangeListener()
DWifiCountryCodeTest.java21 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_DEFAULT_COUNTRY_CODE;
102 @Mock WifiSettingsConfigStore mSettingsConfigStore;
157 public void answer(WifiSettingsConfigStore.Key<String> key, Object countryCode) { in setUp()
DHalDeviceManagerTest.java135 @Mock private WifiSettingsConfigStore mWifiSettingsConfigStore;
814 when(mWifiSettingsConfigStore.get(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO)) in testSecondaryInternetStaTreatedAsOpportunistic()
892 when(mWifiSettingsConfigStore.get(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO)) in testDisconnectedP2pTreatedAsOpportunisticAfterTimeout()
1631 verify(mWifiSettingsConfigStore).put(eq(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO), in testCanDeviceSupportCreateTypeComboChipV1()
1693 when(mWifiSettingsConfigStore.get(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO)) in testCanDeviceSupportCreateTypeComboChipV1WithStoredStaticChipInfo()
1781 when(mWifiSettingsConfigStore.get(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO)) in testCanDeviceSupportCreateTypeComboChipV1WithOutdatedStoredStaticChipInfo()
1821 eq(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO), in testCanDeviceSupportCreateTypeComboChipV1WithOutdatedStoredStaticChipInfo()
2190 when(mWifiSettingsConfigStore.get(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO)) in testCanDeviceSupportIfaceComboTestChipV2()
3447 when(mWifiSettingsConfigStore.get(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO)) in testCanDeviceSupportIfaceComboTestChipV6()
3956 verify(mWifiSettingsConfigStore).put(eq(WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO), in testCanDeviceSupportCreateTypeComboAfterDriverReadyChipV10()
DWifiApConfigStoreTest.java25 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_STATIC_CHIP_INFO;
116 @Mock private WifiSettingsConfigStore mWifiSettingsConfigStore;
125 final ArgumentCaptor<WifiSettingsConfigStore.OnSettingsChangedListener>
127 ArgumentCaptor.forClass(WifiSettingsConfigStore.OnSettingsChangedListener.class);
DWifiSettingsStoreTest.java82 @Mock private WifiSettingsConfigStore mWifiSettingsConfigStore;
DScanRequestProxyTest.java23 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_SCAN_THROTTLE_ENABLED;
94 @Mock private WifiSettingsConfigStore mWifiSettingsConfigStore;
DWifiNativeInterfaceManagementTest.java123 @Mock private WifiSettingsConfigStore mWifiSettingsConfigStore;
234 eq(WifiSettingsConfigStore.WIFI_NATIVE_SUPPORTED_FEATURES))) in setUp()
237 eq(WifiSettingsConfigStore.WIFI_NATIVE_SUPPORTED_STA_BANDS))) in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java22 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_AWARE_VERBOSE_LOGGING_ENABLED;
64 import com.android.server.wifi.WifiSettingsConfigStore;
124 WifiSettingsConfigStore settingsConfigStore, in start()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java60 import com.android.server.wifi.WifiSettingsConfigStore;
1074 WifiSettingsConfigStore configStore) { in updateCapabilityFromConfigStore()
1114 WifiSettingsConfigStore configStore) { in isIeee80211beEnabledInConfig()
1116 WifiSettingsConfigStore.WIFI_WIPHY_11BE_SUPPORTED); in isIeee80211beEnabledInConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java22 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_AWARE_VERBOSE_LOGGING_ENABLED;
77 import com.android.server.wifi.WifiSettingsConfigStore;
130 @Mock private WifiSettingsConfigStore mWifiSettingsConfigStore;
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java26 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_VERBOSE_LOGGING_ENABLED;
74 import com.android.server.wifi.WifiSettingsConfigStore;
311 WifiSettingsConfigStore settingsConfigStore, HalDeviceManager halDeviceManager) { in start()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImplTest.java83 import com.android.server.wifi.WifiSettingsConfigStore;
113 private @Mock WifiSettingsConfigStore mWifiSettingsConfigStore;
1480 .get(eq(WifiSettingsConfigStore.SUPPLICANT_HAL_AIDL_SERVICE_VERSION))) in setCachedServiceVersion()
2692 WifiSettingsConfigStore mockConfigStore = mock(WifiSettingsConfigStore.class); in testGetSupportedFeatures()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java66 import com.android.server.wifi.WifiSettingsConfigStore;
173 @Mock WifiSettingsConfigStore mConfigStore;
202 WifiSettingsConfigStore.WIFI_WIPHY_11BE_SUPPORTED)).thenReturn(false); in setUp()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java24 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_VERBOSE_LOGGING_ENABLED;
88 import com.android.server.wifi.WifiSettingsConfigStore;
180 WifiSettingsConfigStore mWifiSettingsConfigStore;
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java24 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED;
25 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_P2P_DEVICE_ADDRESS;
26 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_P2P_DEVICE_NAME;
27 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_P2P_PENDING_FACTORY_RESET;
28 import static com.android.server.wifi.WifiSettingsConfigStore.WIFI_VERBOSE_LOGGING_ENABLED;
135 import com.android.server.wifi.WifiSettingsConfigStore;
238 private final WifiSettingsConfigStore mSettingsConfigStore;
681 implements WifiSettingsConfigStore.OnSettingsChangedListener<Boolean> {
683 public void onSettingsChanged(@NonNull WifiSettingsConfigStore.Key<Boolean> key, in onSettingsChanged()
DSupplicantP2pIfaceHalAidlImpl.java60 import com.android.server.wifi.WifiSettingsConfigStore;
2594 WifiSettingsConfigStore.SUPPLICANT_HAL_AIDL_SERVICE_VERSION); in getCachedServiceVersion()

12