Searched refs:getDefaultAdapter (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothRebootStressTest.java54 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
64 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
75 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
88 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothStressTest.java64 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
83 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
106 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
128 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
155 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
181 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
208 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
241 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
274 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
307 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcManager.java26 * then call {@link #getDefaultAdapter} to obtain the {@link NfcAdapter}.
29 * {@link NfcAdapter#getDefaultAdapter(android.content.Context)}.
38 * @see NfcAdapter#getDefaultAdapter(android.content.Context)
66 public NfcAdapter getDefaultAdapter() { method in class:NfcManager
H A DNfcAdapter.java44 * Use the helper {@link #getDefaultAdapter(Context)} to get the default NFC
388 * NfcAdapter adapter = manager.getDefaultAdapter();</pre>
393 public static NfcAdapter getDefaultAdapter(Context context) { method in class:NfcAdapter
408 return manager.getDefaultAdapter();
412 * Legacy NfcAdapter getter, always use {@link #getDefaultAdapter(Context)} instead.<p>
416 * @deprecated use {@link #getDefaultAdapter(Context)}
420 public static NfcAdapter getDefaultAdapter() { method in class:NfcAdapter
425 Log.w(TAG, "WARNING: NfcAdapter.getDefaultAdapter() is deprecated, use " +
426 "NfcAdapter.getDefaultAdapter(Context) instead", new Exception());
620 * NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(thi
[all...]
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsBT/src/com/android/framework/externalsharedpermsbttestapp/
H A DExternalSharedPermsBTTest.java32 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
H A DExternalSharedPermsTest.java48 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
H A DExternalSharedPermsDiffKeyTest.java46 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
H A DBasicNfcEeTest.java52 mAdapterExtras = NfcAdapterExtras.get(NfcAdapter.getDefaultAdapter(mContext));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothController.java49 final BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealth.java440 mAdapter = BluetoothAdapter.getDefaultAdapter();
460 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothInputDevice.java106 mAdapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothPan.java127 mAdapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothTetheringDataTracker.java97 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothA2dp.java117 mAdapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothHeadset.java230 mAdapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothAdapter.java51 * adapter, call the static {@link #getDefaultAdapter} method.
368 public static synchronized BluetoothAdapter getDefaultAdapter() { method in class:BluetoothAdapter
380 * Use {@link #getDefaultAdapter} to get the BluetoothAdapter instance.
H A DBluetoothDeviceProfileState.java254 mAdapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/core/java/android/server/
H A DBluetoothBondState.java299 BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
313 BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothInputProfileHandler.java202 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothHealthProfileHandler.java372 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
432 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
H A DBluetoothA2dpService.java158 mAdapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/services/java/com/android/server/
H A DDockObserver.java154 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address));
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java156 BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
172 BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java166 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java295 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();

Completed in 789 milliseconds

12