Searched refs:device (Results 76 - 100 of 193) sorted by relevance

12345678

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
H A DDreamTimePreference.java17 package com.android.tv.settings.device.display.daydream;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
H A DMtpThumbnailTileView.java33 * View for thumbnail images from an MTP device
69 protected Object fetchMtpImageDataFromDevice(MtpDevice device, IngestObjectInfo info) { argument
70 return MtpBitmapFetch.getThumbnail(device, info);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DWiredHeadsetManager.java64 for (AudioDeviceInfo device : devices) {
65 switch (device.getType()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DObexServerSockets.java205 * @param device the connecting device.
209 synchronized private boolean onConnect(BluetoothDevice device, BluetoothSocket conSocket) { argument
211 if(mConAccepted == false && mConHandler.onConnect(device, conSocket) == true) {
296 BluetoothDevice device;
309 device = connSocket.getRemoteDevice();
311 if (device == null) {
323 boolean isValid = ObexServerSockets.this.onConnect(device, connSocket);
326 /* Close connection if we already have a connection with another device
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java356 private void notifyLlcpLinkActivation(NativeP2pDevice device) { argument
357 mListener.onLlcpLinkActivated(device);
363 private void notifyLlcpLinkDeactivated(NativeP2pDevice device) { argument
364 mListener.onLlcpLinkDeactivated(device);
370 private void notifyLlcpLinkFirstPacketReceived(NativeP2pDevice device) { argument
371 mListener.onLlcpFirstPacketReceived(device);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java136 private static BluetoothDevice mRemoteDevice = null; // The remote connected device - protect access
458 + sRemoteDeviceName + " automatically as trusted device");
509 public boolean disconnect(BluetoothDevice device) { argument
511 .obtainMessage(DISCONNECT_MAP, 0, 0, device));
515 public boolean disconnectMap(BluetoothDevice device) { argument
518 if (getRemoteDevice()!= null && getRemoteDevice().equals(device)) {
547 for (BluetoothDevice device : bondedDevices) {
548 ParcelUuid[] featureUuids = device.getUuids();
552 connectionState = getConnectionState(device);
555 deviceList.add(device);
563 getConnectionState(BluetoothDevice device) argument
573 setPriority(BluetoothDevice device, int priority) argument
581 getPriority(BluetoothDevice device) argument
1208 isConnected(BluetoothDevice device) argument
1216 connect(BluetoothDevice device) argument
1223 disconnect(BluetoothDevice device) argument
1244 getConnectionState(BluetoothDevice device) argument
1251 setPriority(BluetoothDevice device, int priority) argument
1257 getPriority(BluetoothDevice device) argument
[all...]
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
H A DWifiP2pSettings.java134 if (DBG) Log.d(TAG, "Update device info: " + mThisDevice);
182 WifiP2pDevice device = savedInstanceState.getParcelable(SAVE_DIALOG_PEER);
183 mSelectedWifiPeer = new WifiP2pPeer(getActivity(), device);
214 if (DBG) Log.d(TAG, " device rename success");
387 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) {
389 } else if (mSelectedWifiPeer.device.status == WifiP2pDevice.INVITED) {
393 config.deviceAddress = mSelectedWifiPeer.device.deviceAddress;
400 if (mSelectedWifiPeer.device.wpsPbcSupported()) {
402 } else if (mSelectedWifiPeer.device.wpsKeypadSupported()) {
432 String deviceName = TextUtils.isEmpty(mSelectedWifiPeer.device
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
H A DIngestService.java116 private void setDevice(MtpDevice device) { argument
117 if (mDevice == device) {
124 mDevice = device;
205 public void deviceAdded(MtpDevice device) { argument
207 setDevice(device);
212 public void deviceRemoved(MtpDevice device) { argument
213 if (device == mDevice) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DMtpDeviceIndex.java55 * A media item on the device was indexed.
62 * The metadata loaded from the device is being sorted.
179 * @param device The MtpDevice that should be indexed
181 public synchronized void setDevice(MtpDevice device) { argument
182 if (device == mDevice) {
185 mDevice = device;
294 in hotspots, even if the attached device has items for every day for
433 * @param device
435 * @return whether the index is at the given generation and the given device is connected
437 protected boolean isAtGeneration(MtpDevice device, lon argument
441 setIndexingResults(MtpDevice device, long generation, MtpDeviceIndexRunnable.Results results) argument
[all...]
H A DMtpClient.java41 * and notifies the application when the MTP device list changes.
55 // so we can inform when the device has been detached.
63 // unable to open the device.
125 * Called when a new device has been added
127 * @param device the new device that was added
129 public void deviceAdded(MtpDevice device); argument
132 * Called when a new device has been removed
134 * @param device the device tha
136 deviceRemoved(MtpDevice device) argument
146 isCamera(UsbDevice device) argument
[all...]
H A DImportTask.java34 * Task that handles the copying of items from an MTP device.
58 public ImportTask(MtpDevice device, Collection<IngestObjectInfo> objectsToImport, argument
62 mDevice = device;
/packages/apps/Camera2/src/com/android/camera/device/
H A DPortabilityCameraActions.java17 package com.android.camera.device;
39 * Set of device actions for opening and closing a single portability
40 * layer camera device.
87 public void executeClose(SingleDeviceCloseListener closeListener, CameraProxy device) { argument
88 mLogger.i("executeClose(" + device.getCameraId() + ")");
89 mBackgroundRunner.execute(new CloseCameraRunnable(device, device.getAgent(),
179 * Internal callback that provides a camera device to a future.
H A DActiveCameraDeviceTracker.java17 package com.android.camera.device;
27 * Shared object for tracking the active camera device across multiple
H A DCameraDeviceLifecycle.java17 package com.android.camera.device;
26 * This class manages the lifecycle of a single device and API version.
27 * A single instance deals with multiple requests for the same device
29 * multiple calls to open() and close(). Once the device reaches the
73 * Request that the device represented by this lifecycle should
84 * Request that the device represented by this lifecycle should
H A DCameraId.java17 package com.android.camera.device;
38 * This should compute a Legacy Api1 camera Id for the given camera2 device.
53 * This should compute a Camera2 Id for the given legacy camera device.
74 * does not exist, which should only happen if the device that is being opened
H A DCameraModuleHelper.java17 package com.android.camera.device;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransfer.java67 * This class run an actual Opp transfer session (from connect target device to
350 * 3) new a thread to connect to target device
351 * 3.1) Try a few times to do SDP query for target device OPUSH channel
505 private final BluetoothDevice device; field in class:BluetoothOppTransfer.SocketConnectThread
522 this.device = null;
527 public SocketConnectThread(BluetoothDevice device, int channel, boolean argument
530 this.device = device;
538 public SocketConnectThread(BluetoothDevice device, boolean argument
541 this.device
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothA2dpConnector.java45 BluetoothDevice device = (BluetoothDevice) intent.getParcelableExtra(
48 Log.d(TAG, "There was a connection status change for: " + device.getAddress());
51 if (device.equals(mTarget)) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DMoveAppActivity.java17 package com.android.tv.settings.device.apps;
33 import com.android.tv.settings.device.storage.MoveAppProgressFragment;
34 import com.android.tv.settings.device.storage.MoveAppStepFragment;
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBluetoothOppHandover.java59 public BluetoothOppHandover(Context context, BluetoothDevice device, ArrayList<Uri> uris, argument
62 mDevice = device;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DMainFragment.java53 import com.android.tv.settings.device.sound.SoundFragment;
324 for (final BluetoothDevice device : bondedDevices) {
325 final String desc = connectedBluetoothAddresses.contains(device.getAddress())
329 final String key = "BluetoothDevice:" + device.getAddress();
336 preference.setTitle(device.getName());
338 final int deviceImgId = AccessoryUtils.getImageIdForDevice(device);
343 device.getAddress(),
344 device.getName(),
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcService.java297 public void onLlcpLinkActivated(NfcDepEndpoint device) { argument
298 sendMessage(NfcService.MSG_LLCP_LINK_ACTIVATION, device);
305 public void onLlcpLinkDeactivated(NfcDepEndpoint device) { argument
306 sendMessage(NfcService.MSG_LLCP_LINK_DEACTIVATED, device);
313 public void onLlcpFirstPacketReceived(NfcDepEndpoint device) { argument
315 sendMessage(NfcService.MSG_LLCP_LINK_FIRST_PACKET, device);
859 // don't allow Beam for managed profiles, or devices with a device owner or policy owner
1602 NfcDepEndpoint device = (NfcDepEndpoint) o;
1603 if (device.getMode() == NfcDepEndpoint.MODE_P2P_TARGET) {
1605 device
2022 llcpActivated(NfcDepEndpoint device) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DAtPhonebook.java152 private byte[] getByteAddress(BluetoothDevice device) { argument
153 return Utils.getBytesFromAddress(device.getAddress());
156 public void handleCscsCommand(String atString, int type, BluetoothDevice device) argument
179 atCommandErrorCode, getByteAddress(device));
198 mStateMachine.atResponseStringNative(atCommandResponse, getByteAddress(device));
200 getByteAddress(device));
203 public void handleCpbsCommand(String atString, int type, BluetoothDevice device) { argument
259 mStateMachine.atResponseStringNative(atCommandResponse, getByteAddress(device));
261 getByteAddress(device));
476 /*package*/ int processCpbrCommand(BluetoothDevice device) argument
[all...]
/packages/experimental/procstatlog/
H A Dprocstatreport.py116 <span style="font-size: 150%%">disk: %(device)s</span><br>
514 diskstats, device = key.split(":", 1)
515 disk_reads.setdefault(device, {})[when] = reads
516 disk_writes.setdefault(device, {})[when] = writes
517 disk_msec.setdefault(device, {})[when] = msec
522 for num, device in enumerate(sorted(disk_reads.keys())):
524 if d.startswith(device) and d != device]: continue
526 reads, writes = disk_reads[device], disk_writes[device]
[all...]
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodAndLanguageSettings.java535 InputDevice device = InputDevice.getDevice(devices[i]);
536 if (device != null
537 && !device.isVirtual()
538 && device.isFullKeyboard()) {
539 final InputDeviceIdentifier identifier = device.getIdentifier();
546 pref.setTitle(device.getName());
633 InputDevice device = InputDevice.getDevice(devices[i]);
634 if (device != null && !device.isVirtual() && device
[all...]

Completed in 2937 milliseconds

12345678