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.java187 static final int NFC_POLLING_MODE = ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED;
320 private ScreenStateHelper mScreenStateHelper;
432 mScreenStateHelper = new ScreenStateHelper(mContext); in NfcService()
764 … (ScreenStateHelper.SCREEN_POLLING_TAG_MASK | mScreenState) : mScreenState; in enableInternal()
1854 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED && isTagPresent()) { in applyRouting()
1907 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && mInProvisionMode) { in computeDiscoveryParameters()
1911 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && in computeDiscoveryParameters()
1921 …if (mIsHceCapable && mScreenState >= ScreenStateHelper.SCREEN_STATE_ON_LOCKED && mReaderModeParams… in computeDiscoveryParameters()
2205 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED) { in handleMessage()
2257 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.java91 private final ScreenStateHelper mScreenStateHelper;
113 mScreenStateHelper = new ScreenStateHelper(context); in NfcDispatcher()
289 mScreenStateHelper.checkScreenState() == ScreenStateHelper.SCREEN_STATE_ON_LOCKED) { in dispatchTag()