Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 61) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothProfile.java38 boolean connect(BluetoothDevice device); in connect()
40 boolean disconnect(BluetoothDevice device); in disconnect()
42 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus()
44 boolean isPreferred(BluetoothDevice device); in isPreferred()
46 int getPreferred(BluetoothDevice device); in getPreferred()
48 void setPreferred(BluetoothDevice device, boolean preferred); in setPreferred()
59 int getNameResource(BluetoothDevice device); in getNameResource()
68 int getSummaryResourceForDevice(BluetoothDevice device); in getSummaryResourceForDevice()
DOppProfile.java43 public boolean connect(BluetoothDevice device) { in connect()
47 public boolean disconnect(BluetoothDevice device) { in disconnect()
51 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
55 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
59 public int getPreferred(BluetoothDevice device) { in getPreferred()
63 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
78 public int getNameResource(BluetoothDevice device) { in getNameResource()
82 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DPanProfile.java85 public boolean connect(BluetoothDevice device) { in connect()
96 public boolean disconnect(BluetoothDevice device) { in disconnect()
101 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
108 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
113 public int getPreferred(BluetoothDevice device) { in getPreferred()
117 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
129 public int getNameResource(BluetoothDevice device) { in getNameResource()
137 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
160 void setLocalRole(BluetoothDevice device, int role) { in setLocalRole()
164 boolean isLocalRoleNap(BluetoothDevice device) { in isLocalRoleNap()
DPbapServerProfile.java79 public boolean connect(BluetoothDevice device) { in connect()
85 public boolean disconnect(BluetoothDevice device) { in disconnect()
90 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
100 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
104 public int getPreferred(BluetoothDevice device) { in getPreferred()
108 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
120 public int getNameResource(BluetoothDevice device) { in getNameResource()
124 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DMapProfile.java69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
114 public boolean connect(BluetoothDevice device) { in connect()
119 public boolean disconnect(BluetoothDevice device) { in disconnect()
132 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
142 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
147 public int getPreferred(BluetoothDevice device) { in getPreferred()
152 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
179 public int getNameResource(BluetoothDevice device) { in getNameResource()
183 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DHeadsetProfile.java69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
113 public boolean connect(BluetoothDevice device) { in connect()
124 public boolean disconnect(BluetoothDevice device) { in disconnect()
138 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
147 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
152 public int getPreferred(BluetoothDevice device) { in getPreferred()
157 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
184 public int getNameResource(BluetoothDevice device) { in getNameResource()
188 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DHidProfile.java61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
101 public boolean connect(BluetoothDevice device) { in connect()
106 public boolean disconnect(BluetoothDevice device) { in disconnect()
111 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
122 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
127 public int getPreferred(BluetoothDevice device) { in getPreferred()
132 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
151 public int getNameResource(BluetoothDevice device) { in getNameResource()
156 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DA2dpProfile.java66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
114 public boolean connect(BluetoothDevice device) { in connect()
125 public boolean disconnect(BluetoothDevice device) { in disconnect()
134 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
141 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
146 public int getPreferred(BluetoothDevice device) { in getPreferred()
151 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
180 public int getNameResource(BluetoothDevice device) { in getNameResource()
184 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DCachedBluetoothDeviceManager.java52 public void onDeviceNameUpdated(BluetoothDevice device) { in onDeviceNameUpdated()
69 CachedBluetoothDevice findDevice(BluetoothDevice device) { in findDevice()
86 BluetoothDevice device) { in addDevice()
99 public String getName(BluetoothDevice device) { in getName()
124 public synchronized void onBtClassChanged(BluetoothDevice device) { in onBtClassChanged()
131 public synchronized void onUuidChanged(BluetoothDevice device) { in onUuidChanged()
DBluetoothEventManager.java56 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive()
132 BluetoothDevice device = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in getDockedDeviceAddress() local
157 BluetoothDevice device) { in onReceive()
180 BluetoothDevice device) { in onReceive()
193 BluetoothDevice device) { in onReceive()
224 BluetoothDevice device) { in onReceive()
242 BluetoothDevice device) { in onReceive()
249 BluetoothDevice device) { in onReceive()
333 BluetoothDevice device) { in onReceive()
340 BluetoothDevice device) { in onReceive()
[all …]
DBluetoothDeviceFilter.java36 boolean matches(BluetoothDevice device); in matches()
79 public boolean matches(BluetoothDevice device) { in matches()
86 public boolean matches(BluetoothDevice device) { in matches()
93 public boolean matches(BluetoothDevice device) { in matches()
102 public boolean matches(BluetoothDevice device) { in matches()
DDockService.java261 BluetoothDevice device = null; in processMessage() local
322 private void msgTypeUndockedTemporary(BluetoothDevice device, int state, in msgTypeUndockedTemporary()
330 private boolean msgTypeUndockedPermanent(BluetoothDevice device, int startId) { in msgTypeUndockedPermanent()
362 private boolean msgTypeDocked(BluetoothDevice device, final int state, in msgTypeDocked()
441 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in parseIntent() local
480 private void createDialog(BluetoothDevice device, in createDialog()
630 private CharSequence[] initBtSettings(BluetoothDevice device, in initBtSettings()
745 BluetoothDevice device = i in handleBluetoothStateOn() local
795 private synchronized void connectIfEnabled(BluetoothDevice device) { in connectIfEnabled()
807 private synchronized void applyBtSettings(BluetoothDevice device, int startId) { in applyBtSettings()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java143 public boolean connect(BluetoothDevice device) { in connect()
149 public boolean disconnect(BluetoothDevice device) { in disconnect()
167 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
173 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
179 public int getPriority(BluetoothDevice device) { in getPriority()
185 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
191 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
203 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected()
209 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint()
215 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
[all …]
DHeadsetStateMachine.java274 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
328 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
410 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
452 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
604 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
625 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
753 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
777 private void processAudioEvent(int state, BluetoothDevice device) { in processAudioEvent()
844 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
971 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java301 public boolean connect(BluetoothDevice device) { in connect()
307 public boolean disconnect(BluetoothDevice device) { in disconnect()
313 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
330 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
336 public int getPriority(BluetoothDevice device) { in getPriority()
343 public boolean getProtocolMode(BluetoothDevice device) { in getProtocolMode()
349 public boolean virtualUnplug(BluetoothDevice device) { in virtualUnplug()
355 public boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode()
361 … public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport()
367 public boolean setReport(BluetoothDevice device, byte reportType, String report) { in setReport()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java114 public boolean connect(BluetoothDevice device) { in connect()
132 boolean disconnect(BluetoothDevice device) { in disconnect()
155 int getConnectionState(BluetoothDevice device) { in getConnectionState()
160 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
170 public int getPriority(BluetoothDevice device) { in getPriority()
196 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
229 public boolean connect(BluetoothDevice device) { in connect()
235 public boolean disconnect(BluetoothDevice device) { in disconnect()
253 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
259 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
[all …]
DA2dpStateMachine.java176 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
220 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
298 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
330 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
480 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
501 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
536 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
555 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent()
585 int getConnectionState(BluetoothDevice device) { in getConnectionState()
627 boolean isPlaying(BluetoothDevice device) { in isPlaying()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java132 public void deviceAdded(MtpDevice device); in deviceAdded()
139 public void deviceRemoved(MtpDevice device); in deviceRemoved()
149 static public boolean isCamera(UsbDevice device) { in isCamera()
300 MtpDevice device = getDevice(deviceName); in getStorageList() local
332 MtpDevice device = getDevice(deviceName); in getObjectInfo() local
347 MtpDevice device = getDevice(deviceName); in deleteObject() local
368 MtpDevice device = getDevice(deviceName); in getObjectList() local
404 MtpDevice device = getDevice(deviceName); in getObject() local
419 MtpDevice device = getDevice(deviceName); in getThumbnail() local
437 MtpDevice device = getDevice(deviceName); in importFile() local
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java153 …public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, i… in onProfileConnectionStateChanged()
164 …private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int p… in processProfileStateChanged()
696 public boolean createBond(BluetoothDevice device) { in createBond()
707 public boolean cancelBondProcess(BluetoothDevice device) { in cancelBondProcess()
718 public boolean removeBond(BluetoothDevice device) { in removeBond()
729 public int getBondState(BluetoothDevice device) { in getBondState()
736 public String getRemoteName(BluetoothDevice device) { in getRemoteName()
747 public int getRemoteType(BluetoothDevice device) { in getRemoteType()
758 public String getRemoteAlias(BluetoothDevice device) { in getRemoteAlias()
769 public boolean setRemoteAlias(BluetoothDevice device, String name) { in setRemoteAlias()
[all …]
DRemoteDevices.java73 DeviceProperties getDeviceProperties(BluetoothDevice device) { in getDeviceProperties()
91 BluetoothDevice device = in addDeviceProperties() local
214 private void sendUuidIntent(BluetoothDevice device) { in sendUuidIntent()
239 DeviceProperties device; in devicePropertyChangedCallback() local
309 BluetoothDevice device = getDevice(address); in deviceFoundCallback() local
387 BluetoothDevice device = getDevice(address); in sspRequestCallback() local
403 BluetoothDevice device = getDevice(address); in aclStateChangeCallback() local
423 void fetchUuids(BluetoothDevice device) { in fetchUuids()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java538 public boolean disconnect(BluetoothDevice device) { in disconnect()
543 public boolean disconnectMap(BluetoothDevice device) { in disconnectMap()
600 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
610 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
618 public int getPriority(BluetoothDevice device) { in getPriority()
776 public boolean isConnected(BluetoothDevice device) { in isConnected()
783 public boolean connect(BluetoothDevice device) { in connect()
790 public boolean disconnect(BluetoothDevice device) { in disconnect()
811 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
818 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java262 BluetoothDevice device = getDevice(channelStateEvent.mAddr); in handleMessage() local
353 public boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource()
360 public boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink()
367 public boolean disconnectChannel(BluetoothDevice device, in disconnectChannel()
374 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd()
381 public int getHealthDeviceConnectionState(BluetoothDevice device) { in getHealthDeviceConnectionState()
425 boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource()
431 boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink()
437 boolean disconnectChannel(BluetoothDevice device, in disconnectChannel()
450 ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java39 public static Bitmap getThumbnail(MtpDevice device, MtpObjectInfo info) { in getThumbnail()
65 public static BitmapWithMetadata getFullsize(MtpDevice device, MtpObjectInfo info) { in getFullsize()
69 … public static BitmapWithMetadata getFullsize(MtpDevice device, MtpObjectInfo info, int maxSide) { in getFullsize()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppHandoverReceiver.java40 BluetoothDevice device = in onReceive() local
72 BluetoothDevice device = in onReceive() local
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java236 public boolean connect(BluetoothDevice device) { in connect()
241 public boolean disconnect(BluetoothDevice device) { in disconnect()
246 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
287 boolean connect(BluetoothDevice device) { in connect()
298 boolean disconnect(BluetoothDevice device) { in disconnect()
305 int getConnectionState(BluetoothDevice device) { in getConnectionState()
408 void handlePanDeviceStateChange(BluetoothDevice device, in handlePanDeviceStateChange()
574 private int getPanDeviceConnectionState(BluetoothDevice device) { in getPanDeviceConnectionState()

123