/frameworks/base/services/java/com/android/server/display/ |
OverlayDisplayAdapter.java | 270 private OverlayDisplayDevice mDevice; 294 mDevice = new OverlayDisplayDevice(displayToken, mName, 297 sendDisplayDeviceEventLocked(mDevice, DISPLAY_DEVICE_EVENT_ADDED); 305 if (mDevice != null) { 306 mDevice.destroyLocked(); 307 sendDisplayDeviceEventLocked(mDevice, DISPLAY_DEVICE_EVENT_REMOVED);
|
/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...] |
BluetoothPermissionActivity.java | 54 private BluetoothDevice mDevice; 68 if (mDevice.equals(device)) dismissDialog(); 91 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 151 String mRemoteName = mDevice != null ? mDevice.getAliasName() : null; 224 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 260 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); 265 mDevice);
|
BluetoothPermissionRequest.java | 47 BluetoothDevice mDevice; 60 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 85 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 89 String deviceAddress = mDevice != null ? mDevice.getAddress() : null; 105 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 109 String deviceName = mDevice != null ? mDevice.getAliasName() : null; 181 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); 185 bluetoothManager.getProfileManager(), mDevice); [all...] |
/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/ |
CtsHostJankTest.java | 41 protected ITestDevice mDevice; 59 mDevice = getDevice(); 62 boolean result = mDevice.pushFile(jarFile, mJarPath); 69 mDevice.executeShellCommand("rm " + mJarPath); 75 mDevice.executeShellCommand("rm -r " + DEVICE_LOCATION + "*.txt"); 78 mDevice.executeShellCommand( 101 File result = mDevice.pullFile(DEVICE_LOCATION + "UiJankinessTestsOutput.txt"); 122 new HostReportLog(mDevice.getSerialNumber(), mHostTestClass + "#" + testName);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
JarHostTest.java | 53 private ITestDevice mDevice; 154 return mDevice; 162 mDevice = device; 336 if (mDevice == null) {
|
CtsTest.java | 86 private ITestDevice mDevice; 207 private ITestDevice mDevice; 211 mDevice = device; 217 InputStreamSource bugSource = mDevice.getBugreport(); 228 private ITestDevice mDevice; 234 mDevice = device; 244 InputStreamSource logSource = mDevice.getLogcat(mNumLogcatBytes); 255 private ITestDevice mDevice; 260 mDevice = device; 268 InputStreamSource screenSource = mDevice.getScreenshot() [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbTestActivity.java | 42 private UsbDevice mDevice; 127 mDevice = null; 137 mDevice = device; 188 if (mDevice != null && mDevice.equals(deviceName)) {
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 47 private UsbDevice mDevice; 103 if (mDevice != null && mDevice.equals(device)) { 132 mDevice = device;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbConfirmActivity.java | 52 private UsbDevice mDevice; 63 mDevice = (UsbDevice) intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 73 if (mDevice == null) { 78 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); 90 if (mDevice == null) { 122 if (mDevice != null) { 124 intent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); 127 service.grantDevicePermission(mDevice, uid); 131 mDevice, mResolveInfo.activityInfo.packageName, userId); 133 service.setDevicePackage(mDevice, null, userId) [all...] |
UsbPermissionActivity.java | 53 private UsbDevice mDevice; 66 mDevice = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); 86 if (mDevice == null) { 91 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); 103 if (mDevice == null) { 125 if (mDevice != null) { 126 intent.putExtra(UsbManager.EXTRA_DEVICE, mDevice); 128 service.grantDevicePermission(mDevice, mUid); 131 service.setDevicePackage(mDevice, mPackageName, userId);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceResponse.java | 60 protected WifiP2pDevice mDevice; 123 mDevice = device; 176 return mDevice; 182 this.mDevice = dev; 298 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); 316 equals(req.mDevice.deviceAddress, mDevice.deviceAddress) && 335 result = 31 * result + (mDevice.deviceAddress == null ? 336 0 : mDevice.deviceAddress.hashCode()); 351 dest.writeParcelable(mDevice, flags) [all...] |
/hardware/libhardware/tests/camera2/ |
camera2_utils.h | 70 camera2_device_t *mDevice; 192 camera2_device_t *mDevice;
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothOppHandover.java | 53 final BluetoothDevice mDevice; 65 mDevice = device; 123 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
|
BluetoothHeadsetHandover.java | 80 final BluetoothDevice mDevice; 105 mDevice = device; 172 if (mA2dp.getConnectedDevices().contains(mDevice) || 173 mHeadset.getConnectedDevices().contains(mDevice)) { 174 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); 177 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); 191 if (mHeadset.getConnectionState(mDevice) != BluetoothProfile.STATE_DISCONNECTED) { 193 mHeadset.disconnect(mDevice); 197 if (mA2dp.getConnectionState(mDevice) != BluetoothProfile.STATE_DISCONNECTED) { 199 mA2dp.disconnect(mDevice); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
DeviceMenuListener.java | 55 private final Device mDevice; 61 mDevice = device; 66 mConfigChooser.selectDevice(mDevice);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
DelayedLaunchInfo.java | 39 private IDevice mDevice = null; 110 return mDevice; 117 mDevice = device;
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestUtils.java | 149 private BluetoothDevice mDevice; 156 mDevice = device; 163 if (!mDevice.equals(intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE))) { 172 mDevice.setPin(mPin); 175 mDevice.setPasskey(mPasskey); 179 mDevice.setPairingConfirmation(true); 182 mDevice.setRemoteOutOfBandData(); 209 private BluetoothDevice mDevice; 216 mDevice = device; 240 if (!mDevice.equals(intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE))) [all...] |
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/ |
JankTestBase.java | 48 protected UiDevice mDevice; 171 mDevice = UiDevice.getInstance(); 196 mDevice.pressHome();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleServerService.java | 81 private BluetoothDevice mDevice; 94 mDevice = null; 113 if (mDevice != null) mGattServer.cancelConnection(mDevice); 225 mGattServer.notifyCharacteristicChanged(mDevice, characteristic, false); 252 mDevice = device; 258 mDevice = null;
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
BluetoothHDPActivity.java | 69 private BluetoothDevice mDevice; 174 if (mDeviceIndex < deviceCount) mDevice = mAllBondedDevices[mDeviceIndex]; 177 mDevice = mAllBondedDevices[0]; 264 mDevice = this.mAllBondedDevices[position]; 328 mHealthService.send(Message.obtain(null, what, mDevice));
|
BluetoothHDPService.java | 95 private BluetoothDevice mDevice; 124 mDevice = (BluetoothDevice) msg.obj; 129 mDevice = (BluetoothDevice) msg.obj; 187 mBluetoothHealth.connectChannelToSource(mDevice, mHealthAppConfig); 193 mBluetoothHealth.disconnectChannel(mDevice, mHealthAppConfig, mChannelId);
|
/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...] |
/hardware/libhardware/tests/keymaster/ |
keymaster_test.cpp | 95 UniqueBlob(bytes, length), mDevice(dev) { 99 if (mDevice != NULL && *mDevice != NULL) { 100 keymaster_device_t* dev = *mDevice; 108 keymaster_device_t** mDevice; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageOverlay.java | 361 private final Device mDevice; 373 mDevice = device; 387 return new Image(mDevice, mImageData);
|