Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/device/recovery/
DUsbResetMultiDeviceRecoveryTest.java51 private static final String SERIAL = "SERIAL"; field in UsbResetMultiDeviceRecoveryTest
62 when(mDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
87 when(mDevice.getIDevice()).thenReturn(new StubDevice(SERIAL)); in testRecover_stub()
97 when(mUsb.getSerialNumbers(anyBoolean())).thenReturn(Sets.newHashSet(SERIAL)); in testRecover_available()
103 verify(mUsb.getDevice(SERIAL), never()).reset(); in testRecover_available()
110 when(mUsb.getSerialNumbers(anyBoolean())).thenReturn(Sets.newHashSet(SERIAL)); in testRecover_unavailable()
116 verify(mUsb.getDevice(SERIAL), times(1)).reset(); in testRecover_unavailable()
123 when(mFastboot.getDevices()).thenReturn(Sets.newHashSet(SERIAL)); in testRecover_fastboot_allocated()
124 when(mDevice.getIDevice()).thenReturn(new FastbootDevice(SERIAL)); in testRecover_fastboot_allocated()
130 verify(mUsb.getDevice(SERIAL), never()).reset(); in testRecover_fastboot_allocated()
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/hvpm/
Dmonsoon_test.py36 SERIAL = 534147 variable in BaseMonsoonTest
66 monsoon = Monsoon(self.SERIAL)
81 monsoon = Monsoon(self.SERIAL)
96 monsoon = Monsoon(self.SERIAL)
110 monsoon = Monsoon(self.SERIAL)
125 monsoon = Monsoon(self.SERIAL)
138 monsoon = Monsoon(self.SERIAL)
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_test.py37 SERIAL = 534147 variable in BaseMonsoonTest
62 monsoon = Monsoon(self.SERIAL)
77 monsoon = Monsoon(self.SERIAL)
91 monsoon = Monsoon(self.SERIAL)
106 monsoon = Monsoon(self.SERIAL)
119 monsoon = Monsoon(self.SERIAL)
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDeviceActionTargetPreparerTest.java63 private static final String SERIAL = "serial"; field in DeviceActionTargetPreparerTest
82 context.addAllocatedDevice(SERIAL, mockDevice); in setUp()
84 when(mockDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
106 .execute(DeviceActionUtil.Command.RESET, SERIAL, ImmutableList.of()); in setUp_resetSuccess()
124 eq(SERIAL), in setUp_installMainlineModules()
153 eq(SERIAL), in setUp_installApksZips()
180 SERIAL, in setUp_installTrainFolder()
DAllTestAppsInstallSetupTest.java34 private static final String SERIAL = "SERIAL"; field in AllTestAppsInstallSetupTest
47 when(mMockTestDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
177 "Failed to install %s on %s. Reason: '%s'", file, SERIAL, failure); in testInstallFailure()
DInstallApkSetupTest.java46 private static final String SERIAL = "SERIAL"; field in InstallApkSetupTest
61 when(mMockTestDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
179 testFile.getAbsolutePath(), SERIAL, testFile.getAbsolutePath()); in testInstallFailureThrow()
DAppSetupTest.java58 private static final String SERIAL = "serial"; field in AppSetupTest
71 when(mMockDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
117 tmpFile.getName(), SERIAL), in testSetup_failToInstall()
384 assertEquals("Failed to uninstall apps on " + SERIAL, expected.getMessage()); in testSetup_uninstallAll_fails()
DInstallAllTestZipAppsSetupTest.java50 private static final String SERIAL = "SERIAL"; field in InstallAllTestZipAppsSetupTest
84 when(mMockTestDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
216 "Failed to install %s on %s. Reason: '%s'", file, SERIAL, failure); in testInstallFailure()
DTestAppInstallSetupTest.java77 private static final String SERIAL = "SERIAL"; field in TestAppInstallSetupTest
153 when(mMockTestDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
532 assertThat(e).hasMessageThat().contains(SERIAL); in testInstallFailure()
850 when(mMockTestDevice.getSerialNumber()).thenReturn(SERIAL); in testResolveApkFiles_checkMinSdk_apiLow()
882 when(mMockTestDevice.getSerialNumber()).thenReturn(SERIAL); in testResolveApkFiles_checkMinSdk_apiOk()
DModulePusherTest.java82 private static final String SERIAL = "serial"; field in ModulePusherTest
105 when(mMockDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
DInstallApexModuleTargetPreparerTest.java71 private static final String SERIAL = "serial"; field in InstallApexModuleTargetPreparerTest
133 when(mMockDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DDeviceActionUtilTest.java41 private static final String SERIAL = "serial"; field in DeviceActionUtilTest
88 SERIAL, in execute_installMainline()
126 mDeviceActionUtil.execute(DeviceActionUtil.Command.RESET, SERIAL, ImmutableList.of()); in execute_reset()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationTest.java129 private static final String SERIAL = "serial"; field in TestInvocationTest
245 lenient().when(mMockDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
251 SERIAL, in setUp()
447 verify(mMockBuildInfo).setDeviceSerial(Mockito.eq(SERIAL)); in verifyNormalInvoke()
496 verify(mMockBuildInfo).setDeviceSerial(Mockito.eq(SERIAL)); in verifyInvokeWithBuild()
576 TestInvocation.BUILD_ERROR_BUGREPORT_NAME + "_" + SERIAL), in stubMockListeners()
1270 DeviceNotAvailableException exception = new DeviceNotAvailableException("ERROR", SERIAL); in testInvoke_deviceNotAvail()
1388 DeviceNotAvailableException exception = new DeviceNotAvailableException("ERROR", SERIAL); in testInvoke_tearDown_deviceNotAvail()
/tools/asuite/atest/test_runners/
Dvts_tf_test_runner.py96 if constants.SERIAL == arg:
Dsuite_plan_test_runner.py117 if constants.SERIAL == arg:
Datest_tf_test_runner_unittest.py645 [], {constants.SERIAL: [arg_device_serial]}
1354 extra_args = {constants.SERIAL: ['device1']}
1361 extra_args = {constants.SERIAL: ['device1', 'device2']}
1790 constants.SERIAL: ['device1', 'device2'],
Datest_tf_test_runner.py1384 constants.SERIAL: lambda arg_value: [
/tools/asuite/atest/
Dconstants_default.py38 SERIAL = 'SERIAL' variable
Datest_main.py363 'serial': constants.SERIAL,
1149 device_update_method.update(extra_args.get(constants.SERIAL, []))
Dbazel_mode.py2089 extra_args_copy.pop(constants.SERIAL, None)