HomeSort by relevance Sort by last modified time
    Searched refs:getDevice (Results 151 - 175 of 1129) sorted by null

1 2 3 4 5 67 8 91011>>

  /tools/tradefederation/core/prod-tests/src/com/android/media/tests/
AdbScreenrecordTest.java 111 public ITestDevice getDevice() {
164 getDevice().executeShellCommand(cmd, receiver, timeout, TimeUnit.MILLISECONDS, 3);
170 if (!waitForFile(getDevice(), timeout, deviceFileName)) {
238 getDevice().executeShellCommand("rm -f " + deviceFileName);
251 IFileEntry video = getDevice().getFileEntry(deviceFileName);
257 final File recordedVideo = getDevice().pullFile(deviceFileName);
361 getDevice().disableKeyguard();
362 getDevice().waitForDeviceAvailable(DEVICE_SYNC_MS);
365 getDevice().setDate(new Date());
VideoMultimeterTest.java 137 public ITestDevice getDevice() {
143 if (!getDevice().getProductType().contains("manta")) {
144 getDevice().executeShellCommand(ROTATE_LANDSCAPE);
158 getDevice().executeShellCommand(String.format(
202 getDevice().executeShellCommand(mCmdStopVideo);
211 getDevice().setDate(new Date());
243 getDevice().clearErrorDialogs();
267 getDevice().executeShellCommand(mCmdStopVideo);
268 getDevice().clearErrorDialogs();
Camera2FrameworkStressTest.java 112 getDevice().pullFile(resultFilePath, outputFile);
116 getDevice().getSerialNumber());
167 IFileEntry dirEntry = getDevice().getFileEntry(resultDir);
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
ManagedProfileTest.java 124 getDevice().uninstallPackage(MANAGED_PROFILE_PKG);
125 getDevice().uninstallPackage(INTENT_SENDER_PKG);
126 getDevice().uninstallPackage(INTENT_RECEIVER_PKG);
127 getDevice().uninstallPackage(NOTIFICATION_PKG);
170 final String activityDump = getDevice().executeShellCommand(cmd);
240 + getDevice().executeShellCommand(command));
500 if (getDevice().isAdbRoot()) {
700 getDevice().uninstallPackage(DEVICE_OWNER_PKG);
    [all...]
DeviceOwnerPlusProfileOwnerTest.java 215 assertFalse(getDevice().removeUser(profileUserId));
218 assertTrue(getDevice().removeUser(profileUserId));
227 assertFalse(getDevice().removeUser(secondaryUserId));
230 assertTrue(getDevice().removeUser(secondaryUserId));
240 assertTrue(getDevice().removeUser(profileUserId));
547 getDevice().startUser(secondaryUserId);
BaseDeviceAdminServiceTest.java 52 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21;
60 getDevice().uninstallPackage(OWNER_PKG);
61 getDevice().uninstallPackage(OWNER_PKG_B);
200 final String commandOutput = getDevice().executeShellCommand(command);
LauncherAppsMultiUserTest.java 41 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21;
ManagedProfileProvisioningTest.java 48 getDevice().uninstallPackage(MANAGED_PROFILE_PKG);
  /cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
BaseDumpsysTest.java 58 mDevice = getDevice();
148 final String result = getDevice().installPackage(
169 pkgName, TEST_RUNNER, getDevice().getIDevice());
177 assertTrue(getDevice().runInstrumentationTests(testRunner, listener));
209 getDevice().executeShellCommand(command, receiver);
  /cts/hostsidetests/incident/src/com/android/server/cts/
ProtoDumpTestCase.java 79 getDevice().executeShellCommand(command, receiver);
93 final String result = getDevice().installPackage(
114 pkgName, TEST_RUNNER, getDevice().getIDevice());
122 assertTrue(getDevice().runInstrumentationTests(testRunner, listener));
155 getDevice().executeShellCommand(command, receiver);
  /cts/hostsidetests/net/src/com/android/cts/net/
HostsideNetworkTestCase.java 82 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false));
87 final String result = getDevice().uninstallPackage(packageName);
131 "android.support.test.runner.AndroidJUnitRunner", getDevice().getIDevice());
142 getDevice().runInstrumentationTests(testRunner, listener);
181 final String output = getDevice().executeShellCommand(command);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDetailsProfilesController.java 87 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice()));
97 BluetoothDevice device = mCachedDevice.getDevice();
180 BluetoothDevice device = mCachedDevice.getDevice();
224 BluetoothDevice device = mCachedDevice.getDevice();
233 a2dp.setHighQualityAudioEnabled(mCachedDevice.getDevice(), enable);
ForgetDeviceDialogFragment.java 51 CachedBluetoothDevice getDevice(Context context) {
73 mDevice = getDevice(context);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationTest.java 83 ConfigurationChooser.getDeviceLabel(configuration.getDevice(), true));
85 ConfigurationChooser.getDeviceLabel(configuration.getDevice(), false));
104 Screen screen = configuration.getDevice().getDefaultHardware().getScreen();
130 assertEquals(devices.get(0), copy.getDevice());
141 assertEquals(devices.get(0), copy.getDevice());
  /cts/hostsidetests/os/src/android/os/cts/
