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()
37 private NfcAdapter mNfcAdapter; field in AndroidBeam51 mNfcAdapter = NfcAdapter.getDefaultAdapter(getActivity()); in onCreate()71 mSwitchBar.setChecked(!mBeamDisallowed && mNfcAdapter.isNdefPushEnabled()); in onActivityCreated()92 success = mNfcAdapter.enableNdefPush(); in onSwitchChanged()94 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()221 mNfcAdapter.invokeBeam(shareData); in parseShareIntentAndFinish()
211 NfcAdapterService mNfcAdapter; field in NfcService308 mNfcAdapter = new NfcAdapterService(); in NfcService()359 ServiceManager.addService(SERVICE_NAME, mNfcAdapter); in NfcService()1808 mNfcAdapter.resumePolling(); in handleMessage()
62 NfcAdapter mNfcAdapter; field in PeripheralHandoverService73 mNfcAdapter.pausePolling(PAUSE_POLLING_TIMEOUT_MS); in handleMessage()127 mNfcAdapter = NfcAdapter.getDefaultAdapter(getApplicationContext()); in onCreate()166 mNfcAdapter.resumePolling(); in doPeripheralHandover()188 mNfcAdapter.resumePolling(); in handleBluetoothStateChanged()216 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()
86 private NfcAdapter mNfcAdapter; field in WirelessSettings329 mNfcAdapter = NfcAdapter.getDefaultAdapter(activity);330 if (mNfcAdapter == null) {