HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothDevice (Results 51 - 75 of 167) sorted by null

1 23 4 5 6 7

  /packages/apps/Bluetooth/src/com/android/bluetooth/pan/
PanService.java 20 import android.bluetooth.BluetoothDevice;
69 private HashMap<BluetoothDevice, BluetoothPanDevice> mPanDevices;
96 mPanDevices = new HashMap<BluetoothDevice, BluetoothPanDevice>();
129 List<BluetoothDevice> DevList = getConnectedDevices();
130 for(BluetoothDevice dev : DevList) {
148 BluetoothDevice device = (BluetoothDevice) msg.obj;
162 BluetoothDevice device = (BluetoothDevice) msg.obj;
177 BluetoothDevice device = getDevice(cs.addr)
    [all...]
  /external/chromium_org/device/bluetooth/
bluetooth_device_win_unittest.cc 67 const BluetoothDevice::ServiceRecordList& service_record_list) {
80 scoped_ptr<BluetoothDevice> device_;
81 scoped_ptr<BluetoothDevice> empty_device_;
82 const BluetoothDevice::ServiceRecordList* service_records_;
88 BluetoothDevice::ServiceList service_list = device_->GetServices();
99 BluetoothDevice::ErrorCallback());
bluetooth_chromeos_unittest.cc 20 using device::BluetoothDevice;
66 BluetoothDevice* device) OVERRIDE {
77 BluetoothDevice* device) OVERRIDE {
88 BluetoothDevice* device) OVERRIDE {
107 BluetoothDevice* last_device_;
122 class TestPairingDelegate : public BluetoothDevice::PairingDelegate {
137 virtual void RequestPinCode(BluetoothDevice* device) OVERRIDE {
143 virtual void RequestPasskey(BluetoothDevice* device) OVERRIDE {
149 virtual void DisplayPinCode(BluetoothDevice* device,
157 virtual void DisplayPasskey(BluetoothDevice* device
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
DevicePickerFragment.java 22 import android.bluetooth.BluetoothDevice;
83 BluetoothDevice.BOND_BONDED) || !mNeedAuth) {
93 if (bondState == BluetoothDevice.BOND_BONDED) {
94 BluetoothDevice device = cachedDevice.getDevice();
111 private void sendDevicePickedIntent(BluetoothDevice device) {
113 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DeviceListActivity.java 23 import android.bluetooth.BluetoothDevice;
95 IntentFilter filter = new IntentFilter(BluetoothDevice.ACTION_FOUND);
106 Set<BluetoothDevice> pairedDevices = mBtAdapter.getBondedDevices();
111 for (BluetoothDevice device : pairedDevices) {
183 if (BluetoothDevice.ACTION_FOUND.equals(action)) {
184 // Get the BluetoothDevice object from the Intent
185 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
187 if (device.getBondState() != BluetoothDevice.BOND_BONDED) {
  /external/chromium_org/chrome/browser/chromeos/bluetooth/
bluetooth_pairing_dialog.h 16 class BluetoothDevice;
25 const device::BluetoothDevice* device);
  /external/chromium_org/chrome/browser/ui/webui/options/chromeos/
bluetooth_options_handler.cc 257 device::BluetoothDevice* device = adapter_->GetDevice(address);
353 device::BluetoothDevice::ConnectErrorCode error_code) {
362 case device::BluetoothDevice::ERROR_UNKNOWN:
365 case device::BluetoothDevice::ERROR_INPROGRESS:
368 case device::BluetoothDevice::ERROR_FAILED:
371 case device::BluetoothDevice::ERROR_AUTH_FAILED:
374 case device::BluetoothDevice::ERROR_AUTH_CANCELED:
377 case device::BluetoothDevice::ERROR_AUTH_REJECTED:
380 case device::BluetoothDevice::ERROR_AUTH_TIMEOUT:
383 case device::BluetoothDevice::ERROR_UNSUPPORTED_DEVICE
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothGattService.java 18 import android.bluetooth.BluetoothDevice;
48 protected BluetoothDevice mDevice;
106 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid,
120 /*package*/ BluetoothDevice getDevice() {
BluetoothHealthCallback.java 62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd,
BluetoothA2dp.java 58 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
80 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
220 public boolean connect(BluetoothDevice device) {
261 public boolean disconnect(BluetoothDevice device) {
279 public List<BluetoothDevice> getConnectedDevices() {
286 return new ArrayList<BluetoothDevice>();
290 return new ArrayList<BluetoothDevice>();
296 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
303 return new ArrayList<BluetoothDevice>();
307 return new ArrayList<BluetoothDevice>();
    [all...]
BluetoothDevice.java 35 * Represents a remote Bluetooth device. A {@link BluetoothDevice} lets you
43 * BluetoothDevice}.
45 * <p>To get a {@link BluetoothDevice}, use
67 public final class BluetoothDevice implements Parcelable {
68 private static final String TAG = "BluetoothDevice";
75 * <p><code>Intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
76 * BluetoothDevice.ERROR)</code>
190 * Used as a Parcelable {@link BluetoothDevice} extra field in every intent
191 * broadcast by this class. It contains the {@link BluetoothDevice} that
527 synchronized (BluetoothDevice.class)
    [all...]
BluetoothMap.java 177 public BluetoothDevice getClient() {
195 public boolean isConnected(BluetoothDevice device) {
212 public boolean connect(BluetoothDevice device) {
224 public boolean disconnect(BluetoothDevice device) {
264 public List<BluetoothDevice> getConnectedDevices() {
271 return new ArrayList<BluetoothDevice>();
275 return new ArrayList<BluetoothDevice>();
283 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
290 return new ArrayList<BluetoothDevice>();
294 return new ArrayList<BluetoothDevice>();
    [all...]
BluetoothInputDevice.java 58 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
296 public boolean connect(BluetoothDevice device) {
336 public boolean disconnect(BluetoothDevice device) {
353 public List<BluetoothDevice> getConnectedDevices() {
360 return new ArrayList<BluetoothDevice>();
364 return new ArrayList<BluetoothDevice>();
370 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
377 return new ArrayList<BluetoothDevice>();
381 return new ArrayList<BluetoothDevice>();
387 public int getConnectionState(BluetoothDevice device)
    [all...]
BluetoothPan.java 57 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
226 public boolean connect(BluetoothDevice device) {
267 public boolean disconnect(BluetoothDevice device) {
285 public List<BluetoothDevice> getConnectedDevices() {
292 return new ArrayList<BluetoothDevice>();
296 return new ArrayList<BluetoothDevice>();
302 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
309 return new ArrayList<BluetoothDevice>();
313 return new ArrayList<BluetoothDevice>();
319 public int getConnectionState(BluetoothDevice device)
    [all...]
BluetoothHealth.java 231 public boolean connectChannelToSource(BluetoothDevice device,
260 public boolean connectChannelToSink(BluetoothDevice device,
289 public boolean disconnectChannel(BluetoothDevice device,
318 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device,
350 public int getConnectionState(BluetoothDevice device) {
378 public List<BluetoothDevice> getConnectedDevices() {
384 return new ArrayList<BluetoothDevice>();
388 return new ArrayList<BluetoothDevice>();
410 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
416 return new ArrayList<BluetoothDevice>();
    [all...]
BluetoothHeadset.java 59 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
80 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
99 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote Bluetooth Device
343 public boolean connect(BluetoothDevice device) {
384 public boolean disconnect(BluetoothDevice device) {
402 public List<BluetoothDevice> getConnectedDevices() {
409 return new ArrayList<BluetoothDevice>();
413 return new ArrayList<BluetoothDevice>();
419 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) {
426 return new ArrayList<BluetoothDevice>();
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterService.java 26 import android.bluetooth.BluetoothDevice;
153 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) {
164 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) {
414 processProfileStateChanged((BluetoothDevice) msg.obj, msg.arg1,msg.arg2, msg.getData().getInt("prevState",BluetoothAdapter.ERROR));
419 processConnectOtherProfiles((BluetoothDevice) msg.obj,msg.arg1);
671 public BluetoothDevice[] getBondedDevices() {
674 if (service == null) return new BluetoothDevice[0];
696 public boolean createBond(BluetoothDevice device) {
707 public boolean cancelBondProcess(BluetoothDevice device) {
718 public boolean removeBond(BluetoothDevice device)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/power/
peripheral_battery_observer.h 20 class BluetoothDevice;
43 device::BluetoothDevice* device) OVERRIDE;
45 device::BluetoothDevice* device) OVERRIDE;
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppPreference.java 37 import android.bluetooth.BluetoothDevice;
98 private String getChannelKey(BluetoothDevice remoteDevice, int uuid) {
102 public String getName(BluetoothDevice remoteDevice) {
115 public int getChannel(BluetoothDevice remoteDevice, int uuid) {
127 public void setName(BluetoothDevice remoteDevice, String name) {
137 public void setChannel(BluetoothDevice remoteDevice, int uuid, int channel) {
149 public void removeChannel(BluetoothDevice remoteDevice, int uuid) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 40 import android.bluetooth.BluetoothDevice;
159 private BluetoothDevice mRemoteDevice = null;
243 new Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_CANCEL);
245 timeoutIntent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
246 BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS);
254 } else if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY)) {
255 int requestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
256 BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS);
259 (requestType != BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS)) {
266 if (intent.getIntExtra(BluetoothDevice.EXTRA_CONNECTION_ACCESS_RESULT
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothTestUtils.java 149 private BluetoothDevice mDevice;
153 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) {
163 if (!mDevice.equals(intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE))) {
167 if (BluetoothDevice.ACTION_PAIRING_REQUEST.equals(intent.getAction())) {
168 int varient = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, -1);
171 case BluetoothDevice.PAIRING_VARIANT_PIN:
174 case BluetoothDevice.PAIRING_VARIANT_PASSKEY:
177 case BluetoothDevice.PAIRING_VARIANT_PASSKEY_CONFIRMATION:
178 case BluetoothDevice.PAIRING_VARIANT_CONSENT:
181 case BluetoothDevice.PAIRING_VARIANT_OOB_CONSENT
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/bluetooth/
bluetooth_event_router.h 22 class BluetoothDevice;
95 const device::BluetoothDevice* device,
106 device::BluetoothDevice* device) OVERRIDE;
  /packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothOppHandover.java 19 import android.bluetooth.BluetoothDevice;
53 final BluetoothDevice mDevice;
62 public BluetoothOppHandover(Context context, BluetoothDevice device, Uri[] uris,
123 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DevicePickerActivity.java 24 import android.bluetooth.BluetoothDevice;
89 filter.addAction(BluetoothDevice.ACTION_FOUND);
133 Set<BluetoothDevice> pairedDevices = mBluetoothAdapter.getBondedDevices();
134 for (BluetoothDevice device : pairedDevices) {
189 } else if (BluetoothDevice.ACTION_FOUND.equals(intent.getAction())) {
190 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
191 if (device.getBondState() != BluetoothDevice.BOND_BONDED) {
214 static Device fromBluetoothDevice(BluetoothDevice device) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
HealthService.java 19 import android.bluetooth.BluetoothDevice;
65 private Map <BluetoothDevice, Integer> mHealthDevices;
91 mHealthDevices = Collections.synchronizedMap(new HashMap<BluetoothDevice, Integer>());
262 BluetoothDevice device = getDevice(channelStateEvent.mAddr);
353 public boolean connectChannelToSource(BluetoothDevice device,
360 public boolean connectChannelToSink(BluetoothDevice device,
367 public boolean disconnectChannel(BluetoothDevice device,
374 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device,
381 public int getHealthDeviceConnectionState(BluetoothDevice device) {
387 public List<BluetoothDevice> getConnectedHealthDevices()
    [all...]

Completed in 1696 milliseconds

1 23 4 5 6 7