Home
last modified time | relevance | path

Searched refs:MacAddress (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/p2p/cts/
DWifiP2pConfigTest.java26 import android.net.MacAddress;
54 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigCopyConstructor()
75 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForPersist()
89 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForNonPersist()
103 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForGroupClientIpProvisioningModeDefault()
117 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForGroupClientIpProvisioningModeIpv4Dhcp()
132 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderForGroupClientIpProvisioningModeIpv6LinkLocal()
145 .setDeviceAddress(MacAddress.fromString("aa:bb:cc:dd:ee:ff")) in testWifiP2pConfigBuilderForIpv6LinkLocalNotSupportedBelowTiramisu()
153 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderWithJoinExistingGroupSet()
168 .setDeviceAddress(MacAddress.fromString(TEST_DEVICE_ADDRESS)) in testWifiP2pConfigBuilderWithVendorData()
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DNativeWifiClientTest.java24 import android.net.MacAddress;
52 NativeWifiClient client = new NativeWifiClient(MacAddress.fromBytes(TEST_MAC)); in testGetters()
59 NativeWifiClient client = new NativeWifiClient(MacAddress.fromBytes(TEST_MAC)); in canSerializeAndDeserialize()
74 NativeWifiClient client = new NativeWifiClient(MacAddress.fromBytes(TEST_MAC)); in testEquals()
76 new NativeWifiClient(MacAddress.fromBytes(new byte[] { 7, 8, 9, 10, 11, 12 })); in testEquals()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DConstants.kt10 import android.net.MacAddress
49 val MAC_ADDRESS_A = MacAddress.fromString("00:00:00:00:00:AA")
50 val MAC_ADDRESS_B = MacAddress.fromString("00:00:00:00:00:BB")
51 val MAC_ADDRESS_C = MacAddress.fromString("00:00:00:00:00:CC")
DAppHelper.kt20 import android.net.MacAddress
29 fun associate(macAddress: MacAddress, role: String = "") = in associate()
32 fun disassociate(macAddress: MacAddress) = in associate()
DTestBase.kt30 import android.net.MacAddress
257 expected: Set<Pair<String, MacAddress?>> in assertAssociations()
405 fun MacAddress.toUpperCaseString() = toString().uppercase(Locale.ROOT) in setSystemProp() method
423 macAddress: MacAddress, in getAssociationForPackage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkRequestTestCase.java29 import android.net.MacAddress;
94 configBuilder.setBssid(MacAddress.fromString(scanResult.BSSID)); in createNetworkSpecifier()
105 MacAddress bssidMask = MacAddress.fromString("ff:ff:ff:ff:ff:00"); in createNetworkSpecifier()
108 configBuilder.setBssidPattern(MacAddress.fromString(scanResult.BSSID), bssidMask); in createNetworkSpecifier()
119 MacAddress bssid = MacAddress.fromString(UNAVAILABLE_BSSID); in createNetworkSpecifier()
137 configBuilder.setBssid(MacAddress.fromString(scanResult.BSSID)); in createNetworkSpecifier()
DNetworkSuggestionTestCase.java32 import android.net.MacAddress;
114 mNetworkSuggestionBuilder.setBssid(MacAddress.fromString(scanResult.BSSID)); in createNetworkSuggestion()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDiscoveryBaseTestCase.java20 import android.net.MacAddress;
78 protected MacAddress mMyMacAddress;
79 protected MacAddress mPeerMacAddress;
129 mMyMacAddress = MacAddress.fromBytes(mac); in executeAttach()
212 mPeerMacAddress = MacAddress.fromBytes(callbackData.serviceSpecificInfo); in executeSubscribe()
331 mPeerMacAddress = MacAddress.fromBytes(callbackData.serviceSpecificInfo); in executePublish()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DDisassociateTest.kt28 import android.net.MacAddress
145 macAddress: MacAddress in CompanionDeviceManager()
DBackupAndRestoreTest.kt27 import android.net.MacAddress in <lambda>()
206 private fun assertAssociationsAddedFor(app: AppHelper, macAddress: MacAddress) = waitFor { in <lambda>()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiNetworkSpecifierTest.java30 import android.net.MacAddress;
382 .setBssidPattern(MacAddress.fromString(sTestNetwork.BSSID), in testConnectionWithBssidPattern()
383 MacAddress.fromString("ff:ff:ff:00:00:00")) in testConnectionWithBssidPattern()
575 .setBssidPattern(MacAddress.fromString(sTestNetwork.BSSID), in testRedact()
576 MacAddress.fromString("ff:ff:ff:00:00:00")) in testRedact()
DConcurrencyTest.java41 import android.net.MacAddress;
141 public MacAddress targetPeer;
922 MacAddress peerMacAddress = MacAddress.fromString(mTestWifiP2pPeerConfig.deviceAddress); in testRemoveClient()
1146 .setDeviceAddress(MacAddress.fromString("aa:bb:cc:dd:ee:ff")) in testP2pConnectDoesNotThrowExceptionWhenGroupOwnerIpv6IsNotProvided()
1165 .setDeviceAddress(MacAddress.fromString("aa:bb:cc:dd:ee:ff")) in testP2pConnectDoesNotThrowExceptionWithVendorData()
1224 final MacAddress peer = MacAddress.fromString("11:22:33:44:55:66"); in testP2pExternalApprover()
1228 public void onAttached(MacAddress deviceAddress) { in testP2pExternalApprover()
1237 public void onDetached(MacAddress deviceAddress, int reason) { in testP2pExternalApprover()
1251 public void onPinGenerated(MacAddress deviceAddress, String pin) { in testP2pExternalApprover()
DTestHelper.java43 import android.net.MacAddress;
285 .setBssid(MacAddress.fromString(network.BSSID)); in createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid()
345 .setBssid(MacAddress.fromString(network.BSSID)); in createSpecifierBuilderWithCredentialFromSavedNetworkWithBssid()
DWifiNetworkSuggestionTest.java42 import android.net.MacAddress;
710 builder.setBssid(MacAddress.fromString(TEST_BSSID)); in createBuilderWithCommonParams()
DWifiManagerTest.java60 import android.net.MacAddress;
250 private static final MacAddress TEST_MAC = MacAddress.fromString(TEST_MAC_ADDRESS);
885 MacAddress lastBlockedClientMacAddress;
996 public MacAddress getLastBlockedClientMacAddress() { in getLastBlockedClientMacAddress()
3704 MacAddress mac = MacAddress.fromString(macAddresses[0]); in testGetFactoryMacAddresses()
6033 network.setBssidAllowlist(List.of(MacAddress.fromString(connectedBssid))); in testBssidAllowlist()
6036 network.setBssidAllowlist(List.of(MacAddress.fromString(TEST_BSSID))); in testBssidAllowlist()
7421 new Consumer<List<MacAddress>>() { in testGetBssidBlocklist()
7423 public void accept(List<MacAddress> value) { in testGetBssidBlocklist()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DWifiRttTest.java32 import android.net.MacAddress;
94 private static final MacAddress MAC = MacAddress.fromString("00:01:02:03:04:05");
153 .setMacAddress(MacAddress.fromString(testAp.BSSID)) in testRangingToTest11mcApUsingResponderConfig()
1019 .setMacAddress(MacAddress.fromString("00:11:22:33:44:55")) in testRangingResultBuilder()
1043 assertEquals(MacAddress.fromString("00:11:22:33:44:55"), rangingResult.getMacAddress()); in testRangingResultBuilder()
1159 .setMacAddress(MacAddress.fromString(testAp.BSSID)) in testRangingToTest11azApUsingResponderConfig()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java40 import android.net.MacAddress;
271 private MacAddress mClusterId = null;
281 public void onClusterIdChanged(int clusterEventType, MacAddress clusterId) { in onClusterIdChanged()
323 MacAddress getClusterId() { in getClusterId()
856 MacAddress clusterId = identityL.getClusterId(); in testAttachDiscoveryAddressChanges()
1604 MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testDataPathOpenOutOfBandFail()
1639 MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testDataPathPassphraseOutOfBandFail()
1674 MacAddress mac = MacAddress.fromString("00:01:02:03:04:05"); in testDataPathPmkOutOfBandFail()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt51 import android.net.MacAddress in <lambda>()
289 assertEquals(actual = MacAddress.fromString(deviceMacAddress), in <lambda>()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dwifi-current.txt24 method @Nullable public android.net.MacAddress getApMacAddress();
30 method @Nullable public android.net.MacAddress getStaMacAddress();
49 method @Nullable public android.net.MacAddress getApMldMacAddress();
110 method @Nullable public android.net.MacAddress getBssid();
167 method @Deprecated @NonNull public android.net.MacAddress getRandomizedMacAddress();
376 method @Nullable public android.net.MacAddress getApMldMacAddress();
731 …ull public android.net.wifi.WifiNetworkSpecifier.Builder setBssid(@NonNull android.net.MacAddress);
732 …Specifier.Builder setBssidPattern(@NonNull android.net.MacAddress, @NonNull android.net.MacAddress
748 method @Nullable public android.net.MacAddress getBssid();
779 …ll public android.net.wifi.WifiNetworkSuggestion.Builder setBssid(@NonNull android.net.MacAddress);
[all …]
Dtest-current.txt899 …ic android.companion.AssociationInfo.Builder setDeviceMacAddress(@Nullable android.net.MacAddress);
Dsystem-current.txt3417 …N_DEVICES) public void associate(@NonNull String, @NonNull android.net.MacAddress, @NonNull byte[]…
3420 …eviceAssociatedForWifiConnection(@NonNull String, @NonNull android.net.MacAddress, @NonNull androi…
10063 method @Nullable public android.net.MacAddress getBssid();
10095 ctor public NativeWifiClient(@Nullable android.net.MacAddress);
10097 method @Nullable public android.net.MacAddress getMacAddress();
Dcurrent.txt9718 method @Nullable public android.net.MacAddress getDeviceMacAddress();
9892 …onNull public android.companion.WifiDeviceFilter.Builder setBssid(@NonNull android.net.MacAddress);
9893 …ll public android.companion.WifiDeviceFilter.Builder setBssidMask(@NonNull android.net.MacAddress);
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/
DMockWifiTest.java38 import android.net.MacAddress;
539 && MacAddress.fromString(scanResults.get(0).BSSID).equals( in testZeroLengthSubElementIEOnMockWifi()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DSensitiveNotificationRedactionTest.kt41 import android.net.MacAddress
359 val macAddress = MacAddress.fromString("00:00:00:00:00:AA") in testListenerWithCdmAssociationGetsUnredacted()