Searched refs:isEmulator (Results 1 – 11 of 11) sorted by relevance
173 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in setUp()336 when(mMockIDevice.isEmulator()).thenReturn(Boolean.TRUE); in testAllocateDevice_stubEmulator()374 when(mMockIDevice.isEmulator()).thenReturn(Boolean.TRUE); in testFreeDevice_emulator()410 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testAllocateDevice_nullDevice()484 when(mockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_noop()564 when(excludedDevice.isEmulator()).thenReturn(Boolean.FALSE); in testInit_includeDevice()841 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in setCheckAvailableDeviceExpectations()858 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_tcpDevice()892 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_unavailable()950 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_recovery()[all …]
90 when(mMockDevice.isEmulator()).thenReturn(Boolean.FALSE); in setUp()93 when(mMockEmulatorDevice.isEmulator()).thenReturn(Boolean.TRUE); in setUp()350 when(mockIpDevice.isEmulator()).thenReturn(Boolean.FALSE);
373 public boolean isEmulator(String serial) { in isEmulator() method in MockDeviceManager
52 public StubDevice(String serial, boolean isEmulator) { in StubDevice() argument54 mIsEmulator = isEmulator; in StubDevice()245 public boolean isEmulator() { in isEmulator() method in StubDevice
274 public boolean isEmulator(String serial); in isEmulator() method
622 if ((emulatorRequested() || stubEmulatorRequested()) && !device.isEmulator()) { in checkDeviceTypeRequested()628 && (device.isEmulator() in checkDeviceTypeRequested()648 if (device.isEmulator() && (device instanceof StubDevice) && !stubEmulatorRequested()) { in checkDeviceTypeRequested()
728 if (ideviceToReturn.isEmulator() && managedDevice.getEmulatorProcess() != null) { in freeDevice()1588 public boolean isEmulator(String serial) { in isEmulator() method in DeviceManager
4589 if (getIDevice().isEmulator()) { in getEmulatorOutput()
46 managedTestDevice.getIDevice().isEmulator(), in EmulatorMemoryCpuCapturer()
71 Preconditions.checkArgument(testInfo.getDevice().getIDevice().isEmulator()); in run()
1361 if (idevice != null && idevice.isEmulator()) { in reportLogs()