Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java194 boolean mIsNdefPushEnabled; field in NfcService
355 mIsNdefPushEnabled = mPrefs.getBoolean(PREF_NDEF_PUSH_ON, NDEF_PUSH_ON_DEFAULT); in NfcService()
356 setBeamShareActivityState(mIsNdefPushEnabled); in NfcService()
549 mP2pLinkManager.enableDisable(mIsNdefPushEnabled, true); in enableInternal()
750 return mState == NfcAdapter.STATE_ON && mIsNdefPushEnabled; in isNdefPushEnabled()
758 if (mIsNdefPushEnabled) { in enableNdefPush()
764 mIsNdefPushEnabled = true; in enableNdefPush()
777 if (!mIsNdefPushEnabled) { in disableNdefPush()
783 mIsNdefPushEnabled = false; in disableNdefPush()
1523 paramsBuilder.setEnableP2p(mIsNdefPushEnabled); in computeDiscoveryParameters()
[all …]