OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BluetoothAdapter
(Results
76 - 100
of
160
) sorted by null
1
2
3
4
5
6
7
/frameworks/base/core/java/android/bluetooth/
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;
BluetoothAdapter.java
47
* Represents the local device Bluetooth adapter. The {@link
BluetoothAdapter
}
54
* <p>To get a {@link
BluetoothAdapter
} representing the local Bluetooth
83
public final class
BluetoothAdapter
{
84
private static final String TAG = "
BluetoothAdapter
";
92
* <p><code>Intent.getIntExtra(
BluetoothAdapter
.EXTRA_STATE,
93
*
BluetoothAdapter
.ERROR)</code>
397
private static
BluetoothAdapter
sAdapter;
416
public static synchronized
BluetoothAdapter
getDefaultAdapter() {
421
sAdapter = new
BluetoothAdapter
(managerService);
430
* Use {@link #getDefaultAdapter} to get the
BluetoothAdapter
instance
[
all
...]
BluetoothPan.java
38
* Service via IPC. Use {@link
BluetoothAdapter
#getProfileProxy} to get
123
private
BluetoothAdapter
mAdapter;
134
mAdapter =
BluetoothAdapter
.getDefaultAdapter();
373
if (mAdapter.getState() ==
BluetoothAdapter
.STATE_ON) return true;
380
if (
BluetoothAdapter
.checkBluetoothAddress(device.getAddress())) return true;
BluetoothDevice.java
42
* {@link
BluetoothAdapter
} that was used to create this {@link
46
* {@link
BluetoothAdapter
#getRemoteDevice(String)
47
*
BluetoothAdapter
.getRemoteDevice(String)} to create one representing a device
49
* {@link
BluetoothAdapter
}) or get one from the set of bonded devices
50
* returned by {@link
BluetoothAdapter
#getBondedDevices()
51
*
BluetoothAdapter
.getBondedDevices()}. You can then open a
64
* {@see
BluetoothAdapter
}
529
BluetoothAdapter
adapter =
BluetoothAdapter
.getDefaultAdapter();
563
if (!
BluetoothAdapter
.checkBluetoothAddress(address))
[
all
...]
BluetoothA2dp.java
39
* Service via IPC. Use {@link
BluetoothAdapter
#getProfileProxy} to get
110
private
BluetoothAdapter
mAdapter;
148
mAdapter =
BluetoothAdapter
.getDefaultAdapter();
535
if (mAdapter.getState() ==
BluetoothAdapter
.STATE_ON) return true;
542
if (
BluetoothAdapter
.checkBluetoothAddress(device.getAddress())) return true;
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
bluetooth_options_handler.cc
154
device::
BluetoothAdapter
* adapter,
171
device::
BluetoothAdapter
* adapter,
214
scoped_refptr<device::
BluetoothAdapter
> adapter) {
420
device::
BluetoothAdapter
::DeviceList devices = adapter_->GetDevices();
422
for (device::
BluetoothAdapter
::DeviceList::iterator iter = devices.begin();
542
void BluetoothOptionsHandler::DeviceAdded(device::
BluetoothAdapter
* adapter,
549
void BluetoothOptionsHandler::DeviceChanged(device::
BluetoothAdapter
* adapter,
556
void BluetoothOptionsHandler::DeviceRemoved(device::
BluetoothAdapter
* adapter,
/packages/apps/Settings/src/com/android/settings/bluetooth/
CachedBluetoothDeviceManager.java
19
import android.bluetooth.
BluetoothAdapter
;
141
if (bluetoothState ==
BluetoothAdapter
.STATE_TURNING_OFF) {
DevicePickerFragment.java
21
import android.bluetooth.
BluetoothAdapter
;
106
if (bluetoothState ==
BluetoothAdapter
.STATE_ON) {
BluetoothVisibilityTimeoutFragment.java
22
import android.bluetooth.
BluetoothAdapter
;
BluetoothEventManager.java
21
import android.bluetooth.
BluetoothAdapter
;
84
addHandler(
BluetoothAdapter
.ACTION_STATE_CHANGED, new AdapterStateChangedHandler());
87
addHandler(
BluetoothAdapter
.ACTION_DISCOVERY_STARTED, new ScanningStateChangedHandler(true));
88
addHandler(
BluetoothAdapter
.ACTION_DISCOVERY_FINISHED, new ScanningStateChangedHandler(false));
158
int state = intent.getIntExtra(
BluetoothAdapter
.EXTRA_STATE,
159
BluetoothAdapter
.ERROR);
A2dpProfile.java
20
import android.bluetooth.
BluetoothAdapter
;
206
BluetoothAdapter
.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP,
HidProfile.java
19
import android.bluetooth.
BluetoothAdapter
;
193
BluetoothAdapter
.getDefaultAdapter().closeProfileProxy(BluetoothProfile.INPUT_DEVICE,
PbapServerProfile.java
19
import android.bluetooth.
BluetoothAdapter
;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapService.java
28
import android.bluetooth.
BluetoothAdapter
;
118
private
BluetoothAdapter
mAdapter;
191
if ((state !=
BluetoothAdapter
.STATE_TURNING_ON) &&
192
(state !=
BluetoothAdapter
.STATE_ON)) {
635
filter.addAction(
BluetoothAdapter
.ACTION_STATE_CHANGED);
642
mAdapter =
BluetoothAdapter
.getDefaultAdapter();
677
if (action.equals(
BluetoothAdapter
.ACTION_STATE_CHANGED)) {
678
int state = intent.getIntExtra(
BluetoothAdapter
.EXTRA_STATE,
679
BluetoothAdapter
.ERROR);
680
if (state ==
BluetoothAdapter
.STATE_TURNING_OFF)
[
all
...]
/packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothHeadsetHandover.java
20
import android.bluetooth.
BluetoothAdapter
;
83
final
BluetoothAdapter
mBluetoothAdapter;
108
mBluetoothAdapter =
BluetoothAdapter
.getDefaultAdapter();
127
filter.addAction(
BluetoothAdapter
.ACTION_STATE_CHANGED);
312
BluetoothAdapter
.ERROR);
321
int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE,
BluetoothAdapter
.ERROR);
331
int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE,
BluetoothAdapter
.ERROR);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java
39
import android.bluetooth.
BluetoothAdapter
;
150
private
BluetoothAdapter
mAdapter;
199
mAdapter =
BluetoothAdapter
.getDefaultAdapter();
206
if (state ==
BluetoothAdapter
.STATE_ON) {
239
int state = intent.getIntExtra(
BluetoothAdapter
.EXTRA_STATE,
BluetoothAdapter
.ERROR);
243
if (action.equals(
BluetoothAdapter
.ACTION_STATE_CHANGED)) {
244
if (state ==
BluetoothAdapter
.STATE_TURNING_OFF) {
356
if ((state !=
BluetoothAdapter
.STATE_TURNING_ON) &&
357
(state !=
BluetoothAdapter
.STATE_ON))
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettings.java
25
import android.bluetooth.
BluetoothAdapter
;
98
private
BluetoothAdapter
mBluetoothAdapter;
125
mBluetoothAdapter =
BluetoothAdapter
.getDefaultAdapter();
132
filter.addAction(
BluetoothAdapter
.ACTION_CONNECTION_STATE_CHANGED);
133
filter.addAction(
BluetoothAdapter
.ACTION_STATE_CHANGED);
[
all
...]
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/
BluetoothHDPService.java
20
import android.bluetooth.
BluetoothAdapter
;
93
private
BluetoothAdapter
mBluetoothAdapter;
147
mBluetoothAdapter =
BluetoothAdapter
.getDefaultAdapter();
/external/chromium_org/chrome/browser/chromeos/power/
peripheral_battery_observer.cc
169
void PeripheralBatteryObserver::DeviceChanged(device::
BluetoothAdapter
* adapter,
175
void PeripheralBatteryObserver::DeviceRemoved(device::
BluetoothAdapter
* adapter,
181
scoped_refptr<device::
BluetoothAdapter
> adapter) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppTransferHistory.java
39
import android.bluetooth.
BluetoothAdapter
;
302
BluetoothAdapter
adapter =
BluetoothAdapter
.getDefaultAdapter();
BluetoothOppReceiver.java
38
import android.bluetooth.
BluetoothAdapter
;
65
if (action.equals(
BluetoothAdapter
.ACTION_STATE_CHANGED)) {
66
if (
BluetoothAdapter
.STATE_ON == intent.getIntExtra(
67
BluetoothAdapter
.EXTRA_STATE,
BluetoothAdapter
.ERROR)) {
/packages/services/Telephony/src/com/android/phone/
BluetoothManager.java
22
import android.bluetooth.
BluetoothAdapter
;
51
private final
BluetoothAdapter
mBluetoothAdapter;
72
mBluetoothAdapter =
BluetoothAdapter
.getDefaultAdapter();
84
// -
BluetoothAdapter
is the Bluetooth system service. If
105
//
BluetoothAdapter
adapter =
BluetoothAdapter
.getDefaultAdapter();
/external/chromium_org/device/bluetooth/
bluetooth_chromeos_unittest.cc
20
using device::
BluetoothAdapter
;
26
class TestObserver : public
BluetoothAdapter
::Observer {
28
TestObserver(scoped_refptr<
BluetoothAdapter
> adapter)
43
virtual void AdapterPresentChanged(
BluetoothAdapter
* adapter,
51
virtual void AdapterPoweredChanged(
BluetoothAdapter
* adapter,
59
virtual void AdapterDiscoveringChanged(
BluetoothAdapter
* adapter,
67
virtual void DeviceAdded(
BluetoothAdapter
* adapter,
78
virtual void DeviceChanged(
BluetoothAdapter
* adapter,
89
virtual void DeviceRemoved(
BluetoothAdapter
* adapter,
121
scoped_refptr<
BluetoothAdapter
> adapter_
[
all
...]
/external/chromium_org/chrome/browser/extensions/api/bluetooth/
bluetooth_apitest.cc
24
using device::
BluetoothAdapter
;
134
const
BluetoothAdapter
::ErrorCallback& error_callback) {
140
const
BluetoothAdapter
::ErrorCallback& error_callback) {
145
const
BluetoothAdapter
::BluetoothOutOfBandPairingDataCallback& callback,
146
const
BluetoothAdapter
::ErrorCallback& error_callback) {
541
BluetoothAdapter
::ConstDeviceList devices;
Completed in 212 milliseconds
1
2
3
4
5
6
7