/packages/apps/Camera2/src/com/android/camera/device/ |
H A D | SingleDeviceOpenListener.java | 17 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 D | SingleDeviceCloseListener.java | 17 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 D | SingleDeviceShutdownListener.java | 17 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 D | CameraDeviceActionProvider.java | 17 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 D | CameraOpenException.java | 17 package com.android.camera.device;
|
H A D | SingleDeviceActions.java | 17 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 D | WifiP2pPeer.java | 31 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
H A D | UsbDeviceStateController.java | 37 * Controller to change device into AOAP mode and back. 41 * Listener for USB device mode controller. 44 void onDeviceResetComplete(UsbDevice device); argument 45 void onAoapStartComplete(UsbDevice device); argument 46 void onAoapStartFailed(UsbDevice device); argument 117 public void startDeviceReset(UsbDevice device) { argument 119 Log.d(TAG, "startDeviceReset: " + device); 121 mHandler.requestDeviceReset(device); 126 Log.d(TAG, "startAoap: " + request.device); 131 private void doHandleDeviceReset(UsbDevice device) { argument 211 resetUsbDeviceAndConfirmModeChange(UsbDevice device) argument 272 isDeviceRemovedLocked(UsbDevice device) argument 283 checkDeviceAttachedLocked(UsbDevice device) argument 294 openConnection(UsbDevice device) argument 299 handleUsbDeviceAttached(UsbDevice device) argument 306 handleUsbDeviceDetached(UsbDevice device) argument 321 requestDeviceReset(UsbDevice device) argument 358 public final UsbDevice device; field in class:UsbDeviceStateController.AoapSwitchRequest 366 AoapSwitchRequest(UsbDevice device, String manufacturer, String model, String description, String version, String uri, String serial) argument [all...] |
H A D | UsbHostController.java | 36 * Controller used to handle USB device connections. 51 /** Options for USB device changed */ 73 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); 74 unsetActiveDeviceIfSerialMatch(device); 76 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); 77 setActiveDeviceIfSerialMatch(device); 103 private synchronized void setActiveDeviceIfSerialMatch(UsbDevice device) { argument 104 if (device != null && device.getSerialNumber() != null 105 && device 110 unsetActiveDeviceIfSerialMatch(UsbDevice device) argument 118 startDeviceProcessingIfNull(UsbDevice device) argument 136 deviceMatchedActiveDevice(UsbDevice device) argument 147 processDevice(UsbDevice device) argument 185 onHandlersResolveCompleted( UsbDevice device, List<UsbDeviceSettings> handlers) argument 218 createDeviceAttachedIntent(UsbDevice device) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
H A D | BluetoothDeviceCriteria.java | 26 * 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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | PhonePolicy.java | 66 // 1. Adapter turned ON: At this point we will try to auto-connect the (device, profile) pairs which 70 // will try to connect other profiles on the same device. This is to avoid collision if devices 149 BluetoothDevice device = 152 debugLog("Received ACTION_UUID for device " + device); 159 processInitProfilePriorities(device, uuidsToSend); 165 BluetoothDevice device = 169 processProfileStateChanged(device, msg.arg1, nextState, prevState); 208 private void processInitProfilePriorities(BluetoothDevice device, ParcelUuid[] uuids) { argument 209 debugLog("processInitProfilePriorities() - device " 250 processProfileStateChanged( BluetoothDevice device, int profileId, int nextState, int prevState) argument 330 connectOtherProfile(BluetoothDevice device) argument 343 processConnectOtherProfiles(BluetoothDevice device) argument 410 setProfileAutoConnectionPriority(BluetoothDevice device, int profileId) argument [all...] |
H A D | RemoteDevices.java | 47 // Maximum number of device properties to remember 134 DeviceProperties getDeviceProperties(BluetoothDevice device) { argument 136 return mDevices.get(device.getAddress()); 159 for (BluetoothDevice device : mAdapterService.getBondedDevices()) { 160 if (device.getAddress().equals(deleteKey)) return prop; 162 debugLog("Removing device " + deleteKey + " from property map"); 262 void setAlias(BluetoothDevice device, String mAlias) { argument 268 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); 282 /* Clearing the Uuids local copy when the device is unpaired. If not cleared, 334 private void sendUuidIntent(BluetoothDevice device) { argument 370 updateBatteryLevel(BluetoothDevice device, int batteryLevel) argument 398 resetBatteryLevel(BluetoothDevice device) argument 418 sendBatteryLevelChangedBroadcast(BluetoothDevice device, int batteryLevel) argument 580 fetchUuids(BluetoothDevice device) argument 591 updateUuids(BluetoothDevice device) argument [all...] |
/packages/services/Car/car-lib/src/android/car/ |
H A D | ICarBluetoothUserService.aidl | 26 void bluetoothConnectToProfile(in int profile, in BluetoothDevice device); 27 void setProfilePriority(in int profile, in BluetoothDevice device, in int priority);
|
H A D | IUsbAoapSupportCheckService.aidl | 27 boolean isDeviceSupported(in UsbDevice device) = 0;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
H A D | A2dpSinkService.java | 123 public boolean connect(BluetoothDevice device) { argument 127 int connectionState = mStateMachine.getConnectionState(device); 133 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { 137 mStateMachine.sendMessage(A2dpSinkStateMachine.CONNECT, device); 141 boolean disconnect(BluetoothDevice device) { argument 144 int connectionState = mStateMachine.getConnectionState(device); 150 mStateMachine.sendMessage(A2dpSinkStateMachine.DISCONNECT, device); 164 int getConnectionState(BluetoothDevice device) { argument 166 return mStateMachine.getConnectionState(device); 169 public boolean setPriority(BluetoothDevice device, in argument 181 getPriority(BluetoothDevice device) argument 198 informAvrcpPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) argument 218 informTGStatePlaying(BluetoothDevice device, boolean isPlaying) argument 228 isA2dpPlaying(BluetoothDevice device) argument 237 getAudioConfig(BluetoothDevice device) argument 268 connect(BluetoothDevice device) argument 274 disconnect(BluetoothDevice device) argument 292 getConnectionState(BluetoothDevice device) argument 298 isA2dpPlaying(BluetoothDevice device) argument 304 setPriority(BluetoothDevice device, int priority) argument 310 getPriority(BluetoothDevice device) argument 316 getAudioConfig(BluetoothDevice device) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetStateMachine.java | 165 // Indicates whether audio can be routed to the device. 171 // mCurrentDevice is the device connected before the state changes 172 // mTargetDevice is the device to be connected 173 // mIncomingDevice is the device connecting to us, valid only in Pending state 184 // Connecting to a device, Pending 186 // Disconnecting device, Connecting to new device 189 // Disconnecting device Pending 358 BluetoothDevice device = (BluetoothDevice) message.obj; 359 Log.d(TAG, "Disconnected: connecting to device 412 processConnectionEvent(int state, BluetoothDevice device) argument 591 processConnectionEvent(int state, BluetoothDevice device) argument 761 processMultiHFConnected(BluetoothDevice device) argument 1035 processConnectionEvent(int state, BluetoothDevice device) argument 1103 processAudioEvent(int state, BluetoothDevice device) argument 1138 processMultiHFConnected(BluetoothDevice device) argument 1424 processConnectionEvent(int state, BluetoothDevice device) argument 1505 processAudioEvent(int state, BluetoothDevice device) argument 1535 processIntentScoVolume(Intent intent, BluetoothDevice device) argument 1544 processMultiHFConnected(BluetoothDevice device) argument 1753 processConnectionEvent(int state, BluetoothDevice device) argument 1926 processAudioEvent(int state, BluetoothDevice device) argument 1976 processMultiHFConnected(BluetoothDevice device) argument 2000 processIntentScoVolume(Intent intent, BluetoothDevice device) argument 2024 getConnectionState(BluetoothDevice device) argument 2088 isAudioConnected(BluetoothDevice device) argument 2116 getAudioState(BluetoothDevice device) argument 2125 processVrEvent(int state, BluetoothDevice device) argument 2238 expectVoiceRecognition(BluetoothDevice device) argument 2289 getMatchingDevice(BluetoothDevice device) argument 2299 broadcastConnectionState(BluetoothDevice device, int newState, int prevState) argument 2315 broadcastAudioState(BluetoothDevice device, int newState, int prevState) argument 2332 broadcastVendorSpecificEventIntent(String command, int companyId, int commandType, Object[] arguments, BluetoothDevice device) argument 2348 configAudioParameters(BluetoothDevice device) argument 2359 setAudioParameters(BluetoothDevice device) argument 2472 processAnswerCall(BluetoothDevice device) argument 2489 processHangupCall(BluetoothDevice device) argument 2511 processDialCall(String number, BluetoothDevice device) argument 2571 processVolumeEvent(int volumeType, int volume, BluetoothDevice device) argument 2588 processSendDtmf(int dtmf, BluetoothDevice device) argument 2672 processNoiceReductionEvent(int enable, BluetoothDevice device) argument 2692 processWBSEvent(int enable, BluetoothDevice device) argument 2706 processAtChld(int chld, BluetoothDevice device) argument 2732 processSubscriberNumberRequest(BluetoothDevice device) argument 2762 processAtCind(BluetoothDevice device) argument 2787 processAtCops(BluetoothDevice device) argument 2810 processAtClcc(BluetoothDevice device) argument 2850 processAtCscs(String atString, int type, BluetoothDevice device) argument 2860 processAtCpbs(String atString, int type, BluetoothDevice device) argument 2870 processAtCpbr(String atString, int type, BluetoothDevice device) argument 2940 processVendorSpecificAt(String atString, BluetoothDevice device) argument 2980 processAtXapl(Object[] args, BluetoothDevice device) argument 2993 processUnknownAt(String atString, BluetoothDevice device) argument 3012 processKeyPressed(BluetoothDevice device) argument 3061 sendIndicatorIntent(BluetoothDevice device, int ind_id, int ind_value) argument 3070 processAtBind(String at_string, BluetoothDevice device) argument 3106 processAtBiev(int indId, int indValue, BluetoothDevice device) argument 3275 getCurrentDeviceName(BluetoothDevice device) argument 3289 getByteAddress(BluetoothDevice device) argument 3322 okToConnect(BluetoothDevice device) argument 3423 BluetoothDevice device = null; field in class:HeadsetStateMachine.StackEvent [all...] |
H A D | HeadsetService.java | 141 public boolean connect(BluetoothDevice device) { argument 144 return service.connect(device); 147 public boolean disconnect(BluetoothDevice device) { argument 151 return service.disconnect(device); 166 public int getConnectionState(BluetoothDevice device) { argument 169 return service.getConnectionState(device); 172 public boolean setPriority(BluetoothDevice device, int priority) { argument 175 return service.setPriority(device, priority); 178 public int getPriority(BluetoothDevice device) { argument 181 return service.getPriority(device); 184 startVoiceRecognition(BluetoothDevice device) argument 190 stopVoiceRecognition(BluetoothDevice device) argument 202 isAudioConnected(BluetoothDevice device) argument 208 getBatteryUsageHint(BluetoothDevice device) argument 214 acceptIncomingConnect(BluetoothDevice device) argument 220 rejectIncomingConnect(BluetoothDevice device) argument 226 getAudioState(BluetoothDevice device) argument 264 startScoUsingVirtualVoiceCall(BluetoothDevice device) argument 270 stopScoUsingVirtualVoiceCall(BluetoothDevice device) argument 290 sendVendorSpecificResultCode( BluetoothDevice device, String command, String arg) argument 353 connect(BluetoothDevice device) argument 372 disconnect(BluetoothDevice device) argument 397 getConnectionState(BluetoothDevice device) argument 402 setPriority(BluetoothDevice device, int priority) argument 410 getPriority(BluetoothDevice device) argument 418 startVoiceRecognition(BluetoothDevice device) argument 429 stopVoiceRecognition(BluetoothDevice device) argument 449 isAudioConnected(BluetoothDevice device) argument 454 getBatteryUsageHint(BluetoothDevice device) argument 459 acceptIncomingConnect(BluetoothDevice device) argument 464 rejectIncomingConnect(BluetoothDevice device) argument 469 getAudioState(BluetoothDevice device) argument 511 startScoUsingVirtualVoiceCall(BluetoothDevice device) argument 518 stopScoUsingVirtualVoiceCall(BluetoothDevice device) argument 544 sendVendorSpecificResultCode( BluetoothDevice device, String command, String arg) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
H A D | HidService.java | 103 for (BluetoothDevice device : mInputDevices.keySet()) { 104 int inputDeviceState = getConnectionState(device); 106 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 157 BluetoothDevice device = (BluetoothDevice) msg.obj; 158 if (!connectHidNative(Utils.getByteAddress(device)) ) { 159 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 160 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 163 mTargetDevice = device; 168 BluetoothDevice device = (BluetoothDevice) msg.obj; 169 if (!disconnectHidNative(Utils.getByteAddress(device)) ) { 342 connect(BluetoothDevice device) argument 348 disconnect(BluetoothDevice device) argument 354 getConnectionState(BluetoothDevice device) argument 371 setPriority(BluetoothDevice device, int priority) argument 377 getPriority(BluetoothDevice device) argument 384 getProtocolMode(BluetoothDevice device) argument 390 virtualUnplug(BluetoothDevice device) argument 396 setProtocolMode(BluetoothDevice device, int protocolMode) argument 402 getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) argument 408 setReport(BluetoothDevice device, byte reportType, String report) argument 414 sendData(BluetoothDevice device, String report) argument 420 setIdleTime(BluetoothDevice device, byte idleTime) argument 426 getIdleTime(BluetoothDevice device) argument 434 connect(BluetoothDevice device) argument 450 disconnect(BluetoothDevice device) argument 457 getConnectionState(BluetoothDevice device) argument 480 setPriority(BluetoothDevice device, int priority) argument 490 getPriority(BluetoothDevice device) argument 500 getProtocolMode(BluetoothDevice device) argument 514 virtualUnplug(BluetoothDevice device) argument 526 setProtocolMode(BluetoothDevice device, int protocolMode) argument 540 getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) argument 558 setReport(BluetoothDevice device, byte reportType, String report) argument 576 sendData(BluetoothDevice device, String report) argument 587 getIdleTime(BluetoothDevice device) argument 598 setIdleTime(BluetoothDevice device, byte idleTime) argument 659 broadcastConnectionState(BluetoothDevice device, int newState) argument 681 broadcastHandshake(BluetoothDevice device, int status) argument 689 broadcastProtocolMode(BluetoothDevice device, int protocolMode) argument 698 broadcastReport(BluetoothDevice device, byte[] report, int rpt_size) argument 707 broadcastVirtualUnplugStatus(BluetoothDevice device, int status) argument 715 broadcastIdleTime(BluetoothDevice device, int idleTime) argument 724 okToConnect(BluetoothDevice device) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientService.java | 226 public boolean connect(BluetoothDevice device) { argument 231 return service.connect(device); 235 public boolean disconnect(BluetoothDevice device) { argument 240 return service.disconnect(device); 262 public int getConnectionState(BluetoothDevice device) { argument 267 return service.getConnectionState(device); 271 public boolean setPriority(BluetoothDevice device, int priority) { argument 276 return service.setPriority(device, priority); 280 public int getPriority(BluetoothDevice device) { argument 285 return service.getPriority(device); 289 startVoiceRecognition(BluetoothDevice device) argument 298 stopVoiceRecognition(BluetoothDevice device) argument 307 getAudioState(BluetoothDevice device) argument 316 setAudioRouteAllowed(BluetoothDevice device, boolean allowed) argument 321 getAudioRouteAllowed(BluetoothDevice device) argument 327 connectAudio(BluetoothDevice device) argument 336 disconnectAudio(BluetoothDevice device) argument 345 acceptCall(BluetoothDevice device, int flag) argument 354 rejectCall(BluetoothDevice device) argument 363 holdCall(BluetoothDevice device) argument 372 terminateCall(BluetoothDevice device, BluetoothHeadsetClientCall call) argument 382 explicitCallTransfer(BluetoothDevice device) argument 391 enterPrivateMode(BluetoothDevice device, int index) argument 400 dial(BluetoothDevice device, String number) argument 409 getCurrentCalls(BluetoothDevice device) argument 418 sendDTMF(BluetoothDevice device, byte code) argument 427 getLastVoiceTagNumber(BluetoothDevice device) argument 436 getCurrentAgEvents(BluetoothDevice device) argument 445 getCurrentAgFeatures(BluetoothDevice device) argument 493 connect(BluetoothDevice device) argument 514 disconnect(BluetoothDevice device) argument 560 getConnectionState(BluetoothDevice device) argument 569 setPriority(BluetoothDevice device, int priority) argument 581 getPriority(BluetoothDevice device) argument 590 startVoiceRecognition(BluetoothDevice device) argument 595 stopVoiceRecognition(BluetoothDevice device) argument 600 getAudioState(BluetoothDevice device) argument 610 connectAudio(BluetoothDevice device) argument 628 disconnectAudio(BluetoothDevice device) argument 643 holdCall(BluetoothDevice device) argument 661 acceptCall(BluetoothDevice device, int flag) argument 698 rejectCall(BluetoothDevice device) argument 717 terminateCall(BluetoothDevice device, UUID uuid) argument 737 enterPrivateMode(BluetoothDevice device, int index) argument 757 dial(BluetoothDevice device, String number) argument 781 sendDTMF(BluetoothDevice device, byte code) argument 800 getLastVoiceTagNumber(BluetoothDevice device) argument 804 getCurrentCalls(BluetoothDevice device) argument 819 explicitCallTransfer(BluetoothDevice device) argument 837 getCurrentAgEvents(BluetoothDevice device) argument 852 getCurrentAgFeatures(BluetoothDevice device) argument 877 getStateMachine(BluetoothDevice device) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PbapClientService.java | 104 void cleanupDevice(BluetoothDevice device) { argument 105 Log.w(TAG, "Cleanup device: " + device); 107 PbapClientStateMachine pbapClientStateMachine = mPbapClientStateMachineMap.get(device); 109 mPbapClientStateMachineMap.remove(device); 122 // The device ID is the name of the account. 138 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 139 if (getConnectionState(device) == BluetoothProfile.STATE_CONNECTED) { 140 disconnect(device); 180 public boolean connect(BluetoothDevice device) { argument 191 disconnect(BluetoothDevice device) argument 217 getConnectionState(BluetoothDevice device) argument 226 setPriority(BluetoothDevice device, int priority) argument 235 getPriority(BluetoothDevice device) argument 285 connect(BluetoothDevice device) argument 307 disconnect(BluetoothDevice device) argument 343 getConnectionState(BluetoothDevice device) argument 354 setPriority(BluetoothDevice device, int priority) argument 366 getPriority(BluetoothDevice device) argument [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | Bots.java | 49 public Bots(UiDevice device, UiAutomation automation, Context context, int timeout) { argument 50 main = new UiBot(device, context, TIMEOUT); 51 breadcrumb = new BreadBot(device, context, TIMEOUT, main); 52 roots = new SidebarBot(device, context, TIMEOUT); 53 directory = new DirectoryListBot(device, automation, context, TIMEOUT); 54 sortHeader = new SortHeaderBot(device, context, TIMEOUT); 55 keyboard = new KeyboardBot(device, context, TIMEOUT); 56 search = new SearchBot(device, context, TIMEOUT); 57 gesture = new GestureBot(device, automation, context, TIMEOUT); 58 menu = new MenuBot(device, contex 71 BaseBot(UiDevice device, Context context, int timeout) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpService.java | 60 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 61 if (state != BluetoothProfile.STATE_CONNECTED || device == null) { 64 // Each time a device connects, we want to re-check if it supports optional 67 int previousSupport = getSupportsOptionalCodecs(device); 79 setSupportsOptionalCodecs(device, supportsOptional); 82 int enabled = getOptionalCodecsEnabled(device); 185 public boolean connect(BluetoothDevice device) { argument 189 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { 192 ParcelUuid[] featureUuids = device.getUuids(); 199 int connectionState = mStateMachine.getConnectionState(device); 209 disconnect(BluetoothDevice device) argument 232 getConnectionState(BluetoothDevice device) argument 237 setPriority(BluetoothDevice device, int priority) argument 247 getPriority(BluetoothDevice device) argument 273 resetAvrcpBlacklist(BluetoothDevice device) argument 279 isA2dpPlaying(BluetoothDevice device) argument 310 getSupportsOptionalCodecs(BluetoothDevice device) argument 318 setSupportsOptionalCodecs(BluetoothDevice device, boolean doesSupport) argument 327 getOptionalCodecsEnabled(BluetoothDevice device) argument 334 setOptionalCodecsEnabled(BluetoothDevice device, int value) argument 373 connect(BluetoothDevice device) argument 379 disconnect(BluetoothDevice device) argument 397 getConnectionState(BluetoothDevice device) argument 403 setPriority(BluetoothDevice device, int priority) argument 409 getPriority(BluetoothDevice device) argument 433 isA2dpPlaying(BluetoothDevice device) argument 463 supportsOptionalCodecs(BluetoothDevice device) argument 469 getOptionalCodecsEnabled(BluetoothDevice device) argument 475 setOptionalCodecsEnabled(BluetoothDevice device, int value) argument [all...] |
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
H A D | UsbDeviceHandlerResolver.java | 48 /** Resolves supported handlers for USB device. */ 54 * Callbacks for device resolver. 59 UsbDevice device, List<UsbDeviceSettings> availableSettings); 105 // This class is used to describe a USB device. 114 // USB device or interface class (or -1 for unspecified) 116 // USB device subclass (or -1 for unspecified) 118 // USB device protocol (or -1 for unspecified) 120 // USB device manufacturer name string (or null for unspecified) 122 // USB device product name string (or null for unspecified) 124 // USB device seria 58 onHandlersResolveCompleted( UsbDevice device, List<UsbDeviceSettings> availableSettings) argument 165 DeviceFilter(UsbDevice device) argument 267 matches(UsbDevice device) argument 418 resolve(UsbDevice device) argument 425 dispatch(UsbDevice device, ComponentName component, boolean inAoap) argument 460 createDeviceAttachedIntent(UsbDevice device) argument 467 doHandleResolveHandlers(UsbDevice device) argument 517 requestAoapSwitch(UsbDevice device, DeviceFilter filter) argument 570 getDeviceMatches( UsbDevice device, Intent intent, boolean forAoap) argument 585 packageMatches(ActivityInfo ai, String metaDataName, UsbDevice device, boolean forAoap) argument 631 requestResolveHandlers(UsbDevice device) argument [all...] |
H A D | BootUsbScanner.java | 16 for (UsbDevice device : manager.getDeviceList().values()) { 17 if (AoapInterface.isDeviceInAoapMode(device)) { 19 handle(context, device); 21 UsbDeviceConnection connection = UsbUtil.openConnection(manager, device); 24 handle(context, device); 33 private void handle(Context context, UsbDevice device) { argument 36 manageDevice.putExtra(UsbManager.EXTRA_DEVICE, device);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
H A D | MapClientService.java | 83 public synchronized boolean connect(BluetoothDevice device) { argument 84 Log.d(TAG, "MAP Mce connect " + device.toString()); 85 return mMceStateMachine.connect(device); 88 public synchronized boolean disconnect(BluetoothDevice device) { argument 89 Log.d(TAG, "MAP Mce disconnect " + device.toString()); 90 return mMceStateMachine.disconnect(device); 102 for (BluetoothDevice device : bondedDevices) { 103 connectionState = getConnectionState(device); 104 Log.d(TAG, "Device: " + device + "State: " + connectionState); 107 deviceList.add(device); 115 getConnectionState(BluetoothDevice device) argument 123 setPriority(BluetoothDevice device, int priority) argument 131 getPriority(BluetoothDevice device) argument 138 sendMessage(BluetoothDevice device, Uri[] contacts, String message, PendingIntent sentIntent, PendingIntent deliveredIntent) argument 188 getUnreadMessages(BluetoothDevice device) argument 235 isConnected(BluetoothDevice device) argument 242 connect(BluetoothDevice device) argument 249 disconnect(BluetoothDevice device) argument 270 getConnectionState(BluetoothDevice device) argument 277 setPriority(BluetoothDevice device, int priority) argument 283 getPriority(BluetoothDevice device) argument 289 sendMessage(BluetoothDevice device, Uri[] contacts, String message, PendingIntent sentIntent, PendingIntent deliveredIntent) argument 300 getUnreadMessages(BluetoothDevice device) argument [all...] |