/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 | 1217 int ndef; local 1226 ndef = 0; 1227 else if (os_strcmp(cmd, "NDEF") == 0) 1228 ndef = 1; 1232 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos); 1250 int ndef; local 1255 ndef = 0; 1256 else if (os_strcmp(cmd, "NDEF") == 0) 1257 ndef = 1; 1261 buf = wpas_wps_nfc_token(wpa_s, ndef); 1365 int ndef; local 1448 int ndef; local 1810 int ndef; local [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WriteWifiConfigToNfcDialog.java | 29 import android.nfc.tech.Ndef; 181 Ndef ndef = Ndef.get(tag); local 183 if (ndef != null) { 184 if (ndef.isWritable()) { 189 ndef.connect(); 190 ndef.writeNdefMessage(new NdefMessage(record)); 214 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/boringssl/src/crypto/asn1/ |
tasn_enc.c | 79 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use 132 int i, seqcontlen, seqlen, ndef = 1; local 194 ndef = 2; 231 seqlen = ASN1_object_size(ndef, seqcontlen, tag); 235 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); 246 if (ndef == 2) 268 int i, ret, flags, ttag, tclass, ndef; local 304 /* if template and arguments require ndef, use it */ 306 ndef = 2; 308 ndef = 1 496 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
|
/packages/apps/Nfc/nci/jni/ |
NativeNfcTag.cpp | 75 // framework Ndef.java for Google public NFC API. 86 static tNFA_STATUS sCheckNdefStatus = 0; //whether tag already contains a NDEF message 87 static bool sCheckNdefCapable = false; //whether tag has NDEF capability 179 return; //not reading NDEF message right now, so just return 212 ** Description: Receive NDEF-message related events from stack. 253 ** Description: Read the NDEF message on the tag. 257 ** Returns: NDEF message. 362 ** Description: Write a NDEF message to the tag. 365 ** buf: Contains a NDEF message. 393 //if tag does not contain a NDEF messag 1205 jint* ndef = NULL; local [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
NfcDispatcher.java | 49 import android.nfc.tech.Ndef; 278 Ndef ndef = Ndef.get(tag); local 283 if (ndef != null) { 284 message = ndef.getCachedNdefMessage(); 298 if (ndef != null) { 299 message = ndef.getCachedNdefMessage(); 323 if (NfcWifiProtectedSetup.tryNfcWifiSetup(ndef, mContext)) { 330 // We only allow NDEF-message dispatch in provisioning mod [all...] |
/system/nfc/src/nfc/include/ |
rw_api.h | 52 RW_T1T_NDEF_DETECT_EVT, /* NDEF detection complete */ 53 RW_T1T_NDEF_READ_EVT, /* NDEF read completed */ 54 RW_T1T_NDEF_WRITE_EVT, /* NDEF write complete */ 66 RW_T2T_NDEF_DETECT_EVT, /* NDEF detection complete */ 68 RW_T2T_NDEF_READ_EVT, /* NDEF read completed */ 69 RW_T2T_NDEF_WRITE_EVT, /* NDEF write complete */ 82 RW_T3T_NDEF_DETECT_EVT, /* NDEF detection complete */ 93 RW_T4T_FIRST_EVT, /* Result of NDEF detection procedure */ 94 /* Mandatory NDEF file is selected */ 109 RW_I93_FIRST_EVT, /* Result of NDEF detection procedure * 254 tRW_DETECT_NDEF_DATA ndef; \/* The information of detected NDEF data *\/ member in union:__anon115074 [all...] |
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 257 int ndef; local 262 ndef = 0; 263 else if (os_strcmp(cmd, "NDEF") == 0) 264 ndef = 1; 268 buf = hostapd_wps_nfc_config_token(hapd, ndef); 285 int ndef) 290 buf = hostapd_wps_nfc_token_gen(hapd, ndef); 313 if (os_strcmp(cmd, "NDEF") == 0) 336 int ndef; local 344 ndef = 0 [all...] |
/external/elfutils/src/ |
ldgeneric.c | 3803 int ndef = 0; local [all...] |