Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/bluetooth/
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 …]
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()
40 int getBatteryUsageHint(in BluetoothDevice device); in getBatteryUsageHint()
43 boolean acceptIncomingConnect(in BluetoothDevice device); in acceptIncomingConnect()
[all …]
DIBluetooth.aidl57 boolean createBond(in BluetoothDevice device); in createBond()
58 boolean cancelBondProcess(in BluetoothDevice device); in cancelBondProcess()
59 boolean removeBond(in BluetoothDevice device); in removeBond()
60 int getBondState(in BluetoothDevice device); in getBondState()
62 String getRemoteName(in BluetoothDevice device); in getRemoteName()
63 int getRemoteType(in BluetoothDevice device); in getRemoteType()
64 String getRemoteAlias(in BluetoothDevice device); in getRemoteAlias()
65 boolean setRemoteAlias(in BluetoothDevice device, in String name); in setRemoteAlias()
66 int getRemoteClass(in BluetoothDevice device); in getRemoteClass()
67 ParcelUuid[] getRemoteUuids(in BluetoothDevice device); in getRemoteUuids()
[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()
35 boolean isA2dpPlaying(in BluetoothDevice device); in isA2dpPlaying()
DBluetoothHeadset.java331 public boolean connect(BluetoothDevice device) { in connect()
372 public boolean disconnect(BluetoothDevice device) { in disconnect()
424 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
454 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
486 public int getPriority(BluetoothDevice device) { in getPriority()
522 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
546 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
569 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected()
597 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint()
628 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
[all …]
DBluetoothInputDevice.java290 public boolean connect(BluetoothDevice device) { in connect()
330 public boolean disconnect(BluetoothDevice device) { in disconnect()
381 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
410 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
441 public int getPriority(BluetoothDevice device) { in getPriority()
478 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
496 public boolean virtualUnplug(BluetoothDevice device) { in virtualUnplug()
522 public boolean getProtocolMode(BluetoothDevice device) { in getProtocolMode()
546 public boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode()
573 … public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport()
[all …]
DBluetoothA2dp.java213 public boolean connect(BluetoothDevice device) { in connect()
254 public boolean disconnect(BluetoothDevice device) { in disconnect()
306 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
336 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
368 public int getPriority(BluetoothDevice device) { in getPriority()
390 public boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
410 public boolean shouldSendVolumeKeys(BluetoothDevice device) { in shouldSendVolumeKeys()
472 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
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()
DBluetoothGattServerCallback.java37 public void onConnectionStateChange(BluetoothDevice device, int status, in onConnectionStateChange()
62 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, in onCharacteristicReadRequest()
81 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest()
98 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, in onDescriptorReadRequest()
117 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest()
134 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite()
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()
DIBluetoothPbap.aidl29 boolean connect(in BluetoothDevice device); in connect()
31 boolean isConnected(in BluetoothDevice device); in isConnected()
DBluetoothGattServer.java407 public boolean connect(BluetoothDevice device, boolean autoConnect) { in connect()
430 public void cancelConnection(BluetoothDevice device) { in cancelConnection()
462 public boolean sendResponse(BluetoothDevice device, int requestId, in sendResponse()
494 public boolean notifyCharacteristicChanged(BluetoothDevice device, in notifyCharacteristicChanged()
666 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
DBluetoothHealth.java233 public boolean connectChannelToSource(BluetoothDevice device, in connectChannelToSource()
262 public boolean connectChannelToSink(BluetoothDevice device, in connectChannelToSink()
291 public boolean disconnectChannel(BluetoothDevice device, in disconnectChannel()
320 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, in getMainChannelFd()
352 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
440 BluetoothDevice device, int prevState, int newState, in onHealthChannelStateChange()
541 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
DBluetoothPan.java210 public boolean connect(BluetoothDevice device) { in connect()
251 public boolean disconnect(BluetoothDevice device) { in disconnect()
303 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
361 private boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
/frameworks/base/services/input/
DEventHub.cpp245 Device* device = mClosingDevices; in ~EventHub() local
260 Device* device = getDeviceLocked(deviceId); in getDeviceIdentifier() local
267 Device* device = getDeviceLocked(deviceId); in getDeviceClasses() local
274 Device* device = getDeviceLocked(deviceId); in getConfiguration() local
289 Device* device = getDeviceLocked(deviceId); in getAbsoluteAxisInfo() local
316 Device* device = getDeviceLocked(deviceId); in hasRelativeAxis() local
328 Device* device = getDeviceLocked(deviceId); in hasInputProperty() local
340 Device* device = getDeviceLocked(deviceId); in getScanCodeState() local
355 Device* device = getDeviceLocked(deviceId); in getKeyCodeState() local
380 Device* device = getDeviceLocked(deviceId); in getSwitchState() 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
DBluetoothTestUtils.java153 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { in PairReceiver()
213 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { in ConnectProfileReceiver()
267 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { in ConnectPanReceiver()
744 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { in pair()
757 public void acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, in acceptPair()
773 private void pairOrAcceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, in pairOrAcceptPair()
841 public void unpair(BluetoothAdapter adapter, BluetoothDevice device) { in unpair()
906 public void connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, in connectProfile()
987 public void disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, in disconnectProfile()
1064 public void connectPan(BluetoothAdapter adapter, BluetoothDevice device) { in connectPan()
[all …]
/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
147 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_control_request() local
172 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_bulk_request() local
195 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_request_wait() local
211 struct usb_device* device = get_device_from_object(env, thiz); in android_hardware_UsbDeviceConnection_get_serial() local
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp111 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); in android_mtp_MtpDevice_open() local
122 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_close() local
133 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_device_info() local
170 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_ids() local
189 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_info() local
224 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_handles() local
243 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_info() local
317 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object() local
339 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_thumbnail() local
357 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_delete_object() local
[all …]
/frameworks/av/services/camera/libcameraservice/camera2/
DProFrameProcessor.cpp30 ProFrameProcessor::ProFrameProcessor(wp<CameraDeviceBase> device) : in ProFrameProcessor()
75 sp<CameraDeviceBase> device; in threadLoop() local
92 void ProFrameProcessor::processNewFrames(const sp<CameraDeviceBase> &device) { in processNewFrames()
129 const sp<CameraDeviceBase> &device) { in processSingleFrame()
136 const sp<CameraDeviceBase> &device) { in processListeners()
DStreamingProcessor.cpp76 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewRequest() local
117 sp<CameraDeviceBase> device = mDevice.promote(); in updatePreviewStream() local
185 sp<CameraDeviceBase> device = mDevice.promote(); in deletePreviewStream() local
244 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingRequest() local
284 sp<CameraDeviceBase> device = mDevice.promote(); in updateRecordingStream() local
359 sp<CameraDeviceBase> device = mDevice.promote(); in deleteRecordingStream() local
393 sp<CameraDeviceBase> device = mDevice.promote(); in startStream() local
439 sp<CameraDeviceBase> device = mDevice.promote(); in togglePauseStream() local
489 sp<CameraDeviceBase> device = mDevice.promote(); in stopStream() local
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDeviceList.java61 private void validateDevice(WifiP2pDevice device) { in validateDevice()
87 public void update(WifiP2pDevice device) { in update()
93 void updateSupplicantDetails(WifiP2pDevice device) { in updateSupplicantDetails()
139 public boolean remove(WifiP2pDevice device) { in remove()
172 WifiP2pDevice device = mDevices.get(deviceAddress); in isGroupOwner() local
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl47 void setDevicePackage(in UsbDevice device, String packageName, int userId); in setDevicePackage()
55 boolean hasDevicePermission(in UsbDevice device); in hasDevicePermission()
64 void requestDevicePermission(in UsbDevice device, String packageName, in PendingIntent pi); in requestDevicePermission()
74 void grantDevicePermission(in UsbDevice device, int uid); in grantDevicePermission()
/frameworks/base/services/java/com/android/server/display/
DDisplayManagerService.java368 DisplayDevice device = mDisplayDevices.get(i); in blankAllDisplaysFromPowerManager() local
387 DisplayDevice device = mDisplayDevices.get(i); in unblankAllDisplaysFromPowerManager() local
625 private void handleDisplayDeviceAdded(DisplayDevice device) { in handleDisplayDeviceAdded()
652 private void handleDisplayDeviceChanged(DisplayDevice device) { in handleDisplayDeviceChanged()
669 private void handleDisplayDeviceRemoved(DisplayDevice device) { in handleDisplayDeviceRemoved()
687 private void addLogicalDisplayLocked(DisplayDevice device) { in addLogicalDisplayLocked()
761 DisplayDevice device = mRemovedDisplayDevices.get(i); in performTraversalInTransactionLocked() local
773 DisplayDevice device = mDisplayDevices.get(i); in performTraversalInTransactionLocked() local
813 private void configureDisplayInTransactionLocked(DisplayDevice device) { in configureDisplayInTransactionLocked()
846 LogicalDisplay display, DisplayDevice device) { in setViewportLocked()
[all …]

1234