Home
last modified time | relevance | path

Searched refs:SERIAL (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DAllocateDeviceOp.java28 private static final String SERIAL = "serial"; field in AllocateDeviceOp
43 return new AllocateDeviceOp(json.getString(SERIAL)); in createFromJson()
53 j.put(SERIAL, mDeviceSerial); in packIntoJson()
DFreeDeviceOp.java26 private static final String SERIAL = "serial"; field in FreeDeviceOp
44 return new FreeDeviceOp(json.getString(SERIAL)); in createFromJson()
54 j.put(SERIAL, mDeviceSerial); in packIntoJson()
DGetLastCommandResultOp.java35 private static final String SERIAL = "serial"; field in GetLastCommandResultOp
57 return new GetLastCommandResultOp(json.getString(SERIAL)); in createFromJson()
73 json.put(SERIAL, mSerial); in packIntoJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DReconnectingRecoveryTest.java30 private static final String SERIAL = "serial"; field in ReconnectingRecoveryTest
47 EasyMock.expect(mMockMonitor.getSerialNumber()).andStubReturn(SERIAL); in setUp()
125 return new String[] { EasyMock.eq("adb"), EasyMock.eq("disconnect"), EasyMock.eq(SERIAL) }; in disconnectCommand()
129 return new String[] { EasyMock.eq("adb"), EasyMock.eq("connect"), EasyMock.eq(SERIAL) }; in connectCommand()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApkSetupTest.java42 private static final String SERIAL = "SERIAL"; field in InstallApkSetupTest
56 EasyMock.expect(mMockTestDevice.getSerialNumber()).andStubReturn(SERIAL); in setUp()
141 SERIAL, testFile.getAbsolutePath()); in testInstallFailureThrow()
DAppSetupTest.java53 private static final String SERIAL = "serial"; field in AppSetupTest
63 EasyMock.expect(mMockDevice.getSerialNumber()).andStubReturn(SERIAL); in setUp()
111 tmpFile.getName(), SERIAL), expected.getMessage()); in testSetup_failToInstall()
341 assertEquals("Failed to uninstall apps on " + SERIAL, expected.getMessage()); in testSetup_uninstallAll_fails()
DTestAppInstallSetupTest.java43 private static final String SERIAL = "SERIAL"; field in TestAppInstallSetupTest
90 EasyMock.expect(mMockTestDevice.getSerialNumber()).andStubReturn(SERIAL); in setUp()
159 "fakeApk.apk", SERIAL, failure); in testInstallFailure()
DInstallAllTestZipAppsSetupTest.java44 private static final String SERIAL = "SERIAL"; field in InstallAllTestZipAppsSetupTest
77 EasyMock.expect(mMockTestDevice.getSerialNumber()).andStubReturn(SERIAL); in setUp()
191 file, SERIAL, failure); in testInstallFailure()
/tools/tradefederation/core/atest/
Dconstants_default.py34 SERIAL = 'SERIAL' variable
Datest.py409 extra_args[constants.SERIAL] = args.serial
/tools/tradefederation/core/atest/test_runners/
Dvts_tf_test_runner.py84 if constants.SERIAL == arg:
Datest_tf_test_runner.py131 if constants.SERIAL == arg:
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java110 private static final String SERIAL = "serial"; field in TestInvocationTest
198 EasyMock.expect(mMockDevice.getSerialNumber()).andStubReturn(SERIAL); in setUp()
205 mFakeDescriptor = new DeviceDescriptor(SERIAL, false, DeviceAllocationState.Available, in setUp()
461 DeviceNotAvailableException exception = new DeviceNotAvailableException("ERROR", SERIAL); in testInvoke_deviceNotAvail()
520 mMockBuildInfo.setDeviceSerial(SERIAL); in testInvoke_resume()
526 EasyMock.expectLastCall().andThrow(new DeviceNotAvailableException("ERROR", SERIAL)); in testInvoke_resume()
591 mMockBuildInfo.setDeviceSerial(SERIAL); in testInvoke_resume()
717 DeviceNotAvailableException exception = new DeviceNotAvailableException("ERROR", SERIAL); in testInvoke_tearDown_deviceNotAvail()
1010 mMockBuildInfo.setDeviceSerial(SERIAL); in testInvoke_testtag()
1041 mMockBuildInfo.setDeviceSerial(SERIAL); in testInvoke_testtag_notset()
[all …]