/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;
|
DeviceConnector.java | 71 private IDevice mDevice; 90 mDevice = device; 99 if (mDevice == null) { 107 return mDevice;
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
CategoryTest.java | 22 String out = mDevice.executeShellCommand("monkey -v -p " + PKGS[0] + " 5000"); 28 String out = mDevice.executeShellCommand("monkey -v -p " + PKGS[0] 33 out = mDevice.executeShellCommand("monkey -v -p " + PKGS[0] 40 String out = mDevice.executeShellCommand("monkey -v -p " + PKGS[0]
|
AbstractMonkeyTest.java | 18 ITestDevice mDevice; 28 mDevice = getDevice(); 30 mDevice.uninstallPackage(PKGS[i]); 32 mDevice.installPackage(app, false); 41 mDevice.uninstallPackage(PKGS[i]); 46 mDevice.executeAdbCommand("logcat", "-c");
|
MonkeyTest.java | 29 mDevice.executeShellCommand("monkey -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 -v -p " + PKGS[0] + " 5000"); 36 out = mDevice.executeShellCommand("monkey -v -p " + PKGS[1] + " 5000"); 42 String out = mDevice.executeShellCommand("monkey -v -p " + PKGS[0]
|
VerbosityTest.java | 22 String v0 = mDevice.executeShellCommand("monkey -s 1337 -p " + PKGS[0] + " 500"); 29 String v1 = mDevice.executeShellCommand("monkey -v -p " + PKGS[0] + " 500"); 36 String v2 = mDevice.executeShellCommand("monkey -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);
|
/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);
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/ |
Window.java | 31 private IDevice mDevice; 34 this.mDevice = device; 57 return mDevice; 73 && mDevice.getSerialNumber().equals(((Window) other).mDevice.getSerialNumber());
|
/frameworks/av/services/camera/libcameraservice/ |
CameraHardwareInterface.h | 83 mDevice = 0; 90 if(mDevice) { 91 int rc = mDevice->common.close(&mDevice->common); 101 (hw_device_t **)&mDevice); 115 if (mDevice->ops->set_preview_window) { 120 return mDevice->ops->set_preview_window(mDevice, 139 if (mDevice->ops->set_callbacks) { 140 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;
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
GetPropReceiver.java | 32 private Device mDevice = null; 39 mDevice = device; 60 mDevice.addProperty(label, value); 73 mDevice.update(Device.CHANGE_BUILD_INFO);
|
/sdk/chimpchat/src/com/android/chimpchat/hierarchyviewer/ |
HierarchyViewer.java | 33 private IDevice mDevice; 41 this.mDevice = device; 46 DeviceBridge.setupDeviceForward(mDevice); 47 if (!DeviceBridge.isViewServerRunning(mDevice)) { 48 if (!DeviceBridge.startViewServer(mDevice)) { 54 if (!DeviceBridge.startViewServer(mDevice)) { 55 Log.e(TAG, "Unable to debug device " + mDevice); 61 DeviceBridge.loadViewServerInfo(mDevice); 73 new Window(mDevice, "", 0xffffffff)); 107 int id = DeviceBridge.getFocusedWindow(mDevice); [all...] |
/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);
|
BluetoothHeadsetHandover.java | 76 final BluetoothDevice mDevice; 98 mDevice = device; 125 if (mA2dp.getConnectedDevices().contains(mDevice) || 126 mHeadset.getConnectedDevices().contains(mDevice)) { 127 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); 130 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); 152 if (mHeadset.getConnectionState(mDevice) != BluetoothProfile.STATE_DISCONNECTED) { 154 mHeadset.disconnect(mDevice); 158 if (mA2dp.getConnectionState(mDevice) != BluetoothProfile.STATE_DISCONNECTED) { 160 mA2dp.disconnect(mDevice); [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;
|
/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();
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
CachedBluetoothDevice.java | 48 private final BluetoothDevice mDevice; 108 sb.append("Address:").append(mDevice); 128 ((PanProfile) profile).isLocalRoleNap(mDevice)) { 134 ((PanProfile) profile).isLocalRoleNap(mDevice) && 150 mDevice = device; 162 if (profile.disconnect(mDevice)) { 201 if (profile.isPreferred(mDevice)) { 223 profile.setPreferred(mDevice, true); 245 if (profile.connect(mDevice)) { 269 if (!mDevice.createBond()) [all...] |
/frameworks/native/include/binder/ |
MemoryHeapBase.h | 74 if (mDevice == 0) 75 mDevice = device; 76 return mDevice ? NO_ERROR : ALREADY_EXISTS; 92 const char* mDevice;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbResolverActivity.java | 45 private UsbDevice mDevice; 66 if (mDevice == null) { 73 mDevice = (UsbDevice)target.getParcelableExtra(UsbManager.EXTRA_DEVICE); 74 if (mDevice != null) { 75 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); 101 if (mDevice != null) { 103 service.grantDevicePermission(mDevice, uid); 106 service.setDevicePackage(mDevice, ri.activityInfo.packageName); 108 service.setDevicePackage(mDevice, null);
|
UsbDisconnectedReceiver.java | 32 private UsbDevice mDevice; 37 mDevice = device; 56 if (device != null && device.equals(mDevice)) {
|