Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/bluetooth/
DIBluetoothHeadsetClient.aidl29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
32 boolean acceptIncomingConnect(in BluetoothDevice device); in acceptIncomingConnect()
33 boolean rejectIncomingConnect(in BluetoothDevice device); in rejectIncomingConnect()
37 int getConnectionState(in BluetoothDevice device); in getConnectionState()
38 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
39 int getPriority(in BluetoothDevice device); in getPriority()
41 boolean startVoiceRecognition(in BluetoothDevice device); in startVoiceRecognition()
42 boolean stopVoiceRecognition(in BluetoothDevice device); in stopVoiceRecognition()
44 List<BluetoothHeadsetClientCall> getCurrentCalls(in BluetoothDevice device); in getCurrentCalls()
[all …]
DIBluetoothHeadset.aidl28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
34 int getPriority(in BluetoothDevice device); in getPriority()
35 boolean startVoiceRecognition(in BluetoothDevice device); in startVoiceRecognition()
36 boolean stopVoiceRecognition(in BluetoothDevice device); in stopVoiceRecognition()
37 boolean isAudioConnected(in BluetoothDevice device); in isAudioConnected()
38 boolean sendVendorSpecificResultCode(in BluetoothDevice device, in sendVendorSpecificResultCode()
43 int getBatteryUsageHint(in BluetoothDevice device); in getBatteryUsageHint()
[all …]
DIBluetoothInputDevice.aidl28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
34 int getPriority(in BluetoothDevice device); in getPriority()
38 boolean getProtocolMode(in BluetoothDevice device); in getProtocolMode()
42 boolean virtualUnplug(in BluetoothDevice device); in virtualUnplug()
46 boolean setProtocolMode(in BluetoothDevice device, int protocolMode); in setProtocolMode()
50 boolean getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize); in getReport()
54 boolean setReport(in BluetoothDevice device, byte reportType, String report); in setReport()
[all …]
DIBluetooth.aidl58 boolean createBond(in BluetoothDevice device, in int transport); in createBond()
59 boolean cancelBondProcess(in BluetoothDevice device); in cancelBondProcess()
60 boolean removeBond(in BluetoothDevice device); in removeBond()
61 int getBondState(in BluetoothDevice device); in getBondState()
62 int getConnectionState(in BluetoothDevice device); in getConnectionState()
64 String getRemoteName(in BluetoothDevice device); in getRemoteName()
65 int getRemoteType(in BluetoothDevice device); in getRemoteType()
66 String getRemoteAlias(in BluetoothDevice device); in getRemoteAlias()
67 boolean setRemoteAlias(in BluetoothDevice device, in String name); in setRemoteAlias()
68 int getRemoteClass(in BluetoothDevice device); in getRemoteClass()
[all …]
DIBluetoothMap.aidl29 boolean connect(in BluetoothDevice device); in connect()
30 boolean disconnect(in BluetoothDevice device); in disconnect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
35 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
36 int getPriority(in BluetoothDevice device); in getPriority()
DBluetoothHeadset.java341 public boolean connect(BluetoothDevice device) { in connect()
382 public boolean disconnect(BluetoothDevice device) { in disconnect()
434 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
464 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
496 public int getPriority(BluetoothDevice device) { in getPriority()
532 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
556 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
579 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected()
607 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint()
638 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
[all …]
DBluetoothHeadsetClient.java479 public boolean connect(BluetoothDevice device) { in connect()
503 public boolean disconnect(BluetoothDevice device) { in disconnect()
568 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
588 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
610 public int getPriority(BluetoothDevice device) { in getPriority()
638 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
665 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
685 public List<BluetoothHeadsetClientCall> getCurrentCalls(BluetoothDevice device) { in getCurrentCalls()
706 public Bundle getCurrentAgEvents(BluetoothDevice device) { in getCurrentAgEvents()
732 public boolean acceptCall(BluetoothDevice device, int flag) { in acceptCall()
[all …]
DIBluetoothA2dp.aidl28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 boolean setPriority(in BluetoothDevice device, int priority); in setPriority()
34 int getPriority(in BluetoothDevice device); in getPriority()
38 boolean isA2dpPlaying(in BluetoothDevice device); in isA2dpPlaying()
DBluetoothGattServerCallback.java35 public void onConnectionStateChange(BluetoothDevice device, int status, in onConnectionStateChange()
60 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, in onCharacteristicReadRequest()
79 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest()
96 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, in onDescriptorReadRequest()
115 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest()
132 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite()
146 public void onNotificationSent(BluetoothDevice device, int status) { in onNotificationSent()
158 public void onMtuChanged(BluetoothDevice device, int mtu) { in onMtuChanged()
DBluetoothInputDevice.java314 public boolean connect(BluetoothDevice device) { in connect()
354 public boolean disconnect(BluetoothDevice device) { in disconnect()
405 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
434 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
465 public int getPriority(BluetoothDevice device) { in getPriority()
502 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
520 public boolean virtualUnplug(BluetoothDevice device) { in virtualUnplug()
546 public boolean getProtocolMode(BluetoothDevice device) { in getProtocolMode()
570 public boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode()
597 … public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport()
[all …]
DIBluetoothA2dpSink.aidl28 boolean connect(in BluetoothDevice device); in connect()
29 boolean disconnect(in BluetoothDevice device); in disconnect()
32 int getConnectionState(in BluetoothDevice device); in getConnectionState()
33 BluetoothAudioConfig getAudioConfig(in BluetoothDevice device); in getAudioConfig()
DIBluetoothHealth.aidl34 …boolean connectChannelToSource(in BluetoothDevice device, in BluetoothHealthAppConfiguration confi… in connectChannelToSource()
35 … boolean connectChannelToSink(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in connectChannelToSink()
37 …boolean disconnectChannel(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, in… in disconnectChannel()
38 …ParcelFileDescriptor getMainChannelFd(in BluetoothDevice device, in BluetoothHealthAppConfiguratio… in getMainChannelFd()
41 int getHealthDeviceConnectionState(in BluetoothDevice device); in getHealthDeviceConnectionState()
DBluetoothA2dp.java226 public boolean connect(BluetoothDevice device) { in connect()
267 public boolean disconnect(BluetoothDevice device) { in disconnect()
319 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
349 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
381 public int getPriority(BluetoothDevice device) { in getPriority()
463 public boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
483 public boolean shouldSendVolumeKeys(BluetoothDevice device) { in shouldSendVolumeKeys()
545 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
DBluetoothMap.java194 public boolean isConnected(BluetoothDevice device) { in isConnected()
211 public boolean connect(BluetoothDevice device) { in connect()
223 public boolean disconnect(BluetoothDevice device) { in disconnect()
301 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
327 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
356 public int getPriority(BluetoothDevice device) { in getPriority()
398 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
DIBluetoothPan.aidl30 boolean connect(in BluetoothDevice device); in connect()
31 boolean disconnect(in BluetoothDevice device); in disconnect()
34 int getConnectionState(in BluetoothDevice device); in getConnectionState()
DBluetoothA2dpSink.java239 public boolean connect(BluetoothDevice device) { in connect()
280 public boolean disconnect(BluetoothDevice device) { in disconnect()
332 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
358 public BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig()
422 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
/frameworks/native/services/inputflinger/
DEventHub.cpp230 Device* device = mClosingDevices; in ~EventHub() local
245 Device* device = getDeviceLocked(deviceId); in getDeviceIdentifier() local
252 Device* device = getDeviceLocked(deviceId); in getDeviceClasses() local
259 Device* device = getDeviceLocked(deviceId); in getDeviceControllerNumber() local
266 Device* device = getDeviceLocked(deviceId); in getConfiguration() local
281 Device* device = getDeviceLocked(deviceId); in getAbsoluteAxisInfo() local
308 Device* device = getDeviceLocked(deviceId); in hasRelativeAxis() local
320 Device* device = getDeviceLocked(deviceId); in hasInputProperty() local
332 Device* device = getDeviceLocked(deviceId); in getScanCodeState() local
347 Device* device = getDeviceLocked(deviceId); in getKeyCodeState() local
[all …]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java118 public void deviceAdded(MtpDevice device); in deviceAdded()
125 public void deviceRemoved(MtpDevice device); in deviceRemoved()
135 static public boolean isCamera(UsbDevice device) { in isCamera()
274 MtpDevice device = getDevice(deviceName); in getStorageList() local
306 MtpDevice device = getDevice(deviceName); in getObjectInfo() local
321 MtpDevice device = getDevice(deviceName); in deleteObject() local
342 MtpDevice device = getDevice(deviceName); in getObjectList() local
378 MtpDevice device = getDevice(deviceName); in getObject() local
393 MtpDevice device = getDevice(deviceName); in getThumbnail() local
411 MtpDevice device = getDevice(deviceName); in importFile() local
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothStressTest.java156 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testPair() local
182 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testAcceptPair() local
209 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectA2dp() local
242 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectHeadset() local
275 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectInput() local
308 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectPan() local
338 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testIncomingPanConnection() local
372 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testStartStopSco() local
/frameworks/base/core/jni/
Dandroid_hardware_UsbDeviceConnection.cpp52 struct usb_device* device = usb_device_new(deviceNameStr, fd); in android_hardware_UsbDeviceConnection_open() local
68 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_close() local
78 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_get_fd() local
111 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_claim_interface() local
129 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_release_interface() local
146 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_set_interface() local
158 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_set_configuration() local
172 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_control_request() local
197 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_bulk_request() local
220 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_request_wait() local
[all …]
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp112 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); in android_mtp_MtpDevice_open() local
123 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_close() local
134 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_device_info() local
171 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_ids() local
190 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_info() local
225 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_handles() local
244 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_info() local
318 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object() local
340 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_thumbnail() local
358 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_delete_object() local
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDeviceList.java60 private void validateDevice(WifiP2pDevice device) { in validateDevice()
86 public void update(WifiP2pDevice device) { in update()
92 public void updateSupplicantDetails(WifiP2pDevice device) { in updateSupplicantDetails()
138 public boolean remove(WifiP2pDevice device) { in remove()
171 WifiP2pDevice device = mDevices.get(deviceAddress); in isGroupOwner() local
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp30 FrameProcessorBase::FrameProcessorBase(wp<CameraDeviceBase> device) : in FrameProcessorBase()
104 sp<CameraDeviceBase> device; in threadLoop() local
121 void FrameProcessorBase::processNewFrames(const sp<CameraDeviceBase> &device) { in processNewFrames()
161 const sp<CameraDeviceBase> &device) { in processSingleFrame()
168 const sp<CameraDeviceBase> &device) { in processListeners()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothUtil.java84 public static String deviceToString(BluetoothDevice device) { in deviceToString()
88 public static String uuidsToString(BluetoothDevice device) { in uuidsToString()
139 public boolean disconnect(BluetoothDevice device) { in newProfile()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp84 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewRequest() local
143 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewStream() local
210 sp<CameraDeviceBase> device = mDevice.promote(); in deletePreviewStream() local
286 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingRequest() local
335 sp<CameraDeviceBase> device = mDevice.promote(); in recordingStreamNeedsUpdate() local
364 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingStream() local
444 sp<CameraDeviceBase> device = mDevice.promote(); in deleteRecordingStream() local
478 sp<CameraDeviceBase> device = mDevice.promote(); in startStream() local
538 sp<CameraDeviceBase> device = mDevice.promote(); in togglePauseStream() local
588 sp<CameraDeviceBase> device = mDevice.promote(); in stopStream() local

123456