Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DMacAddressTest.java49 final boolean isLocallyAssigned; field in MacAddressTest.TestCase
51 TestCase(String macAddress, String ouiString, int addressType, boolean isLocallyAssigned) { in TestCase() argument
55 this.isLocallyAssigned = isLocallyAssigned; in TestCase()
75 static String localAssignedToString(boolean isLocallyAssigned) { in localAssignedToString() argument
76 return isLocallyAssigned ? "LOCALLY_ASSIGNED" : "GLOBALLY_UNIQUE"; in localAssignedToString()
99 if (tc.isLocallyAssigned != mac.isLocallyAssigned()) { in testMacAddress()
101 localAssignedToString(tc.isLocallyAssigned), in testMacAddress()
102 localAssignedToString(mac.isLocallyAssigned()))); in testMacAddress()
/packages/modules/Connectivity/tests/unit/java/android/net/
DMacAddressTest.java153 assertTrue(msg, mac.isLocallyAssigned()); in testIsLocallyAssignedAddress()
157 assertFalse(msg, mac.isLocallyAssigned()); in testIsLocallyAssignedAddress()
187 mac.isLocallyAssigned()); in testMacAddressRandomGeneration()
201 mac.isLocallyAssigned()); in testMacAddressRandomGeneration()
212 mac.isLocallyAssigned()); in testMacAddressRandomGeneration()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DMacAddressUtilsTest.java72 mac.isLocallyAssigned()); in testMacAddressRandomGeneration()
/packages/modules/Connectivity/framework/src/android/net/
DMacAddress.java123 public boolean isLocallyAssigned() { in isLocallyAssigned() method in MacAddress
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java1955 return mac != null && !MacAddressUtils.isMulticastAddress(mac) && mac.isLocallyAssigned() in isValidMacAddressForRandomization()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt279 method public boolean isLocallyAssigned();