HomeSort by relevance Sort by last modified time
    Searched defs:ndef (Results 1 - 18 of 18) sorted by null

  /external/wpa_supplicant_8/wpa_supplicant/
nfc_pw_token.c 41 struct wpabuf *buf = NULL, *ndef = NULL; local
57 ndef = ndef_build_wifi(buf);
58 if (ndef == NULL)
65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef),
66 wpabuf_len(ndef));
67 printf("#NDEF=%s\n", txt);
76 wpabuf_free(ndef);
ctrl_iface.c 1039 int ndef; local
1048 ndef = 0;
1049 else if (os_strcmp(cmd, "NDEF") == 0)
1050 ndef = 1;
1054 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos);
1072 int ndef; local
1077 ndef = 0;
1078 else if (os_strcmp(cmd, "NDEF") == 0)
1079 ndef = 1;
1083 buf = wpas_wps_nfc_token(wpa_s, ndef);
1187 int ndef; local
1270 int ndef; local
1632 int ndef; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WriteWifiConfigToNfcDialog.java 29 import android.nfc.tech.Ndef;
188 Ndef ndef = Ndef.get(tag); local
190 if (ndef != null) {
191 if (ndef.isWritable()) {
196 ndef.connect();
197 ndef.writeNdefMessage(new NdefMessage(record));
221 Log.e(TAG, "Tag does not support NDEF");
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
NdefTagTester.java 26 import android.nfc.tech.Ndef;
34 * {@link TagTester} for NDEF tags. It writes a semi-random NDEF tag with a random id but
43 private static final String PAYLOAD = "CTS Verifier NDEF Tag";
55 if (tech.equals(Ndef.class.getName())) {
56 Ndef ndef = Ndef.get(tag); local
57 return ndef != null && ndef.isWritable()
    [all...]
  /cts/tests/tests/ndef/src/android/ndef/cts/
NdefTest.java 17 package android.ndef.cts;
30 * NDEF is a NFC-Forum defined data format.<p>
31 * NDEF is often used with NFC, but it is just a data format and no NFC
299 //A Smart Poster containing a URL and no text (nested NDEF Messages) */
  /development/samples/ApiDemos/src/com/example/android/apis/nfc/
ForegroundDispatch.java 34 * based NDEF dispatch as well as all dispatched for NfcF tags.
61 IntentFilter ndef = new IntentFilter(NfcAdapter.ACTION_NDEF_DISCOVERED); local
63 ndef.addDataType("*/*");
68 ndef,
  /external/wpa_supplicant_8/hostapd/
wps-ap-nfc.py 15 import nfc.ndef namespace
75 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF")
85 ret = wpas.request("WPS_NFC_TOKEN NDEF")
95 ret = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR")
120 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12")
125 request = nfc.ndef.HandoverRequestMessage(request)
126 except nfc.ndef.DecodeError as e:
141 sel = nfc.ndef.HandoverSelectMessage(version="1.2")
158 message = nfc.ndef.Message(data);
175 if len(tag.ndef.message)
    [all...]
ctrl_iface.c 297 int ndef; local
302 ndef = 0;
303 else if (os_strcmp(cmd, "NDEF") == 0)
304 ndef = 1;
308 buf = hostapd_wps_nfc_config_token(hapd, ndef);
325 int ndef)
330 buf = hostapd_wps_nfc_token_gen(hapd, ndef);
353 if (os_strcmp(cmd, "NDEF") == 0)
376 int ndef; local
384 ndef = 0
    [all...]
  /external/boringssl/src/crypto/asn1/
tasn_enc.c 77 /* Top level i2d equivalents: the 'ndef' variant instructs the encoder
133 int i, seqcontlen, seqlen, ndef = 1; local
196 if (aclass & ASN1_TFLG_NDEF) ndef = 2;
233 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
237 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
249 if (ndef == 2)
271 int i, ret, flags, ttag, tclass, ndef; local
311 /* if template and arguments require ndef, use it */
313 ndef = 2;
314 else ndef = 1
514 int ndef = 0; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/examples/
p2p-nfc.py 17 import nfc.ndef namespace
94 res = wpas.request("NFC_GET_HANDOVER_REQ NDEF P2P-CR").rstrip()
103 res = wpas.request("NFC_GET_HANDOVER_REQ NDEF WPS-CR").rstrip()
114 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF P2P-CR-TAG").rstrip()
116 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF P2P-CR").rstrip()
126 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR");
154 message = nfc.ndef.HandoverRequestMessage(version="1.2")
164 datamsg = nfc.ndef.Message(data)
178 datamsg = nfc.ndef.Message(data)
226 message = nfc.ndef.HandoverSelectMessage(message
    [all...]
wps-nfc.py 17 import nfc.ndef namespace
79 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF " + id)
81 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF")
91 ret = wpas.request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + uuid)
101 ret = wpas.request("WPS_NFC_TOKEN NDEF")
110 ret = wpas.request("NFC_GET_HANDOVER_REQ NDEF WPS-CR")
121 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR").rstrip()
123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip()
149 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12")
154 request = nfc.ndef.HandoverRequestMessage(request
    [all...]
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepBasicTests.java 212 NdefMessage ndef = getSmallNdef(); local
214 (byte)2, SnepMessage.REQUEST_PUT, ndef.toByteArray().length, 0, ndef);
248 NdefMessage ndef = getSmallNdef(); local
250 version, SnepMessage.REQUEST_PUT, ndef.toByteArray().length, 0, ndef);
278 * A SNEP Server implementation that accepts PUT requests for all ndef
  /packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeNfcTag.cpp 258 TRACE("Ndef Handle :0x%x\n",handle);
259 TRACE("Ndef buffer length : %d", nfc_jni_ndef_rw.length);
940 jint *ndef = e->GetIntArrayElements(ndefinfo, 0); local
    [all...]
  /packages/apps/Nfc/nci/jni/
NativeNfcTag.cpp 73 // framework Ndef.java for Google public NFC API.
84 static tNFA_STATUS sCheckNdefStatus = 0; //whether tag already contains a NDEF message
85 static bool sCheckNdefCapable = false; //whether tag has NDEF capability
176 return; //not reading NDEF message right now, so just return
194 ** Description: Receive NDEF-message related events from stack.
235 ** Description: Read the NDEF message on the tag.
239 ** Returns: NDEF message.
337 ** Description: Write a NDEF message to the tag.
340 ** buf: Contains a NDEF message.
368 //if tag does not contain a NDEF messag
1072 jint* ndef = NULL; local
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcDispatcher.java 45 import android.nfc.tech.Ndef;
250 Ndef ndef = Ndef.get(tag); local
251 if (ndef != null) {
252 message = ndef.getCachedNdefMessage();
276 if (NfcWifiProtectedSetup.tryNfcWifiSetup(ndef, mContext)) {
286 // We only allow NDEF-based mimeType matching in case of an unlock
291 // We only allow NDEF-based mimeType matching
295 // Only allow NDEF-based mimeType matching for unlock tag
    [all...]
  /external/libnfc-nci/src/nfc/include/
rw_api.h 54 RW_T1T_NDEF_DETECT_EVT, /* NDEF detection complete */
55 RW_T1T_NDEF_READ_EVT, /* NDEF read completed */
56 RW_T1T_NDEF_WRITE_EVT, /* NDEF write complete */
68 RW_T2T_NDEF_DETECT_EVT, /* NDEF detection complete */
70 RW_T2T_NDEF_READ_EVT, /* NDEF read completed */
71 RW_T2T_NDEF_WRITE_EVT, /* NDEF write complete */
84 RW_T3T_NDEF_DETECT_EVT, /* NDEF detection complete */
94 RW_T4T_NDEF_DETECT_EVT = RW_T4T_FIRST_EVT, /* Result of NDEF detection procedure */
95 /* Mandatory NDEF file is selected */
108 RW_I93_NDEF_DETECT_EVT = RW_I93_FIRST_EVT, /* Result of NDEF detection procedure *
251 tRW_DETECT_NDEF_DATA ndef; \/* The information of detected NDEF data *\/ member in union:__anon13126
    [all...]
  /ndk/sources/host-tools/nawk-20071023/
run.c 224 int i, ncall, ndef; local
242 ndef = (int) fcn->fval; /* args in defn */
243 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) );
244 if (ncall > ndef)
246 s, ncall, ndef);
247 if (ncall + ndef > NARGS)
248 FATAL("function %s has %d arguments, limit %d", s, ncall+ndef, NARGS);
263 for ( ; i < ndef; i++) { /* add null args for ones not provided */
278 fp->nargs = ndef; /* number defined with (excess are locals) */
285 for (i = 0; i < ndef; i++)
    [all...]
  /external/elfutils/src/src/
ldgeneric.c 3803 int ndef = 0; local
    [all...]

Completed in 1136 milliseconds