Home
last modified time | relevance | path

Searched refs:WifiNetworkSpecifier (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSpecifierTest.java66 NetworkSpecifier specifier = new WifiNetworkSpecifier.Builder() in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
70 assertTrue(specifier instanceof WifiNetworkSpecifier); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
71 WifiNetworkSpecifier wifiNetworkSpecifier = (WifiNetworkSpecifier) specifier; in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
90 NetworkSpecifier specifier = new WifiNetworkSpecifier.Builder() in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
96 assertTrue(specifier instanceof WifiNetworkSpecifier); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
97 WifiNetworkSpecifier wifiNetworkSpecifier = (WifiNetworkSpecifier) specifier; in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
122 NetworkSpecifier specifier = new WifiNetworkSpecifier.Builder() in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
129 assertTrue(specifier instanceof WifiNetworkSpecifier); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
130 WifiNetworkSpecifier wifiNetworkSpecifier = (WifiNetworkSpecifier) specifier; in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
160 NetworkSpecifier specifier = new WifiNetworkSpecifier.Builder() in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
[all …]
DWifiNetworkAgentSpecifierTest.java194 WifiNetworkSpecifier wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
223 WifiNetworkSpecifier wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
252 WifiNetworkSpecifier wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
284 WifiNetworkSpecifier wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern()
315 WifiNetworkSpecifier wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierBandMatching()
324 wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierBandMatching()
333 wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierBandMatching()
372 WifiNetworkSpecifier wifiNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierDual5GHZBandMatching()
377 WifiNetworkSpecifier wifi5GLowNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierDual5GHZBandMatching()
382 WifiNetworkSpecifier wifi5GHighNetworkSpecifier = new WifiNetworkSpecifier( in testWifiNetworkAgentSpecifierDual5GHZBandMatching()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DMultiInternetWifiNetworkFactory.java25 import android.net.wifi.WifiNetworkSpecifier;
71 public final WifiNetworkSpecifier networkRequestSpecifier;
77 WifiNetworkSpecifier specifier, in NetworkRequestState()
97 || !(networkRequest.getNetworkSpecifier() instanceof WifiNetworkSpecifier)) { in isWifiMultiInternetRequest()
100 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in isWifiMultiInternetRequest()
160 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in acceptRequest()
175 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in needNetworkFor()
183 new WifiNetworkSpecifier( in needNetworkFor()
219 final int band = ((WifiNetworkSpecifier) networkRequest.getNetworkSpecifier()).getBand(); in releaseNetworkFor()
DWifiNetworkFactory.java57 import android.net.wifi.WifiNetworkSpecifier;
170 @Nullable private WifiNetworkSpecifier mActiveSpecificNetworkRequestSpecifier;
174 @Nullable private WifiNetworkSpecifier mConnectedSpecificNetworkRequestSpecifier;
723 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in isRequestWithWifiNetworkSpecifierValid()
780 if (!(ns instanceof WifiNetworkSpecifier)) { in acceptRequest()
865 if (!(ns instanceof WifiNetworkSpecifier)) { in needNetworkFor()
904 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) ns; in needNetworkFor()
905 mActiveSpecificNetworkRequestSpecifier = new WifiNetworkSpecifier( in needNetworkFor()
965 if (!(ns instanceof WifiNetworkSpecifier)) { in releaseNetworkFor()
1578 WifiNetworkSpecifier wns = mActiveSpecificNetworkRequestSpecifier; in startPeriodicScans()
[all …]
DWifiConfigurationUtil.java31 import android.net.wifi.WifiNetworkSpecifier;
820 private static boolean isValidNetworkSpecifier(WifiNetworkSpecifier specifier) { in isValidNetworkSpecifier()
833 private static boolean isMatchNoneNetworkSpecifier(WifiNetworkSpecifier specifier) { in isMatchNoneNetworkSpecifier()
851 public static boolean isMatchAllNetworkSpecifier(WifiNetworkSpecifier specifier) { in isMatchAllNetworkSpecifier()
863 private static int getBand(WifiNetworkSpecifier s) { in getBand()
889 public static boolean validateNetworkSpecifier(WifiNetworkSpecifier specifier, in validateNetworkSpecifier()
903 if (!WifiNetworkSpecifier.validateBand(getBand(specifier))) { in validateNetworkSpecifier()
DWifiShellCommand.java74 import android.net.wifi.WifiNetworkSpecifier;
2515 WifiNetworkSpecifier.Builder specifierBuilder = in buildNetworkRequest()
2516 new WifiNetworkSpecifier.Builder(); in buildNetworkRequest()
DClientModeImpl.java94 import android.net.wifi.WifiNetworkSpecifier;
5171 int band = WifiNetworkSpecifier.getBand(mWifiInfo.getFrequency()); in createNetworkAgentSpecifier()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSpecifier.java65 public final class WifiNetworkSpecifier extends NetworkSpecifier implements Parcelable { class
660 public @NonNull WifiNetworkSpecifier build() { in build()
682 return new WifiNetworkSpecifier( in build()
723 public WifiNetworkSpecifier() throws IllegalAccessException { in WifiNetworkSpecifier() method in WifiNetworkSpecifier
728 public WifiNetworkSpecifier(@NonNull PatternMatcher ssidPatternMatcher, in WifiNetworkSpecifier() method in WifiNetworkSpecifier
759 public static final @NonNull Creator<WifiNetworkSpecifier> CREATOR =
760 new Creator<WifiNetworkSpecifier>() {
762 public WifiNetworkSpecifier createFromParcel(Parcel in) {
771 return new WifiNetworkSpecifier(ssidPatternMatcher, bssidPatternMatcher, band,
776 public WifiNetworkSpecifier[] newArray(int size) {
[all …]
DILocalOnlyConnectionStatusListener.aidl19 import android.net.wifi.WifiNetworkSpecifier;
28 void onConnectionStatus(in WifiNetworkSpecifier wifiNetworkSpecifier, int failureReason); in onConnectionStatus()
DWifiNetworkAgentSpecifier.java112 if (other instanceof WifiNetworkSpecifier) { in canBeSatisfiedBy()
113 return satisfiesNetworkSpecifier((WifiNetworkSpecifier) other); in canBeSatisfiedBy()
122 public boolean satisfiesNetworkSpecifier(@NonNull WifiNetworkSpecifier ns) { in satisfiesNetworkSpecifier()
DWifiManager.java9830 @NonNull WifiNetworkSpecifier wifiNetworkSpecifier, in onConnectionFailed()
9846 public void onConnectionStatus(@NonNull WifiNetworkSpecifier networkSpecifier, in onConnectionStatus()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMultiInternetWifiNetworkFactoryTest.java38 import android.net.wifi.WifiNetworkSpecifier;
95 final WifiNetworkSpecifier specifier2G = new WifiNetworkSpecifier.Builder() in setUp()
98 final WifiNetworkSpecifier specifier5G = new WifiNetworkSpecifier.Builder() in setUp()
142 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testIsWifiMultiInternetRequest()
150 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testIsWifiMultiInternetRequest()
160 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testIsWifiMultiInternetRequest()
203 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testMultiInternetHandleNetworkRequestFromSettingsWithBssid()
DWifiConfigurationUtilTest.java38 import android.net.wifi.WifiNetworkSpecifier;
766 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierPositiveCases_SsidPattern()
780 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierPositiveCases_BssidPattern()
794 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierPositiveCases_BothSsidPatternAndBssidPattern()
809 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierPositiveCases_SsidPatternAndBssidPatternAndBand()
824 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierNegativeCases_NoSsidBssid()
838 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierNegativeCases_MatchNoneSsidPattern()
852 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierNegativeCases_MatchNoneBssidPattern()
866 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierNegativeCases_InvalidBssidPattern()
880 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier( in testValidateNetworkSpecifierNegativeCases_NoSsidPatternForHiddenNetwork()
[all …]
DWifiNetworkFactoryTest.java82 import android.net.wifi.WifiNetworkSpecifier;
421 WifiNetworkSpecifier specifier = new WifiNetworkSpecifier.Builder() in testHandleAcceptNetworkRequestWithBand()
777 ((WifiNetworkSpecifier) mNetworkCapabilities.getNetworkSpecifier()) in testHandleNetworkRequestWithSpecifierForHiddenNetwork()
798 ((WifiNetworkSpecifier) mNetworkCapabilities.getNetworkSpecifier()) in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest()
1803 eq((WifiNetworkSpecifier) mNetworkRequest.getNetworkSpecifier()), in testNetworkSpecifierHandleConnectionFailure()
1838 eq((WifiNetworkSpecifier) mNetworkRequest.getNetworkSpecifier()), in testNetworkSpecifierHandleAuthFailure()
2516 WifiNetworkSpecifier specifier1 = in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2517 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2561 WifiNetworkSpecifier specifier1 = in testHandleNewNetworkRequestWithSpecifierAfterConnect()
2562 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterConnect()
[all …]
DWifiShellCommandTest.java57 import android.net.wifi.WifiNetworkSpecifier;
918 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
933 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
949 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
965 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
981 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
997 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
DClientModeImplTest.java138 import android.net.wifi.WifiNetworkSpecifier;
5867 new WifiNetworkSpecifier.Builder().setBand(ScanResult.WIFI_BAND_5_GHZ).build())); in verifyNetworkCapabilities()
/packages/modules/Connectivity/tests/unit/java/android/net/
DTelephonyNetworkSpecifierTest.java25 import android.net.wifi.WifiNetworkSpecifier;
102 final WifiNetworkSpecifier wns = new WifiNetworkSpecifier.Builder() in testCanBeSatisfiedBy()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java53 import android.net.wifi.WifiNetworkSpecifier;
163 final WifiNetworkSpecifier specifier = new WifiNetworkSpecifier.Builder() in testSpecifier()
555 private WifiNetworkSpecifier makeTestWifiSpecifier() { in makeTestWifiSpecifier()
556 return new WifiNetworkSpecifier.Builder() in makeTestWifiSpecifier()
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/
DWifiNetworkSpecifier.aidl19 parcelable WifiNetworkSpecifier;
/packages/modules/Connectivity/tests/cts/multidevices/snippet/
DConnectivityMultiDevicesSnippet.kt35 import android.net.wifi.WifiNetworkSpecifier
96 val specifier = WifiNetworkSpecifier.Builder() in connectToWifi()
/packages/modules/Wifi/framework/api/
Dcurrent.txt659 method public void onConnectionFailed(@NonNull android.net.wifi.WifiNetworkSpecifier, int);
720 …public final class WifiNetworkSpecifier extends android.net.NetworkSpecifier implements android.os…
725 …l public static final android.os.Parcelable.Creator<android.net.wifi.WifiNetworkSpecifier> CREATOR;
728 public static final class WifiNetworkSpecifier.Builder {
729 ctor public WifiNetworkSpecifier.Builder();
730 method @NonNull public android.net.wifi.WifiNetworkSpecifier build();
731 method @NonNull public android.net.wifi.WifiNetworkSpecifier.Builder setBand(int);
732 …method @NonNull public android.net.wifi.WifiNetworkSpecifier.Builder setBssid(@NonNull android.net…
733 …method @NonNull public android.net.wifi.WifiNetworkSpecifier.Builder setBssidPattern(@NonNull andr…
734 method @NonNull public android.net.wifi.WifiNetworkSpecifier.Builder setIsEnhancedOpen(boolean);
[all …]