Home
last modified time | relevance | path

Searched refs:StubDevice (Results 1 – 25 of 67) sorted by relevance

123

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DManagedDeviceListTest.java77 ITestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testFindOrCreate()
82 assertEquals(d, mManagedDeviceList.findOrCreate(new StubDevice("foo"))); in testFindOrCreate()
92 assertNull(mManagedDeviceList.findOrCreate(new StubDevice("????"))); in testFindOrCreate_invalidSerial()
100 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testAllocate()
117 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testHandleDeviceEvent()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DCompileBootImageWithSpeedTargetPreparer.java22 import com.android.tradefed.device.StubDevice;
50 if (device.getIDevice() instanceof StubDevice) { in setUp()
68 if (device.getIDevice() instanceof StubDevice) { in tearDown()
DRootTargetPreparer.java23 import com.android.tradefed.device.StubDevice;
55 if (device.getIDevice() instanceof StubDevice) { in setUp()
70 if (device.getIDevice() instanceof StubDevice) { in tearDown()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DTargetSetupErrorTest.java23 import com.android.tradefed.device.StubDevice;
72 StubDevice.class.getName(), in testSerialization_withIDevice()
76 new StubDevice("serial")); in testSerialization_withIDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DVmRemoteDevice.java19 import com.android.tradefed.device.StubDevice;
22 public class VmRemoteDevice extends StubDevice implements IConfigurableVirtualDevice {
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DSkipHWASanModuleController.java21 import com.android.tradefed.device.StubDevice;
30 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DPackageInstalledModuleController.java21 import com.android.tradefed.device.StubDevice;
39 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DMinSdkModuleController.java21 import com.android.tradefed.device.StubDevice;
44 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DMaxSdkModuleController.java21 import com.android.tradefed.device.StubDevice;
39 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DDeviceFeatureModuleController.java21 import com.android.tradefed.device.StubDevice;
42 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DMinApiLevelModuleController.java22 import com.android.tradefed.device.StubDevice;
40 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DShippingApiLevelModuleController.java22 import com.android.tradefed.device.StubDevice;
102 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DMainlineTestModuleController.java22 import com.android.tradefed.device.StubDevice;
64 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/
DCarModuleController.java20 import com.android.tradefed.device.StubDevice;
32 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
DKernelTestModuleController.java21 import com.android.tradefed.device.StubDevice;
106 if (device.getIDevice() instanceof StubDevice) { in deviceLowMem()
132 if (device.getIDevice() instanceof StubDevice) { in deviceWithHwasan()
DNativeBridgeModuleController.java20 import com.android.tradefed.device.StubDevice;
38 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/module/
DCarModuleControllerTest.java24 import com.android.tradefed.device.StubDevice;
63 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testStubDevice()
DNativeBridgeModuleControllerTest.java24 import com.android.tradefed.device.StubDevice;
60 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testStubDevice()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DDeviceUnavailableMonitor.java21 import com.android.tradefed.device.StubDevice;
38 if (!(device.getIDevice() instanceof StubDevice)) { in invocationStarted()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java32 import com.android.tradefed.device.StubDevice;
152 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRun()
205 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRun_failWithIncludeFilters()
264 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRun_withIncludeFilters()
333 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRun_withExcludeFilters()
396 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRun_withAdbPath()
454 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRun_withSharedLibInHostTestsDir()
518 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRun_withSharedLib()
577 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRunFail_exception()
636 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRunFail_failureOnly()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/
DPrettyTestEventLogger.java22 import com.android.tradefed.device.StubDevice;
83 if (device.getIDevice() instanceof StubDevice) { in logOnAllDevices()
/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceSnapshotHandler.java22 import com.android.tradefed.device.StubDevice;
72 if (device.getIDevice() instanceof StubDevice) { in snapshotDevice()
139 if (device.getIDevice() instanceof StubDevice) { in restoreSnapshotDevice()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/
DTelephonyTokenProvider.java20 import com.android.tradefed.device.StubDevice;
44 if (device.getIDevice() instanceof StubDevice) { in hasToken()
/tools/tradefederation/core/src/com/android/tradefed/device/battery/
DBatteryController.java22 import com.android.tradefed.device.StubDevice;
60 if (idevice instanceof StubDevice) { in getDeviceChargingState()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java31 import com.android.tradefed.device.StubDevice;
180 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRunDeviceTests()
203 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRunDeviceTests_assumptionFailure()
285 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRunDeviceTests_asUser()
349 when(mMockDevice.getIDevice()).thenReturn(new StubDevice("serial")); in testRunDeviceTests_crashedInstrumentation()

123