HomeSort by relevance Sort by last modified time
    Searched refs:getDevice (Results 1 - 25 of 290) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
AppSecurityTests.java 145 getDevice().uninstallPackage(SHARED_UI_PKG);
146 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG);
149 String installResult = getDevice().installPackage(getTestAppFile(SHARED_UI_APK),
153 installResult = getDevice().installPackage(getTestAppFile(SHARED_UI_DIFF_CERT_APK),
160 getDevice().uninstallPackage(SHARED_UI_PKG);
161 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG);
173 getDevice().uninstallPackage(SIMPLE_APP_PKG);
176 String installResult = getDevice().installPackage(getTestAppFile(SIMPLE_APP_APK),
180 installResult = getDevice().installPackage(getTestAppFile(SIMPLE_APP_DIFF_CERT_APK),
187 getDevice().uninstallPackage(SIMPLE_APP_PKG)
    [all...]
DocumentsTest.java 54 getDevice().uninstallPackage(PROVIDER_PKG);
55 getDevice().uninstallPackage(CLIENT_PKG);
57 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(PROVIDER_APK), false));
58 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(CLIENT_APK), false));
65 getDevice().uninstallPackage(PROVIDER_PKG);
66 getDevice().uninstallPackage(CLIENT_PKG);
91 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/
UnknownFileSystemException.java 51 public BlockDevice getDevice() {
  /development/tools/hosttestlib/src/com/android/hosttest/
DeviceTestCase.java 48 public IDevice getDevice() {
69 assertNotNull(getDevice());
DeviceTest.java 38 public IDevice getDevice();
DeviceTestSuite.java 65 public IDevice getDevice() {
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
ManagedProfileTest.java 61 getDevice().uninstallPackage(MANAGED_PROFILE_PKG);
106 + getDevice().executeShellCommand(command));
118 getDevice().uninstallPackage(INTENT_SENDER_PKG);
119 getDevice().uninstallPackage(INTENT_RECEIVER_PKG);
128 getDevice().uninstallPackage(INTENT_SENDER_PKG);
129 getDevice().uninstallPackage(INTENT_RECEIVER_PKG);
139 getDevice().uninstallPackage(INTENT_SENDER_PKG);
140 getDevice().uninstallPackage(INTENT_RECEIVER_PKG);
177 + getDevice().executeShellCommand(command));
187 String commandOutput = getDevice().executeShellCommand(adbCommand)
    [all...]
BaseDevicePolicyTest.java 69 mHasFeature = getDevice().getApiLevel() >= 21 /* Build.VERSION_CODES.L */
75 String installResult = getDevice().installPackage(mCtsBuild.getTestApp(fileName), true);
82 final ITestDevice device = getDevice();
98 String commandOutput = getDevice().executeShellCommand(command);
107 String commandOutput = getDevice().executeShellCommand(command);
120 String commandOutput = getDevice().executeShellCommand(command);
143 + getDevice().executeShellCommand(removeUserCommand));
184 pkgName, RUNNER, getDevice().getIDevice());
192 assertTrue(getDevice().runInstrumentationTests(testRunner, listener));
215 getDevice().executeShellCommand(command, parser)
    [all...]
