Home
last modified time | relevance | path

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

1234

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java148 public boolean connect(BluetoothDevice device) { in connect()
157 public boolean disconnect(BluetoothDevice device) { in disconnect()
184 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
193 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
202 public int getPriority(BluetoothDevice device) { in getPriority()
211 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
220 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
229 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
238 public boolean rejectIncomingConnect(BluetoothDevice device) { in rejectIncomingConnect()
247 public int getAudioState(BluetoothDevice device) { in getAudioState()
[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()
168 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
174 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
180 public int getPriority(BluetoothDevice device) { in getPriority()
186 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
192 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
204 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected()
210 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint()
216 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
[all …]
DHeadsetStateMachine.java342 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
398 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
488 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
534 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
718 private void processMultiHFConnected(BluetoothDevice device) { in processMultiHFConnected()
774 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
835 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
857 BluetoothDevice device = mCurrentDevice; in processMessage() local
888 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
898 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java128 public boolean connect(BluetoothDevice device) { in connect()
152 boolean disconnect(BluetoothDevice device) { in disconnect()
175 int getConnectionState(BluetoothDevice device) { in getConnectionState()
180 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
190 public int getPriority(BluetoothDevice device) { in getPriority()
216 public void resetAvrcpBlacklist(BluetoothDevice device) { in resetAvrcpBlacklist()
220 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
253 public boolean connect(BluetoothDevice device) { in connect()
259 public boolean disconnect(BluetoothDevice device) { in disconnect()
277 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
[all …]
DA2dpSinkService.java104 public boolean connect(BluetoothDevice device) { in connect()
118 boolean disconnect(BluetoothDevice device) { in disconnect()
141 int getConnectionState(BluetoothDevice device) { in getConnectionState()
146 BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig()
177 public boolean connect(BluetoothDevice device) { in connect()
183 public boolean disconnect(BluetoothDevice device) { in disconnect()
201 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
207 public BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig()
DA2dpSinkStateMachine.java183 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
230 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
308 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
343 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
494 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
515 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
553 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
573 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent()
596 private void processAudioConfigEvent(BluetoothAudioConfig audioConfig, BluetoothDevice device) { in processAudioConfigEvent()
601 int getConnectionState(BluetoothDevice device) { in getConnectionState()
[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()
506 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
527 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
562 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
588 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent()
619 int getConnectionState(BluetoothDevice device) { in getConnectionState()
661 boolean isPlaying(BluetoothDevice device) { in isPlaying()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java318 public boolean connect(BluetoothDevice device) { in connect()
324 public boolean disconnect(BluetoothDevice device) { in disconnect()
330 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
347 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
353 public int getPriority(BluetoothDevice device) { in getPriority()
360 public boolean getProtocolMode(BluetoothDevice device) { in getProtocolMode()
366 public boolean virtualUnplug(BluetoothDevice device) { in virtualUnplug()
372 public boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode()
378 … public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport()
384 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.java201 …public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, i… in onProfileConnectionStateChanged()
212 public void initProfilePriorities(BluetoothDevice device, ParcelUuid[] mUuids) { in initProfilePriorities()
225 private void processInitProfilePriorities (BluetoothDevice device, ParcelUuid[] uuids){ in processInitProfilePriorities()
255 …private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int p… in processProfileStateChanged()
993 public boolean createBond(BluetoothDevice device, int transport) { in createBond()
1004 public boolean cancelBondProcess(BluetoothDevice device) { in cancelBondProcess()
1015 public boolean removeBond(BluetoothDevice device) { in removeBond()
1026 public int getBondState(BluetoothDevice device) { in getBondState()
1033 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
1039 public String getRemoteName(BluetoothDevice device) { in getRemoteName()
[all …]
DRemoteDevices.java71 DeviceProperties getDeviceProperties(BluetoothDevice device) { in getDeviceProperties()
89 BluetoothDevice device = in addDeviceProperties() local
177 void setAlias(BluetoothDevice device, String mAlias) { in setAlias()
216 private void sendUuidIntent(BluetoothDevice device) { in sendUuidIntent()
234 DeviceProperties device; in devicePropertyChangedCallback() local
305 BluetoothDevice device = getDevice(address); in deviceFoundCallback() local
326 BluetoothDevice device = getDevice(address); in aclStateChangeCallback() local
368 void fetchUuids(BluetoothDevice device) { in fetchUuids()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockService.java269 BluetoothDevice device = null; in processMessage() local
330 private void msgTypeUndockedTemporary(BluetoothDevice device, int state, in msgTypeUndockedTemporary()
338 private boolean msgTypeUndockedPermanent(BluetoothDevice device, int startId) { in msgTypeUndockedPermanent()
370 private boolean msgTypeDocked(BluetoothDevice device, final int state, in msgTypeDocked()
449 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in parseIntent() local
488 private void createDialog(BluetoothDevice device, in createDialog()
638 private CharSequence[] initBtSettings(BluetoothDevice device, in initBtSettings()
753 BluetoothDevice device = i in handleBluetoothStateOn() local
803 private synchronized void connectIfEnabled(BluetoothDevice device) { in connectIfEnabled()
815 private synchronized void applyBtSettings(BluetoothDevice device, int startId) { in applyBtSettings()
[all …]
/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceOpenListener.java27 public void onDeviceOpened(TDevice device); in onDeviceOpened()
38 public void onDeviceOpenException(TDevice device); in onDeviceOpenException()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java489 public boolean disconnect(BluetoothDevice device) { in disconnect()
538 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
548 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
556 public int getPriority(BluetoothDevice device) { in getPriority()
636 private void sendCancelUserConfirmationIntent(BluetoothDevice device) { in sendCancelUserConfirmationIntent()
735 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
805 public boolean isConnected(BluetoothDevice device) { in isConnected()
813 public boolean connect(BluetoothDevice device) { in connect()
820 public boolean disconnect(BluetoothDevice device) { in disconnect()
841 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java174 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice() local
386 public void startPairing(BluetoothDevice device) { in startPairing()
395 public void startPairing(BluetoothDevice device, int delay) { in startPairing()
433 public void invalidateDevice(BluetoothDevice device) { in invalidateDevice()
437 private void startPairing(BluetoothDevice device, int delay, boolean isManual) { in startPairing()
474 private void onDeviceFound(BluetoothDevice device) { in onDeviceFound()
488 private void onDeviceLost(BluetoothDevice device) { in onDeviceLost()
513 BluetoothDevice device = getAutoPairDevice(); in isReadyToAutoPair() local
628 public boolean unpairDevice(BluetoothDevice device) { in unpairDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpControllerService.java149 int getConnectionState(BluetoothDevice device) { in getConnectionState()
155 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd()
205 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
211 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd()
230 BluetoothDevice device = (BluetoothDevice)msg.obj; in handleMessage() local
238 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice in onConnectionStateChanged() local
263 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java100 public void onDeviceAdded(Device device) { in onDeviceAdded()
102 public void onDeviceChanged(Device device) { in onDeviceChanged()
104 public void onDeviceRemoved(Device device) { in onDeviceRemoved()
153 public static void removeDevice(Device device) { in removeDevice()
388 Device device = null; in onReceive() local
435 Device device = mPresentDevices.get(i); in onReceive() local
488 private void sendDeviceAdded(Device device) { in sendDeviceAdded()
503 private void sendDeviceChanged(Device device) { in sendDeviceChanged()
519 private void sendDeviceRemoved(Device device) { in sendDeviceRemoved()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java44 public static Bitmap getThumbnail(MtpDevice device, IngestObjectInfo info) { in getThumbnail()
70 public static BitmapWithMetadata getFullsize(MtpDevice device, IngestObjectInfo info) { in getFullsize()
74 public static BitmapWithMetadata getFullsize(MtpDevice device, IngestObjectInfo info, in getFullsize()
DMtpClient.java129 public void deviceAdded(MtpDevice device); in deviceAdded()
136 public void deviceRemoved(MtpDevice device); in deviceRemoved()
146 public static boolean isCamera(UsbDevice device) { in isCamera()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraOpenerImpl.java127 public void onDisconnected(CameraDevice device) { in open()
138 public void onClosed(CameraDevice device) { in open()
146 public void onError(CameraDevice device, int error) { in open()
159 public void onOpened(CameraDevice device) { in open()
/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothManager.java149 BluetoothDevice device = deviceList.get(i); in isBluetoothAvailable() local
174 BluetoothDevice device = deviceList.get(i); in isBluetoothAudioConnected() local
267 BluetoothDevice device = deviceList.get(0); in dump() local
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java265 BluetoothDevice device = getDevice(channelStateEvent.mAddr); in handleMessage() local
356 public boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource()
363 public boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink()
370 public boolean disconnectChannel(BluetoothDevice device, in disconnectChannel()
377 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd()
384 public int getHealthDeviceConnectionState(BluetoothDevice device) { in getHealthDeviceConnectionState()
428 boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource()
434 boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink()
440 boolean disconnectChannel(BluetoothDevice device, in disconnectChannel()
453 ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java458 public boolean disconnect(BluetoothDevice device) { in disconnect()
464 public boolean disconnectMap(BluetoothDevice device) { in disconnectMap()
512 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
522 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
530 public int getPriority(BluetoothDevice device) { in getPriority()
1028 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
1103 public boolean isConnected(BluetoothDevice device) { in isConnected()
1111 public boolean connect(BluetoothDevice device) { in connect()
1118 public boolean disconnect(BluetoothDevice device) { in disconnect()
1139 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
[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.java206 public boolean connect(BluetoothDevice device) { in connect()
211 public boolean disconnect(BluetoothDevice device) { in disconnect()
216 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
258 boolean connect(BluetoothDevice device) { in connect()
269 boolean disconnect(BluetoothDevice device) { in disconnect()
276 int getConnectionState(BluetoothDevice device) { in getConnectionState()
384 void handlePanDeviceStateChange(BluetoothDevice device, in handlePanDeviceStateChange()
557 private int getPanDeviceConnectionState(BluetoothDevice device) { in getPanDeviceConnectionState()

1234