Searched refs:mNfcAdapter (Results 1 – 6 of 6) sorted by relevance
39 private final NfcAdapter mNfcAdapter; field in NfcEnabler58 mNfcAdapter = NfcAdapter.getDefaultAdapter(context); in NfcEnabler()60 if (mNfcAdapter == null) { in NfcEnabler()71 if (mNfcAdapter == null) { in resume()74 handleNfcStateChanged(mNfcAdapter.getAdapterState()); in resume()80 if (mNfcAdapter == null) { in pause()94 mNfcAdapter.enable(); in onPreferenceChange()96 mNfcAdapter.disable(); in onPreferenceChange()114 if (mNfcAdapter.isNdefPushEnabled()) { in handleNfcStateChanged()
39 private NfcAdapter mNfcAdapter; field in AndroidBeam68 mNfcAdapter = NfcAdapter.getDefaultAdapter(getActivity()); in onCreate()69 mActionBarSwitch.setChecked(mNfcAdapter.isNdefPushEnabled()); in onCreate()82 mActionBarSwitch.setChecked(mNfcAdapter.isNdefPushEnabled()); in initView()90 success = mNfcAdapter.enableNdefPush(); in onCheckedChanged()92 success = mNfcAdapter.disableNdefPush(); in onCheckedChanged()
65 private final NfcAdapter mNfcAdapter; field in ActionModeHandler79 mNfcAdapter = NfcAdapter.getDefaultAdapter(mActivity.getAndroidContext()); in ActionModeHandler()232 if (mNfcAdapter != null) { in computeSharingIntent()233 mNfcAdapter.setBeamPushUris(null, (Activity)mActivity); in computeSharingIntent()262 if (mNfcAdapter != null) { in computeSharingIntent()263 mNfcAdapter.setBeamPushUris(uris.toArray(new Uri[uris.size()]), in computeSharingIntent()267 if (mNfcAdapter != null) { in computeSharingIntent()268 mNfcAdapter.setBeamPushUris(null, (Activity)mActivity); in computeSharingIntent()
61 private NfcAdapter mNfcAdapter; field in WirelessSettings146 mNfcAdapter = NfcAdapter.getDefaultAdapter(activity); in onCreate()147 if (mNfcAdapter == null) { in onCreate()
138 private NfcAdapter mNfcAdapter; field in PhotoPage188 mNfcAdapter = NfcAdapter.getDefaultAdapter(mActivity.getAndroidContext()); in onCreate()329 if (mNfcAdapter != null) { in updateShareURI()330 mNfcAdapter.setBeamPushUris(new Uri[]{manager.getContentUri(path)}, in updateShareURI()
211 NfcAdapterService mNfcAdapter; field in NfcService309 mNfcAdapter = new NfcAdapterService(); in onCreate()340 ServiceManager.addService(SERVICE_NAME, mNfcAdapter); in onCreate()