HomeSort by relevance Sort by last modified time
    Searched defs:device (Results 51 - 75 of 2498) sorted by null

1 23 4 5 6 7 8 91011>>

  /tools/tradefederation/core/src/com/android/tradefed/device/
NetworkNotAvailableException.java 16 package com.android.tradefed.device;
19 * Thrown when a device is not able to connect to network for testing.
20 * This usually gets thrown if a device fails to reconnect to wifi after reboot.
NoDeviceException.java 16 package com.android.tradefed.device;
19 * Thrown when there's no device to execute a given command.
43 * @param cause the root {@link Throwable} that caused the device to become unavailable.
NullDevice.java 16 package com.android.tradefed.device;
TcpDevice.java 16 package com.android.tradefed.device;
TestDeviceMutator.java 16 package com.android.tradefed.device;
29 public void setIDevice(ITestDevice testDevice, IDevice device) {
30 ((IManagedTestDevice)testDevice).setIDevice(device);
  /tools/tradefederation/core/src/com/android/tradefed/device/metric/
IMetricCollectorReceiver.java 16 package com.android.tradefed.device.metric;
MetricOption.java 16 package com.android.tradefed.device.metric;
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
KernelFlashPreparer.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.DeviceUnresponsiveException;
23 import com.android.tradefed.device.ITestDevice;
34 /** A {@link ITargetPreparer} that flashes a kernel on the device. */
46 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
53 CLog.i("Flashing device %s running %s with kernel %s", device.getSerialNumber(),
54 device.getBuildId(), kernelBuildInfo.getSha1());
57 throw new TargetSetupError("Missing ramdisk file", device.getDeviceDescriptor());
60 throw new TargetSetupError("Missing mkbootimg file", device.getDeviceDescriptor())
    [all...]
PushFileInvoker.java 22 import com.android.tradefed.device.DeviceNotAvailableException;
23 import com.android.tradefed.device.ITestDevice;
29 * A {@link ITargetPreparer} that pushes files from tests zip onto device, mark them as executable
30 * and invokes the binary or script on device. See also {@link TestFilePushSetup}.
42 + "'su' on device, typically only available on debug builds.")
49 public void setUp(ITestDevice device, IBuildInfo buildInfo)
56 super.setUp(device, buildInfo);
59 if (!device.doesFileExist(devicePath)) {
63 if (device.isDirectory(devicePath)) {
68 device.executeShellCommand(String.format("chmod 755 %s", devicePath))
    [all...]
RestartSystemServerTargetPreparer.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
24 /** Target preparer that restarts the system server without rebooting the device. */
37 private void restartSystemServer(ITestDevice device) throws DeviceNotAvailableException {
38 device.enableAdbRoot();
39 device.executeShellCommand("setprop dev.bootcomplete 0");
40 device.executeShellCommand(KILL_SERVER_COMMAND);
41 device.waitForDeviceAvailable();
45 public void setUp(ITestDevice device, IBuildInfo buildInfo)
50 restartSystemServer(device);
    [all...]
AppSetup.java 23 import com.android.tradefed.device.CollectingOutputReceiver;
24 import com.android.tradefed.device.DeviceNotAvailableException;
25 import com.android.tradefed.device.ITestDevice;
46 @Option(name="reboot", description="reboot device after running tests.")
57 "uninstall all unnstallable apks found on device after test completes.")
78 "check app's min sdk prior to install and skip if device api level is too low.")
88 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
94 CLog.i("Performing setup on %s", device.getSerialNumber());
96 // double check that device is clean, in case it has unexpected cruft on it
97 if (mUninstallAll && !uninstallAllApps(device)) {
135 addPackageNameToUninstall(apkFile.getFile(), device); local
    [all...]
  /packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
FilesActivityDefaultsUiTest.java 48 device.waitForIdle();
59 device.waitForIdle();
67 device.pressBack();
71 device.waitForIdle();
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestUtil.java 46 * Requests permission for a MTP device and returns the first MTP device that has at least one
55 final UsbDevice device = findMtpDevice(usbManager, manager); local
56 waitForStorages(instrumentation, manager, device.getDeviceId());
57 return device;
61 // When the MTP device is Android, and it changes the USB device type from
62 // "Charging" to "MTP", the device ID will be updated. We need to find a device
72 0, "Device", "device_key", /* opened is */ true, new MtpRoot[0]
92 final UsbDevice device = devices.values().iterator().next(); local
113 MtpDeviceRecord device = null; local
    [all...]
  /packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
FilesJankPerfTest.java 52 final UiDevice device = UiDevice.getInstance(getInstrumentation()); local
55 mRootsListBot = new SidebarBot(device, context, BOT_TIMEOUT);
56 mDirListBot = new DirectoryListBot(device, automation, context, BOT_TIMEOUT);
62 device.setOrientationNatural();
73 final UiDevice device = UiDevice.getInstance(getInstrumentation()); local
74 device.unfreezeRotation();
  /test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/
VtsHalTraceCollector.java 17 package com.android.tradefed.device.metric;
21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
37 // Path of 32 bit test libs on target device.
39 // Path of 64 bit test libs on target device.
41 // Path of vts test directory on target device.
51 for (ITestDevice device : getDevices()) {
54 device.enableAdbRoot();
56 device.executeShellCommand("setenforce 0");
58 device.executeShellCommand(String.format("rm -rf %s/*.vts.trace", VTS_TMP_DIR))
    [all...]
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsSyncService.java 16 package com.android.server.cts.device.batterystats;
SimpleActivity.java 17 package com.android.server.cts.device.batterystats;
  /cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DaveyActivity.java 17 package com.android.server.cts.device.statsd;
StatsdSyncService.java 16 package com.android.server.cts.device.statsd;
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
WiFiP2pService.java 10 WifiP2pDevice device; field in class:WiFiP2pService
  /device/google/marlin/health/
CycleCountBackupRestore.h 25 namespace device { namespace
52 } // namespace device
LearnedCapacityBackupRestore.h 25 namespace device { namespace
50 } // namespace device
  /device/google/wahoo/health/
CycleCountBackupRestore.h 25 namespace device { namespace
52 } // namespace device
LearnedCapacityBackupRestore.h 25 namespace device { namespace
50 } // namespace device
  /external/autotest/client/cros/faft/utils/
firmware_check_keys.py 15 device = None variable in class:firmwareCheckKeys
20 device = InputDevice(evdev)
21 if device.is_keyboard():
22 print 'keyboard device %s' % evdev
23 self.device = device
29 self.ev.read(self.device.f)
41 if not self.device:
42 logging.error("Could not find a keyboard device")

Completed in 648 milliseconds

1 23 4 5 6 7 8 91011>>