Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowNfcAdapter.java35 private static boolean sReaderModeEnabled; field in ShadowNfcAdapter
41 sReaderModeEnabled = true; in enableReaderMode()
68 return sReaderModeEnabled; in isReaderModeEnabled()
73 sReaderModeEnabled = false; in reset()
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp137 static bool sReaderModeEnabled = variable
236 if (!sReaderModeEnabled && isP2p) { in handleRfDiscoveryEvent()
374 if (sReaderModeEnabled) { in nfaConnectionCallback()
1247 if (reader_mode && !sReaderModeEnabled) { in nfcManager_enableDiscovery()
1248 sReaderModeEnabled = true; in nfcManager_enableDiscovery()
1256 } else if (!reader_mode && sReaderModeEnabled) { in nfcManager_enableDiscovery()
1258 sReaderModeEnabled = false; in nfcManager_enableDiscovery()