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

1 2 3 4 56 7 8 91011>>

  /packages/apps/Camera2/src/com/android/camera/device/
Camera2ActionProvider.java 17 package com.android.camera.device;
29 * a Camera2 API camera device.
LegacyCameraActionProvider.java 17 package com.android.camera.device;
26 * a Legacy API camera device.
SingleDeviceLifecycle.java 17 package com.android.camera.device;
24 * Lifecycle for a single device from open to close.
28 * Get the camera device key for this lifecycle.
40 * Tell this instance that it should attempt to get the device to
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DreamTimePreference.java 17 package com.android.tv.settings.device.display.daydream;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
PrivacyActivity.java 17 package com.android.tv.settings.device.privacy;
24 import com.android.tv.settings.device.storage.ResetActivity;
  /platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/
TestCaseLogger.java 16 package android.device.loggers;
24 * Logger for the device side that will mark the beginning and end of test cases in the logcat.
  /platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
StubTestMetricListener.java 16 package android.device.collectors;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/
ext-stream-restore.h 44 const char *device; /**< The sink/source of the stream when it was last seen, if applicable and saved */ member in struct:pa_ext_stream_restore_info
  /prebuilts/jdk/jdk8/darwin-x86/sample/annotations/DependencyChecker/PluginChecker/src/checker/
