Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 53) 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()
DHeadsetProfile.java70 CachedBluetoothDevice device = mDeviceManager.findDevice(firstDevice); 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.java79 public boolean connect(BluetoothDevice device) { in connect()
84 public boolean disconnect(BluetoothDevice device) { in disconnect()
89 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
100 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
105 public int getPreferred(BluetoothDevice device) { in getPreferred()
110 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
129 public int getNameResource(BluetoothDevice device) { in getNameResource()
134 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DA2dpProfile.java94 public boolean connect(BluetoothDevice device) { in connect()
105 public boolean disconnect(BluetoothDevice device) { in disconnect()
114 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
121 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
126 public int getPreferred(BluetoothDevice device) { in getPreferred()
131 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
160 public int getNameResource(BluetoothDevice device) { in getNameResource()
164 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 …]
DDevicePickerFragment.java84 BluetoothDevice device = cachedDevice.getDevice(); in onDeviceBondStateChanged() local
101 private void sendDevicePickedIntent(BluetoothDevice device) { in sendDevicePickedIntent()
DDeviceProfilesSettings.java95 BluetoothDevice device; in onCreate() local
254 BluetoothDevice device = mCachedDevice.getDevice(); in onProfileClicked() local
277 final CachedBluetoothDevice device = mCachedDevice; in askDisconnect() local
335 BluetoothDevice device = mCachedDevice.getDevice(); in refreshProfilePreference() local
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java139 public boolean connect(BluetoothDevice device) { in connect()
145 public boolean disconnect(BluetoothDevice device) { in disconnect()
163 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
169 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
175 public int getPriority(BluetoothDevice device) { in getPriority()
181 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
187 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
199 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected()
205 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint()
211 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
[all …]
DHeadsetStateMachine.java264 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
321 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
403 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
448 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
600 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
621 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
748 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
772 private void processAudioEvent(int state, BluetoothDevice device) { in processAudioEvent()
839 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
965 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java107 public boolean connect(BluetoothDevice device) { in connect()
125 boolean disconnect(BluetoothDevice device) { in disconnect()
148 int getConnectionState(BluetoothDevice device) { in getConnectionState()
153 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
163 public int getPriority(BluetoothDevice device) { in getPriority()
172 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
205 public boolean connect(BluetoothDevice device) { in connect()
211 public boolean disconnect(BluetoothDevice device) { in disconnect()
229 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
235 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
[all …]
DA2dpStateMachine.java177 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
221 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
299 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
331 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
481 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
502 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
537 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
556 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent()
584 int getConnectionState(BluetoothDevice device) { in getConnectionState()
626 boolean isPlaying(BluetoothDevice device) { in isPlaying()
[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/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.java151 …public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, i… in onProfileConnectionStateChanged()
162 …private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int p… in processProfileStateChanged()
694 public boolean createBond(BluetoothDevice device) { in createBond()
705 public boolean cancelBondProcess(BluetoothDevice device) { in cancelBondProcess()
716 public boolean removeBond(BluetoothDevice device) { in removeBond()
727 public int getBondState(BluetoothDevice device) { in getBondState()
734 public String getRemoteName(BluetoothDevice device) { in getRemoteName()
745 public String getRemoteAlias(BluetoothDevice device) { in getRemoteAlias()
756 public boolean setRemoteAlias(BluetoothDevice device, String name) { in setRemoteAlias()
767 public int getRemoteClass(BluetoothDevice device) { in getRemoteClass()
[all …]
DRemoteDevices.java73 DeviceProperties getDeviceProperties(BluetoothDevice device) { in getDeviceProperties()
91 BluetoothDevice device = in addDeviceProperties() local
215 private void sendUuidIntent(BluetoothDevice device) { in sendUuidIntent()
240 DeviceProperties device; in devicePropertyChangedCallback() local
307 BluetoothDevice device = getDevice(address); in deviceFoundCallback() local
385 BluetoothDevice device = getDevice(address); in sspRequestCallback() local
401 BluetoothDevice device = getDevice(address); in aclStateChangeCallback() local
421 void fetchUuids(BluetoothDevice device) { in fetchUuids()
DBondStateMachine.java253 private void sendIntent(BluetoothDevice device, int newState, int reason) { in sendIntent()
275 BluetoothDevice device = mRemoteDevices.getDevice(address); in bondStateChangeCallback() local
301 private void setProfilePriorty (BluetoothDevice device){ in setProfilePriorty()
322 private void clearProfilePriorty (BluetoothDevice device){ in clearProfilePriorty()
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java251 BluetoothDevice device = getDevice(channelStateEvent.mAddr); in handleMessage() local
342 public boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource()
349 public boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink()
356 public boolean disconnectChannel(BluetoothDevice device, in disconnectChannel()
363 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd()
370 public int getHealthDeviceConnectionState(BluetoothDevice device) { in getHealthDeviceConnectionState()
414 boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource()
420 boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink()
426 boolean disconnectChannel(BluetoothDevice device, in disconnectChannel()
439 ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd()
[all …]
/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.java192 public boolean connect(BluetoothDevice device) { in connect()
197 public boolean disconnect(BluetoothDevice device) { in disconnect()
202 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
243 boolean connect(BluetoothDevice device) { in connect()
254 boolean disconnect(BluetoothDevice device) { in disconnect()
261 int getConnectionState(BluetoothDevice device) { in getConnectionState()
360 void handlePanDeviceStateChange(BluetoothDevice device, in handlePanDeviceStateChange()
536 private int getPanDeviceConnectionState(BluetoothDevice device) { in getPanDeviceConnectionState()

123