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

1 2 3 4 5 6 7 8 91011>>

  /cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
AppSecurityTests.java 116 getDevice().uninstallPackage(SHARED_UI_PKG);
117 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG);
120 String installResult = getDevice().installPackage(getTestAppFile(SHARED_UI_APK),
124 installResult = getDevice().installPackage(getTestAppFile(SHARED_UI_DIFF_CERT_APK),
130 getDevice().uninstallPackage(SHARED_UI_PKG);
131 getDevice().uninstallPackage(SHARED_UI_DIFF_CERT_PKG);
143 getDevice().uninstallPackage(SIMPLE_APP_PKG);
146 String installResult = getDevice().installPackage(getTestAppFile(SIMPLE_APP_APK),
150 installResult = getDevice().installPackage(getTestAppFile(SIMPLE_APP_DIFF_CERT_APK),
156 getDevice().uninstallPackage(SIMPLE_APP_PKG)
    [all...]
AdoptableHostTest.java 61 getDevice().uninstallPackage(PKG);
68 getDevice().uninstallPackage(PKG);
87 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private"));
91 assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " " + vol.uuid));
97 getDevice().executeShellCommand("sm unmount " + vol.volId);
98 getDevice().executeShellCommand("sm mount " + vol.volId);
104 assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " internal"));
110 getDevice().executeShellCommand("sm partition " + diskId + " public");
124 final String originalVol = getDevice()
146 assertEmpty(getDevice().executeShellCommand("sm partition " + diskId + " private"))
    [all...]
ExternalStorageHostTest.java 93 getDevice().uninstallPackage(NONE_PKG);
95 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options));
102 getDevice().uninstallPackage(NONE_PKG);
117 getDevice().uninstallPackage(READ_PKG);
119 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options));
126 getDevice().uninstallPackage(READ_PKG);
141 getDevice().uninstallPackage(WRITE_PKG);
143 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options));
150 getDevice().uninstallPackage(WRITE_PKG);
164 getDevice().uninstallPackage(NONE_PKG)
    [all...]
PermissionsHostTest.java 57 getDevice().uninstallPackage(PKG);
64 getDevice().uninstallPackage(PKG);
69 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false));
79 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false));
88 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false));
93 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false));
100 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false));
105 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false));
110 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false));
115 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK_COMPAT), false, false))
    [all...]
DocumentsTest.java 58 getDevice().uninstallPackage(PROVIDER_PKG);
59 getDevice().uninstallPackage(CLIENT_PKG);
61 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(PROVIDER_APK), false));
62 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(CLIENT_APK), false));
69 getDevice().uninstallPackage(PROVIDER_PKG);
70 getDevice().uninstallPackage(CLIENT_PKG);
95 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
LauncherAppsSingleUserTest.java 33 mHasLauncherApps = getDevice().getApiLevel() >= 21;
59 getDevice().uninstallPackage(SIMPLE_APP_PKG);
76 getDevice().uninstallPackage(SIMPLE_APP_PKG);
88 getDevice().uninstallPackage(SIMPLE_APP_PKG);
94 getDevice().uninstallPackage(SIMPLE_APP_PKG);
112 getDevice().uninstallPackage(SIMPLE_APP_PKG);
127 getDevice().uninstallPackage(SIMPLE_APP_PKG);
142 getDevice().uninstallPackage(SIMPLE_APP_PKG);
157 getDevice().uninstallPackage(SIMPLE_APP_PKG);
BaseLauncherAppsTest.java 43 getDevice().uninstallPackage(LAUNCHER_TESTS_PKG);
44 getDevice().uninstallPackage(LAUNCHER_TESTS_SUPPORT_PKG);
45 getDevice().uninstallPackage(SIMPLE_APP_PKG);
53 + getDevice().executeShellCommand(command));
LauncherAppsMultiUserTest.java 39 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21;
71 getDevice().uninstallPackage(SIMPLE_APP_PKG);
87 getDevice().uninstallPackage(SIMPLE_APP_PKG);
LauncherAppsProfileTest.java 60 getDevice().uninstallPackage(MANAGED_PROFILE_PKG);
81 getDevice().uninstallPackage(SIMPLE_APP_PKG);
97 getDevice().uninstallPackage(SIMPLE_APP_PKG);
108 getDevice().uninstallPackage(SIMPLE_APP_PKG);
114 getDevice().uninstallPackage(SIMPLE_APP_PKG);
131 getDevice().uninstallPackage(SIMPLE_APP_PKG);
CustomDeviceOwnerTest.java 64 getDevice().uninstallPackage(DEVICE_OWNER_PKG);
65 getDevice().uninstallPackage(DEVICE_AND_PROFILE_OWNER_PKG);
92 getDevice().uninstallPackage(INTENT_RECEIVER_PKG);
141 getDevice().uninstallPackage(TEST_APP_PKG);
142 assertTrue(getDevice().pushFile(apk, TEST_APP_LOCATION + apk.getName()));
149 String commandOutput = getDevice().executeShellCommand(command);
150 getDevice().uninstallPackage(TEST_APP_PKG);
151 getDevice().uninstallPackage(PACKAGE_INSTALLER_PKG);
DeviceOwnerTest.java 59 getDevice().uninstallPackage(DEVICE_OWNER_PKG);
82 getDevice().uninstallPackage(INTENT_RECEIVER_PKG);
97 getDevice().uninstallPackage(WIFI_CONFIG_CREATOR_PKG);
114 getDevice().uninstallPackage(MANAGED_PROFILE_PKG);
DeviceAndProfileOwnerTest.java 65 getDevice().uninstallPackage(DEVICE_ADMIN_PKG);
66 getDevice().uninstallPackage(PERMISSIONS_APP_PKG);
67 getDevice().uninstallPackage(SIMPLE_PRE_M_APP_PKG);
68 getDevice().uninstallPackage(CERT_INSTALLER_PKG);
122 assertNull(getDevice().uninstallPackage(PERMISSIONS_APP_PKG));
129 assertNull(getDevice().uninstallPackage(PERMISSIONS_APP_PKG));
136 assertNull(getDevice().uninstallPackage(PERMISSIONS_APP_PKG));
192 + getDevice().executeShellCommand(command));
230 assertTrue(getDevice().pushFile(apk, TEST_APP_LOCATION + apk.getName()));
233 getDevice().uninstallPackage(TEST_APP_PKG)
    [all...]
