/tools/tradefederation/core/javatests/com/android/tradefed/device/recovery/ |
D | UsbResetMultiDeviceRecoveryTest.java | 51 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/ |
D | monsoon_test.py | 36 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/ |
D | monsoon_test.py | 37 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/ |
D | DeviceActionTargetPreparerTest.java | 63 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()
|
D | AllTestAppsInstallSetupTest.java | 34 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()
|
D | InstallApkSetupTest.java | 46 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()
|
D | AppSetupTest.java | 58 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()
|
D | InstallAllTestZipAppsSetupTest.java | 50 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()
|
D | TestAppInstallSetupTest.java | 77 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()
|
D | ModulePusherTest.java | 82 private static final String SERIAL = "serial"; field in ModulePusherTest 105 when(mMockDevice.getSerialNumber()).thenReturn(SERIAL); in setUp()
|
D | InstallApexModuleTargetPreparerTest.java | 71 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/ |
D | DeviceActionUtilTest.java | 41 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/ |
D | TestInvocationTest.java | 129 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/ |
D | vts_tf_test_runner.py | 96 if constants.SERIAL == arg:
|
D | suite_plan_test_runner.py | 117 if constants.SERIAL == arg:
|
D | atest_tf_test_runner_unittest.py | 645 [], {constants.SERIAL: [arg_device_serial]} 1354 extra_args = {constants.SERIAL: ['device1']} 1361 extra_args = {constants.SERIAL: ['device1', 'device2']} 1790 constants.SERIAL: ['device1', 'device2'],
|
D | atest_tf_test_runner.py | 1384 constants.SERIAL: lambda arg_value: [
|
/tools/asuite/atest/ |
D | constants_default.py | 38 SERIAL = 'SERIAL' variable
|
D | atest_main.py | 363 'serial': constants.SERIAL, 1149 device_update_method.update(extra_args.get(constants.SERIAL, []))
|
D | bazel_mode.py | 2089 extra_args_copy.pop(constants.SERIAL, None)
|