Home
last modified time | relevance | path

Searched refs:setSSID (Results 1 – 18 of 18) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt241 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedNotification_WithSsid()
261 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedVenueInfoNotification()
281 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedVenueInfoNotification_VenueInfoDisabled()
297 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testVenueInfoNotification()
362 val capabilities = NetworkCapabilities(VALIDATED_CAPABILITIES).setSSID(TEST_SSID) in testConnectedVenueInfoWithFriendlyNameNotification()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkStateSnapshotTest.kt57 setSSID(TEST_SSID) in <lambda>()
DNetworkCapabilitiesTest.java390 netCap.setSSID(TEST_SSID); in testParcelNetworkCapabilities()
403 netCap.setSSID(TEST_SSID); in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()
416 .setSSID(TEST_SSID) in createNetworkCapabilitiesWithTransportInfo()
626 nc1.setSSID(TEST_SSID); in testSSID()
628 nc2.setSSID("different " + TEST_SSID); in testSSID()
852 nc1.setSSID(TEST_SSID); in testSet()
863 nc1.setSSID(DIFFERENT_TEST_SSID); in testSet()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java148 info.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in makeWifiInfoForRedactionTest()
688 info1.setSSID(WifiSsid.fromBytes(null)); in testWifiInfoEquals()
691 info2.setSSID(WifiSsid.fromBytes(null)); in testWifiInfoEquals()
756 info1.setSSID(WifiSsid.fromBytes(null)); in testWifiInfoHashcode()
759 info2.setSSID(WifiSsid.fromBytes(null)); in testWifiInfoHashcode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java145 mWifiInfo.setSSID(TEST_SSID_1); in setUp()
216 mWifiInfo.setSSID(TEST_SSID_1); in testUpdate()
240 mWifiInfo.setSSID(TEST_SSID_1); in testBssidBlocklistStreakOperations()
265 mWifiInfo.setSSID(TEST_SSID_1); in testClearBssidBlocklistStreakForSsid()
276 mWifiInfo.setSSID(TEST_SSID_2); in testClearBssidBlocklistStreakForSsid()
293 mWifiInfo.setSSID(TEST_SSID_1); in testClearBssidBlocklistStreakForSsid()
304 mWifiInfo.setSSID(TEST_SSID_1); in testSetBssidConnectionTimestampMs()
320 mWifiInfo.setSSID(TEST_SSID_1); in testIdentifiers()
1069 mWifiInfo.setSSID(TEST_SSID_2); in testNetworkSwitchWithOverlapping()
DMultiInternetManagerTest.java149 mPrimaryInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID1)); in setUp()
155 mSecondaryInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID2)); in setUp()
DWifiHealthMonitorTest.java160 mWifiInfo.setSSID(TEST_SSID_1); in setUp()
166 mWifiInfo.setSSID(TEST_SSID_2); in setUp()
DWifiConnectivityManagerTest.java1497 wifiInfo.setSSID(WifiSsid.fromString(configuration.SSID)); in mockClientManagerInfo()
2769 mWifiInfo.setSSID(WifiSsid.fromUtf8Text(CANDIDATE_SSID)); in wifiConnected_openNetworkNotifierHandlesConnection()
DWifiServiceImplTest.java2996 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in setupForGetConnectionInfo()
11282 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in testNotifyWifiSsidPolicyChangedWithAllowlistRestriction()
11310 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in testNotifyWifiSsidPolicyChangedWithDenylistRestriction()
11363 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in testNotifyWifiSsidPolicyChangedWithSsidRestrictionForOsu()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java78 shadowWifiInfo.setSSID(ssid); in connect()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java524 setSSID(null); in reset()
669 mWifiInfo.setSSID(WifiSsid.fromBytes(ssid)); in setSsid()
777 public void setSSID(WifiSsid wifiSsid) { in setSSID() method in WifiInfo
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java2201 public @NonNull NetworkCapabilities setSSID(@Nullable String ssid) { in setSSID() method in NetworkCapabilities
3253 mCaps.setSSID(ssid); in setSsid()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java125 WIFI_CAPABILITIES.setSSID(TEST_SSID);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java1092 mWifiInfoNoReset.setSSID(mWifiInfo.getWifiSsid()); in startConnectedNetworkScorer()
DClientModeImpl.java3227 mWifiInfo.setSSID(stateChangeResult.wifiSsid); in handleSupplicantStateChange()
3247 mWifiInfo.setSSID(null); in handleSupplicantStateChange()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt652 Landroid/net/NetworkCapabilities;->setSSID(Ljava/lang/String;)Landroid/net/NetworkCapabilities;
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1721 Landroid/net/wifi/WifiInfo;->setSSID(Landroid/net/wifi/WifiSsid;)V
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2897 newNc.setSSID(null);