Home
last modified time | relevance | path

Searched refs:getSerialNumber (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DUsbHelper.java109 String serialNumber = device.getSerialNumber(); in getSerialNumbers()
132 if (serialNumber.equals(device.getSerialNumber())) { in getDevice()
DUsbDevice.java96 public String getSerialNumber() { in getSerialNumber() method in UsbDevice
DAoaDevice.java102 mSerialNumber = mDelegate.getSerialNumber(); in initialize()
170 public String getSerialNumber() { in getSerialNumber() method in AoaDevice
/platform_testing/libraries/aoa-helper/tests/src/com/android/helper/aoa/
DUsbHelperTest.java85 when(mDevice.getSerialNumber()).thenReturn(SERIAL_NUMBER); in setUp()
150 when(mDevice.getSerialNumber()).thenReturn(null); in testGetDevice_invalid()
DAoaDeviceTest.java92 when(mDelegate.getSerialNumber()).thenReturn(SERIAL_NUMBER); in setUp()
169 when(mDelegate.getSerialNumber()).thenReturn(null); in testThrowsIfSerialNumberMissing()
176 assertEquals(SERIAL_NUMBER, mDevice.getSerialNumber()); in testGetSerialNumber()