OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nfcAdapter
(Results
1 - 25
of
33
) sorted by null
1
2
/frameworks/base/core/java/android/nfc/
NfcEvent.java
25
* {@link
NfcAdapter
}. Check the documentation of the callback to see
32
* @see
NfcAdapter
.OnNdefPushCompleteCallback#onNdefPushComplete
33
* @see
NfcAdapter
.CreateNdefMessageCallback#createNdefMessage
37
* The {@link
NfcAdapter
} associated with the NFC event.
39
public final
NfcAdapter
nfcAdapter
;
51
NfcEvent(
NfcAdapter
nfcAdapter
, byte peerLlcpVersion) {
52
this.
nfcAdapter
=
nfcAdapter
;
[
all
...]
/packages/apps/Nfc/src/com/android/nfc/
NfcBackupAgent.java
22
import android.nfc.
NfcAdapter
;
38
NfcAdapter
nfcAdapter
=
NfcAdapter
.getDefaultAdapter(this);
40
if (
nfcAdapter
!= null) {
45
nfcAdapter
.enableNdefPush();
47
nfcAdapter
.disableNdefPush();
52
nfcAdapter
.enable();
54
nfcAdapter
.disable();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
HceFEmulatorTestActivity.java
21
import android.nfc.
NfcAdapter
;
42
NfcAdapter
nfcAdapter
=
NfcAdapter
.getDefaultAdapter(this);
43
CardEmulation cardEmulation = CardEmulation.getInstance(
nfcAdapter
);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNfcAdapter.java
7
import android.nfc.
NfcAdapter
;
15
@Implements(
NfcAdapter
.class)
17
@RealObject
NfcAdapter
nfcAdapter
;
25
public static
NfcAdapter
getDefaultAdapter(Context context) {
27
Constructor<
NfcAdapter
> constructor =
NfcAdapter
.class.getDeclaredConstructor();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
HceEmulatorTestActivity.java
26
import android.nfc.
NfcAdapter
;
43
NfcAdapter
nfcAdapter
=
NfcAdapter
.getDefaultAdapter(this);
44
CardEmulation cardEmulation = CardEmulation.getInstance(
nfcAdapter
);
HceReaderTestActivity.java
19
import android.nfc.
NfcAdapter
;
104
NfcAdapter
nfcAdapter
=
NfcAdapter
.getDefaultAdapter(this);
105
CardEmulation cardEmulation = CardEmulation.getInstance(
nfcAdapter
);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
MailActivity.java
27
import android.nfc.
NfcAdapter
;
98
private static class NdefMessageMaker implements
NfcAdapter
.CreateNdefMessageCallback {
202
final
NfcAdapter
nfcAdapter
=
NfcAdapter
.getDefaultAdapter(this);
203
if (
nfcAdapter
!= null) {
204
nfcAdapter
.setNdefPushMessageCallback(mNdefHandler, this);
/packages/apps/Settings/src/com/android/settings/wifi/
WriteWifiConfigToNfcDialog.java
27
import android.nfc.
NfcAdapter
;
146
NfcAdapter
nfcAdapter
=
NfcAdapter
.getDefaultAdapter(activity);
148
nfcAdapter
.enableReaderMode(activity, new
NfcAdapter
.ReaderCallback() {
153
},
NfcAdapter
.FLAG_READER_NFC_A |
154
NfcAdapter
.FLAG_READER_NFC_B |
155
NfcAdapter
.FLAG_READER_NFC_BARCODE |
156
NfcAdapter
.FLAG_READER_NFC_F
[
all
...]
WifiSettings.java
38
import android.nfc.
NfcAdapter
;
499
NfcAdapter
nfcAdapter
=
NfcAdapter
.getDefaultAdapter(getActivity());
500
if (
nfcAdapter
!= null &&
nfcAdapter
.isEnabled() &&
[
all
...]
/external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar
shadows-core-3.1-SNAPSHOT-17.jar
shadows-core-3.1-SNAPSHOT-18.jar
shadows-core-3.1-SNAPSHOT-19.jar
shadows-core-3.1-SNAPSHOT-21.jar
shadows-core-3.1-SNAPSHOT-22.jar
/prebuilts/misc/common/robolectric/lib/
shadows-core-v16-3.1.1.jar
shadows-core-v17-3.1.1.jar
shadows-core-v18-3.1.1.jar
shadows-core-v19-3.1.1.jar
shadows-core-v21-3.1.1.jar
shadows-core-v22-3.1.1.jar
shadows-core-v23-3.1.1.jar
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
Completed in 1183 milliseconds
1
2