Home
last modified time | relevance | path

Searched refs:isMacAddress (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java2767 assertTrue(mTestDevice.isMacAddress("00:00:00:00:00:00")); in testIsMacAddress()
2768 assertTrue(mTestDevice.isMacAddress("00:15:E9:2B:99:3C")); in testIsMacAddress()
2769 assertTrue(mTestDevice.isMacAddress("FF:FF:FF:FF:FF:FF")); in testIsMacAddress()
2770 assertTrue(mTestDevice.isMacAddress("58:a2:b5:7d:49:24")); in testIsMacAddress()
2776 assertFalse(mTestDevice.isMacAddress("")); in testIsMacAddress_invalidInput()
2777 assertFalse(mTestDevice.isMacAddress("00-15-E9-2B-99-3C")); // Invalid delimiter in testIsMacAddress_invalidInput()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java5730 boolean isMacAddress(String address) { in isMacAddress() method in NativeDevice
5762 if (isMacAddress(output)) { in getMacAddress()