PluginChecker.java 58 * Reads the device configuration from the XML file specified by -Adevice=device.xml.
59 * For each class in a project, checks required modules. If the device doesn't have
67 * Name of the option to get the path to the xml with device configuration.
69 public static final String DEVICE_OPTION = "device";
70 private Device device; field in class:PluginChecker
73 * Only the device option is supported.
83 * Initializes the processor by loading the device configuration.
92 device = (Device) JAXBContext.newInstance(Device.class
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/sample/annotations/DependencyChecker/PluginChecker/src/checker/
PluginChecker.java 58 * Reads the device configuration from the XML file specified by -Adevice=device.xml.
59 * For each class in a project, checks required modules. If the device doesn't have
67 * Name of the option to get the path to the xml with device configuration.
69 public static final String DEVICE_OPTION = "device";
70 private Device device; field in class:PluginChecker
73 * Only the device option is supported.
83 * Initializes the processor by loading the device configuration.
92 device = (Device) JAXBContext.newInstance(Device.class
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
Configuration.java 17 package com.android.hierarchyviewer.device;
  /tools/tradefederation/core/remote/src/com/android/tradefed/device/
FreeDeviceState.java 16 package com.android.tradefed.device;
20 /** device is responsive, and can be returned to the available device queue */
24 * Device is not available for testing, and should not be returned to the available device
25 * queue. Typically this means device is not visible via adb, but not necessarily.
30 * Device is visible on adb, but is not responsive. Depending on configuration this
31 * device may be returned to available queue.
36 * Device should be ignored, and not returned to the available device queue
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/device/
DeviceNotAvailableException.java 16 package com.android.tradefed.device;
20 * Thrown when a device is no longer available for testing.
21 * e.g. the adb connection to the device has been lost, device has stopped responding to commands,
52 * @param serial the serial of the device concerned
63 * @param cause the root {@link Throwable} that caused the device to become unavailable.
77 * @param cause the root {@link Throwable} that caused the device to become unavailable.
78 * @param serial the serial of the device concerned by the exception
86 * Return Serial of the device associated with exception.
DeviceProperties.java 16 package com.android.tradefed.device;
19 * Common constant definitions for device side property names
23 /** property name for device board */
25 /** proprty name to indicate device variant (e.g. flo vs dev) */
26 public static final String VARIANT = "ro.product.vendor.device";
27 /** Legacy property name to indicate device variant (e.g. flo vs dev) */
28 public static final String VARIANT_LEGACY = "ro.product.device";
IDeviceRecovery.java 16 package com.android.tradefed.device;
19 * Interface for recovering a device that has gone offline.
24 * Attempt to recover the given device that can no longer be communicated with.
26 * Method should block and only return when device is in requested state.
29 * @param recoverUntilOnline if true, method should return as soon as device is online on adb.
30 * If false, method should block until device is fully available for testing (ie
32 * @throws DeviceNotAvailableException if device could not be recovered
38 * Attempt to recover the given unresponsive device in recovery mode.
41 * @throws DeviceNotAvailableException if device could not be recovered
47 * Attempt to recover the given unresponsive device in bootloader mode
    [all...]
ILogcatReceiver.java 17 package com.android.tradefed.device;
22 * A class that provides the output of a device's logcat as an {@link InputStreamSource}.
  /tools/tradefederation/core/src/com/android/tradefed/device/metric/
BugreportzMetricCollector.java 17 package com.android.tradefed.device.metric;
19 import com.android.tradefed.device.ITestDevice;
29 void collect(ITestDevice device, DeviceMetricData runData) throws InterruptedException {
33 if (!device.logBugreport(hostBugreportFilename, getInvocationListener())) {
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
PreloadedClassesPreparer.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
34 * A {@link ITargetPreparer} that replaces the preloaded classes file on a device.
48 description = "The new preloaded classes file to put on the device."
67 public void setUp(ITestDevice device, IBuildInfo buildInfo)
83 "Unable to find the preload tool.", device.getDeviceDescriptor());
88 device.enableAdbRoot();
89 device.remountSystemWritable();
91 device.enableAdbRoot();
95 String.format(TOOL_CMD, getPreloadToolPath(), device.getSerialNumber(), exportCmd
    [all...]
RebootTargetPreparer.java 20 import com.android.tradefed.device.DeviceNotAvailableException;
21 import com.android.tradefed.device.ITestDevice;
23 /** Target preparer that reboots the device. */
28 public void setUp(ITestDevice device, IBuildInfo buildInfo)
30 device.reboot();
RootTargetPreparer.java 20 import com.android.tradefed.device.DeviceNotAvailableException;
21 import com.android.tradefed.device.ITestDevice;
34 public void setUp(ITestDevice device, IBuildInfo buildInfo)
36 mWasRoot = device.isAdbRoot();
37 if (!mWasRoot && !device.enableAdbRoot()) {
38 throw new TargetSetupError("Failed to adb root device", device.getDeviceDescriptor());
43 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e)
46 device.disableAdbRoot();
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
HelloWorldMultiTargetPreparer.java 19 import com.android.tradefed.device.DeviceNotAvailableException;
20 import com.android.tradefed.device.ITestDevice;
38 ITestDevice device = context.getDevices().get(0); local
40 device.getDeviceDescriptor());
48 // Possible look up using the context instead: Getting all the device names configured in
50 CLog.i("The device names configured are: %s", context.getDeviceConfigNames());
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
MockDeviceHelper.java 17 package com.android.tradefed.device;
MockTestDeviceHelper.java 17 package com.android.tradefed.device;
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
ReceiverActivity.java 41 final UsbDevice device = getIntent().getParcelableExtra(UsbManager.EXTRA_DEVICE); local
44 provider.openDevice(device.getDeviceId());
45 final String deviceRootId = provider.getDeviceDocumentId(device.getDeviceId());
54 Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exception);
  /packages/apps/Contacts/tests/src/com/android/contacts/
NoPermissionsLaunchSmokeTest.java 66 final UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); local
74 device.waitForIdle();
76 device.wait(Until.hasObject(By.textStartsWith("Allow Contacts")), TIMEOUT);
77 final UiObject2 grantContactsPermissionButton = device.findObject(By.text("ALLOW"));
81 device.wait(Until.hasObject(By.textEndsWith("make and manage phone calls?")), TIMEOUT);
85 device.waitForIdle();
89 final UiObject2 grantPhonePermissionButton = device.findObject(By.text("ALLOW"));
94 device.waitForIdle();

Completed in 484 milliseconds

1 2 3 4 56 7 8 91011>>