/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 | 661 int ndef; local 666 ndef = 0; 667 else if (os_strcmp(cmd, "NDEF") == 0) 668 ndef = 1; 672 buf = wpas_wps_nfc_token(wpa_s, ndef); 918 int ndef; local 929 ndef = 0; 930 else if (os_strcmp(cmd, "NDEF") == 0) 931 ndef = 1; 935 buf = wpas_wps_er_nfc_config_token(wpa_s, ndef, uuid) [all...] |
/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/openssl/crypto/asn1/ |
tasn_enc.c | 79 /* Top level i2d equivalents: the 'ndef' variant instructs the encoder 135 int i, seqcontlen, seqlen, ndef = 1; local 198 if (aclass & ASN1_TFLG_NDEF) ndef = 2; 235 seqlen = ASN1_object_size(ndef, seqcontlen, tag); 239 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); 251 if (ndef == 2) 273 int i, ret, flags, ttag, tclass, ndef; local 312 /* if template and arguments require ndef, use it */ 314 ndef = 2; 315 else ndef = 1 510 int ndef = 0; local [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
|
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 309 int ndef; local 314 ndef = 0; 315 else if (os_strcmp(cmd, "NDEF") == 0) 316 ndef = 1; 320 buf = hostapd_wps_nfc_config_token(hapd, ndef); 337 int ndef) 342 buf = hostapd_wps_nfc_token_gen(hapd, ndef); 365 if (os_strcmp(cmd, "NDEF") == 0) [all...] |
/packages/apps/Nfc/nci/jni/ |
NativeNfcTag.cpp | 67 // framework Ndef.java for Google public NFC API. 78 static tNFA_STATUS sCheckNdefStatus = 0; //whether tag already contains a NDEF message 79 static bool sCheckNdefCapable = false; //whether tag has NDEF capability 181 return; //not reading NDEF message right now, so just return 199 ** Description: Receive NDEF-message related events from stack. 240 ** Description: Read the NDEF message on the tag. 244 ** Returns: NDEF message. 343 ** Description: Write a NDEF message to the tag. 346 ** buf: Contains a NDEF message. 376 //if tag does not contain a NDEF messag 1070 jint* ndef = NULL; local [all...] |
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_NativeNfcTag.cpp | 255 TRACE("Ndef Handle :0x%x\n",handle); 256 TRACE("Ndef buffer length : %d", nfc_jni_ndef_rw.length); 952 jint *ndef = e->GetIntArrayElements(ndefinfo, 0); local [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
NfcDispatcher.java | 41 import android.nfc.tech.Ndef; 185 Ndef ndef = Ndef.get(tag); local 186 if (ndef != null) { 187 message = ndef.getCachedNdefMessage(); 238 // NDEF 245 if (DBG) Log.i(TAG, "matched NDEF override"); 313 // Bail out if the intent does not contain filterable NDEF data 321 if (DBG) Log.i(TAG, "matched AAR to NDEF"); [all...] |
/external/libnfc-nci/src/nfc/include/ |
rw_api.h | 53 RW_T1T_NDEF_DETECT_EVT, /* NDEF detection complete */ 54 RW_T1T_NDEF_READ_EVT, /* NDEF read completed */ 55 RW_T1T_NDEF_WRITE_EVT, /* NDEF write complete */ 67 RW_T2T_NDEF_DETECT_EVT, /* NDEF detection complete */ 69 RW_T2T_NDEF_READ_EVT, /* NDEF read completed */ 70 RW_T2T_NDEF_WRITE_EVT, /* NDEF write complete */ 83 RW_T3T_NDEF_DETECT_EVT, /* NDEF detection complete */ 92 RW_T4T_NDEF_DETECT_EVT = RW_T4T_FIRST_EVT, /* Result of NDEF detection procedure */ 93 /* Mandatory NDEF file is selected */ 105 RW_I93_NDEF_DETECT_EVT = RW_I93_FIRST_EVT, /* Result of NDEF detection procedure * 239 tRW_DETECT_NDEF_DATA ndef; \/* The information of detected NDEF data *\/ member in union:__anon9434 [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/ |
ldgeneric.c | 3813 int ndef = 0; local [all...] |