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

1 2 3 4 5 6

  /development/tools/hosttestlib/src/com/android/hosttest/
DeviceTestCase.java 31 private IDevice mDevice = null;
42 mDevice = device;
49 return mDevice;
DeviceTestSuite.java 30 private IDevice mDevice = null;
56 deviceTest.setDevice(mDevice);
66 return mDevice;
80 mDevice = device;
  /development/samples/USB/AdbTest/src/com/android/adb/
AdbSocket.java 25 private final AdbDevice mDevice;
30 mDevice = device;
41 if (! message.write(mDevice)) {
64 mDevice.log(message.getDataString());
73 message.write(mDevice);
  /frameworks/av/services/camera/libcameraservice/device1/
CameraHardwareInterface.h 78 mDevice = 0;
85 if(mDevice) {
86 int rc = mDevice->common.close(&mDevice->common);
96 (hw_device_t **)&mDevice);
110 if (mDevice->ops->set_preview_window) {
115 return mDevice->ops->set_preview_window(mDevice,
134 if (mDevice->ops->set_callbacks) {
135 mDevice->ops->set_callbacks(mDevice
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
Overlay.java 29 private Device mDevice;
49 mDevice = device;
71 return mDevice;
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
CategoryTest.java 22 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000");
28 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0]
33 out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0]
40 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0]
AbstractMonkeyTest.java 23 ITestDevice mDevice;
33 mDevice = getDevice();
35 mDevice.uninstallPackage(PKGS[i]);
37 mDevice.installPackage(app, false);
46 mDevice.uninstallPackage(PKGS[i]);
51 mDevice.executeAdbCommand("logcat", "-c");
MonkeyTest.java 29 mDevice.executeShellCommand(MONKEY_CMD + " -p " + PKGS[0] + " 500");
34 mDevice.executeShellCommand("am start -W -a android.intent.action.MAIN "
40 String logs = mDevice.executeAdbCommand("logcat", "-d", "MonkeyActivity:I", "*:S");
PackageTest.java 32 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000");
36 out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[1] + " 5000");
42 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0]
VerbosityTest.java 22 String v0 = mDevice.executeShellCommand(MONKEY_CMD + " -s 1337 -p " + PKGS[0] + " 500");
29 String v1 = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 500");
36 String v2 = mDevice.executeShellCommand(MONKEY_CMD + " -v -v -p " + PKGS[0] + " 500");
SeedTest.java 25 String out1 = mDevice.executeShellCommand(cmd1);
26 String out2 = mDevice.executeShellCommand(cmd1);
30 String out3 = mDevice.executeShellCommand(cmd2);
31 String out4 = mDevice.executeShellCommand(cmd2);
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
GeeTest.java 47 private ITestDevice mDevice;
79 if (!mDevice.pushFile(nativeExe, devicePath.toString())) {
87 if (mDevice.doesFileExist(remoteFilePath)) {
97 mDevice.executeShellCommand(String.format("mkdir %s", remoteFilePath));
98 return mDevice.doesFileExist(remoteFilePath);
107 CLog.v("Running gtest %s %s on %s", fullPath, flags, mDevice.getSerialNumber());
109 CLog.v("%s", mDevice.executeShellCommand(String.format("chmod 755 %s", fullPath)));
112 mDevice.executeShellCommand(String.format("%s %s", fullPath, flags), resultParser,
132 mDevice = device;
137 return mDevice;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
ConfirmConnectActivity.java 30 BluetoothDevice mDevice;
36 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
37 if (mDevice == null) finish();
39 String deviceName = mDevice.getName() != null ? mDevice.getName() : "";
47 allowIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
56 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
AMDGPUSubtarget.cpp 37 mDevice = AMDGPUDeviceInfo::getDeviceFromName(mDevName, this, mIs64bit);
42 delete mDevice;
75 if (!mDevice) {
82 return mDevice->getDataLayout();
93 return mDevice;
  /external/mesa3d/src/gallium/drivers/radeon/
AMDGPUSubtarget.cpp 37 mDevice = AMDGPUDeviceInfo::getDeviceFromName(mDevName, this, mIs64bit);
42 delete mDevice;
75 if (!mDevice) {
82 return mDevice->getDataLayout();
93 return mDevice;
  /cts/hostsidetests/usb/src/com/android/cts/usb/
TestUsbTest.java 57 private ITestDevice mDevice;
68 mDevice = getDevice();
69 mDevice.uninstallPackage(PACKAGE_NAME);
71 mDevice.installPackage(app, false);
77 mDevice.uninstallPackage(PACKAGE_NAME);
85 String adbSerial = mDevice.getSerialNumber().toLowerCase().trim();
89 if (mDevice.isAdbTcp()) { // adb over WiFi, no point checking it
93 String roSerial = mDevice.executeShellCommand("getprop ro.serialno").toLowerCase().
117 mDevice.getIDevice());
118 mDevice.runInstrumentationTests(testRunner, listener)
    [all...]
  /cts/suite/audio_quality/lib/src/
Adb.cpp 22 : mDevice(device)
67 if (mDevice.empty()) {
72 if (adbCommand.appendFormat("adb -s %s %s", mDevice.string(),
Adb.h 36 android::String8 mDevice;
  /cts/suite/cts/hostTests/jank/src/com/android/cts/jank/opengl/
CtsHostJankOpenGl.java 37 mDevice.uninstallPackage(APK_PACKAGE);
39 mDevice.installPackage(app, false);
45 mDevice.uninstallPackage(APK_PACKAGE);
  /cts/suite/cts/hostTests/jank/src/com/android/cts/jank/ui/
CtsHostJankUi.java 37 mDevice.uninstallPackage(APK_PACKAGE);
39 mDevice.installPackage(app, false);
45 mDevice.uninstallPackage(APK_PACKAGE);
  /frameworks/base/media/java/android/mtp/
MtpDevice.java 34 private final UsbDevice mDevice;
46 mDevice = device;
59 boolean result = native_open(mDevice.getDeviceName(), connection.getFileDescriptor());
92 return mDevice.getDeviceName();
103 return mDevice.getDeviceId();
108 return mDevice.getDeviceName();
  /hardware/libhardware/tests/camera2/
CameraFrameTests.cpp 68 if (mDevice.get()) {
69 mDevice->waitUntilDrained();
90 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW,
111 ASSERT_EQ(OK, mDevice->capture(tmpRequest));
116 ASSERT_EQ(OK, mDevice->waitForNextFrame(CAMERA_FRAME_TIMEOUT));
119 ASSERT_EQ(OK, mDevice->getNextFrame(&frameMetadata));
CameraModuleFixture.h 49 const CameraMetadata& staticInfo = mDevice->info();
79 mDevice.clear();
134 CreateCamera(mCameraID, &mDevice);
136 ASSERT_TRUE(mDevice != NULL) << "Failed to open device " << mCameraID;
137 ASSERT_EQ(OK, mDevice->initialize(mModule))
149 sp<CameraDeviceBase> mDevice;
  /packages/apps/Settings/src/com/android/settings/bluetooth/
CachedBluetoothDevice.java 49 private final BluetoothDevice mDevice;
121 sb.append("Address:").append(mDevice);
145 ((PanProfile) profile).isLocalRoleNap(mDevice)) {
151 profile.setPreferred(mDevice, true);
159 profile.setPreferred(mDevice, false);
161 ((PanProfile) profile).isLocalRoleNap(mDevice) &&
177 mDevice = device;
190 if (PbapProfile.getConnectionStatus(mDevice) == BluetoothProfile.STATE_CONNECTED)
192 PbapProfile.disconnect(mDevice);
197 if (profile.disconnect(mDevice)) {
    [all...]
  /frameworks/av/services/camera/libcameraservice/api_pro/
ProCamera2Client.cpp 64 mFrameProcessor = new FrameProcessorBase(mDevice);
85 if (!mDevice.get()) return PERMISSION_DENIED;
116 if (!mDevice.get()) return PERMISSION_DENIED;
197 if (!mDevice.get()) return DEAD_OBJECT;
210 return mDevice->setStreamingRequest(metadata);
212 return mDevice->capture(metadata);
226 if (!mDevice.get()) return DEAD_OBJECT;
246 if (!mDevice.get()) return DEAD_OBJECT;
247 mDevice->clearStreamingRequest();
250 if ((code = mDevice->waitUntilDrained()) != OK)
    [all...]

Completed in 304 milliseconds

1 2 3 4 5 6