BaseDevicePolicyTest.java 66 mHasFeature = getDevice().getApiLevel() >= 21 /* Build.VERSION_CODES.L */
69 mPackageVerifier = getDevice().executeShellCommand(
71 getDevice().executeShellCommand("settings put global package_verifier_enable 0");
77 getDevice().executeShellCommand("settings put global package_verifier_enable "
85 String installResult = getDevice().installPackage(mCtsBuild.getTestApp(fileName), true);
92 final ITestDevice device = getDevice();
109 String commandOutput = getDevice().executeShellCommand(command);
118 String commandOutput = getDevice().executeShellCommand(command);
131 String commandOutput = getDevice().executeShellCommand(command);
155 + getDevice().executeShellCommand(stopUserCommand))
    [all...]
  /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();
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
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));
  /cts/hostsidetests/net/src/com/android/cts/net/
HostsideNetworkTests.java 61 getDevice().uninstallPackage(TEST_PKG);
63 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(TEST_APK), false));
70 getDevice().uninstallPackage(TEST_PKG);
80 "android.support.test.runner.AndroidJUnitRunner", getDevice().getIDevice());
83 getDevice().runInstrumentationTests(testRunner, listener);
  /cts/hostsidetests/atrace/src/android/atrace/cts/
AtraceHostTest.java 157 String output = getDevice().executeShellCommand("atrace");
172 String output = getDevice().executeShellCommand("atrace --list_categories");
201 getDevice().uninstallPackage(TEST_PKG);
205 String installResult = getDevice().installPackage(testAppFile, false);
213 getDevice().executeShellCommand("atrace --async_stop " + atraceArgs);
214 getDevice().executeShellCommand("atrace --async_start " + atraceArgs);
215 getDevice().executeShellCommand("am start " + TEST_PKG);
216 getDevice().executeShellCommand("sleep 1");
217 atraceOutput = getDevice().executeShellCommand("atrace --async_stop " + atraceArgs);
220 getDevice().uninstallPackage(TEST_PKG)
    [all...]
  /external/skia/src/image/
SkSurface_Gpu.h 31 SkGpuDevice* getDevice() { return fDevice; }
  /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() {
  /cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
JdwpSecurityHostTest.java 76 boolean success = getDevice().pushFile(tempFile, getDeviceScriptFilepath());
85 getDevice().executeShellCommand("chmod 755 " + getDeviceScriptFilepath());
89 boolean success = getDevice().pushFile(jarFile, getDeviceJarFilepath());
96 getDevice().executeShellCommand(String.format("rm -r %s", DEVICE_LOCATION));
266 return ArrayUtil.buildArray(new String[] {"adb", "-s", getDevice().getSerialNumber()},
271 if (getDevice().doesFileExist(remoteFilePath)) {
281 getDevice().executeShellCommand(String.format("mkdir %s", remoteFilePath));
282 return getDevice().doesFileExist(remoteFilePath);
  /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()

Completed in 1364 milliseconds

1 2 3 4 5 6 7 8 91011>>