Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/
DScreenStateHelper.java10 class ScreenStateHelper { class
25 ScreenStateHelper(Context context) { in ScreenStateHelper() method in ScreenStateHelper
DNfcInjector.java68 private final ScreenStateHelper mScreenStateHelper;
94 mScreenStateHelper = new ScreenStateHelper(mContext); in NfcInjector()
134 public ScreenStateHelper getScreenStateHelper() { in getScreenStateHelper()
DNfcService.java248 static final int NFC_POLLING_MODE = ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED;
445 private ScreenStateHelper mScreenStateHelper;
1315 … (ScreenStateHelper.SCREEN_POLLING_TAG_MASK | mScreenState) : mScreenState; in enableInternal()
3350 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED && isTagPresent()) { in applyRouting()
3405 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && mInProvisionMode) { in computeDiscoveryParameters()
3407 } else if (screenState == ScreenStateHelper.SCREEN_STATE_ON_LOCKED && in computeDiscoveryParameters()
3781 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED) { in handleMessage()
3905 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED) { in handleMessage()
3910 ? (ScreenStateHelper.SCREEN_POLLING_TAG_MASK | mScreenState) : in handleMessage()
4246 if (mScreenState == ScreenStateHelper.SCREEN_STATE_ON_UNLOCKED) { in dispatchTagEndpoint()
[all …]
DNfcDispatcher.java99 private final ScreenStateHelper mScreenStateHelper;
124 mScreenStateHelper = new ScreenStateHelper(context); in NfcDispatcher()
548 mScreenStateHelper.checkScreenState() == ScreenStateHelper.SCREEN_STATE_ON_LOCKED) { in dispatchTag()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcServiceTest.java90 @Mock ScreenStateHelper mScreenStateHelper;