/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/BluetoothLeGatt/src/main/java/com/example/bluetooth/le/ |
BluetoothLeService.java | 28 import android.bluetooth.BluetoothProfile; 75 if (newState == BluetoothProfile.STATE_CONNECTED) { 84 } else if (newState == BluetoothProfile.STATE_DISCONNECTED) {
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
bluetooth_event_router.cc | 105 device::BluetoothProfile* bluetooth_profile) { 113 device::BluetoothProfile* bluetooth_profile = iter->second; 123 device::BluetoothProfile* ExtensionBluetoothEventRouter::GetProfile(
|
bluetooth_api.cc | 32 using device::BluetoothProfile; 143 BluetoothProfile::Options options; 173 const BluetoothProfile::Options& options, 174 const BluetoothProfile::ProfileCallback& callback) { 175 BluetoothProfile::Register(uuid_, options, callback); 179 BluetoothProfile* bluetooth_profile) { 401 BluetoothProfile* bluetooth_profile =
|
bluetooth_apitest.cc | 27 using device::BluetoothProfile; 94 explicit TestBluetoothAddProfileFunction(BluetoothProfile* profile) 104 const device::BluetoothProfile::Options& options, 105 const device::BluetoothProfile::ProfileCallback& callback) OVERRIDE { 111 BluetoothProfile* profile_;
|
/external/chromium_org/device/bluetooth/ |
bluetooth_device_chromeos.h | 64 device::BluetoothProfile* profile, 175 void OnConnectProfile(device::BluetoothProfile* profile, 177 void OnConnectProfileError(device::BluetoothProfile* profile,
|
bluetooth_profile_chromeos.cc | 37 using device::BluetoothProfile; 67 const device::BluetoothProfile::Options& options,
|
bluetooth_device_win.cc | 197 device::BluetoothProfile* profile,
|
bluetooth_device_chromeos.cc | 384 device::BluetoothProfile* profile, 810 device::BluetoothProfile* profile, 820 device::BluetoothProfile* profile,
|
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 21 import android.bluetooth.BluetoothProfile; 314 BluetoothProfile.HEADSET); 326 private BluetoothProfile.ServiceListener mBluetoothProfileServiceListener = 327 new BluetoothProfile.ServiceListener() { 328 public void onServiceConnected(int profile, BluetoothProfile proxy) {
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 24 import android.bluetooth.BluetoothProfile; 239 BluetoothProfile.HEADSET)) { 415 private BluetoothProfile.ServiceListener mBluetoothHeadsetServiceListener = 416 new BluetoothProfile.ServiceListener() { 417 public void onServiceConnected(int profile, BluetoothProfile proxy) { 449 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); 453 if (state == BluetoothProfile.STATE_CONNECTED) { 459 } else if (state == BluetoothProfile.STATE_DISCONNECTED) { 464 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); 465 int prevState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothHeadset.java | 46 public final class BluetoothHeadset implements BluetoothProfile { 444 return BluetoothProfile.STATE_DISCONNECTED; 448 return BluetoothProfile.STATE_DISCONNECTED; 470 if (priority != BluetoothProfile.PRIORITY_OFF && 471 priority != BluetoothProfile.PRIORITY_ON) { [all...] |
BluetoothHealth.java | 58 public final class BluetoothHealth implements BluetoothProfile { 528 mServiceListener.onServiceConnected(BluetoothProfile.HEALTH, BluetoothHealth.this); 535 mServiceListener.onServiceDisconnected(BluetoothProfile.HEALTH);
|
BluetoothGattServer.java | 21 import android.bluetooth.BluetoothProfile; 22 import android.bluetooth.BluetoothProfile.ServiceListener; 51 public final class BluetoothGattServer implements BluetoothProfile { 108 connected ? BluetoothProfile.STATE_CONNECTED : 109 BluetoothProfile.STATE_DISCONNECTED); 661 * with {@link BluetoothProfile#GATT} as argument 672 * with {@link BluetoothProfile#GATT} as argument 685 * with {@link BluetoothProfile#GATT} as first argument
|
BluetoothGatt.java | 20 import android.bluetooth.BluetoothProfile; 21 import android.bluetooth.BluetoothProfile.ServiceListener; 50 public final class BluetoothGatt implements BluetoothProfile { 140 BluetoothProfile.STATE_DISCONNECTED); 165 int profileState = connected ? BluetoothProfile.STATE_CONNECTED : 166 BluetoothProfile.STATE_DISCONNECTED; [all...] |
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
ScoAudioTest.java | 23 import android.bluetooth.BluetoothProfile; 159 BluetoothProfile.HEADSET); 174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); 646 private BluetoothProfile.ServiceListener mBluetoothProfileServiceListener = 647 new BluetoothProfile.ServiceListener() { 649 public void onServiceConnected(int profile, BluetoothProfile proxy) { 680 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1);
|
/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 27 import android.bluetooth.BluetoothProfile; 122 BluetoothProfile.PAN); 192 private BluetoothProfile.ServiceListener mProfileServiceListener = 193 new BluetoothProfile.ServiceListener() { 194 public void onServiceConnected(int profile, BluetoothProfile proxy) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
ProfileService.java | 26 import android.bluetooth.BluetoothProfile;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceProfilesSettings.java | 21 import android.bluetooth.BluetoothProfile; 258 status == BluetoothProfile.STATE_CONNECTED;
|
DockService.java | 29 import android.bluetooth.BluetoothProfile; 800 if (profile.getPreferred(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) { [all...] |
BluetoothEventManager.java | 24 import android.bluetooth.BluetoothProfile;
|
/packages/services/Telephony/src/com/android/phone/ |
BluetoothPhoneService.java | 23 import android.bluetooth.BluetoothProfile; 113 mAdapter.getProfileProxy(this, mProfileListener, BluetoothProfile.HEADSET); 429 private BluetoothProfile.ServiceListener mProfileListener = 430 new BluetoothProfile.ServiceListener() { 431 public void onServiceConnected(int profile, BluetoothProfile proxy) { [all...] |
CallNotifier.java | 36 import android.bluetooth.BluetoothProfile; 210 BluetoothProfile.HEADSET); [all...] |
/frameworks/base/media/java/android/media/ |
AudioService.java | 36 import android.bluetooth.BluetoothProfile; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapService.java | 42 import android.bluetooth.BluetoothProfile; 686 s.onProfileConnectionStateChanged(mRemoteDevice, BluetoothProfile.PBAP,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 22 import android.bluetooth.BluetoothProfile; 705 notifyProfileConnectionStateChanged(device, BluetoothProfile.HEALTH, newDeviceState, prevDeviceState); [all...] |