HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothProfile (Results 26 - 50 of 83) sorted by null

12 3 4

  /packages/apps/Bluetooth/src/com/android/bluetooth/pan/
PanService.java 22 import android.bluetooth.BluetoothProfile;
131 handlePanDeviceStateChange(dev, mPanIfName, BluetoothProfile.STATE_DISCONNECTED,
151 handlePanDeviceStateChange(device, null, BluetoothProfile.STATE_CONNECTING,
154 BluetoothProfile.STATE_DISCONNECTED, BluetoothPan.LOCAL_PANU_ROLE,
165 BluetoothProfile.STATE_DISCONNECTING, BluetoothPan.LOCAL_PANU_ROLE,
168 BluetoothProfile.STATE_DISCONNECTED, BluetoothPan.LOCAL_PANU_ROLE,
289 if (getConnectionState(device) != BluetoothProfile.STATE_DISCONNECTED) {
341 new int[] {BluetoothProfile.STATE_CONNECTED});
395 return BluetoothProfile.STATE_CONNECTED;
397 return BluetoothProfile.STATE_CONNECTING
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetStateMachine.java 39 import android.bluetooth.BluetoothProfile;
275 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING,
276 BluetoothProfile.STATE_DISCONNECTED);
279 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED,
280 BluetoothProfile.STATE_CONNECTING);
336 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTING,
337 BluetoothProfile.STATE_DISCONNECTED);
359 broadcastConnectionState(device, BluetoothProfile.STATE_CONNECTED,
360 BluetoothProfile.STATE_DISCONNECTED);
414 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
BondStateMachine.java 20 import android.bluetooth.BluetoothProfile;
307 (hidService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){
308 hidService.setPriority(device,BluetoothProfile.PRIORITY_ON);
312 (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){
313 a2dpService.setPriority(device,BluetoothProfile.PRIORITY_ON);
317 (headsetService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){
318 headsetService.setPriority(device,BluetoothProfile.PRIORITY_ON);
328 hidService.setPriority(device,BluetoothProfile.PRIORITY_UNDEFINED);
330 a2dpService.setPriority(device,BluetoothProfile.PRIORITY_UNDEFINED);
332 headsetService.setPriority(device,BluetoothProfile.PRIORITY_UNDEFINED)
    [all...]
AdapterService.java 27 import android.bluetooth.BluetoothProfile;
165 if (((profileId == BluetoothProfile.A2DP) ||(profileId == BluetoothProfile.HEADSET)) &&
166 (newState == BluetoothProfile.STATE_CONNECTED)){
688 return BluetoothProfile.STATE_DISCONNECTED;
692 if (service == null) return BluetoothProfile.STATE_DISCONNECTED;
    [all...]
  /development/samples/BluetoothHDP/src/com/example/bluetooth/health/
BluetoothHDPService.java 25 import android.bluetooth.BluetoothProfile;
155 BluetoothProfile.HEALTH)) {
197 private final BluetoothProfile.ServiceListener mBluetoothServiceListener =
198 new BluetoothProfile.ServiceListener() {
199 public void onServiceConnected(int profile, BluetoothProfile proxy) {
200 if (profile == BluetoothProfile.HEALTH) {
208 if (profile == BluetoothProfile.HEALTH) {
  /packages/services/Telephony/src/com/android/phone/
BluetoothManager.java 25 import android.bluetooth.BluetoothProfile;
57 private int mBluetoothHeadsetState = BluetoothProfile.STATE_DISCONNECTED;
247 BluetoothProfile.HEADSET);
261 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
266 private BluetoothProfile.ServiceListener mBluetoothProfileServiceListener =
267 new BluetoothProfile.ServiceListener() {
269 public void onServiceConnected(int profile, BluetoothProfile proxy) {
  /external/chromium_org/device/bluetooth/
bluetooth_profile_chromeos_unittest.cc 24 using device::BluetoothProfile;
81 void ProfileCallback(BluetoothProfile* profile) {
106 BluetoothProfile* last_profile_;
114 BluetoothProfile::Options options;
115 BluetoothProfile::Register(
123 BluetoothProfile* profile = last_profile_;
240 BluetoothProfile::Options options;
241 BluetoothProfile::Register(
249 BluetoothProfile* profile = last_profile_;
bluetooth_device.h 17 class BluetoothProfile;
346 virtual void ConnectToProfile(BluetoothProfile* profile,
bluetooth_device_mac.h 63 device::BluetoothProfile* profile,
bluetooth_device_win.h 63 device::BluetoothProfile* profile,
  /frameworks/base/core/java/android/bluetooth/
BluetoothA2dp.java 45 public final class BluetoothA2dp implements BluetoothProfile {
321 return BluetoothProfile.STATE_DISCONNECTED;
325 return BluetoothProfile.STATE_DISCONNECTED;
347 if (priority != BluetoothProfile.PRIORITY_OFF &&
348 priority != BluetoothProfile.PRIORITY_ON){
383 return BluetoothProfile.PRIORITY_OFF;
387 return BluetoothProfile.PRIORITY_OFF;
522 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, BluetoothA2dp.this);
529 mServiceListener.onServiceDisconnected(BluetoothProfile.A2DP);
BluetoothMap.java 35 public final class BluetoothMap implements BluetoothProfile {
310 return BluetoothProfile.STATE_DISCONNECTED;
314 return BluetoothProfile.STATE_DISCONNECTED;
332 if (priority != BluetoothProfile.PRIORITY_OFF &&
333 priority != BluetoothProfile.PRIORITY_ON) {
377 mServiceListener.onServiceConnected(BluetoothProfile.MAP, BluetoothMap.this);
384 mServiceListener.onServiceDisconnected(BluetoothProfile.MAP);
BluetoothInputDevice.java 45 public final class BluetoothInputDevice implements BluetoothProfile {
394 return BluetoothProfile.STATE_DISCONNECTED;
398 return BluetoothProfile.STATE_DISCONNECTED;
419 if (priority != BluetoothProfile.PRIORITY_OFF &&
420 priority != BluetoothProfile.PRIORITY_ON) {
454 return BluetoothProfile.PRIORITY_OFF;
458 return BluetoothProfile.PRIORITY_OFF;
467 mServiceListener.onServiceConnected(BluetoothProfile.INPUT_DEVICE, BluetoothInputDevice.this);
474 mServiceListener.onServiceDisconnected(BluetoothProfile.INPUT_DEVICE);
BluetoothPan.java 44 public final class BluetoothPan implements BluetoothProfile {
327 return BluetoothProfile.STATE_DISCONNECTED;
331 return BluetoothProfile.STATE_DISCONNECTED;
359 mServiceListener.onServiceConnected(BluetoothProfile.PAN,
367 mServiceListener.onServiceDisconnected(BluetoothProfile.PAN);
BluetoothAdapter.java     [all...]
BluetoothTetheringDataTracker.java 116 adapter.getProfileProxy(mContext, mProfileServiceListener, BluetoothProfile.PAN);
121 private BluetoothProfile.ServiceListener mProfileServiceListener =
122 new BluetoothProfile.ServiceListener() {
123 public void onServiceConnected(int profile, BluetoothProfile proxy) {
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothStressTest.java 215 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.A2DP, null);
219 mTestUtils.connectProfile(adapter, device, BluetoothProfile.A2DP,
221 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.A2DP,
248 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.HEADSET, null);
252 mTestUtils.connectProfile(adapter, device, BluetoothProfile.HEADSET,
254 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.HEADSET,
281 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.INPUT_DEVICE, null);
285 mTestUtils.connectProfile(adapter, device, BluetoothProfile.INPUT_DEVICE,
287 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.INPUT_DEVICE,
378 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.HEADSET, null)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hid/
HidService.java 21 import android.bluetooth.BluetoothProfile;
153 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
154 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
164 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
165 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
321 new int[] {BluetoothProfile.STATE_CONNECTED});
338 if (service == null) return BluetoothProfile.PRIORITY_UNDEFINED;
442 BluetoothProfile.PRIORITY_UNDEFINED);
577 notifyProfileConnectionStateChanged(device, BluetoothProfile.INPUT_DEVICE,
580 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDevicePreference.java 24 import android.bluetooth.BluetoothProfile;
226 case BluetoothProfile.STATE_CONNECTING:
227 case BluetoothProfile.STATE_DISCONNECTING:
230 case BluetoothProfile.STATE_CONNECTED:
234 case BluetoothProfile.STATE_DISCONNECTED:
LocalBluetoothAdapter.java 21 import android.bluetooth.BluetoothProfile;
93 BluetoothProfile.ServiceListener listener, int profile) {
CachedBluetoothDevice.java 21 import android.bluetooth.BluetoothProfile;
140 if (newProfileState == BluetoothProfile.STATE_CONNECTED) {
155 newProfileState == BluetoothProfile.STATE_DISCONNECTED) {
164 newProfileState == BluetoothProfile.STATE_DISCONNECTED) {
192 if (PbapProfile.getConnectionStatus(mDevice) == BluetoothProfile.STATE_CONNECTED)
366 mProfileConnectionState.put(profile, BluetoothProfile.STATE_DISCONNECTED);
453 if (status == BluetoothProfile.STATE_CONNECTED) {
463 return status == BluetoothProfile.STATE_CONNECTED;
470 if (status == BluetoothProfile.STATE_CONNECTING
471 || status == BluetoothProfile.STATE_DISCONNECTING)
    [all...]
LocalBluetoothProfileManager.java 26 import android.bluetooth.BluetoothProfile;
233 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
234 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0);
235 if (newState == BluetoothProfile.STATE_DISCONNECTED &&
236 oldState == BluetoothProfile.STATE_CONNECTING) {
  /external/chromium_org/chrome/browser/extensions/api/bluetooth/
bluetooth_api.h 71 const device::BluetoothProfile::Options& options,
72 const device::BluetoothProfile::ProfileCallback& callback);
75 void OnProfileRegistered(device::BluetoothProfile* bluetooth_profile);
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapService.java 30 import android.bluetooth.BluetoothProfile;
486 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
487 intent.putExtra(BluetoothProfile.EXTRA_STATE, mState);
492 s.onProfileConnectionStateChanged(mRemoteDevice, BluetoothProfile.MAP,
567 return BluetoothProfile.STATE_CONNECTED;
569 return BluetoothProfile.STATE_DISCONNECTED;
585 BluetoothProfile.PRIORITY_UNDEFINED);
778 if (service == null) return BluetoothProfile.STATE_DISCONNECTED;
790 if (service == null) return BluetoothProfile.PRIORITY_UNDEFINED;
  /external/chromium_org/device/bluetooth/test/
mock_bluetooth_device.h 70 void(BluetoothProfile*,

Completed in 353 milliseconds

12 3 4