Searched refs:getDevice (Results 1 - 25 of 41) sorted by relevance

12

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothProfileLineItem.java47 super(context.getText(profile.getNameResource(cachedBluetoothDevice.getDevice())));
63 mProfile.setPreferred(mCachedDevice.getDevice(), false);
64 } else if (mProfile.isPreferred(mCachedDevice.getDevice())) {
68 mProfile.setPreferred(mCachedDevice.getDevice(), false);
71 mProfile.setPreferred(mCachedDevice.getDevice(), true);
90 BluetoothDevice device = mCachedDevice.getDevice();
H A DBluetoothDeviceListAdapter.java199 if (BluetoothDeviceFilter.BONDED_DEVICE_FILTER.matches(bluetoothDevice.getDevice())) {
204 BluetoothDetailActivity.BT_DEVICE_KEY, bluetoothDevice.getDevice());
328 if (BluetoothDeviceFilter.BONDED_DEVICE_FILTER.matches(cachedDevice.getDevice())) {
333 if (BluetoothDeviceFilter.UNBONDED_DEVICE_FILTER.matches(cachedDevice.getDevice())) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DNativeInterface.java57 private BluetoothDevice getDevice(byte[] address) { method in class:NativeInterface
68 event.device = getDevice(address);
84 event.device = getDevice(address);
103 event.device = getDevice(address);
119 event.device = getDevice(address);
134 event.device = getDevice(address);
149 event.device = getDevice(address);
164 event.device = getDevice(address);
179 event.device = getDevice(address);
203 event.device = getDevice(addres
[all...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DEdgeSwipeDetector.java44 float edgeGutter = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax()
61 float enough = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMtpClient.java254 public MtpDevice getDevice(String deviceName) { method in class:MtpClient
267 public MtpDevice getDevice(int id) { method in class:MtpClient
300 MtpDevice device = getDevice(deviceName);
332 MtpDevice device = getDevice(deviceName);
347 MtpDevice device = getDevice(deviceName);
368 MtpDevice device = getDevice(deviceName);
404 MtpDevice device = getDevice(deviceName);
419 MtpDevice device = getDevice(deviceName);
437 MtpDevice device = getDevice(deviceName);
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowInputDevice.java41 public static InputDevice getDevice(int id) { method in class:ShadowInputDevice
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DDeviceListPreferenceFragment.java147 mSelectedDevice = device.getDevice();
167 if (mFilter.matches(cachedDevice.getDevice())) {
179 String key = cachedDevice.getDevice().getAddress();
H A DDeviceProfilesSettings.java178 BluetoothDevice device = mCachedDevice.getDevice();
235 pref.setText(profile.getNameResource(mCachedDevice.getDevice()));
252 BluetoothDevice device = mCachedDevice.getDevice();
295 String profileName = context.getString(profile.getNameResource(device.getDevice()));
305 profile.setPreferred(device.getDevice(), false);
358 BluetoothDevice device = mCachedDevice.getDevice();
H A DDevicePickerFragment.java124 BluetoothDevice device = cachedDevice.getDevice();
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DRemoteDevices.java83 BluetoothDevice getDevice(byte[] address) { method in class:RemoteDevices
87 return prop.getDevice();
168 BluetoothDevice getDevice() { method in class:RemoteDevices.DeviceProperties
279 BluetoothDevice device = getDevice(address);
294 BluetoothDevice bdDevice = getDevice(address);
299 bdDevice = getDevice(address);
371 BluetoothDevice device = getDevice(address);
392 BluetoothDevice device = getDevice(address);
H A DBondStateMachine.java321 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevices.getDevice(address));
354 BluetoothDevice device = mRemoteDevices.getDevice(address);
383 BluetoothDevice bdDevice = mRemoteDevices.getDevice(address);
415 BluetoothDevice device = mRemoteDevices.getDevice(address);
419 device = mRemoteDevices.getDevice(address);
433 BluetoothDevice bdDevice = mRemoteDevices.getDevice(address);
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
H A DGattClientListener.java189 + gatt.getDevice().getAddress() + " status " + status);
195 + gatt.getDevice().getAddress() + " status " + status);
205 + gatt.getDevice().getAddress() + " status " + status);
208 + gatt.getDevice().getAddress() + " status " + status);
368 BluetoothDevice device = result.getDevice();
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidCameraCaptureSessionProxy.java121 public CameraDeviceProxy getDevice() { method in class:AndroidCameraCaptureSessionProxy
122 return new AndroidCameraDeviceProxy(mSession.getDevice());
H A DCameraCaptureSessionProxy.java81 public CameraDeviceProxy getDevice(); method in interface:CameraCaptureSessionProxy
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
H A DHfpClientConnectionService.java109 HfpClientDeviceBlock block = findBlockForDevice(call.getDevice());
255 BluetoothDevice bd1 = ((HfpClientConnection) connection1).getDevice();
256 BluetoothDevice bd2 = ((HfpClientConnection) connection2).getDevice();
269 private BluetoothDevice getDevice(PhoneAccountHandle handle) { method in class:HfpClientConnectionService
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMapClientService.java116 if (mMceStateMachine != null && device.equals(mMceStateMachine.getDevice())) {
140 if (mMceStateMachine != null && device.equals(mMceStateMachine.getDevice())) {
177 mMceStateMachine.disconnect(mMceStateMachine.getDevice());
189 if (mMceStateMachine != null && device.equals(mMceStateMachine.getDevice())) {
/packages/apps/Car/Messenger/src/com/android/car/messenger/
H A DMapMessage.java90 public BluetoothDevice getDevice() { method in class:MapMessage
/packages/services/Car/TrustAgent/src/com/android/car/trust/comms/
H A DSimpleBleClient.java266 BluetoothDevice device = result.getDevice();
293 Log.d(TAG, "Batch scanResult: " + r.getDevice().getName()
294 + " " + r.getDevice().getAddress());
316 callback.onDeviceConnected(gatt.getDevice());
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java112 public BluetoothDevice getDevice() { method in class:SdpManager.SdpSearchInstance
174 if (inst.getDevice().getAddress().equals(addressString)
185 if (inst.getDevice().getAddress().equals(addressString)
430 sdpSearchNative(Utils.getBytesFromAddress(inst.getDevice().getAddress()),
448 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, inst.getDevice());
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientStateMachine.java213 if (!device.equals(getDevice())) {
375 currentDevice = getDevice();
401 public BluetoothDevice getDevice() { method in class:PbapClientStateMachine
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpPagerAdapter.java105 v.getImageView().setMtpDeviceAndObjectInfo(mModel.getDevice(), i, mGeneration);
H A DMtpAdapter.java147 imageView.setMtpDeviceAndObjectInfo(mModel.getDevice(),
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DUsbHostManagementActivity.java90 UsbDevice connectedDevice = getDevice();
147 private UsbDevice getDevice() { method in class:UsbHostManagementActivity
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/
H A DUsbHostManagementActivity.java98 UsbDevice connectedDevice = getDevice();
155 private UsbDevice getDevice() { method in class:UsbHostManagementActivity
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java260 float maxX = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax();
261 float maxY = event.getDevice().getMotionRange(MotionEvent.AXIS_Y).getMax();

Completed in 624 milliseconds

12