OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNfcAdapter
(Results
1 - 10
of
10
) sorted by null
/packages/apps/Settings/src/com/android/settings/nfc/
NfcEnabler.java
39
private final NfcAdapter
mNfcAdapter
;
58
mNfcAdapter
= NfcAdapter.getDefaultAdapter(context);
60
if (
mNfcAdapter
== null) {
71
if (
mNfcAdapter
== null) {
74
handleNfcStateChanged(
mNfcAdapter
.getAdapterState());
80
if (
mNfcAdapter
== null) {
94
mNfcAdapter
.enable();
96
mNfcAdapter
.disable();
114
if (
mNfcAdapter
.isNdefPushEnabled()) {
AndroidBeam.java
38
private NfcAdapter
mNfcAdapter
;
65
mNfcAdapter
= NfcAdapter.getDefaultAdapter(getActivity());
66
mActionBarSwitch.setChecked(
mNfcAdapter
.isNdefPushEnabled());
88
mActionBarSwitch.setChecked(
mNfcAdapter
.isNdefPushEnabled());
96
success =
mNfcAdapter
.enableNdefPush();
98
success =
mNfcAdapter
.disableNdefPush();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NdefPushSenderActivity.java
42
private NfcAdapter
mNfcAdapter
;
55
mNfcAdapter
= nfcManager.getDefaultAdapter();
72
if (!
mNfcAdapter
.isEnabled()) {
74
} else if (!
mNfcAdapter
.isNdefPushEnabled()) {
79
mNfcAdapter
.enableForegroundNdefPush(this, TEST_MESSAGE);
85
mNfcAdapter
.disableForegroundNdefPush(this);
NdefPushReceiverActivity.java
45
private NfcAdapter
mNfcAdapter
;
61
mNfcAdapter
= nfcManager.getDefaultAdapter();
70
if (!
mNfcAdapter
.isEnabled()) {
74
/* Only the sender requires
mNfcAdapter
.isNdefPushEnabled == true,
77
mNfcAdapter
.enableForegroundDispatch(this, mPendingIntent, null, null);
83
mNfcAdapter
.disableForegroundDispatch(this);
TagVerifierActivity.java
74
private NfcAdapter
mNfcAdapter
;
103
mNfcAdapter
= nfcManager.getDefaultAdapter();
127
if (!
mNfcAdapter
.isEnabled()) {
131
mNfcAdapter
.enableForegroundDispatch(this, mPendingIntent, null, null);
137
mNfcAdapter
.disableForegroundDispatch(this);
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
Beam.java
44
NfcAdapter
mNfcAdapter
;
55
mNfcAdapter
= NfcAdapter.getDefaultAdapter(this);
56
if (
mNfcAdapter
== null) {
61
mNfcAdapter
.setNdefPushMessageCallback(this, this);
63
mNfcAdapter
.setOnNdefPushCompleteCallback(this, this);
144
if (
mNfcAdapter
== null) {
/packages/apps/Gallery2/src/com/android/photos/
SelectionManager.java
36
private NfcAdapter
mNfcAdapter
;
47
mNfcAdapter
= NfcAdapter.getDefaultAdapter(mActivity);
48
mNfcAdapter
.setBeamPushUrisCallback(new CreateBeamUrisCallback() {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
ActionModeHandler.java
70
private final NfcAdapter
mNfcAdapter
;
131
mNfcAdapter
= NfcAdapter.getDefaultAdapter(mActivity.getAndroidContext());
312
if (
mNfcAdapter
!= null && ApiHelper.HAS_SET_BEAM_PUSH_URIS) {
313
mNfcAdapter
.setBeamPushUrisCallback(null, mActivity);
314
mNfcAdapter
.setBeamPushUris(uris, mActivity);
/packages/apps/Settings/src/com/android/settings/
WirelessSettings.java
78
private NfcAdapter
mNfcAdapter
;
324
mNfcAdapter
= NfcAdapter.getDefaultAdapter(activity);
325
if (
mNfcAdapter
== null) {
/packages/apps/Nfc/src/com/android/nfc/
NfcService.java
263
NfcAdapterService
mNfcAdapter
;
442
mNfcAdapter
= new NfcAdapterService();
497
ServiceManager.addService(SERVICE_NAME,
mNfcAdapter
);
[
all
...]
Completed in 1807 milliseconds