/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepMessage.java | 53 public static SnepMessage getGetRequest(int acceptableLength, NdefMessage ndef) { 54 return new SnepMessage(VERSION, REQUEST_GET, 4 + ndef.toByteArray().length, 55 acceptableLength, ndef); 58 public static SnepMessage getPutRequest(NdefMessage ndef) { 59 return new SnepMessage(VERSION, REQUEST_PUT, ndef.toByteArray().length, 0, ndef); 66 public static SnepMessage getSuccessResponse(NdefMessage ndef) { 67 if (ndef == null) { 70 return new SnepMessage(VERSION, RESPONSE_SUCCESS, ndef.toByteArray().length, 0, ndef); [all...] |
/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
|
/cts/tests/tests/ndef/src/android/ndef/cts/ |
BasicNdefTest.java | 17 package android.ndef.cts;
|
/packages/apps/Nfc/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...] |
/external/wpa_supplicant_8/hostapd/ |
Android.mk | 364 OBJS += src/wps/ndef.c
|
Makefile | 331 OBJS += ../src/wps/ndef.o
|
/external/elfutils/src/ |
ldgeneric.c | 3581 int ndef = 0; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
Makefile | 533 OBJS += ../src/wps/ndef.o [all...] |