HomeSort by relevance Sort by last modified time
    Searched refs:mNfcAdapter (Results 1 - 6 of 6) sorted by null

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NdefPushSenderActivity.java 44 private NfcAdapter mNfcAdapter;
57 mNfcAdapter = nfcManager.getDefaultAdapter();
74 if (!mNfcAdapter.isEnabled()) {
76 } else if (!mNfcAdapter.isNdefPushEnabled()) {
81 mNfcAdapter.setNdefPushMessageCallback(this, this);
LlcpVersionActivity.java 44 private NfcAdapter mNfcAdapter;
59 mNfcAdapter = nfcManager.getDefaultAdapter();
76 if (!mNfcAdapter.isEnabled()) {
78 } else if (!mNfcAdapter.isNdefPushEnabled()) {
83 mNfcAdapter.setNdefPushMessageCallback(this, this);
NdefPushReceiverActivity.java 45 private NfcAdapter mNfcAdapter;
61 mNfcAdapter = nfcManager.getDefaultAdapter();
70 if (!mNfcAdapter.isEnabled()) {
74 /* Only the sender requires mNfcAdapter.isNdefPushEnabled == true,
77 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null);
83 mNfcAdapter.disableForegroundDispatch(this);
TagVerifierActivity.java 74 private NfcAdapter mNfcAdapter;
103 mNfcAdapter = nfcManager.getDefaultAdapter();
127 if (!mNfcAdapter.isEnabled()) {
131 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null);
137 mNfcAdapter.disableForegroundDispatch(this);
  /development/samples/AndroidBeamDemo/src/com/example/android/beam/
Beam.java 44 NfcAdapter mNfcAdapter;
55 mNfcAdapter = NfcAdapter.getDefaultAdapter(this);
56 if (mNfcAdapter == null) {
61 mNfcAdapter.setNdefPushMessageCallback(this, this);
63 mNfcAdapter.setOnNdefPushCompleteCallback(this, this);
144 if (mNfcAdapter == null) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
NfcTestActivity.java 51 private NfcAdapter mNfcAdapter;
75 mNfcAdapter = NfcAdapter.getDefaultAdapter(this);
76 mNfcAdapter.setNdefPushMessage(getTestMessage(), this);
84 mNfcAdapter.invokeBeam(NfcTestActivity.this);

Completed in 149 milliseconds