Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java2743 assertTrue(mTestDevice.isMacAddress("00:00:00:00:00:00")); in testIsMacAddress()
2744 assertTrue(mTestDevice.isMacAddress("00:15:E9:2B:99:3C")); in testIsMacAddress()
2745 assertTrue(mTestDevice.isMacAddress("FF:FF:FF:FF:FF:FF")); in testIsMacAddress()
2746 assertTrue(mTestDevice.isMacAddress("58:a2:b5:7d:49:24")); in testIsMacAddress()
2752 assertFalse(mTestDevice.isMacAddress("")); in testIsMacAddress_invalidInput()
2753 assertFalse(mTestDevice.isMacAddress("00-15-E9-2B-99-3C")); // Invalid delimiter in testIsMacAddress_invalidInput()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java4781 boolean isMacAddress(String address) { in isMacAddress() method in NativeDevice
4809 if (isMacAddress(output)) { in getMacAddress()