OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDefaultAdapter
(Results
1 - 25
of
116
) sorted by null
1
2
3
4
5
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothRebootStressTest.java
54
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
64
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
75
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
88
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
BluetoothStressTest.java
64
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/
NfcManager.java
26
* 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
() {
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsBT/src/com/android/framework/externalsharedpermsbttestapp/
ExternalSharedPermsBTTest.java
32
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.
getDefaultAdapter
();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
NfcAdapterTest.java
15
assertThat(NfcAdapter.
getDefaultAdapter
(null), instanceOf(NfcAdapter.class));
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BasicAdapterTest.java
54
assertNotNull(BluetoothAdapter.
getDefaultAdapter
());
56
assertNull(BluetoothAdapter.
getDefaultAdapter
());
124
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
137
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
148
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
160
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
176
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
212
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
ForegroundNdefPush.java
40
mAdapter = NfcAdapter.
getDefaultAdapter
(this);
ForegroundDispatch.java
52
mAdapter = NfcAdapter.
getDefaultAdapter
(this);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBluetoothAdapter.java
23
public static BluetoothAdapter
getDefaultAdapter
() {
ShadowNfcAdapter.java
25
public static NfcAdapter
getDefaultAdapter
(Context context) {
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
ExternalSharedPermsTest.java
48
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.
getDefaultAdapter
();
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
ExternalSharedPermsDiffKeyTest.java
46
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.
getDefaultAdapter
();
/developers/build/prebuilts/gradle/CardReader/CardReaderSample/src/main/java/com/example/android/cardreader/
CardReaderFragment.java
83
NfcAdapter nfc = NfcAdapter.
getDefaultAdapter
(activity);
92
NfcAdapter nfc = NfcAdapter.
getDefaultAdapter
(activity);
/developers/samples/android/connectivity/nfc/CardReader/CardReaderSample/src/main/java/com/example/android/cardreader/
CardReaderFragment.java
83
NfcAdapter nfc = NfcAdapter.
getDefaultAdapter
(activity);
92
NfcAdapter nfc = NfcAdapter.
getDefaultAdapter
(activity);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
BluetoothController.java
49
final BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
80
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
/developers/samples/android/connectivity/nfc/BeamLargeFiles/BeamLargeFilesSample/src/main/java/com/example/android/beamlargefiles/
BeamLargeFilesFragment.java
69
NfcAdapter nfc = NfcAdapter.
getDefaultAdapter
(a);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapReceiver.java
71
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
/packages/apps/Settings/src/com/android/settings/bluetooth/
PanProfile.java
72
BluetoothAdapter adapter = BluetoothAdapter.
getDefaultAdapter
();
176
BluetoothAdapter.
getDefaultAdapter
().closeProfileProxy(BluetoothProfile.PAN, mService);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NdefPushSenderActivity.java
55
mNfcAdapter = nfcManager.
getDefaultAdapter
();
/packages/apps/Browser/src/com/android/browser/
NfcHandler.java
46
NfcAdapter adapter = NfcAdapter.
getDefaultAdapter
(activity.getApplicationContext());
/packages/apps/Contacts/src/com/android/contacts/
NfcHandler.java
51
NfcAdapter adapter = NfcAdapter.
getDefaultAdapter
(activity.getApplicationContext());
/packages/apps/Settings/src/com/android/settings/nfc/
PaymentBackend.java
48
mAdapter = NfcAdapter.
getDefaultAdapter
(context);
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
Beam.java
55
mNfcAdapter = NfcAdapter.
getDefaultAdapter
(this);
/frameworks/base/core/java/android/bluetooth/
BluetoothManager.java
35
* {@link BluetoothAdapter#
getDefaultAdapter
()}.
44
* @see BluetoothAdapter#
getDefaultAdapter
()
62
// Legacy api -
getDefaultAdapter
does not take in the context
63
mAdapter = BluetoothAdapter.
getDefaultAdapter
();
BluetoothSocket.java
171
mAddress = BluetoothAdapter.
getDefaultAdapter
().getAddress();
203
as.mDevice = BluetoothAdapter.
getDefaultAdapter
().getRemoteDevice(RemoteAddr);
306
IBluetooth bluetoothProxy = BluetoothAdapter.
getDefaultAdapter
().getBluetoothService(null);
343
IBluetooth bluetoothProxy = BluetoothAdapter.
getDefaultAdapter
().getBluetoothService(null);
Completed in 1279 milliseconds
1
2
3
4
5