HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothAdapter (Results 101 - 125 of 160) sorted by null

1 2 3 45 6 7

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothChatService.java 19 import android.bluetooth.BluetoothAdapter;
68 private final BluetoothAdapter mAdapter;
89 mAdapter = BluetoothAdapter.getDefaultAdapter();
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChatService.java 24 import android.bluetooth.BluetoothAdapter;
56 private final BluetoothAdapter mAdapter;
76 mAdapter = BluetoothAdapter.getDefaultAdapter();
  /external/chromium_org/device/bluetooth/
bluetooth_profile_chromeos_unittest.cc 24 using device::BluetoothAdapter;
76 void AdapterCallback(scoped_refptr<BluetoothAdapter> adapter) {
108 scoped_refptr<BluetoothAdapter> adapter_;
bluetooth_profile_chromeos.cc 34 using device::BluetoothAdapter;
239 scoped_refptr<BluetoothAdapter> adapter) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
BondStateMachine.java 19 import android.bluetooth.BluetoothAdapter;
62 private BluetoothAdapter mAdapter;
75 mAdapter = BluetoothAdapter.getDefaultAdapter();
RemoteDevices.java 19 import android.bluetooth.BluetoothAdapter;
42 private static BluetoothAdapter mAdapter;
54 mAdapter = BluetoothAdapter.getDefaultAdapter();
  /frameworks/base/core/java/android/bluetooth/
BluetoothInputDevice.java 39 * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get
187 private BluetoothAdapter mAdapter;
227 mAdapter = BluetoothAdapter.getDefaultAdapter();
480 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
487 if (BluetoothAdapter.checkBluetoothAddress(device.getAddress())) return true;
BluetoothSocket.java 171 mAddress = BluetoothAdapter.getDefaultAdapter().getAddress();
203 as.mDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(RemoteAddr);
293 * Use {@link BluetoothAdapter#cancelDiscovery()} to cancel an ongoing
296 * {@link BluetoothAdapter#cancelDiscovery()} even if it
306 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(null);
338 * so that BluetoothAdapter can check the error code for EADDRINUSE
343 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(null);
BluetoothPbap.java 74 private BluetoothAdapter mAdapter;
148 mAdapter = BluetoothAdapter.getDefaultAdapter();
BluetoothHeadset.java 39 * <p> Use {@link BluetoothAdapter#getProfileProxy} to get
41 * {@link BluetoothAdapter#closeProfileProxy} to close the service connection.
228 private BluetoothAdapter mAdapter;
265 mAdapter = BluetoothAdapter.getDefaultAdapter();
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppService.java 39 import android.bluetooth.BluetoothAdapter;
120 private BluetoothAdapter mAdapter;
150 mAdapter = BluetoothAdapter.getDefaultAdapter();
168 IntentFilter filter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED);
361 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
362 switch (intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)) {
363 case BluetoothAdapter.STATE_ON:
368 case BluetoothAdapter.STATE_TURNING_OFF:
    [all...]
BluetoothOppManager.java 37 import android.bluetooth.BluetoothAdapter;
73 private BluetoothAdapter mAdapter;
144 mAdapter = BluetoothAdapter.getDefaultAdapter();
BluetoothOppUtility.java 39 import android.bluetooth.BluetoothAdapter;
69 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
  /packages/apps/Settings/src/com/android/settings/bluetooth/
DockService.java 26 import android.bluetooth.BluetoothAdapter;
196 if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(intent.getAction())) {
686 int btState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR);
689 if (btState == BluetoothAdapter.STATE_ON) {
691 } else if (btState == BluetoothAdapter.STATE_TURNING_OFF) {
698 } else if (btState == BluetoothAdapter.STATE_OFF) {
    [all...]
HeadsetProfile.java 19 import android.bluetooth.BluetoothAdapter;
210 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEADSET,
MapProfile.java 19 import android.bluetooth.BluetoothAdapter;
205 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP,
  /developers/build/prebuilts/gradle/BluetoothLeGatt/BluetoothLeGattSample/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java 20 import android.bluetooth.BluetoothAdapter;
46 private BluetoothAdapter mBluetoothAdapter;
183 // For API level 18 and above, get a reference to BluetoothAdapter through
195 Log.e(TAG, "Unable to obtain a BluetoothAdapter.");
214 Log.w(TAG, "BluetoothAdapter not initialized or unspecified address.");
252 Log.w(TAG, "BluetoothAdapter not initialized");
279 Log.w(TAG, "BluetoothAdapter not initialized");
294 Log.w(TAG, "BluetoothAdapter not initialized");
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/BluetoothLeGattSample/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java 20 import android.bluetooth.BluetoothAdapter;
46 private BluetoothAdapter mBluetoothAdapter;
183 // For API level 18 and above, get a reference to BluetoothAdapter through
195 Log.e(TAG, "Unable to obtain a BluetoothAdapter.");
214 Log.w(TAG, "BluetoothAdapter not initialized or unspecified address.");
252 Log.w(TAG, "BluetoothAdapter not initialized");
279 Log.w(TAG, "BluetoothAdapter not initialized");
294 Log.w(TAG, "BluetoothAdapter not initialized");
  /development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
BluetoothLeService.java 20 import android.bluetooth.BluetoothAdapter;
46 private BluetoothAdapter mBluetoothAdapter;
183 // For API level 18 and above, get a reference to BluetoothAdapter through
195 Log.e(TAG, "Unable to obtain a BluetoothAdapter.");
214 Log.w(TAG, "BluetoothAdapter not initialized or unspecified address.");
252 Log.w(TAG, "BluetoothAdapter not initialized");
279 Log.w(TAG, "BluetoothAdapter not initialized");
294 Log.w(TAG, "BluetoothAdapter not initialized");
  /packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java 22 import android.bluetooth.BluetoothAdapter;
481 if (!BluetoothAdapter.ACTION_STATE_CHANGED.equals(intent.getAction())) {
484 int bluetoothState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1);
489 * Converts BluetoothAdapter's state values into our
494 case BluetoothAdapter.STATE_OFF:
496 case BluetoothAdapter.STATE_ON:
498 case BluetoothAdapter.STATE_TURNING_ON:
500 case BluetoothAdapter.STATE_TURNING_OFF:
    [all...]
  /frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java 20 import android.bluetooth.BluetoothAdapter;
156 BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
172 BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
  /external/chromium_org/chrome/browser/chromeos/system/
ash_system_tray_delegate.cc 247 public device::BluetoothAdapter::Observer,
320 scoped_refptr<device::BluetoothAdapter> adapter) {
671 device::BluetoothAdapter::DeviceList devices =
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
GattService.java 20 import android.bluetooth.BluetoothAdapter;
107 private Integer mAdvertisingState = BluetoothAdapter.STATE_ADVERTISE_STOPPED;
    [all...]
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
AudioManagerAndroid.java 7 import android.bluetooth.BluetoothAdapter;
504 // To get a BluetoothAdapter representing the local Bluetooth adapter,
510 BluetoothAdapter btAdapter = null;
514 // BluetoothAdapter.
515 btAdapter = BluetoothAdapter.getDefaultAdapter();
517 // Use BluetoothManager to get the BluetoothAdapter for
525 // android.bluetooth.BluetoothAdapter.getProfileConnectionState
  /frameworks/base/services/java/com/android/server/am/
BatteryStatsService.java 19 import android.bluetooth.BluetoothAdapter;
311 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();

Completed in 211 milliseconds

1 2 3 45 6 7