Home
last modified time | relevance | path

Searched refs:specifier2 (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSpecifierTest.java717 WifiNetworkSpecifier specifier2 = in testWifiNetworkSpecifierSatisfiesSame() local
724 assertTrue(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierSatisfiesSame()
748 WifiNetworkSpecifier specifier2 = in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent() local
755 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent()
777 WifiNetworkSpecifier specifier2 = in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent() local
784 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent()
806 WifiNetworkSpecifier specifier2 = in testWifiNetworkSpecifierDoesNotSatisfyWhenBssidDifferent() local
813 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenBssidDifferent()
832 WifiNetworkSpecifier specifier2 = in testWifiNetworkSpecifierBandMatching() local
840 assertTrue(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierBandMatching()
[all …]
DWifiNetworkAgentSpecifierTest.java77 WifiNetworkAgentSpecifier specifier2 = createDefaultNetworkAgentSpecifier(); in testWifiNetworkAgentSpecifierEqualsSame() local
79 assertTrue(specifier2.equals(specifier1)); in testWifiNetworkAgentSpecifierEqualsSame()
97 WifiNetworkAgentSpecifier specifier2 = in testWifiNetworkAgentSpecifierDoesNotEqualsWhenKeyMgmtDifferent() local
101 assertFalse(specifier2.equals(specifier1)); in testWifiNetworkAgentSpecifierDoesNotEqualsWhenKeyMgmtDifferent()
119 WifiNetworkAgentSpecifier specifier2 = in testWifiNetworkAgentSpecifierDoesNotSatisifyWhenSsidDifferent() local
123 assertFalse(specifier2.equals(specifier1)); in testWifiNetworkAgentSpecifierDoesNotSatisifyWhenSsidDifferent()
141 WifiNetworkAgentSpecifier specifier2 = in testWifiNetworkAgentSpecifierDoesNotSatisifyWhenBssidDifferent() local
145 assertFalse(specifier2.equals(specifier1)); in testWifiNetworkAgentSpecifierDoesNotSatisifyWhenBssidDifferent()
171 WifiNetworkAgentSpecifier specifier2 = createDefaultNetworkAgentSpecifier(); in testWifiNetworkAgentSpecifierDoesSatisifySame() local
173 assertTrue(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkAgentSpecifierDoesSatisifySame()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt217 val specifier2 = CompatUtil.makeTestNetworkSpecifier("TEST-SPECIFIER-2") in <lambda>() constant
226 .setNetworkSpecifier(specifier2).build() in <lambda>()
228 .setNetworkSpecifier(specifier2).build() in <lambda>()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt238 val specifier2 = TelephonyNetworkSpecifier(TEST_SUBID2) in <lambda>() constant
245 setNetworkSpecifier(specifier2) in <lambda>()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java222 final LocalNetworkSpecifier specifier2 = new LocalNetworkSpecifier(5678 /* id */); in testCanBeSatisfiedBy() local
248 .setNetworkSpecifier(specifier2); in testCanBeSatisfiedBy()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java2691 WifiNetworkSpecifier specifier2 = in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess() local
2715 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess()
2746 WifiNetworkSpecifier specifier2 = in testHandleNewNetworkRequestWithSpecifierWhichUserRejectedAfterConnectionSuccess() local
2772 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleNewNetworkRequestWithSpecifierWhichUserRejectedAfterConnectionSuccess()