Home
last modified time | relevance | path

Searched refs:nfcStateExtra (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/nfc/
DNfcPreferenceController.java184 final int nfcStateExtra = intent.getIntExtra(NfcAdapter.EXTRA_ADAPTER_STATE, in onReceive() local
188 if ( (nfcStateExtra == NO_EXTRA) in onReceive()
189 || (nfcStateExtra == NfcAdapter.STATE_TURNING_ON) in onReceive()
190 || (nfcStateExtra == NfcAdapter.STATE_TURNING_OFF)) { in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DNfcPreferenceController.java197 final int nfcStateExtra = intent.getIntExtra(NfcAdapter.EXTRA_ADAPTER_STATE, in onReceive() local
201 if ( (nfcStateExtra == NO_EXTRA) in onReceive()
202 || (nfcStateExtra == NfcAdapter.STATE_TURNING_ON) in onReceive()
203 || (nfcStateExtra == NfcAdapter.STATE_TURNING_OFF)) { in onReceive()