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.cpp138 static bool sReaderModeEnabled = variable
249 if (sP2pEnabled && !sReaderModeEnabled && isP2p) { in handleRfDiscoveryEvent()
400 if (sReaderModeEnabled) { in nfaConnectionCallback()
1279 if (reader_mode && !sReaderModeEnabled) { in nfcManager_enableDiscovery()
1280 sReaderModeEnabled = true; in nfcManager_enableDiscovery()
1287 } else if (!reader_mode && sReaderModeEnabled) { in nfcManager_enableDiscovery()
1289 sReaderModeEnabled = false; in nfcManager_enableDiscovery()