Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/
DScreenStateHelper.java10 class ScreenStateHelper { class
20 ScreenStateHelper(Context context) { in ScreenStateHelper() method in ScreenStateHelper
DNfcService.java140 static final int NFC_POLLING_MODE = ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED;
236 private ScreenStateHelper mScreenStateHelper;
324 mScreenStateHelper = new ScreenStateHelper(mContext); in NfcService()
1472 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED && isTagPresent()) { in applyRouting()
1525 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && mInProvisionMode) { in computeDiscoveryParameters()
1529 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && in computeDiscoveryParameters()
1537 if (mIsHceCapable && mScreenState >= ScreenStateHelper.SCREEN_STATE_ON_LOCKED) { in computeDiscoveryParameters()
1846 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED && playSound) { in handleMessage()
2100 int screenState = ScreenStateHelper.SCREEN_STATE_OFF;
2102 screenState = ScreenStateHelper.SCREEN_STATE_OFF;
[all …]
DNfcDispatcher.java78 private final ScreenStateHelper mScreenStateHelper;
97 mScreenStateHelper = new ScreenStateHelper(context); in NfcDispatcher()
246 mScreenStateHelper.checkScreenState() == ScreenStateHelper.SCREEN_STATE_ON_LOCKED) { in dispatchTag()