/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | ConfirmConnectActivity.java | 30 BluetoothDevice mDevice; field in class:ConfirmConnectActivity 38 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 39 if (mDevice == null) finish(); 41 String deviceName = mDevice.getName() != null ? mDevice.getName() : ""; 49 allowIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 59 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 75 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
|
H A D | BluetoothPeripheralHandover.java | 82 final BluetoothDevice mDevice; field in class:BluetoothPeripheralHandover 111 mDevice = device; 192 if (mInput.getConnectedDevices().contains(mDevice)) { 193 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); 196 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); 200 if (mA2dp.getConnectedDevices().contains(mDevice) || 201 mHeadset.getConnectedDevices().contains(mDevice)) { 202 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); 205 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); 221 if (mInput.getConnectionState(mDevice) [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
H A D | CaptureSessionCreator.java | 34 private final CameraDeviceProxy mDevice; field in class:CaptureSessionCreator 43 mDevice = device; 58 mDevice.createCaptureSession(surfaces, new CameraCaptureSessionProxy.StateCallback() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | MtpDeviceIndexRunnable.java | 69 private final MtpDevice mDevice; field in class:MtpDeviceIndexRunnable 87 mDevice = index.getDevice(); 134 if (!mIndex.setIndexingResults(mDevice, mIndexGeneration, 158 for (int storageId : mDevice.getStorageIds()) { 159 if (!mIndex.isAtGeneration(mDevice, mIndexGeneration)) { 165 if (!mIndex.isAtGeneration(mDevice, mIndexGeneration)) { 169 for (int objectHandle : mDevice.getObjectHandles(storageId, 0, dirHandle)) { 170 MtpObjectInfo mtpObjectInfo = mDevice.getObjectInfo(objectHandle);
|
H A D | ImportTask.java | 55 private MtpDevice mDevice; field in class:ImportTask 62 mDevice = device; 85 importedPath = new File(dest, object.getName(mDevice)).getAbsolutePath(); 86 if (!mDevice.importFile(object.getObjectHandle(), importedPath)) {
|
H A D | MtpDeviceIndex.java | 98 private MtpDevice mDevice; field in class:MtpDeviceIndex 116 return mDevice; 120 return (mDevice != null); 140 if (device == mDevice) { 143 mDevice = device; 396 return (mGeneration == generation) && (mDevice == device);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothPermissionRequest.java | 51 BluetoothDevice mDevice; field in class:BluetoothPermissionRequest 70 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 105 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 109 String deviceAddress = mDevice != null ? mDevice.getAddress() : null; 133 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 137 String deviceName = mDevice != null ? mDevice.getAliasName() : null; 225 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); 228 bluetoothManager.getProfileManager(), mDevice); [all...] |
H A D | BluetoothPermissionActivity.java | 53 private BluetoothDevice mDevice; field in class:BluetoothPermissionActivity 67 if (mDevice.equals(device)) dismissDialog(); 90 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 154 String mRemoteName = mDevice != null ? mDevice.getAliasName() : null; 214 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); 218 mDevice); 239 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
|
H A D | BluetoothPairingDialog.java | 64 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog 72 * or if pairing was canceled for {@link #mDevice}. 87 if (device == null || device.equals(mDevice)) { 115 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 172 mCachedDeviceManager.getName(mDevice)); 192 mCachedDeviceManager.getName(mDevice))); 193 if (mDevice.getPhonebookAccessPermission() == BluetoothDevice.ACCESS_ALLOWED) { 195 } else if (mDevice.getPhonebookAccessPermission() == BluetoothDevice.ACCESS_REJECTED){ 199 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); 206 mDevice [all...] |
H A D | DockService.java | 115 // is severed. One exception is that mDevice could be null if the service 117 private BluetoothDevice mDevice; field in class:DockService 376 + mServiceHandler.hasMessages(MSG_TYPE_UNDOCKED_PERMANENT, mDevice)); 386 if (!device.equals(mDevice)) { 387 if (mDevice != null) { 389 handleUndocked(mDevice); 392 mDevice = device; 495 mDevice = device; 587 if (mDevice != null) { 589 DockService.this, mDevice [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
H A D | SdpManagerTestServer.java | 45 final BluetoothDevice mDevice; field in class:SdpManagerTestServer 52 mDevice = device; 129 searchAwaitAndValidate(uuids, mDevice, count);
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
H A D | BluetoothOppHandover.java | 50 final BluetoothDevice mDevice; field in class:BluetoothOppHandover 62 mDevice = device; 101 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
H A D | IngestService.java | 69 private MtpDevice mDevice; field in class:IngestService 117 if (mDevice == device) { 124 mDevice = device; 125 mIndex.setDevice(mDevice); 126 if (mDevice != null) { 127 MtpDeviceInfo deviceInfo = mDevice.getDeviceInfo(); 180 if (mDevice != null) { 195 ImportTask task = new ImportTask(mDevice, importHandles, mDevicePrettyName, this); 206 if (mDevice == null) { 213 if (device == mDevice) { [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothAccessoryActivity.java | 65 private BluetoothDevice mDevice; field in class:BluetoothAccessoryActivity 91 if (mDevice.equals(device)) { 135 mDevice = device; 145 if (mDevice != null && 146 (mDevice.getType() == BluetoothDevice.DEVICE_TYPE_LE || 147 mDevice.getType() == BluetoothDevice.DEVICE_TYPE_DUAL)) { 149 mDeviceGatt = mDevice.connectGatt(this, true, new GattBatteryCallbacks()); 300 if (mDevice != null) { 301 int state = mDevice.getBondState(); 304 mDevice [all...] |
H A D | BluetoothPairingDialog.java | 66 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog 72 * pairing was canceled for {@link #mDevice}. 90 if (device == null || device.equals(mDevice)) { 109 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 113 Log.d(TAG, "Requested pairing Type = " + mType + " , Device = " + mDevice); 260 mDevice.cancelPairingUserInput(); 265 .replace(android.R.id.content, EntryDialogFragment.newInstance(mDevice, mType)) 276 ConfirmationDialogFragment.newInstance(mDevice, mPairingKey, mType); 291 mDevice.setPin(pinBytes); 296 mDevice 323 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog.EntryDialogFragment 390 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog.ConfirmationDialogFragment [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetPhoneState.java | 405 BluetoothDevice mDevice; field in class:HeadsetVendorSpecificResultCode 410 mDevice = device;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
H A D | SdpManager.java | 119 private final BluetoothDevice mDevice; field in class:SdpManager.SdpSearchInstance 127 this.mDevice = device; 133 return mDevice;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
H A D | OneCameraImpl.java | 268 private final CameraDevice mDevice; field in class:OneCameraImpl 319 mDevice = device; 388 CaptureRequest.Builder builder = mDevice 448 mDevice.close(); 551 mDevice.createCaptureSession(outputSurfaces, new CameraCaptureSession.StateCallback() { 611 CaptureRequest.Builder builder = mDevice. 633 builder = mDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
|
H A D | OneCameraZslImpl.java | 158 private final CameraDevice mDevice; field in class:OneCameraZslImpl 296 mDevice = device; 589 mDevice.close(); 688 mDevice.createCaptureSession(outputSurfaces, new CameraCaptureSession.StateCallback() { 758 builder = mDevice.createCaptureRequest(CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG); 760 builder = mDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); 802 builder = mDevice.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE); 839 builder = mDevice.createCaptureRequest(CameraDevice.TEMPLATE_VIDEO_SNAPSHOT); 869 builder = mDevice.createCaptureRequest(CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG); 871 builder = mDevice [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
H A D | HealthService.java | 203 byte[] devAddr = Utils.getByteAddress(chan.mDevice); 207 callHealthChannelCallback(chan.mConfig, chan.mDevice, 211 callHealthChannelCallback(chan.mConfig, chan.mDevice, 222 callHealthChannelCallback(chan.mConfig, chan.mDevice, 226 callHealthChannelCallback(chan.mConfig, chan.mDevice, 283 callHealthChannelCallback(chan.mConfig, chan.mDevice, newState, 458 if (chan.mDevice.equals(device) && chan.mConfig.equals(config)) { 758 if (chan.mDevice.equals(device)) { 842 private BluetoothDevice mDevice; field in class:HealthService.HealthChannel 852 mDevice [all...] |