/tools/tradefederation/core/prod-tests/src/com/android/sdk/tests/ |
EmulatorGpsPreparer.java | 43 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); 44 EmulatorConsole console = EmulatorConsole.getConsole(device.getIDevice());
|
EmulatorSmsPreparer.java | 39 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); 40 EmulatorConsole console = EmulatorConsole.getConsole(device.getIDevice());
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
NativeBridgeModuleControllerTest.java | 57 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); 66 EasyMock.expect(mMockDevice.getIDevice()).andReturn(mMockIDevice); 80 EasyMock.expect(mMockDevice.getIDevice()).andReturn(mMockIDevice); 96 EasyMock.expect(mMockDevice.getIDevice()).andReturn(mMockIDevice); 112 EasyMock.expect(mMockDevice.getIDevice()).andReturn(mMockIDevice);
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
NativeDeviceStateMonitor.java | 103 return getIDevice(); 111 protected IDevice getIDevice() { 122 return getIDevice().getSerialNumber(); 170 getIDevice().executeShellCommand(cmd, receiver, MAX_OP_TIME, TimeUnit.MILLISECONDS); 241 String bootFlag = getIDevice().getSystemProperty("dev.bootcomplete").get(); 296 getIDevice().executeShellCommand(writeCmd, bitBucket, 299 getIDevice().executeShellCommand(checkCmd, receiver, 302 getIDevice().executeShellCommand(cleanupCmd, bitBucket, 338 String mountPoint = getIDevice().getMountPoint(mountName); 345 getIDevice().executeShellCommand("echo $" + mountName, receiver) [all...] |
BackgroundDeviceAction.java | 97 mTestDevice.getIDevice().executeShellCommand(mCommand, mReceiver, 145 if ((mTestDevice.getIDevice() instanceof StubDevice)
|
DeviceStateMonitor.java | 53 getIDevice().executeShellCommand(cmd, receiver, MAX_OP_TIME, TimeUnit.MILLISECONDS);
|
TestDevice.java | 136 getIDevice() 248 // TODO: create a getIDevice().installPackage(File, File...) method when the 251 getIDevice().syncPackageToDevice(packageFile.getAbsolutePath()); 253 getIDevice().syncPackageToDevice(certFile.getAbsolutePath()); 263 getIDevice() 285 getIDevice().removeRemotePackage(remotePackagePath); 286 getIDevice().removeRemotePackage(remoteCertPath); 307 String result = getIDevice().uninstallPackage(packageName); 363 getIDevice().getScreenshot(MAX_SCREENSHOT_TIMEOUT, TimeUnit.MILLISECONDS); 666 getIDevice().reboot(into) [all...] |
NativeDevice.java | 342 public IDevice getIDevice() { 355 if (!getIDevice().equals(newDevice)) { 368 return getIDevice().getSerialNumber(); 387 String propValue = getIDevice().getProperty(propName); 407 if (getIDevice() instanceof StubDevice) { 410 if (!DeviceState.ONLINE.equals(getIDevice().getState())) { 421 result[0] = getIDevice().getSystemProperty(name).get(); 611 getIDevice().executeShellCommand(command, receiver, 630 getIDevice().executeShellCommand(command, receiver, 654 getIDevice() [all...] |
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
VersionedTfLauncher.java | 84 if (device.getIDevice() instanceof NullDevice) { 86 } else if (!(device.getIDevice() instanceof StubDevice)) {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
BootstrapBuildProviderTest.java | 45 EasyMock.expect(mMockDevice.getIDevice()).andReturn(EasyMock.createMock(IDevice.class)); 71 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial"));
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/host/ |
PrettyTestEventLogger.java | 68 if (!(device.getIDevice() instanceof StubDevice)) {
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
NativeBridgeModuleController.java | 38 if (device.getIDevice() instanceof StubDevice) {
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
DeviceRecoveryModeUtil.java | 64 managedDevice.getIDevice().reboot(null);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
DeviceRecoveryModeUtilTest.java | 39 EasyMock.expect(mMockManagedDevice.getIDevice()).andReturn(mMockDevice).anyTimes();
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
WebViewHostSideStartupTest.java | 87 packageName, RUNNER, getDevice().getIDevice());
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
MockDeviceManager.java | 70 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); 112 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); 136 EasyMock.expect(mockDevice.getIDevice()).andReturn(mockIDevice).anyTimes(); 169 return mDeviceOptions.matches(element.getIDevice());
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
PythonBinaryHostTestTest.java | 86 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); 114 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); 152 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial"));
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
BaseHostJUnit4TestTest.java | 156 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); 188 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); 216 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); 243 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); 270 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial"));
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
TestInvocation.java | 448 if (!(device.getIDevice() instanceof StubDevice)) { 456 if (device.getIDevice() != null && device.getIDevice().isEmulator()) { 481 if (device.getIDevice() instanceof StubDevice) { 528 IDevice device = testDevice.getIDevice(); 628 if (!(context.getDevice(deviceName).getIDevice() instanceof StubDevice)) { 673 if (!(context.getDevice(deviceName).getIDevice() instanceof StubDevice)) {
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/ |
ScreenshotCollectorHostTest.java | 66 new RemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, getDevice().getIDevice());
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/loggers/ |
DeviceFileLoggerHostTest.java | 62 new RemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, getDevice().getIDevice());
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
BootstrapBuildProvider.java | 106 if (!(device.getIDevice() instanceof StubDevice)) {
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
SdkAvdPreparer.java | 191 } else if (!device.getIDevice().isEmulator()) { 266 device.getIDevice().getAvdName(), avd), device.getDeviceDescriptor()); 271 String avdName = device.getIDevice().getAvdName(); 276 EmulatorConsole console = EmulatorConsole.getConsole(device.getIDevice());
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
BaseTestCase.java | 111 pkgName, TEST_RUNNER, getDevice().getIDevice());
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
TaskSwitchingTest.java | 118 mDevice.getIDevice());
|