DeviceOwnerTest.java 50 getDevice().uninstallPackage(DEVICE_OWNER_PKG);
94 String commandOutput = getDevice().executeShellCommand(command);
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DisplayTestRunner.java 37 SettingsToggler.setGlobalString(getDevice(), OVERLAY_DISPLAY_DEVICES_SETTING_NAME,
44 SettingsToggler.setGlobalString(getDevice(), OVERLAY_DISPLAY_DEVICES_SETTING_NAME,
AccessibilityServiceTestRunner.java 69 AccessibilityTestRunner.disableAccessibilityAndServices(getDevice());
76 String errorMessage = getDevice().installPackage(file, true, options);
81 String errorMessage = getDevice().uninstallPackage(packageName);
88 AccessibilityTestRunner.enableAccessibilityAndServices(getDevice(),
UiAutomatorJarTest.java 68 Assert.assertNotNull("missing device", getDevice());
80 CLog.d("Installing %s on %s", mTestJarFileName, getDevice().getSerialNumber());
83 boolean result = getDevice().pushFile(mCtsBuild.getTestApp(mTestJarFileName),
93 CLog.d("Uninstalling %s on %s", mTestJarFileName, getDevice().getSerialNumber());
95 getDevice().executeShellCommand(String.format("rm %s", fullJarPath));
AccessibilityTestRunner.java 69 disableAccessibilityAndServices(getDevice());
76 String errorMessage = getDevice().installPackage(file, true, options);
81 String errorMessage = getDevice().uninstallPackage(packageName);
90 enableAccessibilityAndServices(getDevice(), enabledServicesValue);
PrintTestRunner.java 99 public ITestDevice getDevice() {
184 final boolean success = getDevice().pushFile(mCtsBuild.getTestApp(
188 + fileName + " on " + getDevice().getSerialNumber());
196 getDevice().executeShellCommand("rm " + SHELL_USER_FOLDER + "/"
198 getDevice().executeShellCommand("rm " + SHELL_USER_FOLDER + "/"
205 String installCode = getDevice().installPackage(mCtsBuild.getTestApp(
209 + PRINT_TEST_AND_SERVICES_APP_NAME + " on " + getDevice().getSerialNumber()
219 getDevice().uninstallPackage(PRINT_TESTS_PACKAGE_NAME);
225 SettingsToggler.setSecureString(getDevice(), "enabled_print_services",
230 SettingsToggler.setSecureString(getDevice(), "enabled_print_services", "")
    [all...]
VMHostTest.java 44 if (!installVmPrereqs(getDevice(), getBuildHelper())) {
47 getDevice().getSerialNumber()));
50 cleanupDeviceFiles(getDevice());
  /external/chromium_org/ui/ozone/platform/dri/
dri_surface_unittest.cc 78 void* bitmap_pixels1 = surface_->GetDrawableForWidget()->getDevice()
83 void* bitmap_pixels2 = surface_->GetDrawableForWidget()->getDevice()
112 canvas->getDevice()->accessBitmap(false).getColor(j, i));
115 canvas->getDevice()->accessBitmap(false).getColor(j, i));
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
MtpClient.java 228 public MtpDevice getDevice(String deviceName) {
241 public MtpDevice getDevice(int id) {
274 MtpDevice device = getDevice(deviceName);
306 MtpDevice device = getDevice(deviceName);
321 MtpDevice device = getDevice(deviceName);
342 MtpDevice device = getDevice(deviceName);
378 MtpDevice device = getDevice(deviceName);
393 MtpDevice device = getDevice(deviceName);
411 MtpDevice device = getDevice(deviceName);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
Overlay.java 70 public Device getDevice() {
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
GamepadList.java 66 InputDevice inputDevice = InputDevice.getDevice(deviceIds[i]);
132 InputDevice inputDevice = InputDevice.getDevice(deviceId);
149 if (getDevice(i) != null) {
157 if (index < MAX_GAMEPADS && getDevice(index) != null) {
173 private GamepadDevice getDevice(int index) {
225 if (getDevice(i) == null) {
296 final GamepadDevice device = getDevice(i);
320 GamepadDevice gamepadDevice = getDevice(i);
  /frameworks/base/core/java/android/view/
InputEvent.java 56 * @see InputDevice#getDevice
65 public final InputDevice getDevice() {
66 return InputDevice.getDevice(getDeviceId());
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
EdgeSwipeDetector.java 44 float edgeGutter = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax()
61 float enough = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax()
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
NestedConfiguration.java 121 configuration.setDevice(values.getDevice(), true);
269 public Device getDevice() {
271 return super.getDevice();
273 return mParent.getDevice();
315 Device device = super.getDevice();
332 Device device = super.getDevice();
473 return ConfigurationChooser.getDeviceLabel(configuration.getDevice(), true);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
MtpClient.java 254 public MtpDevice getDevice(String deviceName) {
267 public MtpDevice getDevice(int id) {
300 MtpDevice device = getDevice(deviceName);
332 MtpDevice device = getDevice(deviceName);
347 MtpDevice device = getDevice(deviceName);
368 MtpDevice device = getDevice(deviceName);
404 MtpDevice device = getDevice(deviceName);
419 MtpDevice device = getDevice(deviceName);
437 MtpDevice device = getDevice(deviceName);
  /external/chromium_org/media/video/capture/mac/
video_capture_device_avfoundation_mac.h 87 + (void)getDevice:(const media::VideoCaptureDevice::Name&)name
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
Fence11.cpp 41 if (FAILED(mRenderer->getDevice()->CreateQuery(&queryDesc, &mQuery)))

Completed in 616 milliseconds

1 2 3 4 5 6 7 8 91011>>