Home
last modified time | relevance | path

Searched refs:ScreenStateHelper (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java199 static final int NFC_POLLING_MODE = ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED;
343 private ScreenStateHelper mScreenStateHelper;
468 mScreenStateHelper = new ScreenStateHelper(mContext); in NfcService()
829 … (ScreenStateHelper.SCREEN_POLLING_TAG_MASK | mScreenState) : mScreenState; in enableInternal()
2166 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED && isTagPresent()) { in applyRouting()
2222 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && mInProvisionMode) { in computeDiscoveryParameters()
2226 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && in computeDiscoveryParameters()
2236 …if (mIsHceCapable && mScreenState >= ScreenStateHelper.SCREEN_STATE_ON_LOCKED && mReaderModeParams… in computeDiscoveryParameters()
2580 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED) { in handleMessage()
2734 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED) { in handleMessage()
[all …]
DScreenStateHelper.java10 class ScreenStateHelper { class
26 ScreenStateHelper(Context context) { in ScreenStateHelper() method in ScreenStateHelper
DNfcDispatcher.java92 private final ScreenStateHelper mScreenStateHelper;
114 mScreenStateHelper = new ScreenStateHelper(context); in NfcDispatcher()
292 mScreenStateHelper.checkScreenState() == ScreenStateHelper.SCREEN_STATE_ON_LOCKED) { in dispatchTag()