ProcfsHostTests.java 78 mDevice = getDevice();
194 String readResult = getDevice().executeShellCommand(readCommand + absolutePath);
212 String lsOutput = getDevice().executeShellCommand("ls -1 " + taskPath);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothA2dpFacade.java 121 BluetoothFacade.getDevice(mBluetoothAdapter.getBondedDevices(), deviceStr);
143 BluetoothDevice mDevice = BluetoothFacade.getDevice(
166 BluetoothDevice mDevice = BluetoothFacade.getDevice(connectedA2dpDevices, deviceID);
  /tools/tradefederation/core/src/com/android/tradefed/testtype/
DeviceBatteryLevelChecker.java 92 getDevice().executeShellCommand("stop");
134 getDevice().stopLogcat();
195 public ITestDevice getDevice() {
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
TestDeviceStressTest.java 54 mTestDevice = (TestDevice)getDevice();
173 TestAppConstants.UITESTAPP_PACKAGE, getDevice().getIDevice());
175 getDevice().runInstrumentationTests(uirunner, uilistener);
  /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
KeySetHostTest.java 184 RUNNER, getDevice().getIDevice());
189 getDevice().runInstrumentationTests(testRunner, listener);
242 Utils.prepareSingleUser(getDevice());
245 mDevice = getDevice();
383 installResult = getDevice().installPackage(
387 installResult = getDevice().installPackage(
SplitTests.java 99 Utils.prepareSingleUser(getDevice());
103 getDevice().uninstallPackage(PKG);
110 getDevice().uninstallPackage(PKG);
111 getDevice().uninstallPackage(PKG_NO_RESTART);
305 super(getDevice(), mCtsBuild, mAbi);
311 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName);
PkgInstallSignatureVerificationTest.java 58 Utils.prepareSingleUser(getDevice());
599 return getDevice().installPackage(apkFile, true, "--ephemeral");
601 return getDevice().installPackage(apkFile, true);
619 return getDevice().uninstallPackage(TEST_PKG);
  /developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
FullscreenActivity.java 216 InputDevice dev = InputDevice.getDevice(deviceId);
298 InputDevice device = ev.getDevice();
348 InputDevice device = ev.getDevice();
370 InputDevice device = ev.getDevice();
430 InputDevice dev = InputDevice.getDevice(mCurrentDeviceId);
456 InputDevice dev = InputDevice.getDevice(mCurrentDeviceId);
  /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
vktSparseResourcesShaderIntrinsicsSampled.cpp 681 m_vertexBuffer = createBuffer(deviceInterface, getDevice(), &vertexBufferCreateInfo);
682 m_vertexBufferAlloc = bindBuffer(deviceInterface, getDevice(), getAllocator(), *m_vertexBuffer, MemoryRequirement::HostVisible);
685 flushMappedMemoryRange(deviceInterface, getDevice(), m_vertexBufferAlloc->getMemory(), m_vertexBufferAlloc->getOffset(), vertexDataSizeInBytes);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DeviceViewAction.java 68 CollectTraceAction.setupForwarding(mClient.getDevice(), LOCAL_FORWARDED_PORT);
95 CollectTraceAction.disablePortForwarding(mClient.getDevice(), LOCAL_FORWARDED_PORT);
  /tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
AppTransitionTests.java 147 mLaunchEventsLogs = new LogcatReceiver(getDevice(), EVENTS_CMD, EVENTS_LOGCAT_SIZE,
164 mLaunchEventsLogs = new LogcatReceiver(getDevice(), EVENTS_CMD, EVENTS_LOGCAT_SIZE,
183 mLaunchEventsLogs = new LogcatReceiver(getDevice(), EVENTS_CMD, EVENTS_LOGCAT_SIZE,
203 mLaunchEventsLogs = new LogcatReceiver(getDevice(), EVENTS_CMD, EVENTS_LOGCAT_SIZE,
220 mLaunchEventsLogs = new LogcatReceiver(getDevice(), EVENTS_CMD, EVENTS_LOGCAT_SIZE,
243 getDevice().pushFile(scriptFile, String.format("%s%s.sh",
249 getDevice().executeShellCommand(String.format("chmod 755 %s%s.sh",
284 getDevice().getIDevice());
302 getDevice().clearLogcat();
303 getDevice().executeShellCommand(EVENTS_CLEAR_CMD)
    [all...]

Completed in 1516 milliseconds

1 2 3 4 5 67 8 91011>>