Home
last modified time | relevance | path

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

12345

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java171 public boolean connect(BluetoothDevice device) { in connect()
180 public boolean disconnect(BluetoothDevice device) { in disconnect()
207 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
216 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
225 public int getPriority(BluetoothDevice device) { in getPriority()
234 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
243 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
252 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
261 public boolean rejectIncomingConnect(BluetoothDevice device) { in rejectIncomingConnect()
270 public int getAudioState(BluetoothDevice device) { in getAudioState()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java119 public boolean connect(BluetoothDevice device) { in connect()
133 boolean disconnect(BluetoothDevice device) { in disconnect()
156 int getConnectionState(BluetoothDevice device) { in getConnectionState()
161 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
173 public int getPriority(BluetoothDevice device) { in getPriority()
190 public void informAvrcpPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in informAvrcpPassThroughCmd()
210 public void informTGStatePlaying(BluetoothDevice device, boolean isPlaying) { in informTGStatePlaying()
220 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
229 BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig()
260 public boolean connect(BluetoothDevice device) { in connect()
[all …]
DA2dpSinkStateMachine.java199 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
246 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
324 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
360 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
516 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
539 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
592 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
618 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent()
640 private void processAudioConfigEvent(BluetoothAudioConfig audioConfig, BluetoothDevice device) { in processAudioConfigEvent()
646 int getConnectionState(BluetoothDevice device) { in getConnectionState()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarCameraService.java118 long device = getDeviceIdLocked(cameraType); in getCapabilities() local
127 long device = getDeviceIdLocked(cameraType); in getCameraCrop() local
142 long device = getDeviceIdLocked(cameraType); in setCameraCrop() local
151 long device = getDeviceIdLocked(cameraType); in getCameraPosition() local
166 long device = getDeviceIdLocked(cameraType); in setCameraPosition() local
175 long device = getDeviceIdLocked(cameraType); in getCameraState() local
190 long device = getDeviceIdLocked(cameraType); in setCameraState() local
217 private native int nativeGetCapabilities(long device); in nativeGetCapabilities()
218 private native Rect nativeGetCameraCrop(long device); in nativeGetCameraCrop()
219 private native void nativeSetCameraCrop(long device, Rect rect); in nativeSetCameraCrop()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java145 public boolean connect(BluetoothDevice device) { in connect()
151 public boolean disconnect(BluetoothDevice device) { in disconnect()
170 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
176 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
182 public int getPriority(BluetoothDevice device) { in getPriority()
188 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
194 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
206 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected()
212 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint()
218 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect()
[all …]
DHeadsetStateMachine.java346 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
402 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
492 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
547 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent()
731 private void processMultiHFConnected(BluetoothDevice device) { in processMultiHFConnected()
787 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
848 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
870 BluetoothDevice device = mCurrentDevice; in processMessage() local
905 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
915 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java115 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
120 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
156 public boolean connect(BluetoothDevice device) { in connect()
165 public boolean disconnect(BluetoothDevice device) { in disconnect()
191 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
199 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
207 public int getPriority(BluetoothDevice device) { in getPriority()
258 public boolean connect(BluetoothDevice device) { in connect()
274 boolean disconnect(BluetoothDevice device) { in disconnect()
302 int getConnectionState(BluetoothDevice device) { in getConnectionState()
[all …]
DPbapPCEClient.java184 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage() local
200 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage() local
221 private void handleConnect(BluetoothDevice device) { in handleConnect()
251 private void handleDisconnect(BluetoothDevice device) { in handleDisconnect()
269 private void onConnectionStateChanged(BluetoothDevice device, int prevState, int state) { in onConnectionStateChanged()
279 public void connect(BluetoothDevice device) { in connect()
283 public void disconnect(BluetoothDevice device) { in disconnect()
/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()
222 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
255 public boolean connect(BluetoothDevice device) { in connect()
261 public boolean disconnect(BluetoothDevice device) { in disconnect()
279 public 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/avrcp/
DAvrcpControllerService.java195 int getConnectionState(BluetoothDevice device) { in getConnectionState()
201 public void sendGroupNavigationCmd(BluetoothDevice device, int keyCode, int keyState) { in sendGroupNavigationCmd()
219 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd()
307 public MediaMetadata getMetaData(BluetoothDevice device) { in getMetaData()
316 public PlaybackState getPlaybackState(BluetoothDevice device) { in getPlaybackState()
321 public BluetoothAvrcpPlayerSettings getPlayerSettings(BluetoothDevice device) { in getPlayerSettings()
420 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
426 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd()
434 public void sendGroupNavigationCmd(BluetoothDevice device, int keyCode, int keyState) { in sendGroupNavigationCmd()
442 public BluetoothAvrcpPlayerSettings getPlayerSettings(BluetoothDevice device) { in getPlayerSettings()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java227 …public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, i… in onProfileConnectionStateChanged()
238 public void initProfilePriorities(BluetoothDevice device, ParcelUuid[] mUuids) { in initProfilePriorities()
251 private void processInitProfilePriorities (BluetoothDevice device, ParcelUuid[] uuids){ in processInitProfilePriorities()
303 …private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int p… in processProfileStateChanged()
1077 public boolean createBond(BluetoothDevice device, int transport) { in createBond()
1088 public boolean createBondOutOfBand(BluetoothDevice device, int transport, OobData oobData) { in createBondOutOfBand()
1099 public boolean cancelBondProcess(BluetoothDevice device) { in cancelBondProcess()
1110 public boolean removeBond(BluetoothDevice device) { in removeBond()
1121 public int getBondState(BluetoothDevice device) { in getBondState()
1128 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
[all …]
DRemoteDevices.java71 DeviceProperties getDeviceProperties(BluetoothDevice device) { in getDeviceProperties()
184 void setAlias(BluetoothDevice device, String mAlias) { in setAlias()
223 private void sendUuidIntent(BluetoothDevice device) { in sendUuidIntent()
241 DeviceProperties device; in devicePropertyChangedCallback() local
313 BluetoothDevice device = getDevice(address); in deviceFoundCallback() local
334 BluetoothDevice device = getDevice(address); in aclStateChangeCallback() local
375 void fetchUuids(BluetoothDevice device) { in fetchUuids()
386 void updateUuids(BluetoothDevice device) { in updateUuids()
/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/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/services/Car/service/jni/
Dcom_android_car_CarCameraService.cpp53 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeClose() local
100 hw_device_t *device = NULL; in com_android_car_CarCameraService_nativeGetDevice() local
123 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeGetCapabilities() local
148 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeGetCameraCrop() local
175 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeSetCameraCrop() local
202 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeGetCameraPosition() local
230 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeSetCameraPosition() local
257 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeGetCameraState() local
284 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; in com_android_car_CarCameraService_nativeSetCameraState() local
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java493 public boolean disconnect(BluetoothDevice device) { in disconnect()
542 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
552 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
560 public int getPriority(BluetoothDevice device) { in getPriority()
646 private void sendCancelUserConfirmationIntent(BluetoothDevice device) { in sendCancelUserConfirmationIntent()
746 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local
818 public boolean isConnected(BluetoothDevice device) { in isConnected()
826 public boolean connect(BluetoothDevice device) { in connect()
833 public boolean disconnect(BluetoothDevice device) { in disconnect()
854 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
[all …]
/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/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/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java171 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice() local
399 public void startPairing(BluetoothDevice device) { in startPairing()
437 public void invalidateDevice(BluetoothDevice device) { in invalidateDevice()
441 private void startPairing(BluetoothDevice device, boolean isManual) { in startPairing()
478 private void onDeviceFound(BluetoothDevice device) { in onDeviceFound()
492 private void onDeviceLost(BluetoothDevice device) { in onDeviceLost()
624 public boolean unpairDevice(BluetoothDevice device) { in unpairDevice()

12345