HomeSort by relevance Sort by last modified time
    Searched full:bluetoothadapter (Results 51 - 75 of 238) sorted by null

1 23 4 5 6 7 8 910

  /frameworks/base/core/java/android/bluetooth/
IBluetoothManagerCallback.aidl 22 * API for Communication between BluetoothAdapter and BluetoothManager
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() {
  /packages/apps/Settings/src/com/android/settings/bluetooth/
PanProfile.java 19 import android.bluetooth.BluetoothAdapter;
72 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
176 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PAN, mService);
DockEventReceiver.java 21 import android.bluetooth.BluetoothAdapter;
52 BluetoothAdapter.EXTRA_STATE, EXTRA_INVALID));
110 } else if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(intent.getAction())) {
111 int btState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR);
112 if (btState != BluetoothAdapter.STATE_TURNING_ON) {
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:
DeviceListPreferenceFragment.java 19 import android.bluetooth.BluetoothAdapter;
162 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
204 if (bluetoothState == BluetoothAdapter.STATE_OFF) {
DevicePickerFragment.java 21 import android.bluetooth.BluetoothAdapter;
106 if (bluetoothState == BluetoothAdapter.STATE_ON) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterState.java 19 import android.bluetooth.BluetoothAdapter;
131 notifyAdapterStateChange(BluetoothAdapter.STATE_TURNING_ON);
173 notifyAdapterStateChange(BluetoothAdapter.STATE_TURNING_OFF);
264 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
278 notifyAdapterStateChange(BluetoothAdapter.STATE_ON);
294 notifyAdapterStateChange(BluetoothAdapter.STATE_ON);
306 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
321 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
328 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
335 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF)
    [all...]
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...]
  /external/chromium_org/device/bluetooth/
bluetooth_adapter_mac.mm 94 : BluetoothAdapter(),
112 void BluetoothAdapterMac::AddObserver(BluetoothAdapter::Observer* observer) {
117 void BluetoothAdapterMac::RemoveObserver(BluetoothAdapter::Observer* observer) {
211 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
216 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
259 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
270 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
292 FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
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);
BleClientConnectActivity.java 22 import android.bluetooth.BluetoothAdapter;
54 if (!BluetoothAdapter.checkBluetoothAddress(address)) {
  /development/samples/BluetoothHDP/src/com/example/bluetooth/health/
BluetoothHDPActivity.java 23 import android.bluetooth.BluetoothAdapter;
67 private BluetoothAdapter mBluetoothAdapter;
131 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
234 Intent enableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
286 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED);
294 if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action)) {
295 if (intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR) ==
296 BluetoothAdapter.STATE_ON) {
  /frameworks/base/docs/html/sdk/api_diff/10/changes/
android.bluetooth.BluetoothAdapter.html 10 android.bluetooth.BluetoothAdapter
74 Class android.bluetooth.<A HREF="../../../../reference/android/bluetooth/BluetoothAdapter.html" target="_top"><font size="+2"><code>BluetoothAdapter</code></font></A>
86 <A NAME="android.bluetooth.BluetoothAdapter.listenUsingInsecureRfcommWithServiceRecord_added(java.lang.String, java.util.UUID)"></A>
87 <nobr><code>BluetoothServerSocket</code>&nbsp;<A HREF="../../../../reference/android/bluetooth/BluetoothAdapter.html#listenUsingInsecureRfcommWithServiceRecord(java.lang.String, java.util.UUID)" target="_top"><code>listenUsingInsecureRfcommWithServiceRecord</code></A>(<code>String,</nobr> UUID<nobr><nobr></code>)</nobr>
  /frameworks/base/docs/html/sdk/api_diff/14/changes/
android.bluetooth.BluetoothAdapter.html 10 android.bluetooth.BluetoothAdapter
74 Class android.bluetooth.<A HREF="../../../../reference/android/bluetooth/BluetoothAdapter.html" target="_top"><font size="+2"><code>BluetoothAdapter</code></font></A>
86 <A NAME="android.bluetooth.BluetoothAdapter.getProfileConnectionState_added(int)"></A>
87 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/bluetooth/BluetoothAdapter.html#getProfileConnectionState(int)" target="_top"><code>getProfileConnectionState</code></A>(<code>int</code>)</nobr>
  /frameworks/base/docs/html/sdk/api_diff/16/changes/
android.bluetooth.BluetoothAdapter.html 10 android.bluetooth.BluetoothAdapter
74 Class android.bluetooth.<A HREF="../../../../reference/android/bluetooth/BluetoothAdapter.html" target="_top"><font size="+2"><code>BluetoothAdapter</code></font></A>
86 <A NAME="android.bluetooth.BluetoothAdapter.getRemoteDevice_added(byte[])"></A>
87 <nobr><code>BluetoothDevice</code>&nbsp;<A HREF="../../../../reference/android/bluetooth/BluetoothAdapter.html#getRemoteDevice(byte[])" target="_top"><code>getRemoteDevice</code></A>(<code>byte[]</code>)</nobr>
  /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";
  /developers/build/prebuilts/gradle/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() {
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/
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() {
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/
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() {
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");
  /external/chromium_org/chrome/browser/extensions/api/bluetooth/
bluetooth_event_router.cc 66 callback.Run(scoped_refptr<device::BluetoothAdapter>(adapter_));
196 device::BluetoothAdapter* adapter, bool present) {
205 device::BluetoothAdapter* adapter, bool has_power) {
214 device::BluetoothAdapter* adapter, bool discovering) {
230 device::BluetoothAdapter* adapter,
258 scoped_refptr<device::BluetoothAdapter> adapter) {
  /frameworks/base/docs/html/guide/topics/connectivity/
bluetooth.jd 2 page.tags="wireless","bluetoothadapter","bluetoothdevice"
33 <li>{@link android.bluetooth.BluetoothAdapter}</li>
85 <dt>{@link android.bluetooth.BluetoothAdapter}</dt>
87 {@link android.bluetooth.BluetoothAdapter} is the entry-point for all Bluetooth
208 accomplished in two steps, using the {@link android.bluetooth.BluetoothAdapter}.</p>
212 <li>Get the {@link android.bluetooth.BluetoothAdapter}
213 <p>The {@link android.bluetooth.BluetoothAdapter} is required for any and all Bluetooth
214 activity. To get the {@link android.bluetooth.BluetoothAdapter}, call the static {@link
215 android.bluetooth.BluetoothAdapter#getDefaultAdapter()} method. This returns a
216 {@link android.bluetooth.BluetoothAdapter} that represents the device's ow
    [all...]

Completed in 1201 milliseconds

1 23 4 5 6 7 8 910