Home | History | Annotate | Download | only in nfc

Lines Matching refs:NfcAdapter

50 import android.nfc.NfcAdapter;
197 int mState; // one of NfcAdapter.STATE_ON, STATE_TURNING_ON, etc
331 mState = NfcAdapter.STATE_OFF;
453 case NfcAdapter.STATE_TURNING_OFF:
454 case NfcAdapter.STATE_TURNING_ON:
509 if (mState == NfcAdapter.STATE_ON) {
513 updateState(NfcAdapter.STATE_TURNING_ON);
518 updateState(NfcAdapter.STATE_OFF);
526 updateState(NfcAdapter.STATE_ON);
542 if (mState == NfcAdapter.STATE_OFF) {
546 updateState(NfcAdapter.STATE_TURNING_OFF);
579 updateState(NfcAdapter.STATE_OFF);
590 boolean tempEnable = mState == NfcAdapter.STATE_OFF;
631 Intent intent = new Intent(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED);
633 intent.putExtra(NfcAdapter.EXTRA_ADAPTER_STATE, mState);
710 return mState == NfcAdapter.STATE_ON && mIsNdefPushEnabled;
1367 return (mState == NfcAdapter.STATE_ON || mState == NfcAdapter.STATE_TURNING_OFF);
1373 return mState == NfcAdapter.STATE_ON;
1910 case NfcAdapter.STATE_OFF:
1912 case NfcAdapter.STATE_TURNING_ON:
1914 case NfcAdapter.STATE_ON:
1916 case NfcAdapter.STATE_TURNING_OFF: