/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 148 public boolean connect(BluetoothDevice device) { in connect() 157 public boolean disconnect(BluetoothDevice device) { in disconnect() 184 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 193 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 202 public int getPriority(BluetoothDevice device) { in getPriority() 211 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition() 220 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition() 229 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect() 238 public boolean rejectIncomingConnect(BluetoothDevice device) { in rejectIncomingConnect() 247 public int getAudioState(BluetoothDevice device) { in getAudioState() [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothProfile.java | 38 boolean connect(BluetoothDevice device); in connect() 40 boolean disconnect(BluetoothDevice device); in disconnect() 42 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() 44 boolean isPreferred(BluetoothDevice device); in isPreferred() 46 int getPreferred(BluetoothDevice device); in getPreferred() 48 void setPreferred(BluetoothDevice device, boolean preferred); in setPreferred() 59 int getNameResource(BluetoothDevice device); in getNameResource() 68 int getSummaryResourceForDevice(BluetoothDevice device); in getSummaryResourceForDevice()
|
D | OppProfile.java | 43 public boolean connect(BluetoothDevice device) { in connect() 47 public boolean disconnect(BluetoothDevice device) { in disconnect() 51 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 55 public boolean isPreferred(BluetoothDevice device) { in isPreferred() 59 public int getPreferred(BluetoothDevice device) { in getPreferred() 63 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred() 78 public int getNameResource(BluetoothDevice device) { in getNameResource() 82 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | PanProfile.java | 85 public boolean connect(BluetoothDevice device) { in connect() 96 public boolean disconnect(BluetoothDevice device) { in disconnect() 101 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 108 public boolean isPreferred(BluetoothDevice device) { in isPreferred() 113 public int getPreferred(BluetoothDevice device) { in getPreferred() 117 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred() 129 public int getNameResource(BluetoothDevice device) { in getNameResource() 137 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice() 160 void setLocalRole(BluetoothDevice device, int role) { in setLocalRole() 164 boolean isLocalRoleNap(BluetoothDevice device) { in isLocalRoleNap()
|
D | PbapServerProfile.java | 88 public boolean connect(BluetoothDevice device) { in connect() 94 public boolean disconnect(BluetoothDevice device) { in disconnect() 99 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 109 public boolean isPreferred(BluetoothDevice device) { in isPreferred() 113 public int getPreferred(BluetoothDevice device) { in getPreferred() 117 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred() 129 public int getNameResource(BluetoothDevice device) { in getNameResource() 133 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | MapProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 114 public boolean connect(BluetoothDevice device) { in connect() 119 public boolean disconnect(BluetoothDevice device) { in disconnect() 132 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 142 public boolean isPreferred(BluetoothDevice device) { in isPreferred() 147 public int getPreferred(BluetoothDevice device) { in getPreferred() 152 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred() 179 public int getNameResource(BluetoothDevice device) { in getNameResource() 183 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | HeadsetProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 113 public boolean connect(BluetoothDevice device) { in connect() 124 public boolean disconnect(BluetoothDevice device) { in disconnect() 143 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 156 public boolean isPreferred(BluetoothDevice device) { in isPreferred() 161 public int getPreferred(BluetoothDevice device) { in getPreferred() 166 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred() 193 public int getNameResource(BluetoothDevice device) { in getNameResource() 197 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | A2dpProfile.java | 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 114 public boolean connect(BluetoothDevice device) { in connect() 125 public boolean disconnect(BluetoothDevice device) { in disconnect() 134 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 141 public boolean isPreferred(BluetoothDevice device) { in isPreferred() 146 public int getPreferred(BluetoothDevice device) { in getPreferred() 151 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred() 180 public int getNameResource(BluetoothDevice device) { in getNameResource() 184 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | HidProfile.java | 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 101 public boolean connect(BluetoothDevice device) { in connect() 106 public boolean disconnect(BluetoothDevice device) { in disconnect() 111 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 122 public boolean isPreferred(BluetoothDevice device) { in isPreferred() 127 public int getPreferred(BluetoothDevice device) { in getPreferred() 132 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred() 151 public int getNameResource(BluetoothDevice device) { in getNameResource() 156 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | CachedBluetoothDeviceManager.java | 52 public void onDeviceNameUpdated(BluetoothDevice device) { in onDeviceNameUpdated() 69 CachedBluetoothDevice findDevice(BluetoothDevice device) { in findDevice() 86 BluetoothDevice device) { in addDevice() 101 public String getName(BluetoothDevice device) { in getName() 135 public synchronized void onBtClassChanged(BluetoothDevice device) { in onBtClassChanged() 142 public synchronized void onUuidChanged(BluetoothDevice device) { in onUuidChanged()
|
D | BluetoothEventManager.java | 56 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive() 132 BluetoothDevice device = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in getDockedDeviceAddress() local 157 BluetoothDevice device) { in onReceive() 180 BluetoothDevice device) { in onReceive() 193 BluetoothDevice device) { in onReceive() 224 BluetoothDevice device) { in onReceive() 242 BluetoothDevice device) { in onReceive() 249 BluetoothDevice device) { in onReceive() 333 BluetoothDevice device) { in onReceive() 340 BluetoothDevice device) { in onReceive() [all …]
|
D | BluetoothDeviceFilter.java | 36 boolean matches(BluetoothDevice device); in matches() 79 public boolean matches(BluetoothDevice device) { in matches() 86 public boolean matches(BluetoothDevice device) { in matches() 93 public boolean matches(BluetoothDevice device) { in matches() 102 public boolean matches(BluetoothDevice device) { in matches()
|
D | DockService.java | 261 BluetoothDevice device = null; in processMessage() local 322 private void msgTypeUndockedTemporary(BluetoothDevice device, int state, in msgTypeUndockedTemporary() 330 private boolean msgTypeUndockedPermanent(BluetoothDevice device, int startId) { in msgTypeUndockedPermanent() 362 private boolean msgTypeDocked(BluetoothDevice device, final int state, in msgTypeDocked() 441 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in parseIntent() local 480 private void createDialog(BluetoothDevice device, in createDialog() 630 private CharSequence[] initBtSettings(BluetoothDevice device, in initBtSettings() 745 BluetoothDevice device = i in handleBluetoothStateOn() local 795 private synchronized void connectIfEnabled(BluetoothDevice device) { in connectIfEnabled() 807 private synchronized void applyBtSettings(BluetoothDevice device, int startId) { in applyBtSettings() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 143 public boolean connect(BluetoothDevice device) { in connect() 149 public boolean disconnect(BluetoothDevice device) { in disconnect() 168 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 174 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 180 public int getPriority(BluetoothDevice device) { in getPriority() 186 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition() 192 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition() 204 public boolean isAudioConnected(BluetoothDevice device) { in isAudioConnected() 210 public int getBatteryUsageHint(BluetoothDevice device) { in getBatteryUsageHint() 216 public boolean acceptIncomingConnect(BluetoothDevice device) { in acceptIncomingConnect() [all …]
|
D | HeadsetStateMachine.java | 341 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 397 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 487 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 533 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 717 private void processMultiHFConnected(BluetoothDevice device) { in processMultiHFConnected() 767 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 828 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 850 BluetoothDevice device = mCurrentDevice; in processMessage() local 881 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 891 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 119 public boolean connect(BluetoothDevice device) { in connect() 137 boolean disconnect(BluetoothDevice device) { in disconnect() 160 int getConnectionState(BluetoothDevice device) { in getConnectionState() 165 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 175 public int getPriority(BluetoothDevice device) { in getPriority() 201 synchronized boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying() 234 public boolean connect(BluetoothDevice device) { in connect() 240 public boolean disconnect(BluetoothDevice device) { in disconnect() 258 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 264 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() [all …]
|
D | A2dpSinkService.java | 104 public boolean connect(BluetoothDevice device) { in connect() 118 boolean disconnect(BluetoothDevice device) { in disconnect() 141 int getConnectionState(BluetoothDevice device) { in getConnectionState() 146 BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig() 177 public boolean connect(BluetoothDevice device) { in connect() 183 public boolean disconnect(BluetoothDevice device) { in disconnect() 201 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 207 public BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig()
|
D | A2dpSinkStateMachine.java | 183 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 230 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 308 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 343 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 494 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 515 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 553 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 573 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent() 596 private void processAudioConfigEvent(BluetoothAudioConfig audioConfig, BluetoothDevice device) { in processAudioConfigEvent() 601 int getConnectionState(BluetoothDevice device) { in getConnectionState() [all …]
|
D | A2dpStateMachine.java | 171 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 215 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 293 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 325 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 475 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 496 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage() local 531 private void processConnectionEvent(int state, BluetoothDevice device) { in processConnectionEvent() 550 private void processAudioStateEvent(int state, BluetoothDevice device) { in processAudioStateEvent() 581 int getConnectionState(BluetoothDevice device) { in getConnectionState() 623 boolean isPlaying(BluetoothDevice device) { in isPlaying() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 318 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/ |
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 | 192 …public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, i… in onProfileConnectionStateChanged() 203 public void initProfilePriorities(BluetoothDevice device, ParcelUuid[] mUuids) { in initProfilePriorities() 216 private void processInitProfilePriorities (BluetoothDevice device, ParcelUuid[] uuids){ in processInitProfilePriorities() 246 …private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int p… in processProfileStateChanged() 834 public boolean createBond(BluetoothDevice device, int transport) { in createBond() 845 public boolean cancelBondProcess(BluetoothDevice device) { in cancelBondProcess() 856 public boolean removeBond(BluetoothDevice device) { in removeBond() 867 public int getBondState(BluetoothDevice device) { in getBondState() 874 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 880 public String getRemoteName(BluetoothDevice device) { in getRemoteName() [all …]
|
D | RemoteDevices.java | 85 DeviceProperties getDeviceProperties(BluetoothDevice device) { in getDeviceProperties() 103 BluetoothDevice device = in addDeviceProperties() local 226 private void sendUuidIntent(BluetoothDevice device) { in sendUuidIntent() 239 private void sendMasInstanceIntent(BluetoothDevice device, in sendMasInstanceIntent() 255 DeviceProperties device; in devicePropertyChangedCallback() local 325 BluetoothDevice device = getDevice(address); in deviceFoundCallback() local 344 BluetoothDevice device = getDevice(address); in aclStateChangeCallback() local 370 BluetoothDevice device = getDevice(address); in deviceMasInstancesFoundCallback() local 393 void fetchUuids(BluetoothDevice device) { in fetchUuids() 405 void fetchMasInstances(BluetoothDevice device) { in fetchMasInstances()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpControllerService.java | 150 int getConnectionState(BluetoothDevice device) { in getConnectionState() 156 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd() 206 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 212 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { in sendPassThroughCmd() 231 BluetoothDevice device = (BluetoothDevice)msg.obj; in handleMessage() local 239 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice in onConnectionStateChanged() local 264 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | InputPairer.java | 157 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice() local 383 public void startPairing(BluetoothDevice device) { in startPairing() 392 public void startPairing(BluetoothDevice device, int delay) { in startPairing() 430 public void invalidateDevice(BluetoothDevice device) { in invalidateDevice() 434 private void startPairing(BluetoothDevice device, int delay, boolean isManual) { in startPairing() 472 private void onDeviceFound(BluetoothDevice device) { in onDeviceFound() 486 private void onDeviceLost(BluetoothDevice device) { in onDeviceLost() 627 public boolean unpairDevice(BluetoothDevice device) { in unpairDevice()
|