/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 212 public boolean connect(BluetoothDevice device) { in connect() 221 public boolean disconnect(BluetoothDevice device) { in disconnect() 248 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 257 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 266 public int getPriority(BluetoothDevice device) { in getPriority() 275 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition() 284 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition() 293 public int getAudioState(BluetoothDevice device) { in getAudioState() 302 public void setAudioRouteAllowed(BluetoothDevice device, boolean allowed) { in setAudioRouteAllowed() 307 public boolean getAudioRouteAllowed(BluetoothDevice device) { in getAudioRouteAllowed() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 123 public boolean connect(BluetoothDevice device) { in connect() 141 boolean disconnect(BluetoothDevice device) { in disconnect() 164 int getConnectionState(BluetoothDevice device) { in getConnectionState() 169 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 181 public int getPriority(BluetoothDevice device) { in getPriority() 198 public void informAvrcpPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in informAvrcpPassThroughCmd() 218 public void informTGStatePlaying(BluetoothDevice device, boolean isPlaying) { in informTGStatePlaying() 228 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying() 237 BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig() 268 public boolean connect(BluetoothDevice device) { in connect() [all …]
|
D | A2dpSinkStateMachine.java | 201 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 248 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 314 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 350 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 517 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 540 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 598 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 625 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent() 647 private void processAudioConfigEvent(BluetoothAudioConfig audioConfig, BluetoothDevice device) { in processAudioConfigEvent() 653 int getConnectionState(BluetoothDevice device) { in getConnectionState() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 141 public boolean connect(BluetoothDevice device) { in connect() 147 public boolean disconnect(BluetoothDevice device) { in disconnect() 166 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 172 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 178 public int getPriority(BluetoothDevice device) { in getPriority() 184 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition() 190 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition() 202 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected() 208 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint() 214 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect() [all …]
|
D | HeadsetStateMachine.java | 349 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 404 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 487 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 541 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 709 private void processMultiHFConnected(BluetoothDevice device) { in processMultiHFConnected() 764 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 823 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 843 BluetoothDevice device = mCurrentDevice; in processMessage() local 877 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 885 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
D | UsbDeviceStateController.java | 44 void onDeviceResetComplete(UsbDevice device); in onDeviceResetComplete() 45 void onAoapStartComplete(UsbDevice device); in onAoapStartComplete() 46 void onAoapStartFailed(UsbDevice device); in onAoapStartFailed() 117 public void startDeviceReset(UsbDevice device) { in startDeviceReset() 131 private void doHandleDeviceReset(UsbDevice device) { in doHandleDeviceReset() 166 UsbDevice device = request.device; in doHandleAoapStart() local 211 private UsbDevice resetUsbDeviceAndConfirmModeChange(UsbDevice device) { in resetUsbDeviceAndConfirmModeChange() 272 private boolean isDeviceRemovedLocked(UsbDevice device) { in isDeviceRemovedLocked() 283 private UsbDevice checkDeviceAttachedLocked(UsbDevice device) { in checkDeviceAttachedLocked() 294 public UsbDeviceConnection openConnection(UsbDevice device) { in openConnection() [all …]
|
D | UsbDeviceHandlerResolver.java | 70 UsbDevice device, List<UsbDeviceSettings> availableSettings); in onHandlersResolveCompleted() 154 DeviceFilter(UsbDevice device) { in DeviceFilter() 262 public boolean matches(UsbDevice device) { in matches() 346 UsbDevice device = (UsbDevice) obj; in equals() local 433 public void resolve(UsbDevice device) { in resolve() 440 public boolean dispatch(UsbDevice device, ComponentName component, boolean inAoap) { in dispatch() 475 private static Intent createDeviceAttachedIntent(UsbDevice device) { in createDeviceAttachedIntent() 483 UsbDevice device) { in doHandleResolveHandlers() 552 private void doHandleAoapStartComplete(UsbDevice device) { in doHandleAoapStartComplete() 593 private void doHandleDeviceResetComplete(UsbDevice device) { in doHandleDeviceResetComplete() [all …]
|
D | UsbHostController.java | 103 private synchronized void setActiveDeviceIfSerialMatch(UsbDevice device) { in setActiveDeviceIfSerialMatch() 110 private synchronized void unsetActiveDeviceIfSerialMatch(UsbDevice device) { in unsetActiveDeviceIfSerialMatch() 118 private synchronized boolean startDeviceProcessingIfNull(UsbDevice device) { in startDeviceProcessingIfNull() 136 private boolean deviceMatchedActiveDevice(UsbDevice device) { in deviceMatchedActiveDevice() 147 public void processDevice(UsbDevice device) { in processDevice() 186 UsbDevice device, List<UsbDeviceSettings> handlers) { in onHandlersResolveCompleted() 218 private static Intent createDeviceAttachedIntent(UsbDevice device) { in createDeviceAttachedIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 83 public synchronized boolean connect(BluetoothDevice device) { in connect() 88 public synchronized boolean disconnect(BluetoothDevice device) { in disconnect() 115 public synchronized int getConnectionState(BluetoothDevice device) { in getConnectionState() 123 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 131 public int getPriority(BluetoothDevice device) { in getPriority() 138 public synchronized boolean sendMessage(BluetoothDevice device, Uri[] contacts, String message, in sendMessage() 188 public synchronized boolean getUnreadMessages(BluetoothDevice device) { in getUnreadMessages() 235 public boolean isConnected(BluetoothDevice device) { in isConnected() 242 public boolean connect(BluetoothDevice device) { in connect() 249 public boolean disconnect(BluetoothDevice device) { in disconnect() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 176 public boolean connect(BluetoothDevice device) { in connect() 200 boolean disconnect(BluetoothDevice device) { in disconnect() 223 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 228 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 238 public int getPriority(BluetoothDevice device) { in getPriority() 264 public void resetAvrcpBlacklist(BluetoothDevice device) { in resetAvrcpBlacklist() 270 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying() 301 public int getSupportsOptionalCodecs(BluetoothDevice device) { in getSupportsOptionalCodecs() 309 public void setSupportsOptionalCodecs(BluetoothDevice device, boolean doesSupport) { in setSupportsOptionalCodecs() 318 public int getOptionalCodecsEnabled(BluetoothDevice device) { in getOptionalCodecsEnabled() [all …]
|
D | A2dpStateMachine.java | 291 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 335 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 405 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 437 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 617 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 638 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 675 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 701 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent() 732 int getConnectionState(BluetoothDevice device) { in getConnectionState() 774 boolean isPlaying(BluetoothDevice device) { in isPlaying() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 104 void cleanupDevice(BluetoothDevice device) { in cleanupDevice() 138 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local 180 public boolean connect(BluetoothDevice device) { in connect() 191 public boolean disconnect(BluetoothDevice device) { in disconnect() 217 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 226 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 235 public int getPriority(BluetoothDevice device) { in getPriority() 285 public boolean connect(BluetoothDevice device) { in connect() 307 boolean disconnect(BluetoothDevice device) { in disconnect() 343 int getConnectionState(BluetoothDevice device) { in getConnectionState() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 320 public boolean connect(BluetoothDevice device) { in connect() 326 public boolean disconnect(BluetoothDevice device) { in disconnect() 332 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 349 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 355 public int getPriority(BluetoothDevice device) { in getPriority() 362 public boolean getProtocolMode(BluetoothDevice device) { in getProtocolMode() 368 public boolean virtualUnplug(BluetoothDevice device) { in virtualUnplug() 374 public boolean setProtocolMode(BluetoothDevice device, int protocolMode) { in setProtocolMode() 380 … public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { in getReport() 386 public boolean setReport(BluetoothDevice device, byte reportType, String report) { in setReport() [all …]
|
D | HidDevService.java | 297 public boolean sendReport(BluetoothDevice device, int id, byte[] data) { in sendReport() 309 public boolean replyReport(BluetoothDevice device, byte type, byte id, byte[] data) { in replyReport() 321 public boolean unplug(BluetoothDevice device) { in unplug() 333 public boolean connect(BluetoothDevice device) { in connect() 345 public boolean disconnect(BluetoothDevice device) { in disconnect() 357 public boolean reportError(BluetoothDevice device, byte error) { in reportError() 369 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 406 private boolean checkDevice(BluetoothDevice device) { in checkDevice() 447 synchronized boolean sendReport(BluetoothDevice device, int id, byte[] data) { in sendReport() 457 synchronized boolean replyReport(BluetoothDevice device, byte type, byte id, byte[] data) { in replyReport() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MtpClient.java | 132 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/btservice/ |
D | AdapterService.java | 987 public boolean createBond(BluetoothDevice device, int transport) { in createBond() 998 public boolean createBondOutOfBand(BluetoothDevice device, int transport, OobData oobData) { in createBondOutOfBand() 1009 public boolean cancelBondProcess(BluetoothDevice device) { in cancelBondProcess() 1020 public boolean removeBond(BluetoothDevice device) { in removeBond() 1031 public int getBondState(BluetoothDevice device) { in getBondState() 1038 public boolean isBondingInitiatedLocally(BluetoothDevice device) { in isBondingInitiatedLocally() 1051 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 1057 public String getRemoteName(BluetoothDevice device) { in getRemoteName() 1068 public int getRemoteType(BluetoothDevice device) { in getRemoteType() 1079 public String getRemoteAlias(BluetoothDevice device) { in getRemoteAlias() [all …]
|
D | RemoteDevices.java | 77 DeviceProperties getDeviceProperties(BluetoothDevice device) { in getDeviceProperties() 204 void setAlias(BluetoothDevice device, String mAlias) { in setAlias() 261 private void sendUuidIntent(BluetoothDevice device) { in sendUuidIntent() 279 BluetoothDevice device = getDevice(address); in setBondingInitiatedLocally() local 295 DeviceProperties device; in devicePropertyChangedCallback() local 371 BluetoothDevice device = getDevice(address); in deviceFoundCallback() local 392 BluetoothDevice device = getDevice(address); in aclStateChangeCallback() local 439 void fetchUuids(BluetoothDevice device) { in fetchUuids() 450 void updateUuids(BluetoothDevice device) { in updateUuids()
|
D | PhonePolicy.java | 135 BluetoothDevice device = in handleMessage() local 153 BluetoothDevice device = in handleMessage() local 194 private void processInitProfilePriorities(BluetoothDevice device, ParcelUuid[] uuids) { in processInitProfilePriorities() 237 BluetoothDevice device, int profileId, int nextState, int prevState) { in processProfileStateChanged() 301 public void connectOtherProfile(BluetoothDevice device) { in connectOtherProfile() 314 private void processConnectOtherProfiles(BluetoothDevice device) { in processConnectOtherProfiles() 386 void setProfileAutoConnectionPriority(BluetoothDevice device, int profileId) { in setProfileAutoConnectionPriority()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbHostController.java | 99 private synchronized void setActiveDeviceIfSerialMatch(UsbDevice device) { in setActiveDeviceIfSerialMatch() 106 private synchronized void unsetActiveDeviceIfSerialMatch(UsbDevice device) { in unsetActiveDeviceIfSerialMatch() 114 private synchronized boolean startDeviceProcessingIfNull(UsbDevice device) { in startDeviceProcessingIfNull() 132 private boolean deviceMatchedActiveDevice(UsbDevice device) { in deviceMatchedActiveDevice() 143 public void processDevice(UsbDevice device) { in processDevice() 181 UsbDevice device, List<UsbDeviceSettings> handlers) { in onHandlersResolveCompleted()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 301 public synchronized int getConnectionState(BluetoothDevice device) { in getConnectionState() 307 …public synchronized void sendGroupNavigationCmd(BluetoothDevice device, int keyCode, int keyState)… in sendGroupNavigationCmd() 323 public synchronized void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd() 352 public synchronized MediaMetadata getMetaData(BluetoothDevice device) { in getMetaData() 368 public PlaybackState getPlaybackState(BluetoothDevice device) { in getPlaybackState() 374 public synchronized PlaybackState getPlaybackState(BluetoothDevice device, boolean cached) { in getPlaybackState() 393 public synchronized BluetoothAvrcpPlayerSettings getPlayerSettings(BluetoothDevice device) { in getPlayerSettings() 436 BluetoothDevice device, String parentMediaId, int start, int items) { in getChildren() 465 BluetoothDevice device, String id, int start, int items) { in getNowPlayingList() 496 BluetoothDevice device, String id, int start, int items) { in getFolderList() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothDevicesInfo.java | 102 public DeviceInfo(BluetoothDevice device, int state) { in DeviceInfo() 137 private int getPositionInListLocked(BluetoothDevice device) { in getPositionInListLocked() 158 private boolean checkDeviceInListLocked(BluetoothDevice device) { in checkDeviceInListLocked() 172 private DeviceInfo findDeviceInfoInListLocked(@Nullable BluetoothDevice device) { in findDeviceInfoInListLocked() 238 public void setConnectionStateLocked(BluetoothDevice device, int state) { in setConnectionStateLocked() 264 public int getConnectionStateLocked(BluetoothDevice device) { in getConnectionStateLocked() 323 BluetoothDevice device = null; in getNextDeviceInQueueLocked() local 366 public void updateConnectionStatusLocked(BluetoothDevice device, boolean success, in updateConnectionStatusLocked()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattServer.java | 135 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, in onCharacteristicReadRequest() 141 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest() 151 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, in onDescriptorReadRequest() 157 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest() 165 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite() 172 public void onNotificationSent(BluetoothDevice device, int status) { in onNotificationSent() 177 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) { in onConnectionStateChange() 189 public void onMtuChanged(BluetoothDevice device, int mtu) { in onMtuChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 484 public boolean disconnect(BluetoothDevice device) { in disconnect() 533 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 543 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 551 public int getPriority(BluetoothDevice device) { in getPriority() 636 private void sendCancelUserConfirmationIntent(BluetoothDevice device) { in sendCancelUserConfirmationIntent() 745 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive() local 815 public boolean isConnected(BluetoothDevice device) { in isConnected() 823 public boolean connect(BluetoothDevice device) { in connect() 830 public boolean disconnect(BluetoothDevice device) { in disconnect() 851 public int getConnectionState(BluetoothDevice device) { in getConnectionState() [all …]
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | SingleDeviceOpenListener.java | 27 public void onDeviceOpened(TDevice device); in onDeviceOpened() 38 public void onDeviceOpenException(TDevice device); in onDeviceOpenException()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothScanner.java | 100 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()
|