Home
last modified time | relevance | path

Searched refs:SoftApConfiguration (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/wifi/
DSoftApConfiguration.java52 public final class SoftApConfiguration implements Parcelable { class
70 private SoftApConfiguration( in SoftApConfiguration() method in SoftApConfiguration
82 if (!(otherObj instanceof SoftApConfiguration)) { in equals()
85 SoftApConfiguration other = (SoftApConfiguration) otherObj; in equals()
109 public static final Creator<SoftApConfiguration> CREATOR = new Creator<SoftApConfiguration>() {
111 public SoftApConfiguration createFromParcel(Parcel in) {
112 return new SoftApConfiguration(
119 public SoftApConfiguration[] newArray(int size) {
120 return new SoftApConfiguration[size];
163 public Builder(@NonNull SoftApConfiguration other) { in Builder()
[all …]
DTvWifiManager.java19 import static android.net.wifi.SoftApConfiguration.SECURITY_TYPE_WPA2_PSK;
64 public void startLocalOnlyHotspot(@NonNull SoftApConfiguration config, in startLocalOnlyHotspot()
67 android.net.wifi.SoftApConfiguration.Builder frameworkConfig = in startLocalOnlyHotspot()
68 new android.net.wifi.SoftApConfiguration.Builder() in startLocalOnlyHotspot()
74 android.net.wifi.SoftApConfiguration.RANDOMIZATION_NONE); in startLocalOnlyHotspot()
/frameworks/base/wifi/tests/src/android/net/wifi/
DSoftApConfToXmlMigrationUtilTest.java42 private static final int TEST_BAND = SoftApConfiguration.BAND_5GHZ;
43 private static final int TEST_SECURITY = SoftApConfiguration.SECURITY_TYPE_WPA2_PSK;
85 private SoftApConfiguration setupApConfig( in setupApConfig()
88 SoftApConfiguration.Builder configBuilder = new SoftApConfiguration.Builder(); in setupApConfig()
90 configBuilder.setPassphrase(preSharedKey, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in setupApConfig()
122 WifiConfiguration backup, SoftApConfiguration restore) { in assertWifiConfigurationEqualSoftApConfiguration()
131 assertEquals(SoftApConfiguration.SECURITY_TYPE_WPA2_PSK, restore.getSecurityType()); in assertWifiConfigurationEqualSoftApConfiguration()
133 assertEquals(SoftApConfiguration.SECURITY_TYPE_OPEN, restore.getSecurityType()); in assertWifiConfigurationEqualSoftApConfiguration()
177 SoftApConfiguration expectedConfig = setupApConfig( in testConversion()
180 SoftApConfiguration.SECURITY_TYPE_WPA2_PSK, /* security type */ in testConversion()
[all …]
/frameworks/opt/tv/tvsystem/api/
Dsystem-current.txt24 public final class SoftApConfiguration implements android.os.Parcelable {
30 … android.os.Parcelable.Creator<com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration> CREATOR;
33 public static final class SoftApConfiguration.Builder {
34 ctor public SoftApConfiguration.Builder();
35 …ctor public SoftApConfiguration.Builder(@NonNull com.android.libraries.tv.tvsystem.wifi.SoftApConf…
36 method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration build();
37 …method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setBssid…
38 …method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setSsid(…
39 …method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setWpa2P…
44 …rtLocalOnlyHotspot(@NonNull com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration, @Nullable …
/frameworks/base/wifi/java/src/android/net/wifi/
DSoftApConfToXmlMigrationUtil.java97 return SoftApConfiguration.BAND_2GHZ; in convertWifiConfigBandToSoftApConfigBand()
99 return SoftApConfiguration.BAND_5GHZ; in convertWifiConfigBandToSoftApConfigBand()
101 return SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_5GHZ; in convertWifiConfigBandToSoftApConfigBand()
103 return SoftApConfiguration.BAND_2GHZ; in convertWifiConfigBandToSoftApConfigBand()
111 private static SoftApConfiguration loadFromLegacyFile(InputStream fis) { in loadFromLegacyFile()
112 SoftApConfiguration config = null; in loadFromLegacyFile()
115 SoftApConfiguration.Builder configBuilder = new SoftApConfiguration.Builder(); in loadFromLegacyFile()
142 SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in loadFromLegacyFile()
185 private static byte[] convertConfToXml(SoftApConfiguration softApConf) { in convertConfToXml()
206 if (softApConf.getSecurityType() != SoftApConfiguration.SECURITY_TYPE_OPEN) { in convertConfToXml()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java34 import android.net.wifi.SoftApConfiguration;
1201 SoftApConfiguration configInCloud = mWifiManager.restoreSoftApBackupData(data); in restoreSoftApConfiguration()
1205 SoftApConfiguration storedConfig = mWifiManager.getSoftApConfiguration(); in restoreSoftApConfiguration()
1215 private boolean isConfigurationHasChanged(SoftApConfiguration configInCloud, in isConfigurationHasChanged()
1216 SoftApConfiguration storedConfig) { in isConfigurationHasChanged()
1249 SoftApConfiguration.BAND_2GHZ), in isConfigurationHasChanged()
1250 storedConfig.getAllowedAcsChannels(SoftApConfiguration.BAND_2GHZ)) in isConfigurationHasChanged()
1252 SoftApConfiguration.BAND_5GHZ), in isConfigurationHasChanged()
1253 storedConfig.getAllowedAcsChannels(SoftApConfiguration.BAND_5GHZ)) in isConfigurationHasChanged()
1255 SoftApConfiguration.BAND_6GHZ), in isConfigurationHasChanged()
[all …]
/frameworks/base/api/
Djavadoc-lint-baseline35SoftApConfiguration.java:171: lint: Unresolved link/see tag "android.net.wifi.SoftApConfiguration.…
/frameworks/base/core/java/android/provider/
DSettings.java69 import android.net.wifi.SoftApConfiguration;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...