Searched refs:device (Results 1 - 25 of 193) sorted by relevance

12345678

/packages/apps/Camera2/src/com/android/camera/device/
H A DSingleDeviceOpenListener.java17 package com.android.camera.device;
24 * Executed when a device is successfully opened.
25 * @param device the open device.
27 public void onDeviceOpened(TDevice device); argument
30 * Executed when an exception occurs opening the device.
35 * Executed when an exception occurs opening the device
36 * and the actual device object is provided.
38 public void onDeviceOpenException(TDevice device); argument
H A DSingleDeviceCloseListener.java17 package com.android.camera.device;
20 * Listener for device closing lifecycle events.
24 * Occurs when the device is closed.
29 * Occurs when there is an exception closing the device.
H A DSingleDeviceShutdownListener.java17 package com.android.camera.device;
20 * Listen to full shutdown events of a single device and api combination.
24 * This should be called once, and only once, when a single device
H A DCameraDeviceActionProvider.java17 package com.android.camera.device;
20 * Provides a set of executable actions for a given camera device key.
28 * @param <TDevice> The type of camera device the actions produce.
33 * Return a new set of device and api specific actions for the given
H A DCameraOpenException.java17 package com.android.camera.device;
H A DSingleDeviceActions.java17 package com.android.camera.device;
22 * Device specific actions for opening and closing a device.
27 * Open the device represented by this instance. This should only
28 * be called if there is a reasonable expectation that the device is
32 * parameters or if the camera device determined to be un-openable.
37 * Close the device represented by this instance.
42 public void executeClose(SingleDeviceCloseListener closeListener, TDevice device) argument
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
H A DWifiP2pPeer.java31 public WifiP2pDevice device; field in class:WifiP2pPeer
40 device = dev;
43 if (TextUtils.isEmpty(device.deviceName)) {
44 setTitle(device.deviceAddress);
46 setTitle(device.deviceName);
49 setSummary(statusArray[device.status]);
73 if (device.status != other.device.status) {
74 return device.status < other.device
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpStateMachine.java81 // mCurrentDevice is the device connected before the state changes
82 // mTargetDevice is the device to be connected
83 // mIncomingDevice is the device connecting to us, valid only in Pending state
94 // Connecting to a device, Pending
96 // Disconnecting device, Connecting to new device
99 // Disconnecting device Pending
177 BluetoothDevice device = (BluetoothDevice) message.obj;
178 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING,
181 if (!connectA2dpNative(getByteAddress(device)) ) {
221 processConnectionEvent(int state, BluetoothDevice device) argument
331 processConnectionEvent(int state, BluetoothDevice device) argument
562 processConnectionEvent(int state, BluetoothDevice device) argument
588 processAudioStateEvent(int state, BluetoothDevice device) argument
619 getConnectionState(BluetoothDevice device) argument
661 isPlaying(BluetoothDevice device) argument
670 okToConnect(BluetoothDevice device) argument
713 broadcastConnectionState(BluetoothDevice device, int newState, int prevState) argument
727 broadcastAudioState(BluetoothDevice device, int state, int prevState) argument
738 getByteAddress(BluetoothDevice device) argument
762 BluetoothDevice device = null; field in class:A2dpStateMachine.StackEvent
771 onConnectionStateChanged(BluetoothDevice device, int prevState, int state) argument
[all...]
H A DA2dpService.java128 public boolean connect(BluetoothDevice device) { argument
132 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) {
135 ParcelUuid[] featureUuids = device.getUuids();
142 int connectionState = mStateMachine.getConnectionState(device);
148 mStateMachine.sendMessage(A2dpStateMachine.CONNECT, device);
152 boolean disconnect(BluetoothDevice device) { argument
155 int connectionState = mStateMachine.getConnectionState(device);
161 mStateMachine.sendMessage(A2dpStateMachine.DISCONNECT, device);
175 int getConnectionState(BluetoothDevice device) { argument
177 return mStateMachine.getConnectionState(device);
180 setPriority(BluetoothDevice device, int priority) argument
190 getPriority(BluetoothDevice device) argument
216 resetAvrcpBlacklist(BluetoothDevice device) argument
222 isA2dpPlaying(BluetoothDevice device) argument
255 connect(BluetoothDevice device) argument
261 disconnect(BluetoothDevice device) argument
279 getConnectionState(BluetoothDevice device) argument
285 setPriority(BluetoothDevice device, int priority) argument
291 getPriority(BluetoothDevice device) argument
315 isA2dpPlaying(BluetoothDevice device) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java171 public boolean connect(BluetoothDevice device) { argument
176 return service.connect(device);
180 public boolean disconnect(BluetoothDevice device) { argument
185 return service.disconnect(device);
207 public int getConnectionState(BluetoothDevice device) { argument
212 return service.getConnectionState(device);
216 public boolean setPriority(BluetoothDevice device, int priority) { argument
221 return service.setPriority(device, priority);
225 public int getPriority(BluetoothDevice device) { argument
230 return service.getPriority(device);
234 startVoiceRecognition(BluetoothDevice device) argument
243 stopVoiceRecognition(BluetoothDevice device) argument
252 acceptIncomingConnect(BluetoothDevice device) argument
261 rejectIncomingConnect(BluetoothDevice device) argument
270 getAudioState(BluetoothDevice device) argument
315 acceptCall(BluetoothDevice device, int flag) argument
324 rejectCall(BluetoothDevice device) argument
333 holdCall(BluetoothDevice device) argument
342 terminateCall(BluetoothDevice device, int index) argument
351 explicitCallTransfer(BluetoothDevice device) argument
360 enterPrivateMode(BluetoothDevice device, int index) argument
369 redial(BluetoothDevice device) argument
378 dial(BluetoothDevice device, String number) argument
387 dialMemory(BluetoothDevice device, int location) argument
396 getCurrentCalls(BluetoothDevice device) argument
405 sendDTMF(BluetoothDevice device, byte code) argument
414 getLastVoiceTagNumber(BluetoothDevice device) argument
423 getCurrentAgEvents(BluetoothDevice device) argument
432 getCurrentAgFeatures(BluetoothDevice device) argument
480 connect(BluetoothDevice device) argument
498 disconnect(BluetoothDevice device) argument
521 getConnectionState(BluetoothDevice device) argument
527 setPriority(BluetoothDevice device, int priority) argument
539 getPriority(BluetoothDevice device) argument
548 startVoiceRecognition(BluetoothDevice device) argument
559 stopVoiceRecognition(BluetoothDevice device) argument
573 acceptIncomingConnect(BluetoothDevice device) argument
578 rejectIncomingConnect(BluetoothDevice device) argument
583 getAudioState(BluetoothDevice device) argument
616 holdCall(BluetoothDevice device) argument
628 acceptCall(BluetoothDevice device, int flag) argument
641 rejectCall(BluetoothDevice device) argument
654 terminateCall(BluetoothDevice device, int index) argument
668 enterPrivateMode(BluetoothDevice device, int index) argument
682 redial(BluetoothDevice device) argument
695 dial(BluetoothDevice device, String number) argument
709 dialMemory(BluetoothDevice device, int location) argument
722 sendDTMF(BluetoothDevice device, byte code) argument
735 getLastVoiceTagNumber(BluetoothDevice device) argument
747 getCurrentCalls(BluetoothDevice device) argument
756 explicitCallTransfer(BluetoothDevice device) argument
769 getCurrentAgEvents(BluetoothDevice device) argument
778 getCurrentAgFeatures(BluetoothDevice device) argument
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
H A DBluetoothDeviceCriteria.java26 * type of device that is being looked for.
28 * For example, does the device MAC address match the expected pattern and
29 * does the device provide the types of services (audio, video, input, etc) that
34 // TODO add ability to determine matching device based on name
48 public final boolean isMatchingDevice(BluetoothDevice device) { argument
49 if (device == null) {
53 if (device.getAddress() == null || !isMatchingMacAddress(device.getAddress())) {
57 if (!isMatchingMajorDeviceClass(device.getBluetoothClass().getMajorDeviceClass())) {
61 if (!isMatchingDeviceClass(device
[all...]
H A DBluetoothScanner.java53 // the type of configuration this device needs, or -1 if the device does not
100 public void onDeviceAdded(Device device) { argument
102 public void onDeviceChanged(Device device) { argument
104 public void onDeviceRemoved(Device device) { argument
153 public static void removeDevice(Device device) { argument
154 removeDevice(device.address);
196 * will be notified about changes in status of a discovered device. Note
197 * that the matcher is only run against the device when the device i
488 sendDeviceAdded(Device device) argument
503 sendDeviceChanged(Device device) argument
519 sendDeviceRemoved(Device device) argument
[all...]
/packages/services/Car/service/jni/
H A Dcom_android_car_CarCameraService.cpp53 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
55 if (device != NULL) {
56 device->common.close((struct hw_device_t*)device);
100 hw_device_t *device = NULL; local
103 module->common.methods->open((hw_module_t*)module, cameraTypeString[cameraType], &device);
106 if (device == NULL) {
109 return (jlong)device;
123 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
124 if (device !
148 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
175 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
202 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
230 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
257 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
284 vehicle_camera_device_t *device = (vehicle_camera_device_t*)dev; local
[all...]
/packages/services/Car/service/src/com/android/car/
H A DCarCameraService.java57 Log.e(TAG, "Null device pointer returned for cameraType = " + i);
76 for (Long device : devices) {
77 nativeClose(device);
118 long device = getDeviceIdLocked(cameraType);
119 return nativeGetCapabilities(device);
127 long device = getDeviceIdLocked(cameraType);
128 rect = nativeGetCameraCrop(device);
142 long device = getDeviceIdLocked(cameraType);
143 nativeSetCameraCrop(device, rect);
151 long device
217 nativeGetCapabilities(long device) argument
218 nativeGetCameraCrop(long device) argument
219 nativeSetCameraCrop(long device, Rect rect) argument
220 nativeGetCameraPosition(long device) argument
221 nativeSetCameraPosition(long device, Rect rect) argument
222 nativeGetCameraState(long device) argument
223 nativeSetCameraState(long device, CarCameraState state) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java119 public boolean connect(BluetoothDevice device) { argument
123 int connectionState = mStateMachine.getConnectionState(device);
129 mStateMachine.sendMessage(A2dpSinkStateMachine.CONNECT, device);
133 boolean disconnect(BluetoothDevice device) { argument
136 int connectionState = mStateMachine.getConnectionState(device);
142 mStateMachine.sendMessage(A2dpSinkStateMachine.DISCONNECT, device);
156 int getConnectionState(BluetoothDevice device) { argument
158 return mStateMachine.getConnectionState(device);
161 public boolean setPriority(BluetoothDevice device, int priority) { argument
165 Settings.Global.getBluetoothA2dpSrcPriorityKey(device
173 getPriority(BluetoothDevice device) argument
190 informAvrcpPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) argument
210 informTGStatePlaying(BluetoothDevice device, boolean isPlaying) argument
220 isA2dpPlaying(BluetoothDevice device) argument
229 getAudioConfig(BluetoothDevice device) argument
260 connect(BluetoothDevice device) argument
266 disconnect(BluetoothDevice device) argument
284 getConnectionState(BluetoothDevice device) argument
290 isA2dpPlaying(BluetoothDevice device) argument
296 setPriority(BluetoothDevice device, int priority) argument
302 getPriority(BluetoothDevice device) argument
308 getAudioConfig(BluetoothDevice device) argument
[all...]
H A DA2dpSinkStateMachine.java102 // mCurrentDevice is the device connected before the state changes
103 // mTargetDevice is the device to be connected
104 // mIncomingDevice is the device connecting to us, valid only in Pending state
115 // Connecting to a device, Pending
117 // Disconnecting device, Connecting to new device
120 // Disconnecting device Pending
199 BluetoothDevice device = (BluetoothDevice) message.obj;
200 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING,
203 if (!connectA2dpNative(getByteAddress(device)) ) {
246 processConnectionEvent(int state, BluetoothDevice device) argument
360 processConnectionEvent(int state, BluetoothDevice device) argument
592 processConnectionEvent(int state, BluetoothDevice device) argument
618 processAudioStateEvent(int state, BluetoothDevice device) argument
640 processAudioConfigEvent(BluetoothAudioConfig audioConfig, BluetoothDevice device) argument
646 getConnectionState(BluetoothDevice device) argument
678 getAudioConfig(BluetoothDevice device) argument
692 isPlaying(BluetoothDevice device) argument
701 okToConnect(BluetoothDevice device) argument
735 broadcastConnectionState(BluetoothDevice device, int newState, int prevState) argument
746 broadcastAudioState(BluetoothDevice device, int state, int prevState) argument
757 broadcastAudioConfig(BluetoothDevice device, BluetoothAudioConfig audioConfig) argument
767 getByteAddress(BluetoothDevice device) argument
802 BluetoothDevice device = null; field in class:A2dpSinkStateMachine.StackEvent
812 onConnectionStateChanged(BluetoothDevice device, int prevState, int state) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachine.java166 // Indicates whether audio can be routed to the device.
169 // mCurrentDevice is the device connected before the state changes
170 // mTargetDevice is the device to be connected
171 // mIncomingDevice is the device connecting to us, valid only in Pending state
182 // Connecting to a device, Pending
184 // Disconnecting device, Connecting to new device
187 // Disconnecting device Pending
346 BluetoothDevice device = (BluetoothDevice) message.obj;
347 broadcastConnectionState(device, BluetoothProfil
402 processConnectionEvent(int state, BluetoothDevice device) argument
547 processConnectionEvent(int state, BluetoothDevice device) argument
731 processMultiHFConnected(BluetoothDevice device) argument
1040 processConnectionEvent(int state, BluetoothDevice device) argument
1114 processAudioEvent(int state, BluetoothDevice device) argument
1162 processMultiHFConnected(BluetoothDevice device) argument
1476 processConnectionEvent(int state, BluetoothDevice device) argument
1554 processAudioEvent(int state, BluetoothDevice device) argument
1593 processIntentScoVolume(Intent intent, BluetoothDevice device) argument
1602 processMultiHFConnected(BluetoothDevice device) argument
1824 processConnectionEvent(int state, BluetoothDevice device) argument
2007 processAudioEvent(int state, BluetoothDevice device) argument
2066 processMultiHFConnected(BluetoothDevice device) argument
2090 processIntentScoVolume(Intent intent, BluetoothDevice device) argument
2115 getConnectionState(BluetoothDevice device) argument
2181 isAudioConnected(BluetoothDevice device) argument
2206 getAudioState(BluetoothDevice device) argument
2215 processVrEvent(int state, BluetoothDevice device) argument
2345 expectVoiceRecognition(BluetoothDevice device) argument
2399 getMatchingDevice(BluetoothDevice device) argument
2412 broadcastConnectionState(BluetoothDevice device, int newState, int prevState) argument
2432 broadcastAudioState(BluetoothDevice device, int newState, int prevState) argument
2450 broadcastVendorSpecificEventIntent(String command, int companyId, int commandType, Object[] arguments, BluetoothDevice device) argument
2472 configAudioParameters(BluetoothDevice device) argument
2484 setAudioParameters(BluetoothDevice device) argument
2602 processAnswerCall(BluetoothDevice device) argument
2619 processHangupCall(BluetoothDevice device) argument
2641 processDialCall(String number, BluetoothDevice device) argument
2702 processVolumeEvent(int volumeType, int volume, BluetoothDevice device) argument
2719 processSendDtmf(int dtmf, BluetoothDevice device) argument
2807 processNoiceReductionEvent(int enable, BluetoothDevice device) argument
2828 processWBSEvent(int enable, BluetoothDevice device) argument
2840 processAtChld(int chld, BluetoothDevice device) argument
2867 processSubscriberNumberRequest(BluetoothDevice device) argument
2897 processAtCind(BluetoothDevice device) argument
2923 processAtCops(BluetoothDevice device) argument
2946 processAtClcc(BluetoothDevice device) argument
2991 processAtCscs(String atString, int type, BluetoothDevice device) argument
3002 processAtCpbs(String atString, int type, BluetoothDevice device) argument
3013 processAtCpbr(String atString, int type, BluetoothDevice device) argument
3103 processUnknownAt(String atString, BluetoothDevice device) argument
3123 processKeyPressed(BluetoothDevice device) argument
3169 sendIndicatorIntent(BluetoothDevice device, int ind_id, String ind_value) argument
3180 processAtBind( String at_string, BluetoothDevice device) argument
3218 processAtBiev( int ind_id, int ind_value, BluetoothDevice device) argument
3392 getCurrentDeviceName(BluetoothDevice device) argument
3406 getByteAddress(BluetoothDevice device) argument
3431 okToConnect(BluetoothDevice device) argument
3533 BluetoothDevice device = null; field in class:HeadsetStateMachine.StackEvent
[all...]
H A DHeadsetService.java145 public boolean connect(BluetoothDevice device) { argument
148 return service.connect(device);
151 public boolean disconnect(BluetoothDevice device) { argument
155 return service.disconnect(device);
170 public int getConnectionState(BluetoothDevice device) { argument
173 return service.getConnectionState(device);
176 public boolean setPriority(BluetoothDevice device, int priority) { argument
179 return service.setPriority(device, priority);
182 public int getPriority(BluetoothDevice device) { argument
185 return service.getPriority(device);
188 startVoiceRecognition(BluetoothDevice device) argument
194 stopVoiceRecognition(BluetoothDevice device) argument
206 isAudioConnected(BluetoothDevice device) argument
212 getBatteryUsageHint(BluetoothDevice device) argument
218 acceptIncomingConnect(BluetoothDevice device) argument
224 rejectIncomingConnect(BluetoothDevice device) argument
230 getAudioState(BluetoothDevice device) argument
263 startScoUsingVirtualVoiceCall(BluetoothDevice device) argument
269 stopScoUsingVirtualVoiceCall(BluetoothDevice device) argument
289 sendVendorSpecificResultCode(BluetoothDevice device, String command, String arg) argument
353 connect(BluetoothDevice device) argument
372 disconnect(BluetoothDevice device) argument
395 getConnectionState(BluetoothDevice device) argument
400 setPriority(BluetoothDevice device, int priority) argument
410 getPriority(BluetoothDevice device) argument
419 startVoiceRecognition(BluetoothDevice device) argument
430 stopVoiceRecognition(BluetoothDevice device) argument
450 isAudioConnected(BluetoothDevice device) argument
455 getBatteryUsageHint(BluetoothDevice device) argument
460 acceptIncomingConnect(BluetoothDevice device) argument
465 rejectIncomingConnect(BluetoothDevice device) argument
470 getAudioState(BluetoothDevice device) argument
505 startScoUsingVirtualVoiceCall(BluetoothDevice device) argument
512 stopScoUsingVirtualVoiceCall(BluetoothDevice device) argument
538 sendVendorSpecificResultCode(BluetoothDevice device, String command, String arg) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java152 BluetoothDevice device = (BluetoothDevice) msg.obj;
153 if (!connectHidNative(Utils.getByteAddress(device)) ) {
154 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
155 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
158 mTargetDevice = device;
163 BluetoothDevice device = (BluetoothDevice) msg.obj;
164 if (!disconnectHidNative(Utils.getByteAddress(device)) ) {
165 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
166 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
173 BluetoothDevice device
318 connect(BluetoothDevice device) argument
324 disconnect(BluetoothDevice device) argument
330 getConnectionState(BluetoothDevice device) argument
347 setPriority(BluetoothDevice device, int priority) argument
353 getPriority(BluetoothDevice device) argument
360 getProtocolMode(BluetoothDevice device) argument
366 virtualUnplug(BluetoothDevice device) argument
372 setProtocolMode(BluetoothDevice device, int protocolMode) argument
378 getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) argument
384 setReport(BluetoothDevice device, byte reportType, String report) argument
390 sendData(BluetoothDevice device, String report) argument
398 connect(BluetoothDevice device) argument
414 disconnect(BluetoothDevice device) argument
421 getConnectionState(BluetoothDevice device) argument
444 setPriority(BluetoothDevice device, int priority) argument
454 getPriority(BluetoothDevice device) argument
464 getProtocolMode(BluetoothDevice device) argument
478 virtualUnplug(BluetoothDevice device) argument
490 setProtocolMode(BluetoothDevice device, int protocolMode) argument
504 getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) argument
522 setReport(BluetoothDevice device, byte reportType, String report) argument
540 sendData(BluetoothDevice device, String report) argument
597 broadcastConnectionState(BluetoothDevice device, int newState) argument
621 broadcastHandshake(BluetoothDevice device, int status) argument
629 broadcastProtocolMode(BluetoothDevice device, int protocolMode) argument
638 broadcastReport(BluetoothDevice device, byte[] report, int rpt_size) argument
647 broadcastVirtualUnplugStatus(BluetoothDevice device, int status) argument
655 okToConnect(BluetoothDevice device) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DRemoteDevices.java40 // Maximum number of device properties to remember
79 DeviceProperties getDeviceProperties(BluetoothDevice device) { argument
81 return mDevices.get(device.getAddress());
104 for (BluetoothDevice device : mAdapterService.getBondedDevices()) {
105 if (device.getAddress().equals(deleteKey)) return prop;
107 debugLog("Removing device " + deleteKey + " from property map");
205 void setAlias(BluetoothDevice device, String mAlias) { argument
211 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
225 /* Clearing the Uuids local copy when the device is unpaired. If not cleared,
244 private void sendUuidIntent(BluetoothDevice device) { argument
403 fetchUuids(BluetoothDevice device) argument
414 updateUuids(BluetoothDevice device) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientService.java115 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
116 if(getPriority(device) >= BluetoothProfile.PRIORITY_ON) {
117 connect(device);
120 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
121 disconnect(device);
156 public boolean connect(BluetoothDevice device) { argument
161 return service.connect(device);
165 public boolean disconnect(BluetoothDevice device) { argument
170 return service.disconnect(device);
191 public int getConnectionState(BluetoothDevice device) { argument
199 setPriority(BluetoothDevice device, int priority) argument
207 getPriority(BluetoothDevice device) argument
258 connect(BluetoothDevice device) argument
274 disconnect(BluetoothDevice device) argument
302 getConnectionState(BluetoothDevice device) argument
310 setPriority(BluetoothDevice device, int priority) argument
322 getPriority(BluetoothDevice device) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DIObexConnectionHandler.java23 * Called to validate if a connection to the Bluetooth device should be accepted.
25 * @param device the connecting BluetoothDevice. Use .getType() to determine the type of
30 public boolean onConnect(BluetoothDevice device, BluetoothSocket socket); argument
/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothHeadsetProxy.java55 public int getConnectionState(BluetoothDevice device) { argument
56 return mBluetoothHeadset.getConnectionState(device);
59 public boolean isAudioConnected(BluetoothDevice device) { argument
60 return mBluetoothHeadset.isAudioConnected(device);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
H A DPrivacyActivity.java17 package com.android.tv.settings.device.privacy;
24 import com.android.tv.settings.device.storage.ResetActivity;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMtpClient.java44 * and notifies the application when the MTP device list changes.
58 // so we can inform when the device has been detached.
66 // unable to open the device.
128 * Called when a new device has been added
130 * @param device the new device that was added
132 public void deviceAdded(MtpDevice device); argument
135 * Called when a new device has been removed
137 * @param device the device tha
139 deviceRemoved(MtpDevice device) argument
149 isCamera(UsbDevice device) argument
[all...]

Completed in 1166 milliseconds

12345678