Home
last modified time | relevance | path

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

/cts/tests/tests/nfc/src/android/nfc/cts/interactive/
DTagVerifierActivity.java52 private NfcAdapter mNfcAdapter; field in TagVerifierActivity
72 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()
84 if (!mNfcAdapter.isEnabled()) { in onResume()
88 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()
94 mNfcAdapter.disableForegroundDispatch(this); in onPause()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DTagVerifierActivity.java77 private NfcAdapter mNfcAdapter; field in TagVerifierActivity
115 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()
139 if (!mNfcAdapter.isEnabled()) { in onResume()
143 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()
149 mNfcAdapter.disableForegroundDispatch(this); in onPause()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestBase.java91 protected NfcAdapter mNfcAdapter = null; field in SatelliteManagerTestBase
1221 if (mNfcExpectedState == mNfcAdapter.isEnabled()) { in onReceive()
1275 if (mNfcExpectedState == mNfcAdapter.isEnabled()) { in waitUntilOnNfcStateChanged()
DSatelliteManagerTestOnMockService.java4654 mNfcAdapter = NfcAdapter.getDefaultAdapter(getContext().getApplicationContext()); in identifyRadiosSensitiveToSatelliteMode()
4655 mNfcInitState = mNfcAdapter.isEnabled(); in identifyRadiosSensitiveToSatelliteMode()
4686 assertFalse(mNfcAdapter.isEnabled()); in areAllRadiosDisabled()