HomeSort by relevance Sort by last modified time
    Searched defs:getDefaultAdapter (Results 1 - 22 of 22) sorted by null

  /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() {
NfcAdapter.java 45 * Use the helper {@link #getDefaultAdapter(Context)} to get the default NFC
469 * NfcAdapter adapter = manager.getDefaultAdapter();</pre>
474 public static NfcAdapter getDefaultAdapter(Context context) {
489 return manager.getDefaultAdapter();
493 * Legacy NfcAdapter getter, always use {@link #getDefaultAdapter(Context)} instead.<p>
497 * @deprecated use {@link #getDefaultAdapter(Context)}
501 public static NfcAdapter getDefaultAdapter() {
506 Log.w(TAG, "WARNING: NfcAdapter.getDefaultAdapter() is deprecated, use " +
507 "NfcAdapter.getDefaultAdapter(Context) instead", new Exception());
717 * NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this)
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
NfcAdapterTest.java 15 assertThat(NfcAdapter.getDefaultAdapter(null), instanceOf(NfcAdapter.class));
  /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) {
  /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();
  /frameworks/base/core/java/android/bluetooth/
BluetoothAdapter.java 56 * static {@link #getDefaultAdapter} method; when running on JELLY_BEAN_MR2 and
416 public static synchronized BluetoothAdapter getDefaultAdapter() {
430 * Use {@link #getDefaultAdapter} to get the BluetoothAdapter instance.
    [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 

Completed in 236 milliseconds