Home | History | Annotate | Download | only in nfc

Lines Matching refs:mState

244     // mState is protected by this, however it is only modified in onCreate()
247 int mState; // one of NfcAdapter.STATE_ON, STATE_TURNING_ON, etc
482 mState = NfcAdapter.STATE_OFF;
625 * through this task, to keep the handling of mState simple.
626 * In other words, mState is only modified in these tasks (and we
631 * mState to STATE_TURNING_OFF or STATE_TURNING_ON, but must exit in
653 // Sanity check mState
654 switch (mState) {
658 mState);
715 if (mState == NfcAdapter.STATE_ON) {
762 if (mState == NfcAdapter.STATE_OFF) {
837 boolean tempEnable = mState == NfcAdapter.STATE_OFF;
892 if (newState == mState) {
895 mState = newState;
898 intent.putExtra(NfcAdapter.EXTRA_ADAPTER_STATE, mState);
969 return mState == NfcAdapter.STATE_ON && mIsNdefPushEnabled;
1067 return mState;
1775 return (mState == NfcAdapter.STATE_ON || mState == NfcAdapter.STATE_TURNING_OFF);
1781 return mState == NfcAdapter.STATE_ON;
2548 pw.println("mState=" + stateToString(mState));