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

1 23 4 5 6 7

  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothSettings.java 23 import android.bluetooth.BluetoothAdapter;
84 if (action.equals(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED)) {
98 mIntentFilter = new IntentFilter(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED);
174 boolean bluetoothIsEnabled = mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON;
196 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
248 case BluetoothAdapter.STATE_ON:
325 case BluetoothAdapter.STATE_TURNING_OFF:
329 case BluetoothAdapter.STATE_OFF:
333 case BluetoothAdapter.STATE_TURNING_ON:
PanProfile.java 19 import android.bluetooth.BluetoothAdapter;
72 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
176 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PAN, mService);
DeviceListPreferenceFragment.java 19 import android.bluetooth.BluetoothAdapter;
162 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
204 if (bluetoothState == BluetoothAdapter.STATE_OFF) {
  /external/chromium_org/device/bluetooth/
bluetooth_adapter_chromeos.cc 21 using device::BluetoothAdapter;
48 BluetoothAdapter::Observer* observer) {
54 BluetoothAdapter::Observer* observer) {
159 const BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& callback,
207 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
220 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
325 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
384 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
393 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
399 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_
    [all...]
bluetooth_profile_chromeos.h 27 class BluetoothAdapter;
102 scoped_refptr<device::BluetoothAdapter>);
bluetooth_task_manager_win.h 84 const BluetoothAdapter::ErrorCallback& error_callback);
110 const BluetoothAdapter::ErrorCallback& error_callback);
  /frameworks/base/core/java/android/bluetooth/
BluetoothManager.java 27 * High level manager used to obtain an instance of an {@link BluetoothAdapter}
32 * then call {@link #getAdapter} to obtain the {@link BluetoothAdapter}.
35 * {@link BluetoothAdapter#getDefaultAdapter()}.
44 * @see BluetoothAdapter#getDefaultAdapter()
51 private final BluetoothAdapter mAdapter;
63 mAdapter = BluetoothAdapter.getDefaultAdapter();
71 public BluetoothAdapter getAdapter() {
BluetoothHealth.java 39 * <li> Use {@link BluetoothAdapter#getProfileProxy} to get
466 BluetoothAdapter mAdapter;
474 mAdapter = BluetoothAdapter.getDefaultAdapter();
541 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
543 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true;
551 if (BluetoothAdapter.checkBluetoothAddress(device.getAddress())) return true;
BluetoothMap.java 47 private BluetoothAdapter mAdapter;
93 mAdapter = BluetoothAdapter.getDefaultAdapter();
394 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
395 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true;
402 if (BluetoothAdapter.checkBluetoothAddress(device.getAddress())) return true;
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppBatch.java 38 import android.bluetooth.BluetoothAdapter;
106 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
BluetoothOppRfcommListener.java 39 import android.bluetooth.BluetoothAdapter;
65 private final BluetoothAdapter mAdapter;
71 public BluetoothOppRfcommListener(BluetoothAdapter adapter) {
BluetoothOppTransferAdapter.java 37 import android.bluetooth.BluetoothAdapter;
94 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
ConnectionAccessClientActivity.java 22 import android.bluetooth.BluetoothAdapter;
41 private BluetoothAdapter mBluetoothAdapter;
72 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
85 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
MessageTestActivity.java 24 import android.bluetooth.BluetoothAdapter;
59 private BluetoothAdapter mBluetoothAdapter;
133 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
141 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
184 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
185 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
186 intent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 30);
  /development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DebugReceiver.java 20 import android.bluetooth.BluetoothAdapter;
  /external/chromium_org/chrome/browser/extensions/api/bluetooth/
bluetooth_api_utils.cc 25 void PopulateAdapterState(const device::BluetoothAdapter& adapter,
bluetooth_event_router.cc 64 callback.Run(scoped_refptr<device::BluetoothAdapter>(adapter_));
194 device::BluetoothAdapter* adapter, bool present) {
203 device::BluetoothAdapter* adapter, bool has_power) {
212 device::BluetoothAdapter* adapter, bool discovering) {
228 device::BluetoothAdapter* adapter,
256 scoped_refptr<device::BluetoothAdapter> adapter) {
bluetooth_api.cc 30 using device::BluetoothAdapter;
225 scoped_refptr<device::BluetoothAdapter> adapter) {
255 scoped_refptr<BluetoothAdapter> adapter) {
292 scoped_refptr<BluetoothAdapter> adapter) {
309 BluetoothAdapter::DeviceList devices = adapter->GetDevices();
310 for (BluetoothAdapter::DeviceList::const_iterator iter = devices.begin();
346 scoped_refptr<BluetoothAdapter> adapter) {
380 bool BluetoothConnectFunction::DoWork(scoped_refptr<BluetoothAdapter> adapter) {
531 scoped_refptr<BluetoothAdapter> adapter) {
610 scoped_refptr<BluetoothAdapter> adapter)
    [all...]
  /packages/apps/SpareParts/src/com/android/spare_parts/
Enabler.java 19 import android.bluetooth.BluetoothAdapter;
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterService.java 25 import android.bluetooth.BluetoothAdapter;
219 if (BluetoothAdapter.STATE_OFF != entry.getValue()) {
237 if (BluetoothAdapter.STATE_ON != entry.getValue()) {
287 mProfileServicesState.put(supportedProfileServices[i].getName(),BluetoothAdapter.STATE_OFF);
303 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_ON);
317 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF);
414 processProfileStateChanged((BluetoothDevice) msg.obj, msg.arg1,msg.arg2, msg.getData().getInt("prevState",BluetoothAdapter.ERROR));
428 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) {
433 int expectedCurrentState= BluetoothAdapter.STATE_OFF
    [all...]
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChat.java 21 import android.bluetooth.BluetoothAdapter;
79 private BluetoothAdapter mBluetoothAdapter = null;
93 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
111 Intent enableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
189 BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {
190 Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
191 discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 300);
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverService.java 20 import android.bluetooth.BluetoothAdapter;
126 BluetoothAdapter mBluetoothAdapter;
134 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
153 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED);
322 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
323 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
324 BluetoothAdapter.ERROR);
325 if (state == BluetoothAdapter.STATE_ON) {
334 } else if (state == BluetoothAdapter.STATE_OFF) {
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/BluetoothLeGattSample/src/main/java/com/example/android/bluetoothlegatt/
DeviceScanActivity.java 21 import android.bluetooth.BluetoothAdapter;
46 private BluetoothAdapter mBluetoothAdapter;
68 // BluetoothAdapter through BluetoothManager.
119 Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
249 private BluetoothAdapter.LeScanCallback mLeScanCallback =
250 new BluetoothAdapter.LeScanCallback() {
  /development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DeviceScanActivity.java 21 import android.bluetooth.BluetoothAdapter;
46 private BluetoothAdapter mBluetoothAdapter;
68 // BluetoothAdapter through BluetoothManager.
119 Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
249 private BluetoothAdapter.LeScanCallback mLeScanCallback =
250 new BluetoothAdapter.LeScanCallback() {
  /packages/apps/Bluetooth/src/com/android/bluetooth/
Utils.java 20 import android.bluetooth.BluetoothAdapter;
143 case BluetoothAdapter.STATE_OFF : return "STATE_OFF";
144 case BluetoothAdapter.STATE_ON : return "STATE_ON";
145 case BluetoothAdapter.STATE_TURNING_ON : return "STATE_TURNING_ON";
146 case BluetoothAdapter.STATE_TURNING_OFF : return "STATE_TURNING_OFF";

Completed in 694 milliseconds

1 23 4 5 6 7