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()
38 private NfcAdapter mNfcAdapter; field in AndroidBeam65 mNfcAdapter = NfcAdapter.getDefaultAdapter(getActivity()); in onCreate()66 mActionBarSwitch.setChecked(mNfcAdapter.isNdefPushEnabled()); in onCreate()88 mActionBarSwitch.setChecked(mNfcAdapter.isNdefPushEnabled()); in initView()96 success = mNfcAdapter.enableNdefPush(); in onCheckedChanged()98 success = mNfcAdapter.disableNdefPush(); in onCheckedChanged()
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()
62 private NfcAdapter mNfcAdapter; field in WirelessSettings152 mNfcAdapter = NfcAdapter.getDefaultAdapter(activity); in onCreate()153 if (mNfcAdapter == null) { in onCreate()
243 NfcAdapterService mNfcAdapter; field in NfcService363 mNfcAdapter = new NfcAdapterService(); in NfcService()417 ServiceManager.addService(SERVICE_NAME, mNfcAdapter); in NfcService()