Searched refs:mNfcAdapter (Results 1 – 8 of 8) sorted by relevance
40 private final NfcAdapter mNfcAdapter; field in NfcEnabler60 mNfcAdapter = NfcAdapter.getDefaultAdapter(context); in NfcEnabler()64 if (mNfcAdapter == null) { in NfcEnabler()78 if (mNfcAdapter == null) { in resume()81 handleNfcStateChanged(mNfcAdapter.getAdapterState()); in resume()87 if (mNfcAdapter == null) { in pause()101 mNfcAdapter.enable(); in onPreferenceChange()103 mNfcAdapter.disable(); in onPreferenceChange()121 if (mNfcAdapter.isNdefPushEnabled() && !mBeamDisallowed) { in handleNfcStateChanged()
41 private NfcAdapter mNfcAdapter; field in AndroidBeam55 mNfcAdapter = NfcAdapter.getDefaultAdapter(getActivity()); in onCreate()83 mSwitchBar.setChecked(!mBeamDisallowed && mNfcAdapter.isNdefPushEnabled()); in onActivityCreated()104 success = mNfcAdapter.enableNdefPush(); in onSwitchChanged()106 success = mNfcAdapter.disableNdefPush(); in onSwitchChanged()
57 NfcAdapter mNfcAdapter; field in BeamShareActivity65 mNfcAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate()67 if (mNfcAdapter == null) { in onCreate()71 if (!mNfcAdapter.isEnabled()) { in onCreate()97 if (!mNfcAdapter.isEnabled()) { in showNfcDialogAndExit()98 mNfcAdapter.enable(); in showNfcDialogAndExit()222 mNfcAdapter.invokeBeam(shareData); in parseShareIntentAndFinish()
211 NfcAdapterService mNfcAdapter; field in NfcService309 mNfcAdapter = new NfcAdapterService(); in NfcService()360 ServiceManager.addService(SERVICE_NAME, mNfcAdapter); in NfcService()1821 mNfcAdapter.resumePolling(); in handleMessage()
64 NfcAdapter mNfcAdapter; field in PeripheralHandoverService75 mNfcAdapter.pausePolling(PAUSE_POLLING_TIMEOUT_MS); in handleMessage()132 mNfcAdapter = NfcAdapter.getDefaultAdapter(getApplicationContext()); in onCreate()171 mNfcAdapter.resumePolling(); in doPeripheralHandover()193 mNfcAdapter.resumePolling(); in handleBluetoothStateChanged()221 mNfcAdapter.resumePolling(); in onBluetoothPeripheralHandoverComplete()
70 private final NfcAdapter mNfcAdapter; field in ActionModeHandler131 mNfcAdapter = NfcAdapter.getDefaultAdapter(mActivity.getAndroidContext()); in ActionModeHandler()312 if (mNfcAdapter != null && ApiHelper.HAS_SET_BEAM_PUSH_URIS) { in setNfcBeamPushUris()313 mNfcAdapter.setBeamPushUrisCallback(null, mActivity); in setNfcBeamPushUris()314 mNfcAdapter.setBeamPushUris(uris, mActivity); in setNfcBeamPushUris()
36 private NfcAdapter mNfcAdapter; field in SelectionManager47 mNfcAdapter = NfcAdapter.getDefaultAdapter(mActivity); in SelectionManager()48 mNfcAdapter.setBeamPushUrisCallback(new CreateBeamUrisCallback() { in SelectionManager()
82 private NfcAdapter mNfcAdapter; field in WirelessSettings286 mNfcAdapter = NfcAdapter.getDefaultAdapter(activity);287 if (mNfcAdapter == null) {