Searched defs:ndef (Results 1 - 3 of 3) sorted by relevance
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | NfcWifiProtectedSetup.java | 62 public static boolean tryNfcWifiSetup(Ndef ndef, Context context) { argument 64 if (ndef == null || context == null) { 68 NdefMessage cachedNdefMessage = ndef.getCachedNdefMessage();
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
H A D | SnepMessage.java | 70 public static SnepMessage getGetRequest(int acceptableLength, NdefMessage ndef) { argument 71 return new SnepMessage(VERSION, REQUEST_GET, 4 + ndef.toByteArray().length, 72 acceptableLength, ndef); 75 public static SnepMessage getPutRequest(NdefMessage ndef) { argument 76 return new SnepMessage(VERSION, REQUEST_PUT, ndef.toByteArray().length, 0, ndef); 83 public static SnepMessage getSuccessResponse(NdefMessage ndef) { argument 84 if (ndef == null) { 87 return new SnepMessage(VERSION, RESPONSE_SUCCESS, ndef.toByteArray().length, 0, ndef); [all...] |
/packages/apps/Nfc/nci/jni/ |
H A D | NativeNfcTag.cpp | 441 //if (NXP TagWriter wants to erase tag) then create and write an empty ndef message 444 ALOGV("%s: create empty ndef msg; status=%u; size=%u", __func__, status, curDataSize); 642 ALOGV("%s: ndef detection timeout; break", __func__); 1108 ALOGV("%s: exit; ndef type=%d", __func__, ndefType); 1134 //#define RW_NDEF_FL_UNKNOWN 0x08 /* Unable to find if tag is ndef capable/formated/read only */ 1146 ALOGV("%s: flag formatted for ndef", __func__); 1148 ALOGV("%s: flag ndef supported", __func__); 1158 sCheckNdefCapable = false; //assume tag is NOT ndef capable 1175 if (flags & RW_NDEF_FL_SUPPORTED) //if tag is ndef capable 1205 jint* ndef local [all...] |
Completed in 212 milliseconds