/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | LocalBluetoothProfile.java | 38 boolean connect(BluetoothDevice device); argument 40 boolean disconnect(BluetoothDevice device); argument 42 int getConnectionStatus(BluetoothDevice device); argument 44 boolean isPreferred(BluetoothDevice device); argument 46 int getPreferred(BluetoothDevice device); argument 48 void setPreferred(BluetoothDevice device, boolean preferred); argument 52 /** Display order for device profile settings. */ 57 * @param device the Bluetooth device (to distinguish between PAN roles) 59 int getNameResource(BluetoothDevice device); argument 68 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | OppProfile.java | 32 // Order of this profile in device profiles list 43 public boolean connect(BluetoothDevice device) { argument 47 public boolean disconnect(BluetoothDevice device) { argument 51 public int getConnectionStatus(BluetoothDevice device) { argument 55 public boolean isPreferred(BluetoothDevice device) { argument 59 public int getPreferred(BluetoothDevice device) { argument 63 public void setPreferred(BluetoothDevice device, boolean preferred) { argument 78 public int getNameResource(BluetoothDevice device) { argument 82 public int getSummaryResourceForDevice(BluetoothDevice device) { argument
|
H A D | CachedBluetoothDeviceManager.java | 52 public void onDeviceNameUpdated(BluetoothDevice device) { argument 53 CachedBluetoothDevice cachedDevice = findDevice(device); 61 * if this device isn't in the cache. Use {@link #addDevice} 65 * @param device the address of the Bluetooth device 66 * @return the cached device object for this device, or null if it has 69 CachedBluetoothDevice findDevice(BluetoothDevice device) { argument 71 if (cachedDevice.getDevice().equals(device)) { 81 * @param device th 84 addDevice(LocalBluetoothAdapter adapter, LocalBluetoothProfileManager profileManager, BluetoothDevice device) argument 99 getName(BluetoothDevice device) argument 124 onBtClassChanged(BluetoothDevice device) argument 131 onUuidChanged(BluetoothDevice device) argument [all...] |
H A D | PanProfile.java | 42 // Tethering direction for each device 48 // Order of this profile in device profiles list 85 public boolean connect(BluetoothDevice device) { argument 93 return mService.connect(device); 96 public boolean disconnect(BluetoothDevice device) { argument 98 return mService.disconnect(device); 101 public int getConnectionStatus(BluetoothDevice device) { argument 105 return mService.getConnectionState(device); 108 public boolean isPreferred(BluetoothDevice device) { argument 110 return getConnectionStatus(device) 113 getPreferred(BluetoothDevice device) argument 117 setPreferred(BluetoothDevice device, boolean preferred) argument 129 getNameResource(BluetoothDevice device) argument 137 getSummaryResourceForDevice(BluetoothDevice device) argument 160 setLocalRole(BluetoothDevice device, int role) argument 164 isLocalRoleNap(BluetoothDevice device) argument [all...] |
H A D | A2dpProfile.java | 49 // Order of this profile in device profiles list 94 public boolean connect(BluetoothDevice device) { argument 102 return mService.connect(device); 105 public boolean disconnect(BluetoothDevice device) { argument 108 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){ 109 mService.setPriority(device, BluetoothProfile.PRIORITY_ON); 111 return mService.disconnect(device); 114 public int getConnectionStatus(BluetoothDevice device) { argument 118 return mService.getConnectionState(device); 121 public boolean isPreferred(BluetoothDevice device) { argument 126 getPreferred(BluetoothDevice device) argument 131 setPreferred(BluetoothDevice device, boolean preferred) argument 160 getNameResource(BluetoothDevice device) argument 164 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | HidProfile.java | 43 // Order of this profile in device profiles list 79 public boolean connect(BluetoothDevice device) { argument 81 return mService.connect(device); 84 public boolean disconnect(BluetoothDevice device) { argument 86 return mService.disconnect(device); 89 public int getConnectionStatus(BluetoothDevice device) { argument 95 return !deviceList.isEmpty() && deviceList.get(0).equals(device) 96 ? mService.getConnectionState(device) 100 public boolean isPreferred(BluetoothDevice device) { argument 102 return mService.getPriority(device) > BluetoothProfil 105 getPreferred(BluetoothDevice device) argument 110 setPreferred(BluetoothDevice device, boolean preferred) argument 129 getNameResource(BluetoothDevice device) argument 134 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | PbapServerProfile.java | 44 // Order of this profile in device profiles list 79 public boolean connect(BluetoothDevice device) { argument 85 public boolean disconnect(BluetoothDevice device) { argument 90 public int getConnectionStatus(BluetoothDevice device) { argument 94 if (mService.isConnected(device)) 100 public boolean isPreferred(BluetoothDevice device) { argument 104 public int getPreferred(BluetoothDevice device) { argument 108 public void setPreferred(BluetoothDevice device, boolean preferred) { argument 120 public int getNameResource(BluetoothDevice device) { argument 124 public int getSummaryResourceForDevice(BluetoothDevice device) { argument [all...] |
H A D | HeadsetProfile.java | 55 // Order of this profile in device profiles list 66 // headset device. 70 CachedBluetoothDevice device = mDeviceManager.findDevice(firstDevice); 71 // we may add a new device here, but generally this should not happen 72 if (device == null) { 73 Log.w(TAG, "HeadsetProfile found new device: " + firstDevice); 74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, firstDevice); 76 device.onProfileStateChanged(HeadsetProfile.this, 113 public boolean connect(BluetoothDevice device) { argument 121 return mService.connect(device); 124 disconnect(BluetoothDevice device) argument 138 getConnectionStatus(BluetoothDevice device) argument 147 isPreferred(BluetoothDevice device) argument 152 getPreferred(BluetoothDevice device) argument 157 setPreferred(BluetoothDevice device, boolean preferred) argument 184 getNameResource(BluetoothDevice device) argument 188 getSummaryResourceForDevice(BluetoothDevice device) argument [all...] |
H A D | BluetoothEventManager.java | 56 void onReceive(Context context, Intent intent, BluetoothDevice device); argument 132 BluetoothDevice device = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 133 if (device != null) { 134 return device.getAddress(); 145 BluetoothDevice device = intent 150 handler.onReceive(context, intent, device); 157 BluetoothDevice device) { 180 BluetoothDevice device) { 193 BluetoothDevice device) { 199 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); 156 onReceive(Context context, Intent intent, BluetoothDevice device) argument 179 onReceive(Context context, Intent intent, BluetoothDevice device) argument 192 onReceive(Context context, Intent intent, BluetoothDevice device) argument 223 onReceive(Context context, Intent intent, BluetoothDevice device) argument 241 onReceive(Context context, Intent intent, BluetoothDevice device) argument 248 onReceive(Context context, Intent intent, BluetoothDevice device) argument 332 onReceive(Context context, Intent intent, BluetoothDevice device) argument 339 onReceive(Context context, Intent intent, BluetoothDevice device) argument 346 onReceive(Context context, Intent intent, BluetoothDevice device) argument 358 onReceive(Context context, Intent intent, BluetoothDevice device) argument [all...] |
H A D | BluetoothDeviceFilter.java | 36 boolean matches(BluetoothDevice device); argument 72 Log.w(TAG, "Invalid filter type " + filterType + " for device picker"); 79 public boolean matches(BluetoothDevice device) { argument 86 public boolean matches(BluetoothDevice device) { argument 87 return device.getBondState() == BluetoothDevice.BOND_BONDED; 93 public boolean matches(BluetoothDevice device) { argument 94 return device.getBondState() != BluetoothDevice.BOND_BONDED; 102 public boolean matches(BluetoothDevice device) { argument 103 return matches(device.getUuids(), device [all...] |
H A D | DockService.java | 57 // Time allowed for the device to be undocked and redocked without severing 61 // Time allowed for the device to be undocked and redocked without turning 68 // Msg for device docked event 71 // Msg for device undocked event 261 BluetoothDevice device = null; 263 device = (BluetoothDevice) msg.obj; 266 if(DEBUG) Log.d(TAG, "processMessage: " + msgType + " state: " + state + " device = " 267 + (device == null ? "null" : device.toString())); 273 if (device ! 322 msgTypeUndockedTemporary(BluetoothDevice device, int state, int startId) argument 330 msgTypeUndockedPermanent(BluetoothDevice device, int startId) argument 362 msgTypeDocked(BluetoothDevice device, final int state, final int startId) argument 480 createDialog(BluetoothDevice device, int state, int startId) argument 630 initBtSettings(BluetoothDevice device, int state, boolean firstTime) argument 795 connectIfEnabled(BluetoothDevice device) argument 807 applyBtSettings(BluetoothDevice device, int startId) argument 875 handleDocked(BluetoothDevice device, int state, int startId) argument 887 handleUndocked(BluetoothDevice device) argument 902 getCachedBluetoothDevice(BluetoothDevice device) argument [all...] |
H A D | DevicePickerFragment.java | 84 BluetoothDevice device = cachedDevice.getDevice(); 85 if (device.equals(mSelectedDevice)) { 86 sendDevicePickedIntent(device); 101 private void sendDevicePickedIntent(BluetoothDevice device) { argument 103 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
H A D | HidService.java | 151 BluetoothDevice device = (BluetoothDevice) msg.obj; 152 if (!connectHidNative(Utils.getByteAddress(device)) ) { 153 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 154 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 157 mTargetDevice = device; 162 BluetoothDevice device = (BluetoothDevice) msg.obj; 163 if (!disconnectHidNative(Utils.getByteAddress(device)) ) { 164 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 165 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 172 BluetoothDevice device 301 connect(BluetoothDevice device) argument 307 disconnect(BluetoothDevice device) argument 313 getConnectionState(BluetoothDevice device) argument 330 setPriority(BluetoothDevice device, int priority) argument 336 getPriority(BluetoothDevice device) argument 343 getProtocolMode(BluetoothDevice device) argument 349 virtualUnplug(BluetoothDevice device) argument 355 setProtocolMode(BluetoothDevice device, int protocolMode) argument 361 getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) argument 367 setReport(BluetoothDevice device, byte reportType, String report) argument 373 sendData(BluetoothDevice device, String report) argument 381 connect(BluetoothDevice device) argument 397 disconnect(BluetoothDevice device) argument 404 getConnectionState(BluetoothDevice device) argument 427 setPriority(BluetoothDevice device, int priority) argument 437 getPriority(BluetoothDevice device) argument 447 getProtocolMode(BluetoothDevice device) argument 461 virtualUnplug(BluetoothDevice device) argument 473 setProtocolMode(BluetoothDevice device, int protocolMode) argument 487 getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) argument 505 setReport(BluetoothDevice device, byte reportType, String report) argument 523 sendData(BluetoothDevice device, String report) argument 563 broadcastConnectionState(BluetoothDevice device, int newState) argument 587 broadcastProtocolMode(BluetoothDevice device, int protocolMode) argument 596 broadcastVirtualUnplugStatus(BluetoothDevice device, int status) argument 604 okToConnect(BluetoothDevice device) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpStateMachine.java | 86 // mCurrentDevice is the device connected before the state changes 87 // mTargetDevice is the device to be connected 88 // mIncomingDevice is the device connecting to us, valid only in Pending state 99 // Connecting to a device, Pending 101 // Disconnecting device, Connecting to new device 104 // 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 537 processConnectionEvent(int state, BluetoothDevice device) argument 556 processAudioStateEvent(int state, BluetoothDevice device) argument 584 getConnectionState(BluetoothDevice device) argument 626 isPlaying(BluetoothDevice device) argument 635 okToConnect(BluetoothDevice device) argument 678 broadcastConnectionState(BluetoothDevice device, int newState, int prevState) argument 691 broadcastAudioState(BluetoothDevice device, int state, int prevState) argument 702 getByteAddress(BluetoothDevice device) argument 730 BluetoothDevice device = null; field in class:A2dpStateMachine.StackEvent 739 onConnectionStateChanged(BluetoothDevice device, int prevState, int state) argument [all...] |
H A D | A2dpService.java | 107 public boolean connect(BluetoothDevice device) { argument 111 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { 115 int connectionState = mStateMachine.getConnectionState(device); 121 mStateMachine.sendMessage(A2dpStateMachine.CONNECT, device); 125 boolean disconnect(BluetoothDevice device) { argument 128 int connectionState = mStateMachine.getConnectionState(device); 134 mStateMachine.sendMessage(A2dpStateMachine.DISCONNECT, device); 148 int getConnectionState(BluetoothDevice device) { argument 150 return mStateMachine.getConnectionState(device); 153 public boolean setPriority(BluetoothDevice device, in argument 163 getPriority(BluetoothDevice device) argument 172 isA2dpPlaying(BluetoothDevice device) argument 205 connect(BluetoothDevice device) argument 211 disconnect(BluetoothDevice device) argument 229 getConnectionState(BluetoothDevice device) argument 235 setPriority(BluetoothDevice device, int priority) argument 241 getPriority(BluetoothDevice device) argument 247 isA2dpPlaying(BluetoothDevice device) argument [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2pPeer.java | 35 public WifiP2pDevice device; field in class:WifiP2pPeer 44 device = dev; 51 if (TextUtils.isEmpty(device.deviceName)) { 52 setTitle(device.deviceAddress); 54 setTitle(device.deviceName); 75 if (device.status != other.device.status) { 76 return device.status < other.device.status ? -1 : 1; 80 if (device [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetService.java | 139 public boolean connect(BluetoothDevice device) { argument 142 return service.connect(device); 145 public boolean disconnect(BluetoothDevice device) { argument 148 return service.disconnect(device); 163 public int getConnectionState(BluetoothDevice device) { argument 166 return service.getConnectionState(device); 169 public boolean setPriority(BluetoothDevice device, int priority) { argument 172 return service.setPriority(device, priority); 175 public int getPriority(BluetoothDevice device) { argument 178 return service.getPriority(device); 181 startVoiceRecognition(BluetoothDevice device) argument 187 stopVoiceRecognition(BluetoothDevice device) argument 199 isAudioConnected(BluetoothDevice device) argument 205 getBatteryUsageHint(BluetoothDevice device) argument 211 acceptIncomingConnect(BluetoothDevice device) argument 217 rejectIncomingConnect(BluetoothDevice device) argument 223 getAudioState(BluetoothDevice device) argument 241 startScoUsingVirtualVoiceCall(BluetoothDevice device) argument 247 stopScoUsingVirtualVoiceCall(BluetoothDevice device) argument 309 connect(BluetoothDevice device) argument 327 disconnect(BluetoothDevice device) argument 350 getConnectionState(BluetoothDevice device) argument 355 setPriority(BluetoothDevice device, int priority) argument 365 getPriority(BluetoothDevice device) argument 374 startVoiceRecognition(BluetoothDevice device) argument 385 stopVoiceRecognition(BluetoothDevice device) argument 405 isAudioConnected(BluetoothDevice device) argument 410 getBatteryUsageHint(BluetoothDevice device) argument 415 acceptIncomingConnect(BluetoothDevice device) argument 420 rejectIncomingConnect(BluetoothDevice device) argument 425 getAudioState(BluetoothDevice device) argument 452 startScoUsingVirtualVoiceCall(BluetoothDevice device) argument 462 stopScoUsingVirtualVoiceCall(BluetoothDevice device) argument [all...] |
H A D | HeadsetStateMachine.java | 135 // mCurrentDevice is the device connected before the state changes 136 // mTargetDevice is the device to be connected 137 // mIncomingDevice is the device connecting to us, valid only in Pending state 148 // Connecting to a device, Pending 150 // Disconnecting device, Connecting to new device 153 // Disconnecting device Pending 264 BluetoothDevice device = (BluetoothDevice) message.obj; 265 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING, 268 if (!connectHfpNative(getByteAddress(device)) ) { 321 processConnectionEvent(int state, BluetoothDevice device) argument 448 processConnectionEvent(int state, BluetoothDevice device) argument 748 processConnectionEvent(int state, BluetoothDevice device) argument 772 processAudioEvent(int state, BluetoothDevice device) argument 965 processConnectionEvent(int state, BluetoothDevice device) argument 987 processAudioEvent(int state, BluetoothDevice device) argument 1037 getConnectionState(BluetoothDevice device) argument 1083 isAudioConnected(BluetoothDevice device) argument 1100 getAudioState(BluetoothDevice device) argument 1238 broadcastConnectionState(BluetoothDevice device, int newState, int prevState) argument 1257 broadcastAudioState(BluetoothDevice device, int newState, int prevState) argument 1274 broadcastVendorSpecificEventIntent(String command, int companyId, int commandType, Object[] arguments, BluetoothDevice device) argument 1921 getByteAddress(BluetoothDevice device) argument 1939 okToConnect(BluetoothDevice device) argument 2030 BluetoothDevice device = null; field in class:HeadsetStateMachine.StackEvent [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | RemoteDevices.java | 73 DeviceProperties getDeviceProperties(BluetoothDevice device) { argument 75 return mDevices.get(device); 91 BluetoothDevice device = 94 mDevices.put(device, prop); 195 /* Clearing the Uuids local copy when the device is unpaired. If not cleared, 215 private void sendUuidIntent(BluetoothDevice device) { argument 216 DeviceProperties prop = getDeviceProperties(device); 218 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); 223 mSdpTracker.remove(device); 240 DeviceProperties device; 421 fetchUuids(BluetoothDevice device) argument [all...] |
H A D | AdapterService.java | 151 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { argument 153 m.obj = device; 162 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { argument 166 connectOtherProfile(device, PROFILE_CONN_CONNECTED); 167 setProfileAutoConnectionPriority(device, profileId); 172 binder.sendConnectionStateChange(device, profileId, newState,prevState); 694 public boolean createBond(BluetoothDevice device) { argument 702 return service.createBond(device); 705 public boolean cancelBondProcess(BluetoothDevice device) { argument 713 return service.cancelBondProcess(device); 716 removeBond(BluetoothDevice device) argument 727 getBondState(BluetoothDevice device) argument 734 getRemoteName(BluetoothDevice device) argument 745 getRemoteAlias(BluetoothDevice device) argument 756 setRemoteAlias(BluetoothDevice device, String name) argument 767 getRemoteClass(BluetoothDevice device) argument 778 getRemoteUuids(BluetoothDevice device) argument 789 fetchRemoteUuids(BluetoothDevice device) argument 800 setPin(BluetoothDevice device, boolean accept, int len, byte[] pinCode) argument 811 setPasskey(BluetoothDevice device, boolean accept, int len, byte[] passkey) argument 822 setPairingConfirmation(BluetoothDevice device, boolean accept) argument 833 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument 840 connectSocket(BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) argument 1025 createBond(BluetoothDevice device) argument 1088 connectOtherProfile(BluetoothDevice device, int firstProfileStatus) argument 1098 processConnectOtherProfiles(BluetoothDevice device, int firstProfileStatus) argument 1149 setProfileAutoConnectionPriority(BluetoothDevice device, int profileId) argument 1168 cancelBondProcess(BluetoothDevice device) argument 1174 removeBond(BluetoothDevice device) argument 1186 getBondState(BluetoothDevice device) argument 1195 getRemoteName(BluetoothDevice device) argument 1202 getRemoteAlias(BluetoothDevice device) argument 1209 setRemoteAlias(BluetoothDevice device, String name) argument 1217 getRemoteClass(BluetoothDevice device) argument 1225 getRemoteUuids(BluetoothDevice device) argument 1232 fetchRemoteUuids(BluetoothDevice device) argument 1238 setPin(BluetoothDevice device, boolean accept, int len, byte[] pinCode) argument 1249 setPasskey(BluetoothDevice device, boolean accept, int len, byte[] passkey) argument 1261 setPairingConfirmation(BluetoothDevice device, boolean accept) argument 1273 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument 1283 connectSocket(BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) argument [all...] |
H A D | BondStateMachine.java | 41 * {@link StableState} : No device is in bonding / unbonding state. 42 * {@link PendingCommandState} : Some device is in bonding / unbonding state. 182 // the device to the list again. This prevents us 183 // from pairing with a device that we just unpaired 253 private void sendIntent(BluetoothDevice device, int newState, int reason) { argument 254 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(device); 260 mAdapterProperties.onBondStateChanged(device, newState); 263 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); 270 infoLog("Bond State Change Intent:" + device + " OldState: " + oldState 275 BluetoothDevice device 301 setProfilePriorty(BluetoothDevice device) argument 322 clearProfilePriorty(BluetoothDevice device) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MtpClient.java | 44 * 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...] |
H A D | MtpDeviceSet.java | 77 MtpDevice device = (MtpDevice) dataManager.peekMediaObject(childPath); 78 if (device == null) { 79 device = new MtpDevice(childPath, mApplication, deviceId, mMtpContext); 81 Log.d(TAG, "add device " + device); 82 result.add(device); 91 android.mtp.MtpDevice device = mtpContext.getMtpClient().getDevice(deviceId); 92 if (device == null) { 95 MtpDeviceInfo info = device.getDeviceInfo(); 134 for (MediaSet device [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
H A D | PanService.java | 133 BluetoothDevice device = (BluetoothDevice) msg.obj; 134 if (!connectPanNative(Utils.getByteAddress(device), BluetoothPan.LOCAL_PANU_ROLE, BluetoothPan.REMOTE_NAP_ROLE)) { 135 handlePanDeviceStateChange(device, null, BluetoothProfile.STATE_CONNECTING, 137 handlePanDeviceStateChange(device, null, BluetoothProfile.STATE_DISCONNECTED, 145 BluetoothDevice device = (BluetoothDevice) msg.obj; 146 if (!disconnectPanNative(Utils.getByteAddress(device)) ) { 147 handlePanDeviceStateChange(device, mPanIfName, BluetoothProfile.STATE_DISCONNECTING, 149 handlePanDeviceStateChange(device, mPanIfName, BluetoothProfile.STATE_DISCONNECTED, 158 BluetoothDevice device = getDevice(cs.addr); 160 if (DBG) log("MESSAGE_CONNECT_STATE_CHANGED: " + device 192 connect(BluetoothDevice device) argument 197 disconnect(BluetoothDevice device) argument 202 getConnectionState(BluetoothDevice device) argument 243 connect(BluetoothDevice device) argument 254 disconnect(BluetoothDevice device) argument 261 getConnectionState(BluetoothDevice device) argument 360 handlePanDeviceStateChange(BluetoothDevice device, String iface, int state, int local_role, int remote_role) argument 536 getPanDeviceConnectionState(BluetoothDevice device) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppHandoverReceiver.java | 40 BluetoothDevice device = 42 if (device == null) { 43 if (D) Log.d(TAG, "No device attached to handover intent."); 70 BluetoothOppManager.getInstance(context).startTransfer(device); 72 BluetoothDevice device = 74 if (D) Log.d(TAG, "Adding " + device + " to whitelist"); 75 if (device == null) return; 76 BluetoothOppManager.getInstance(context).addToWhitelist(device.getAddress());
|