Home
last modified time | relevance | path

Searched refs:mNfcAdapter (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNdefPushSenderActivity.java44 private NfcAdapter mNfcAdapter; field in NdefPushSenderActivity
57 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()
74 if (!mNfcAdapter.isEnabled()) { in onResume()
76 } else if (!mNfcAdapter.isNdefPushEnabled()) { in onResume()
81 mNfcAdapter.setNdefPushMessageCallback(this, this); in onResume()
DLlcpVersionActivity.java44 private NfcAdapter mNfcAdapter; field in LlcpVersionActivity
59 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()
76 if (!mNfcAdapter.isEnabled()) { in onResume()
78 } else if (!mNfcAdapter.isNdefPushEnabled()) { in onResume()
83 mNfcAdapter.setNdefPushMessageCallback(this, this); in onResume()
DNdefPushReceiverActivity.java45 private NfcAdapter mNfcAdapter; field in NdefPushReceiverActivity
61 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()
70 if (!mNfcAdapter.isEnabled()) { in onResume()
77 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()
83 mNfcAdapter.disableForegroundDispatch(this); in onPause()
DTagVerifierActivity.java74 private NfcAdapter mNfcAdapter; field in TagVerifierActivity
103 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()
127 if (!mNfcAdapter.isEnabled()) { in onResume()
131 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()
137 mNfcAdapter.disableForegroundDispatch(this); in onPause()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DNfcTestActivity.java51 private NfcAdapter mNfcAdapter; field in NfcTestActivity
75 mNfcAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate()
76 mNfcAdapter.setNdefPushMessage(getTestMessage(), this); in onCreate()
84 mNfcAdapter.invokeBeam(NfcTestActivity.this); in onCreate()